Avoid "invalid" exceptions from powerpc fabsl (sNaN) (bug 20157).
[glibc.git] / ChangeLog
blobf400460d755e2e52774a4d9d7badc6d12a2aa255
1 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20157]
4         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5         determine whether to negate low half if [_ARCH_PPCGR], and integer
6         comparison otherwise.
7         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
8         determine whether to negate low half.
10         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
11         (NO_TEST_INLINE_DOUBLE): Likewise.
12         (TEST_COND_x86_64): Likewise.
13         (TEST_COND_x86): Likewise.
14         (M_PI_6l): Likewise.
16 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18         * math/libm-test.inc:
19         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21         (TEST_LDOUBLE): Update usage to evaluate as true if
22         the guarded tests match the property being tested.
23         (LDBL_MAX_EXP): Change to MAX_EXP.
24         (LDBL_MIN_EXP): Change to MIN_EXP.
25         (LDBL_MANT_DIG): Change to MANT_DIG, except for
26         nexttoward tests.
28 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30         * math/libm-test.inc:
31         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
32         (TYPE_MIN): Likewise.
33         (TYPE_TRUE_MIN): Likewise.
34         (TYPE_MAX): Likewise.
35         (MIN_EXP): Likewise.
36         (MAX_EXP): Likewise.
37         (MANT_DIG): Likewise.
39         (FSTR_MAX): New macro.
40         (__CONCATX): Likewise.
41         (QTYPE_STR): Likewise.
42         (TEST_COND_binary32): Likewise.
43         (TEST_COND_binary64): Likewise.
44         (TEST_COND_binary128): Likewise.
45         (TEST_COND_ibm128): Likewise.
46         (TEST_COND_intel96): Likewise.
47         (TEST_COND_m68k96): Likewise.
49         (TEST_COND_flt_32): Redefine as equivalent format test macro.
50         (TEST_COND_dbl_64): Likewise.
51         (TEST_COND_ldbl_96_intel): Likewise.
52         (TEST_COND_ldbl_96_m68k): Likewise.
53         (TEST_COND_ldbl_128): Likewise.
54         (TEST_COND_ldbl_128ibm): Likewise.
56         (plus_zero): Redefine using LIT macro.
57         (minus_zero): Likewise.
58         (plus_infty): Redefine as (INF).
59         (minux_infty): Redefine as (-INF).
60         (max_value): Redefine as TYPE_MAX.
61         (min_value): Redefine as TYPE_MIN.
62         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
64         (print_float): Refactor to use snprintf to convert FLOAT values
65         to string. This brings it closer to dropin replacement of strtof
66         for the TS 18661 defined types.
67         (update_stats): Likewise.
68         (print_complex_function_ulps): Likewise.
69         (print_max_error): Likewise.
70         (print_complex_max_error): Likewise.
71         (check_float_internal): Likewise.
73         * math/test-float.h (PREFIX): New macro.
74         (LIT): Likewise.
75         (TYPE_STR): Likewise.
76         (FTOSTR): Likewise.
78         * math/test-double.h (PREFIX): New macro.
79         (LIT): Likewise.
80         (TYPE_STR): Likewise.
81         (FTOSTR): Likewise.
83         * math/test-ldouble.h (PREFIX): New macro.
84         (LIT): Likewise.
85         (TYPE_STR): Likewise.
86         (FTOSTR): Likewise.
88 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
90         [BZ #20156]
91         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
92         to itself when zero or not finite.
93         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
94         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
95         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
96         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
98 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
100         [BZ #20153]
101         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
102         x * x + x for infinities and NaNs.
104         [BZ #20151]
105         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
106         argument to itself before returning result.
107         (__ieee754_y0l): Likewise.
108         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
109         (__ieee754_y1l).
111         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
112         (atan_test_data): Likewise.
113         (ceil_test_data): Likewise.
114         (cos_test_data): Likewise.
115         (cosh_test_data): Likewise.
116         (erf_test_data): Likewise.
117         (exp2_test_data): Likewise.
118         (fabs_test_data): Likewise.
119         (floor_test_data): Likewise.
120         (ilogb_test_data): Likewise.
121         (j0_test_data): Likewise.
122         (j1_test_data): Likewise.
123         (jn_test_data): Likewise.
124         (lgamma_test_data): Likewise.
125         (lrint_test_data): Likewise.
126         (llrint_test_data): Likewise.
127         (logb_test_data): Likewise.
128         (lround_test_data): Likewise.
129         (llround_test_data): Likewise.
130         (nearbyint_test_data): Likewise.
131         (rint_test_data): Likewise.
132         (round_test_data): Likewise.
133         (sin_test_data): Likewise.
134         (sincos_test_data): Likewise.
135         (sinh_test_data): Likewise.
136         (sqrt_test_data): Likewise.
137         (tan_test_data): Likewise.
138         (tanh_test_data): Likewise.
139         (tgamma_test_data): Likewise.
140         (trunc_test_data): Likewise.
141         (y0_test_data): Likewise.
142         (y1_test_data): Likewise.
143         (yn_test_data): Likewise.
145         * math/libm-test.inc: Update comment about NaN testing.
146         (TEST_SNAN): New macro.
147         (snan_value): Likewise.
148         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
149         (fpclassify_test_data): Add sNaN tests.
150         (isfinite_test_data): Likewise.
151         (isinf_test_data): Likewise.
152         (isnan_test_data): Likewise.
153         (isnormal_test_data): Likewise.
154         (issignaling_test_data): Likewise.
155         (signbit_test_data): Likewise.
156         * math/gen-libm-test.pl (%beautify): Add snan_value.
157         (show_exceptions): Add argument $test_snan.
158         (parse_args): Handle snan_value as non-finite.  Update call to
159         show_exceptions.
160         * math/Makefile (libm-test-no-inline-cflags): Add
161         -fsignaling-nans.
163 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
165         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
166         (CFLAGS-oldsendmsg.c): Add rule.
167         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
168         Correct recvmsg symbol name.
169         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
170         Likewise.
172 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
174         * sysdeps/unix/sysv/linux/Makefile
175         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
176         oldsendmmsg.
177         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
178         sendmmsg.
179         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
181         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
182         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
184         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
187         Likewise.
188         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
190         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
191         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
192         iovlen and controllen fields to adjust to POSIX specification.
193         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
195         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
196         and change to correct expected type.
197         (msghdr.msg_controllen): Likewise.
198         (cmsghdr.cmsg_len): Likewise.
199         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
200         expected POSIX assumption about the size.
201         (msghdr.msg_controllen): Likewise.
202         (msghdr.__glibc_reserved1): Likewise.
203         (msghdr.__glibc_reserved2): Likewise.
204         (cmsghdr.cmsg_len): Likewise.
205         (cmsghdr.__glibc_reserved1): Likewise.
206         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
207         Add ptw-oldrecvmsg and ptw-oldsendmsg.
208         (CFLAGS-sendmsg.c): Remove rule.
209         (CFLAGS-recvmsg.c): Likewise.
210         (CFLAGS-oldsendmsg.c): Add rule.
211         (CFLAGS-oldrecvmsg.c): Likewise.
212         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
213         recvmsg and sendmsg.
214         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
215         Likewise.
216         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
217         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
218         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
219         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
220         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
221         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
222         Likewise.
223         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
224         Likewise.
225         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
226         Likewise.
227         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
228         Likewise.
229         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
230         Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
232         Likewise.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
234         (GLIBC_2.24): Likewise.
235         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
236         Likewise.
237         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
238         Likewise.
239         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
240         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
241         Likewise.
242         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
243         Likewise.
244         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
245         Likewise.
246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
247         (GLIBC_2.24): Likewise.
248         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
249         Likewise.
250         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
251         Likewise.
252         * sysdeps/unix/sysv/linux/Makefile
253         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
254         (CFLAGS-sendmsg.c): Add rule.
255         (CFLAGS-recvmsg.c): Likewise.
256         (CFLAGS-oldsendmsg.c): Likewise.
257         (CFLAGS-oldrecvmsg.c): Likewise.
258         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
259         initialization.
260         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
261         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
262         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
263         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
264         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
265         iovlen and controllen fields to adjust to POSIX specification.
266         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
267         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
268         added recvmsg and sendmsg.
269         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
273         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
277         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
278         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
279         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
280         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
282         Likewise.
283         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
285         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
286         Likewise.
287         Likewise.
288         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
297         Likewise.
298         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
302         from auto-generation.
303         (sendmsg): Likewise.
304         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
305         (sendmsg): Likewise.
306         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
307         (sendmsg): Likewise.
308         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
309         (sendmsg): Likewise.
310         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
311         (sendmsg): Likewise.
312         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
313         (sendmsg): Likewise.
314         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
315         Likewise.
316         (sendmsg): Likewise.
317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
318         (sendmsg): Likewise.
319         * sysdeps/unix/sysv/linux/i386/kernel-features.h
320         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
321         Remove.
322         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
323         Likewise.
324         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
325         Undefine.
326         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
327         Likewise.
328         * sysdeps/unix/sysv/linux/kernel-features.h
329         (__ASSUME_SENDMSG_SYSCALL): Define.
330         (__ASSUME_RECVMSG_SYSCALL): Likewise.
331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
333         Remove.
334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
335         Likewise.
336         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
337         Undefine.
338         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
339         Likewise.
340         * sysdeps/unix/sysv/linux/s390/kernel-features.h
341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
342         Remove.
343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
344         Likewise.
345         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
346         Undefine.
347         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
348         Likewise.
349         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
350         (__ASSUME_SENDMSG_SYSCALL): Undefine.
351         (__ASSUME_RECVMSG_SYSCALL): Likewise.
352         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
353         (__ASSUME_SENDMSG_SYSCALL): Likewise.
354         (__ASSUME_RECVMSG_SYSCALL): Likewise.
355         * sysdeps/unix/sysv/linux/sh/kernel-features.h
356         (__ASSUME_SENDMSG_SYSCALL): Likewise.
357         (__ASSUME_RECVMSG_SYSCALL): Likewise.
359 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
361         * stdlib/gen-tst-strtod-round.c: Add backslash to
362         compile command in comment.
363         (printfp): Remove the literal suffix, and define an infinite
364         value as INF to avoid expansion clash with INFINITY.
365         (round_str): Remove the literal suffix.
366         (round_for_all): Likewise, remove the now duplicate ldbl-64
367         entry, and remove some magic constants.
369         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
370         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
371         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
372         (_CONCAT): New macro.
373         (CONCAT): Likewise.
374         (CHOOSE_ld): Likewise.
375         (CHOOSE_f): Likewise.
376         (CHOOSE_d): Likewise.
377         (FTYPE_MEMBER): Likewise.
378         (BOOL_MEMBER): Likewise.
379         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
380         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
381         (_XNTRY): Likewise.
382         (XNTRY): Likewise.
383         (_ENTRY): Likewise.
384         (ENTRY): Likewise.
385         (test_exactness): Generate members via macro.
386         (test_results): Likewise.
387         (test): Update members.
388         (TEST): Redefine using new macros.
389         (INF): New macro.
390         (fetestmodes): New structure.
391         (do_test): Refactor to be type generic.
392         (test_in_one_mode): Refactor duplicate code into
393         (GEN_ONE_TEST): New macro.
395         * stdlib/tst-strtod-round-data.h: Regenerate.
397         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
398         Extend to pass additional arbitrary parameters to
399         generators.
401 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
403         [BZ #15479]
404         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
405         floating-point state after first floating-point operation on
406         input.  Restore full floating-point state instead of just rounding
407         mode.
408         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
409         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
410         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
411         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
412         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
414         [BZ #15479]
415         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
416         floating-point state after first floating-point operation on
417         input.  Restore full floating-point state instead of just rounding
418         mode.
419         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
420         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
421         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
422         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
423         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
425 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
427         [BZ #19727]
428         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
429         valid high surrogate.
430         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
431         of an utf16 surrogate.
432         * iconv/gconv_simple.c (BODY): Likewise.
433         * iconvdata/bug-iconv12.c: New file.
434         * iconvdata/Makefile (tests): Add bug-iconv12.
436 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
438         [BZ #19726]
439         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
440         outptrp in case of an illegal input.
441         * iconv/tst-iconv6.c: New file.
442         * iconv/Makefile (tests): Add tst-iconv6.
444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
446         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
447         an error in case of a value in range of an utf16 low surrogate.
449 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
451         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
452         an error in case of a value in range of an utf16 low surrogate.
454 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
456         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
457         Move to ...
458         * sysdeps/s390/Makefile: ... here.
459         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
460         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
461         (BRANCH_ON_COUNT): New define.
462         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
463         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
464         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
465         run on s390-32, too.
466         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
467         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
468         run on s390-32, too.
469         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
470         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
471         run on s390-32, too.
473 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
475         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
476         etf3eh or new vector loop-variant.
478 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
480         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
481         etf3eh or new vector loop-variant.
483 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
485         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
486         or new vector loop-variant.
488 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
490         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
491         Rename to TR_LOOP and usage of tr instead of troo instruction.
493 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
495         * sysdeps/s390/multiarch/gconv_simple.c: New File.
496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
498 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
500         * sysdeps/s390/multiarch/8bit-generic.c: New File.
501         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
502         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
503         New override define.
504         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
506 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
508         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
509         * sysdeps/s390/configure.ac: Add test for S390 vector register
510         support in gcc.
511         * sysdeps/s390/configure: Regenerated.
513 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
515         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
516         Install file from $(objpfx)gconv-modules.
517         ($(objpfx)gconv-modules): Concatenate architecture specific file
518         in variable sysdeps-gconv-modules and gconv-modules in src dir.
519         * sysdeps/s390/gconv-modules: New file.
520         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
521         Deleted.
522         ($(objpfx)gconv-modules-s390): Deleted.
523         (sysdeps-gconv-modules): New variable.
525 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
527         [BZ #15479]
528         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
529         of immediate operand to rounding instruction.
530         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
531         Likewise.
532         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
533         Likewise.
534         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
535         Likewise.
537 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
539         * math/libm-test.inc (MIN_EXP): Directly define as
540         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
542 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
544         * math/libm-test.inc (MANT_DIG): Directly define as
545         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
547 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
549         * stdlib/gen-tst-strtod-round.c (main):
550           Change usage to more closely match the generated
551           output.  Add usage and compilation instructions.
552           (string_to_fp): Add and use FILE* parameter as
553           output target.
554           (print_fp): Likewise.
555           (round_str): Likewise.
556           (round_for_all): Likewise.
557         * stdlib/tst-strtod-round.c (tests): Move into
558         * stdlib/tst-strtod-round-data.h: New file.
560 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
562         [BZ #15479]
563         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
564         (__round): Do not force "inexact" exception.
565         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
566         variable.
567         (__round): Do not force "inexact" exception.
568         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
569         (__roundf): Do not force "inexact" exception.
570         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
571         (__roundl): Do not force "inexact" exception.
572         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
573         (__roundl): Do not force "inexact" exception.
574         * math/libm-test.inc (round_test_data): Do not allow spurious
575         "inexact" exceptions.
577         [BZ #15479]
578         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
579         exception in comment.
580         (huge): Remove variable.
581         (__floor): Do not force "inexact" exception.
582         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
583         "inexact" exception in comment.
584         (huge): Remove variable.
585         (__floor): Do not force "inexact" exception.
586         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
587         exception in comment.
588         (huge): Remove variable.
589         (__floorf): Do not force "inexact" exception.
590         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
591         exception in comment.
592         (huge): Remove variable.
593         (__floorl): Do not force "inexact" exception.
595         [BZ #15479]
596         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
597         exception in comment.
598         (huge): Remove variable.
599         (__ceil): Do not force "inexact" exception.
600         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
601         "inexact" exception in comment.
602         (huge): Remove variable.
603         (__ceil): Do not force "inexact" exception.
604         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
605         (__ceilf): Do not force "inexact" exception.
606         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
607         exception in comment.
608         (huge): Remove variable.
609         (__ceill): Do not force "inexact" exception.
611 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
613         * config.h.in (BIND_NOW): New.
614         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
615         * configure: Regenerated.
616         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
617         indirect branch via the GOT slot.
619 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
621         [BZ #19765]
622         * sysdeps/s390/mempcpy.S: New File.
623         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
625         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
626         Add mempcpy variants.
627         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
628         (memcpy): Adjust to be usable from mempcpy entry point.
629         (__memcpy_mvcle): Likewise.
630         * sysdeps/s390/s390-64/memcpy.S: Likewise.
631         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
632         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
633         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
634         (__memcpy_z10): Likewise.
635         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
637 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
639         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
640         Remove __GI_ symbol.
641         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
642         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
643         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
644         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
645         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
646         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
648 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
650         * sysdeps/s390/s390-64/memcpy.S (memcpy):
651         Use cghi instead of chi to compare 64bit value.
653 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
655         * sysdeps/s390/s390-32/memcpy.S (memcpy):
656         Jump to 1MB check before executing mvc-loop.
658 2016-05-24  Florian Weimer  <fweimer@redhat.com>
660         [BZ #6527]
661         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
662         unconditionally.
663         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
665 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
667         * stdlib/tst-strtod6.c (do_test): Use new type generic
668         invocation of the test function.
669         (test): Refactor into ...
670         (TEST_STRTOD): New macro base function.
672 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
674         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
675         (TEST_STRTOD): New macro.
676         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
678 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
680         * stdlib/tst-strtod6.c (do_test): Use new type generic
681         invocation of the test function.
682         (test): Refactor into ...
683         (TEST_STRTOD): New macro base function.
685 2016-05-23  Florian Weimer  <fweimer@redhat.com>
687         CVE-2016-4429
688         [BZ #20112]
689         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
690         payload.
692 2016-05-23  Florian Weimer  <fweimer@redhat.com>
694         [BZ #20111]
695         * bits/sockaddr.h (_SS_SIZE): Define.
696         * bits/socket.h (_SS_SIZE): Remove.
697         (_SS_PADSIZE): Adjust to account for all padding.
698         (struct sockaddr_storage): Update comment.  Avoid implicit
699         padding.
700         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
701         (_SS_PADSIZE): Adjust to account for all padding.
702         (struct sockaddr_storage): Update comment.  Avoid implicit
703         padding.
704         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
705         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
706         (_SS_PADSIZE): Adjust to account for all padding.
707         (struct sockaddr_storage): Update comment.  Avoid implicit
708         padding.
709         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
710         __SS_SIZE is 126 in this version.
711         * inet/tst-sockaddr.c: New file.
712         * inet/Makefile (tests): Add tst-sockaddr.c
713         (tst-sockaddr.c): Compile with non-strict aliasing.
715 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
717         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
718         [XPG3 || XPG4].
719         (NL_ARGMAX): Also expect for [XPG3].
720         (NL_LANGMAX): Likewise.
721         (NL_MSGMAX): Likewise.
722         (NL_NMAX): Likewise.
723         (NL_SETMAX): Likewise.
724         (NL_TEXTMAX): Likewise.
725         (NZERO): Likewise.
726         (TMP_MAX): Likewise.
727         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
728         variable.
730         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
731         (PF_MAX): Update value.
732         (AF_KCM): New macro.
733         (SOL_NETBEUI): Likewise.
734         (SOL_LLC): Likewise.
735         (SOL_DCCP): Likewise.
736         (SOL_NETLINK): Likewise.
737         (SOL_TIPC): Likewise.
738         (SOL_RXRPC): Likewise.
739         (SOL_PPPOL2TP): Likewise.
740         (SOL_BLUETOOTH): Likewise.
741         (SOL_PNPIPE): Likewise.
742         (SOL_RDS): Likewise.
743         (SOL_IUCV): Likewise.
744         (SOL_CAIF): Likewise.
745         (SOL_ALG): Likewise.
746         (SOL_NFC): Likewise.
747         (SOL_KCM): Likewise.
748         (MSG_BATCH): New enum value and macro.
750 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
752         [BZ #18185]
753         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
754         sharing L2 cache to 2 for Knights Landing.
756 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
758         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
759         (FTW_DP): Do not expect for [XPG3 || XPG4].
760         (FTW_SL): Do not expect for [XPG3].
761         (FTW_SLN): Likewise.
762         (FTW_PHYS): Likewise.
763         (FTW_MOUNT): Likewise.
764         (FTW_DEPTH): Likewise.
765         (FTW_CHDIR): Likewise.
766         (nftw): Likewise.
767         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
768         variable.
770 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
772         * manual/errno.texi: Fix various typos & grammar errors.
774 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
776         * manual/intro.texi: Fix duplicated typo.
778 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
780         [BZ #13304]
781         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
782         <float.h>, <math_private.h> and <stdlib.h>.
783         (add_split): New function.
784         (mul_split): Likewise.
785         (ext_val): New typedef.
786         (store_ext_val): New function.
787         (mul_ext_val): New function.
788         (compare): New function.
789         (add_split_ext): New function.
790         (__fmal): After checking for Inf, NaN and zero, compute result as
791         an exact sum of scaled double values in round-to-nearest before
792         adding those up and adjusting for other rounding modes.
793         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
794         tests of fma.
795         * math/auto-libm-test-out: Regenerated.
797 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
799         [BZ #20119]
800         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
801         processor level type mask for CPUID with EAX == 11.
803 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
805         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
806         logical threads if the HTT bit is 0.
807         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
808         (index_cpu_HTT): Likewise.
809         (reg_HTT): Likewise.
811 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
813         [BZ #20115]
814         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
815         Remove alignments on jump targets.
817 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
819         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
820         (getpwent): Likewise.
821         (setpwent): Likewise.
822         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
823         variable.
825         * conform/data/search.h-data (insque): Do not expect for [XPG3].
826         (remque): Likewise.
827         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
828         variable.
830 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
832         * math/libm-test.inc: Update comment not to refer to signs of NaNs
833         not being tested.
835 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
838         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
839         call.
840         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
841         (__condvar_cleanup1): Likewise.
843 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
845         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
846         New
847         (__pthread_unwind): Renamed to ...
848         (PTHREAD_UNWIND): This.
849         (__pthread_enable_asynccancel): Replace
850         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
852 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
854         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
855         (CLONE_NEWCGROUP): New macro.
857         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
858         (Q_GETNEXTQUOTA): New macro.
860 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
862         [BZ #19907]
863         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
864         buffer updated by the previous run.
865         * string/test-memcpy.c (do_one_test): Likewise.
866         * benchtests/bench-memmove.c (do_one_test): Add a comment.
867         * string/test-memmove.c (do_one_test): Likewise.
869 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
871         [BZ #20094]
872         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
873         not [__USE_XOPEN].
874         (unlockpt): Likewise.
875         (ptsname): Likewise.
876         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
877         variable.
879         [BZ #20076]
880         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
881         instead of [__USE_UNIX98].
882         (S_ISSOCK): Likewise.
883         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
884         variable.
886         [BZ #20074]
887         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
888         [__USE_POSIX].
889         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
890         variable.
892         [BZ #20051]
893         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
894         (ttyslot): Do not declare.
895         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
896         (ttyslot): New prototype.
897         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
898         variable.
899         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
901 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
903         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
905 2016-05-13  Florian Weimer  <fweimer@redhat.com>
907         Fix race condition in tst-mallocfork2, use fewer resources.
908         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
909         to current process group.
910         (signal_sender): Yield in the non-sleeping case.
912 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
914         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
915         (ecvt): Likewise.
916         (fcvt): Likewise.
917         (gcvt): Likewise.
918         (getsubopt): Likewise.
919         (grantpt): Likewise.
920         (initstate): Likewise.
921         (l64a): Likewise.
922         (mktemp): Likewise.
923         (mkstemp): Likewise.
924         (ptsname): Likewise.
925         (random): Likewise.
926         (realpath): Likewise.
927         (setstate): Likewise.
928         (srandom): Likewise.
929         (ttyslot): Likewise.
930         (unlockpt): Likewise.
931         (valloc): Likewise.
933         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
934         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
935         variable.
937 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
939         [BZ #20072]
940         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
941         init_cpu_features only if SHARED is defined.
942         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
944 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
946         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
947         non-inclusive caches on Intel processors.
949 2016-05-13  Florian Weimer  <fweimer@redhat.com>
951         * malloc/malloc.c (dumped_main_arena_start)
952         (dumped_main_arena_end): New variables.
953         (DUMPED_MAIN_ARENA_CHUNK): New macro.
954         (do_check_chunk): Skip dumped fake mmapped chunks.
955         (munmap_chunk): Likewise.
956         (__libc_free): Do not adjust statistics for fake mmapped chunks.
957         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
958         mmapped chunks.
959         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
960         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
961         and dumped_main_arena_end to cover the dumped heap.
963 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
965         * conform/data/time.h-data (getdate_err): Do not expect for
966         [XPG3].
967         (getdate): Likewise.
968         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
969         variable.
971         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
972         (F_ULOCK): Likewise.
973         (F_TEST): Likewise.
974         (F_TLOCK): Likewise.
975         (useconds_t): Likewise.
976         (intptr_t): Do not expect for [XPG3] or [XPG4].
977         (brk): Do not expect for [XPG3]
978         (fchown): Likewise.
979         (fchdir): Likewise.
980         (ftruncate): Likewise.
981         (getdtablesize): Likewise.
982         (gethostid): Likewise.
983         (getpagesize): Likewise.
984         (getpgid): Likewise.
985         (getsid): Likewise.
986         (getwd): Likewise.
987         (lchown): Likewise.
988         (lockf): Likewise.
989         (readlink): Likewise.
990         (sbrk): Likewise.
991         (setpgrp): Likewise.
992         (setregid): Likewise.
993         (setreuid): Likewise.
994         (symlink): Likewise.
995         (sync): Likewise.
996         (truncate): Likewise.
997         (ualarm): Likewise.
998         (usleep): Likewise.
999         (vfork): Likewise.
1000         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1001         variable.
1003         [BZ #20054]
1004         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1005         not [__USE_UNIX98].
1006         * conform/data/unistd.h-data (gethostname): Do not expect for
1007         [XPG3].
1009         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1010         [!POSIX] (S_IFBLK): Likewise.
1011         [!POSIX] (S_IFCHR): Likewise.
1012         [!POSIX] (S_IFIFO): Likewise.
1013         [!POSIX] (S_IFREG): Likewise.
1014         [!POSIX] (S_IFDIR): Likewise.
1015         [!POSIX] (S_IFLNK): Likewise.
1016         [!POSIX] (S_IFSOCK): Likewise.
1017         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1018         variable.
1019         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1021 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1023         * sysdeps/aarch64/memset.S (__memset):
1024         Rewrite of optimized memset.
1026 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1028         [BZ #19703]
1029         Partially async-signal-safe fork for single-threaded processes.
1030         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1031         variable.  Do not acquire and reset/release malloc and libio locks
1032         in single-threaded processes.
1033         * malloc/tst-mallocfork2.c: New file.
1034         * malloc/Makefile (tests): Add it.
1036 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1038         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1039         argument.  Use scratch buffer instead of extend_alloca.
1040         (gethosts): Use scratch buffer instead of extend_alloca.
1041         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1042         extend_alloca.
1043         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1045 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1047         [BZ #20055]
1048         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1049         instead of [__USE_UNIX98].
1050         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1051         [__USE_UNIX98].
1052         * conform/data/termios.h-data (tcgetsid): Do not expect for
1053         [XPG3].
1054         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1055         variable.
1056         (test-xfail-XPG4/termios.h/conform): Likewise.
1058 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1060         Do not use mcheck in localedef.
1061         * locale/programs/localedef.c (turn_on_mcheck)
1062         (__malloc_initialize_hook): Remove.
1064 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1066         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1067         * sysdeps/s390/s390-64/Makefile: Likewise.
1069 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1071         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1072         Remove ifunc-defines.sym.
1073         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1074         Likewise.
1075         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1076         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1077         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1078         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1079         rtld-global-offsets.sym.
1080         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1081         * sysdeps/x86/cpu-features-offsets.sym: This.
1082         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1083         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1085 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1087         [BZ #20073]
1088         * io/sys/stat.h (fchmod): Declare for
1089         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1090         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1091         variable.
1093         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1094         [XPG3] (S_IFSOCK): Likewise.
1095         [XPG3] (S_ISVTX): Likewise.
1096         [XPG3] (S_ISLNK): Likewise.
1097         [XPG3] (S_ISSOCK): Likewise.
1098         [XPG3] (fchmod): Likewise.
1099         [XPG3] (lstat): Likewise.
1100         [XPG3] (mknod): Likewise.
1102         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1103         [XPG3].  Expect type long and XFAIL for [XPG4].
1104         (st_blocks): Likewise.
1106         [BZ #20044]
1107         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1108         (pthread_atfork): New prototype.
1109         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1110         variable.
1112         [BZ #20043]
1113         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1114         prototype.
1116 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1118         [BZ #20017]
1119         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1120         gmtime.
1122 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1124         [BZ #19994]
1125         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1126         flag in _res.options.
1128 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1130         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1131         [XPG3 || XPG4].
1132         (blksize_t): Likewise.
1133         (clockid_t): Likewise.
1134         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1135         variable.
1136         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1138 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * sysdeps/unix/sysv/linux/s390/init-first.c:
1141         Add VDSO_SYMBOL(getcpu).
1142         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1143         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1144         Add VDSO_SYMBOL(getcpu).
1145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1146         New define HAVE_GETCPU_VSYSCALL.
1147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1149 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1151         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1152         instead of <sysdeps/x86_64/cacheinfo.c>.
1153         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1154         * sysdeps/x86/cacheinfo.c: Here.
1156 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1158         * malloc/malloc-internal.h: Adjust header file guard.
1160 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1162         [BZ #19787]
1163         * inet/getnameinfo.c (check_sprintf_result): New function.
1164         (CHECKED_SNPRINTF): New macro.
1165         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1166         to the host buffer.
1167         (gni_host_local): Use checked_copy to copy the host name.
1168         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1169         (gni_serv_local): Use checked_copy to copy the service name.
1170         (getnameinfo): Remove unnecessary truncation of result buffers.
1172 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1174         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1175         in case of inet_ntop failure.
1177 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1179         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1180         avoid long lines.
1181         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1182         variables.
1183         (gni_host_inet, gni_host_local): Add comment.
1184         (gni_host): Add comment.  Use temporary to avoid long lines.
1186 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1188         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1189         registers specifiers where general purpose registers specifiers should
1190         have been used.
1192 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1194         [BZ #19779]
1195         CVE-2016-1234
1196         Avoid copying names of directory entries.
1197         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1198         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1199         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1200         (struct readdir_result): New type.
1201         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1202         (GL_READDIR): New macros.
1203         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1204         (convert_dirent, convert_dirent64): New functions.
1205         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1206         convert_dirent64.  Adjust references to the readdir result.
1207         * sysdeps/unix/sysv/linux/i386/glob64.c:
1208         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1209         * posix/bug-glob2.c (LONG_NAME): Define.
1210         (filesystem): Add LONG_NAME.
1211         (my_DIR): Increase the size of room_for_dirent.
1213 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1215         [BZ #20041]
1216         * misc/sys/select.h (__need_timespec): Only define if
1217         [__USE_XOPEN2K].
1218         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1219         variable.
1220         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1221         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1222         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1224 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1225             Segher Boessenkool  <segher@gcc.gnu.org>
1227         [BZ #20004]
1228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1229         (__novec_swapcontext): Add missing load.
1231 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1233         [BZ #20023]
1234         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1235         <time.h>.
1236         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1237         variable.
1238         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1240 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1243         flags CLONE_VM compare.
1245 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1247         [BZ #20031]
1248         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1249         completely empty.
1251 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1253         [BZ #19573]
1254         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1255         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1256         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1257         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1258         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1259         (hesiod_free_list): Mark as hidden.
1260         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1261         res_set, res_get.
1262         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1263         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1264         (hesiod_init): Remove obsolete res_ninit call.
1265         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1266         (hesiod_bind): Do not call init.
1267         (get_txt_records): Use res_mkquery, res_send instead of
1268         res_nmkquery, res_nsend.
1269         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1270         instead of _nss_hesiod_init.
1271         (_nss_hesiod_initgroups_dyn): Likewise.
1272         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1273         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1274         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1276 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1278         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1279         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1281 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1283         * hesiod/hesiod.h: Remove RCS keyword.
1284         * hesiod/hesiod_p.h: Likewise.
1286         * hesiod/hesiod.c: Likewise.
1288 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1290         [BZ #12450]
1291         * locale/iso-639.def: Add Samogitian/sgs.
1293 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1295         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1297         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1299 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1300             Carlos O'Donell  <carlos@redhat.com>
1302         [BZ #19072]
1303         * grp/Makefile (headers): Add grp-merge.h
1304         (routines): Add grp-merge.
1305         * grp/getgrgid_r.c: Include grp-merge.h.
1306         (DEEPCOPY_FN): Define.
1307         (MERGE_FN): Define.
1308         * grp/getgrname_r.c: Include grp-merge.h.
1309         (DEEPCOPY_FN): Define.
1310         (MERGE_FN): Define.
1311         * grp/grp-merge.c: New file.
1312         * grp/grp-merge.h: New file.
1313         * include/grp-merge.h: New file.
1314         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1315         __copy_grp@GLIBC_PRIVATE.
1316         * manual/nss.texi (Actions in the NSS configuration): Describe
1317         return, continue, and merge.
1318         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1319         (DEEPCOPY_FN): Define.
1320         (MERGE_FN): Define.
1321         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1322         (DEEPCOPY_FN): Define.
1323         (MERGE_FN): Define.
1324         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1325         [!MERGE_FN]: Define __merge_einval.
1326         (CHECK_MERGE): Define.
1327         (REENTRANT_NAME): Process merge if do_merge is true.
1328         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1329         (__nss_getent_r): Likewise.
1330         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1331         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1333 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1335         [BZ #20012]
1336         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1337         length to calculate the buffer to read.
1338         (fmemopen_write): Set the buffer position based on bytes written.
1339         (fmemopen_seek): Return EINVAL for invalid whence modes.
1341         [BZ #19957]
1342         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1343         tst-getpid2.
1344         (test): Add tst-clone2.
1345         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1346         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1347         pid/tid fields for CLONE_VM.
1348         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1349         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1350         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1351         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1352         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1353         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1354         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1355         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1357         Likewise.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1359         Likewise.
1360         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1361         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1362         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1363         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1364         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1365         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1366         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1367         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1369 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1371         [BZ #19642]
1372         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1373         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1374         (gni_serv_local, gni_serv): New functions extracted from
1375         getnameinfo.
1376         (getnameinfo): Call gni_host and gni_serv to perform the
1377         processing.  Always free scratch buffer.
1379 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1381         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1382         remaining bytes in the dest string, with zeros.
1384 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1386         [BZ #20010]
1387         CVE-2016-3706
1388         * sysdeps/posix/getaddrinfo.c
1389         (convert_hostent_to_gaih_addrtuple): New function.
1390         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1391         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1392         AF_INET data.
1394 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1396         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1397         callback function gl_readdir.
1398         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1399         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1400         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1401         memcpy to copy the name.
1402         * manual/pattern.texi (Calling Glob): Document requirements for
1403         implementations of the gl_readdir callback function.
1404         * manual/examples/mkdirent.c: New example.
1405         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1406         per the manual guidance.
1407         * posix/tst-gnuglob.c (my_readdir): Likewise.
1409 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #20014]
1412         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1413         not [__USE_POSIX].
1414         (getchar_unlocked): Likewise.
1415         (putc_unlocked): Likewise.
1416         (putchar_unlocked): Likewise.
1417         (flockfile): Likewise.
1418         (ftrylockfile): Likewise.
1419         (funlockfile): Likewise.
1420         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1421         variable.
1422         (test-xfail-XPG4/stdio.h/conform): Likewise.
1424         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1425         Expect constant.
1426         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1427         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1428         variable.
1429         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1430         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1432         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1433         [__USE_LARGEFILE64] (off64_t): Likewise.
1434         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1435         variable.
1437 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1439         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1441 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1443         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1444         * resolv/res_init.c: Likewise.
1445         * resolv/res_mkquery.c: Likewise.
1447 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1449         * resolv/res_init.c (isascii): Do not define.  Use definition in
1450         <ctype.h>.
1451         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1452         (LOG_AUTH): Remove.
1453         (SPRINTF): Remove, adjust caller.
1454         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1456 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1459         SUNSECURITY conditional.
1460         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1462 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1464         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1465         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1466         Remove BSD-related preprocessor conditionals.
1467         * conf/portability.h: Remove.
1469 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1471         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1472         * resolv/res_data.c: Likewise.
1474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1476         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1477         * resolv/res_data.c: Remove code conditional on ultrix.
1479 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1481         * resolv/res_init.c (RFC1535): Do not define.  Remove
1482         RFC1535 preprocessor conditionals.
1483         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1484         because there configuration options which make the resolver
1485         behavior different.
1487 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1489         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1490         RESOLVSORT preprocessor conditionals.
1491         * resolv/nss_dns/dns-host.c: Likewise.
1492         * resolv/res_init.c: Likewise.
1494 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1496         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1497         is never defined.
1499 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1501         * inet/inet_lnaof.c: Remove SCSS keyword.
1502         * inet/inet_mkadr.c: Likewise.
1503         * inet/inet_net.c: Likewise.
1504         * inet/inet_netof.c: Likewise.
1505         * inet/rcmd.c: Likewise.
1506         * inet/rexec.c: Likewise.
1507         * inet/ruserpass.c: Likewise.
1509 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1511         * resolv/inet_addr.c: Remove _LIBC conditionals.
1512         * resolv/res_data.c: Likewise.
1513         * resolv/res_init.c: Likewise.
1514         * resolv/res_mkquery.c: Likewise.
1515         * resolv/res_libc.c: Update comment.
1516         * resolv/README: Update.
1518 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1520         * resolv/gethnamaddr.c: Remove SCSS keyword.
1521         * resolv/herror.c: Likewise.
1522         * resolv/inet_addr.c: Likewise.
1523         * resolv/inet_net_ntop.c: Likewise.
1524         * resolv/inet_net_pton.c: Likewise.
1525         * resolv/inet_neta.c: Likewise.
1526         * resolv/inet_ntop.c: Likewise.
1527         * resolv/inet_pton.c: Likewise.
1528         * resolv/ns_date.c: Remove RCS keyword.
1529         * resolv/ns_name.c: Likewise.
1530         * resolv/ns_netint.c: Likewise.
1531         * resolv/ns_parse.c: Likewise.
1532         * resolv/ns_print.c: Likewise.
1533         * resolv/ns_samedomain.c: Likewise.
1534         * resolv/ns_ttl.c: Likewise.
1535         * resolv/nsap_addr.c: Likewise.
1536         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1537         * resolv/res_data.c: Remove RCS keyword.
1538         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1539         * resolv/res_init.c: Likewise.
1540         * resolv/res_mkquery.c: Likewise.
1541         * resolv/res_query.c: Likewise.
1542         * resolv/res_send.c: Likewise.
1544 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1546         * conform/data/stdio.h-data (fdopen): Expect also for
1547         [XPG3 || XPG4].
1549         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1550         (fseeko): Likewise.
1551         (ftello): Likewise.
1552         (ftrylockfile): Likewise.
1553         (funlockfile): Likewise.
1554         (getc_unlocked): Likewise.
1555         (getchar_unlocked): Likewise.
1556         (putc_unlocked): Likewise.
1557         (putchar_unlocked): Likewise.
1559 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1561         [BZ #19868]
1562         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1563         DNS packet syntax checks (which were not needed before).  Skip
1564         over non-PTR records.
1566 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1568         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1569         definition.  Include <stddef.h> instead.
1571 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1573         [BZ #19831]
1574         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1575         function.
1576         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1577         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1579 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1581         [BZ #19862]
1582         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1583         (getanswer_r): Do not call syslog.
1584         (gaih_getanswer_slice): Likewise.
1585         * resolv/gethnamaddr.c (AskedForGot): Remove.
1586         (getanswer): Do not call syslog.
1587         (gethostbyaddr): Likewise.
1589 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1591         * conform/data/signal.h-data (union sigval): Expect also if
1592         [XOPEN2K].
1593         (struct sigevent): Likewise.
1594         (SIGEV_NONE): Likewise.
1595         (SIGEV_SIGNAL): Likewise.
1596         (SIGEV_THREAD): Likewise.
1597         (SIGRTMIN): Likewise.
1598         (SIGRTMAX): Likewise.
1599         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1600         variable.
1601         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1603 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1605         [BZ #19830]
1606         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1607         (gaih_getanswer_slice): Likewise.
1608         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1609         Also check for availability of RR metadata.
1611 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1613         [BZ #19825]
1614         * resolv/res_send.c (send_vc): Remove early *resplen2
1615         initialization.  Set *resplen2 on socket error.  Call
1616         close_and_return_error for other errors.
1618 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1620         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1621         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1622         (SCM_IUCV_TRGCLS): New define.
1624 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1626         [BZ #20005]
1627         * libio/fmemopen.c (fmemopen_write): Update internal position after
1628         write.
1629         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1630         * stdio-common/tst-fmemopen4.c: New file..
1632 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1634         [BZ #19996]
1635         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1636         not [__USE_XOPEN2K].
1637         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1638         variable.
1640         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1641         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1642         variable.
1644         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1645         [__USE_XOPEN2K8].
1646         [__USE_LARGEFILE64] (off64_t): Likewise.
1647         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1648         variable.
1650 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1652         [BZ #19989]
1653         * libio/stdio.h (cuserid): Do not declare if
1654         [__USE_XOPEN2K && !__USE_GNU].
1655         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1656         variable.
1658 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1660         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1661         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1663         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1664         ifunc'ed strcspn.
1665         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1666         [EALIGN]: Removed.
1667         [END]: Likewise
1668         [STRSPN]: Define instead of the above to control symbol name.
1669         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1670         New file.
1671         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1672         Likewise.
1673         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1674         Likewise.
1675         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1676         Likewise.
1677         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1678         [INITIAL_MASK]: New macro.
1679         [STRCSPN]: Likewise.
1680         [UPDATE_MASK]: Likewise.
1681         [USE_AS_STRCSPN]: Lisewise.
1683 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1685         [BZ #19931]
1686         * stdio-common/tst-vfprintf-width-prec.c: New file.
1687         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1688         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1689         (generated): Add mtrace-related files.
1690         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1691         (tst-%-mem.out): New pattern rule, replaces
1692         tst-printf-bz18872-mem.out.
1693         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1694         specifier, deallocate any previously allocated work buffer.
1696 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1698         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1699         Add nop before __startcontext, add explaining comments.
1701 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1703         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1704         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1705         completely different API.
1707         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1708         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1709         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1710         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1711         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1712         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1713         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1714         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1715         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1716         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1718 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1720         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1722 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1724         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1725         when it is the default of 0.
1727 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1729         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1730         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1731         (sysdep_routines): Add new strcasestr targets.
1732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1733         (__libc_ifunc_impl_list): Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1735         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1736         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1737         * sysdeps/powerpc/powerpc64/power8/Makefile:
1738         New file to add strcasestr-ppc64 to sysdep_routines.
1739         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1740         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1742 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1744         * benchtests/Makefile (wcsmbs-benchset): Include only for
1745         native builds and runs.
1746         (LOCALES): Likewise.
1747         (bench-build): Build timing-type here instead of the bench
1748         target.  Generate locale only for native builds.
1749         * benchtests/README: Add note for cross-building.
1751         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1753         * benchtests/README: Update README to include instructions on
1754         using bench-build.
1756         * Makefile.in (bench-build): New target.
1757         * Rules (PHONY): Add bench-build target.
1758         * benchtests/Makefile (bench): Depend on bench-build.
1759         (bench-build): New target.
1761 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1763         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1764         profil_reply_port.
1765         (profile_waiter): Do not initialize profil_reply_port.
1766         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1767         frequency instead of tick length in us.
1769 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1771         [BZ #18712]
1772         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1773         (__old_mempcpy_small): Likewise.
1774         (__old_strcpy_small): Likewise.
1775         (__old_stpcpy_small): Likewise.
1776         (__old_strpbrk_c2): Fix compat symbol name.
1777         (__old_strpbrk_c3): Likewise.
1778         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1779         (__mempcpy_small): Remove.
1780         (__strcpy_small): Remove.
1781         (__stpcpy_small): Remove.
1783 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1785         [BZ #19400]
1786         * locale/iso-639.def: Add the Talossan/tzl language.
1788 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1790         [BZ #16983]
1791         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1792         comment.  Add "ln" to strchr check on postal_fmt.
1794 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1796         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1797         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1798         tel_dom_fmt.
1800 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1802         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1803         (sysdep_routines): Added __strlen_power8.
1804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1805         __strlen_power8 entry.
1806         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1807         Implementation for POWER8.
1808         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1809         for __strlen_power8.
1810         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1811         Implementation for POWER8.
1813 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1815         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1817 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1819         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1820         Goldmont and Airmont processors.
1822 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1824         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1825         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1826         (__STRING2_SMALL_GET32): Remove.
1827         (memset): Remove.
1828         (__memset_1): Remove.
1829         (__memset_gc): Remove.
1830         (__mempcpy): Remove.
1831         (mempcpy): Remove.
1832         (__mempcpy_args): Remove.
1833         (strchr): Remove.
1834         (strcpy): Remove.
1835         (strcpy_args): Remove.
1836         (__stpcpy_args): Remove.
1837         (__strcmp_cc): Remove.
1838         (__strcmp_gc): Remove.
1839         (strstr): Remove.
1841 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1843         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1844         * nis/nis_call.c (nis_server_cache_add): Likewise.
1846 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1848         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1850 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1852         * malloc/arena.c (__malloc_fork_lock_parent)
1853         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1854         internal_function attribute.
1856 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1858         * stdio-common/printf_fp.c (__printf_fp_l):
1859         Rename ___printf_fp_l to __printf_fp_l and
1860         remove strong alias. Use libc_hidden_def instead
1861         of ldbl_hidden_def macro.
1863 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1865         Remove malloc hooks from fork handler.  They are no longer needed
1866         because malloc runs right before fork, and no malloc calls from
1867         other fork handlers are not possible anymore.
1868         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1869         declarations.
1870         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1871         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1872         (atfork_recursive_cntr): Remove.
1873         (__malloc_fork_lock_parent): Do not override malloc hooks and
1874         thread_arena.
1875         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1876         thread_arena.
1877         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1878         thread_arena instead of save_arena.
1880 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1882         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1883         (thread_atfork, thread_atfork_static): Remove.
1884         * sysdeps/mach/hurd/malloc-machine.h:
1885         (thread_atfork, thread_atfork_static): Remove.
1887 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1889         [BZ #19431]
1890         Run the malloc fork handler as late as possible to avoid deadlocks.
1891         * malloc/malloc-internal.h: New file.
1892         * malloc/malloc.c: Include it.
1893         * malloc/arena.c (ATFORK_MEM): Remove.
1894         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1895         Update comment.
1896         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1897         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1898         Remove outdated comment.
1899         (ptmalloc_init): Do not call thread_atfork.  Remove
1900         thread_atfork_static.
1901         * malloc/tst-malloc-fork-deadlock.c: New file.
1902         * Makefile (tests): Add tst-malloc-fork-deadlock.
1903         (tst-malloc-fork-deadlock): Link against libpthread.
1904         * manual/memory.texi (Aligned Memory Blocks): Update safety
1905         annotation comments.
1906         * sysdeps/nptl/fork.c (__libc_fork): Call
1907         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1908         __malloc_fork_unlock_child.
1909         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1911 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1913         [BZ #19613]
1914         Remove union wait.
1915         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1916         (w_stopsig, w_stopval): Remove.
1917         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1918         stat_loc argument.
1919         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1920         (__WAIT_STATUS_DEFN): Remove.
1921         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1922         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1923         (wait, wait3, wait4): Use int * for the stat_loc argument.
1924         * posix/wait.c (__wait): Likewise.
1925         * posix/wait3.c (__wait3): Likewise.
1926         * posix/wait4.c (__wait4): Likewise.
1927         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1928         (__WAIT_STATUS_DEFN): Remove.
1929         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1930         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1931         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1932         argument.
1933         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1934         * sysdeps/posix/wait3.c (__wait3): Likewise.
1935         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1936         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1937         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1938         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1939         stat_loc argument.
1940         * manual/process.texi (BSD Wait Functions): Remove union wait.
1942 2016-04-13  Andreas Schwab  <schwab@suse.de>
1944         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1945         (test-extras): Add tst-tlsalign-vars.
1946         * math/Makefile: Wrap long lines.
1947         (libm-vec-test-wrappers): Define.
1948         (test-extras): Add $(libm-vec-test-wrappers).
1949         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1950         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1951         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1952         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1953         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1954         (extra-test-objs): Add corresponding objects.
1956 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1958         [BZ #19928]
1959         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1960         New.
1961         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1962         times of shared cache size.
1963         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1964         (VMOVNT): New.
1965         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1966         (VMOVNT): Likewise.
1967         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1968         (VMOVNT): Likewise.
1969         (VMOVU): Changed to movups for smaller code sizes.
1970         (VMOVA): Changed to movaps for smaller code sizes.
1971         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1972         comments.
1973         (PREFETCH): New.
1974         (PREFETCH_SIZE): Likewise.
1975         (PREFETCHED_LOAD_SIZE): Likewise.
1976         (PREFETCH_ONE_SET): Likewise.
1977         Rewrite to use forward and backward loops, which move 4 vector
1978         registers at a time, to support overlapping addresses and use
1979         non temporal store if size is above the threshold and there is
1980         no overlap between destination and source.
1982 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1984         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1985         Include dl-vdso.
1986         * sysdeps/unix/sysv/linux/mips/Versions: Add
1987         __vdso_clock_gettime.
1988         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1989         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1990         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1991         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1992         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1993         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1994         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1995         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1996         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1998 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2000         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2001         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2004         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2005         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2008         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2010         syscalls generation.
2011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2012         [__NR_pwrite64] (__NR_write): Remove define.
2013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2014         [__NR_pwrite64] (__NR_write): Remove define.
2015         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2016         Remove define.
2017         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2018         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2019         Remove define.
2020         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2021         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2022         Linux implementation as base.
2023         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2025         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2026         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2031         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2033         syscall generation.
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2035         [__NR_pread64] (__NR_pread): Remove define.
2036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2037         [__NR_pread64] (__NR_pread): Likewise.
2038         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2039         define.
2040         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2041         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2042         Remove define.
2043         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2044         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2045         Linux implementation as base.
2046         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2047         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2048         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2050         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2051         definition.
2052         (__ALIGNMENT_COUNT): Likewise.
2053         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2054         (__ALIGNMENT_COUNT): Likewise.
2055         (SYSCALL_LL): New define.
2056         (SYSCALL_LL64): Likewise.
2057         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2058         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2059         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2060         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2063         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2065         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2066         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2067         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2069 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2071         [BZ #19865]
2072         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2073         original buffer before retry.
2075 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2077         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2078         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2079         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2080         GLRO(dl_auxv) list.
2081         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2082         including <ldsodefs.h>.
2083         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2085 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2087         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2088         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2089         $(CPPFLAGS).
2091 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2093         [BZ #17950]
2094         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2095         Add -mfpmath=387.
2097 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2099         * sysdeps/i386/configure.ac: Change == to = when calling test.
2100         * sysdeps/x86_64/configure.ac: Likewise.
2101         * sysdeps/i386/configure: Regenerated.
2102         * sysdeps/x86_64/configure: Likewise.
2104 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2106         [BZ #16137]
2107         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2108         * benchtests/bench-strcoll.c (input_files): Likewise.
2109         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2110         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2111         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2113 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2115         [BZ #19929]
2116         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2117         [__USE_XOPEN2K8 && !__USE_GNU].
2118         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2119         variable.
2121         [BZ #19925]
2122         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2123         define if [!__USE_MISC && __USE_XOPEN2K].
2124         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2125         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2126         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2127         Likewise.
2128         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2129         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2130         variable.
2131         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2133 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2135         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2136         (sysdep_routines): Add new strspn targets.
2137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2138         (__libc_ifunc_impl_list): Add strspn.
2139         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2140         New file.
2141         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2142         Likewise.
2143         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2144         Likewise.
2145         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2146         Likewise.
2148 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2150         * misc/hsearch_r.c: Include <limits.h>.
2152 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2154         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2156 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2158         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2159         (MEMCPY_SYMBOL): New.
2160         (MEMPCPY_SYMBOL): Likewise.
2161         (MEMMOVE_CHK_SYMBOL): Likewise.
2162         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2163         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2164         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2165         Provide alias for memcpy in libc.a and ld.so.
2167 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2169         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2170         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2171         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2172         Disabled fro now.
2173         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2174         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2176 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2178         * benchtests/Makefile (string-benchset): Add memcpy-large,
2179         memmove-large and memset-large.
2180         * benchtests/bench-memcpy-large.c: New file.
2181         * benchtests/bench-memmove-large.c: Likewise.
2182         * benchtests/bench-memmove-large.c: Likewise.
2183         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2185 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2187         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2188         32-bit displacement to avoid long nop between instructions.
2190 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2192         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2193         a comment on VMOVU and VMOVA.
2195 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2197         [BZ #19633]
2198         Use specified locale for number formatting in strfmon_l.
2199         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2200         (__nl_lookup_word): New inline functions.
2201         * include/printf.h (__print_fp_l): Declare.
2202         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2203         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2204         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2205         (___printf_fp): New function.
2206         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2207         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2208         * stdlib/tst-strfmon_l.c (do_test): New test.
2209         * stdlib/Makefile (tests): Add kt.
2210         (LOCALES): Build additional locales.
2211         (tst-strfmon_l.out): Require locales.
2213 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2215         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2216         if not in libc.
2217         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2218         Likewise.
2219         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2220         Likewise.
2221         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2222         Likewise.
2224 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2226         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2227         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2228         with unaligned_erms.
2229         (__memmove_erms): Skip if source == destination.
2230         (__memmove_unaligned_erms): Don't check source == destination
2231         first.
2233 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2235         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2236         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2238 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2240         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2241         * string/strspn.c (strspn): Likewise.
2243 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2245         * benchtests/bench-memset.c (do_test): Support 64-byte
2246         alignment.
2247         (test_main): Test 64-byte alignment.
2249 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2251         * benchtests/bench-memmove.c (test_main): Test 64-byte
2252         alignment.
2254 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2256         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2258 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2260         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2261         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2262         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2264         * string/strpbrk.c (strpbrk): Rewrite function.
2265         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2266         (__strpbrk_c2): Likewise.
2267         (__strpbrk_c3): Likewise.
2268         * string/string-inlines.c
2269         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2270         Likewise.
2271         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2272         Likewise.
2274         * string/strspn.c (strcspn): Rewrite function.
2275         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2276         (__strspn_c1): Remove inline function.
2277         (__strspn_c2): Likewise.
2278         (__strspn_c3): Likewise.
2279         * string/string-inlines.c
2280         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2281         compatibility symbol.
2282         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2283         Likewise.
2284         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2285         Likewise.
2286         * string/string-inlines.c: Include generic version.
2288 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2289             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2291         * string/Version (libc): Add GLIBC_2.24.
2292         * string/strcspn.c (strcspn): Rewrite function.
2293         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2294         (__strcspn_c1): Remove inline function.
2295         (__strcspn_c2): Likewise.
2296         (__strcspn_c3): Likewise.
2297         * string/string-inline.c
2298         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2299         compatibility symbol.
2300         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2301         Likewise.
2302         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2303         Likewise.
2304         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2306 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2308         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2309         Use ahi instead of aghi to adjust stack pointer.
2311 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2313         [BZ #19853]
2314         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2315         TEST to take significant digits as second parameter.
2316         [TEST]: Redefine in terms of TEST_N taking 30
2317         significant digits.
2318         (do_test): Add test case to demonstrate precision
2319         failure in the ldbl-128ibm printf.
2320         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2321         (__mpn_extract_long_double): Carry 7 extra intermediate
2322         bits of precision to aide computing difference when
2323         signs differ.
2325 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2327         [BZ #19881]
2328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2329         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2330         memset-avx512-unaligned-erms.
2331         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2332         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2333         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2334         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2335         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2336         __memset_sse2_unaligned_erms, __memset_erms,
2337         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2338         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2339         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2340         file.
2341         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2342         Likewise.
2343         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2344         Likewise.
2345         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2346         Likewise.
2348 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2350         [BZ #19776]
2351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2352         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2353         memmove-avx512-unaligned-erms.
2354         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2355         (__libc_ifunc_impl_list): Test
2356         __memmove_chk_avx512_unaligned_2,
2357         __memmove_chk_avx512_unaligned_erms,
2358         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2359         __memmove_chk_sse2_unaligned_2,
2360         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2361         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2362         __memmove_avx512_unaligned_erms, __memmove_erms,
2363         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2364         __memcpy_chk_avx512_unaligned_2,
2365         __memcpy_chk_avx512_unaligned_erms,
2366         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2367         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2368         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2369         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2370         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2371         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2372         __mempcpy_chk_avx512_unaligned_erms,
2373         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2374         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2375         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2376         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2377         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2378         __mempcpy_erms.
2379         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2380         file.
2381         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2382         Likwise.
2383         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2384         Likwise.
2385         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2386         Likwise.
2388 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2390         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2391         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2392         (La_s390_64_regs): Likewise.
2393         (La_s390_32_retval): Append vector register lrv_v24.
2394         (La_s390_64_retval): Likeweise.
2395         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2396         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2397         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2398         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2400 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2402         [BZ #19916]
2403         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2404         to create a non-vector/vector version for _dl_runtime_resolve and
2405         _dl_runtime_profile. Move implementation to ...
2406         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2407         (_dl_runtime_resolve) Save and restore fpr/vrs.
2408         (_dl_runtime_profile) Save and restore vrs and fix some issues
2409         if _dl_call_pltexit is called.
2410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2411         Choose the correct resolver function if running on a machine with vx.
2412         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2413         to create a non-vector/vector version for _dl_runtime_resolve and
2414         _dl_runtime_profile. Move implementation to ...
2415         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2416         (_dl_runtime_resolve) Save and restore fpr/vrs.
2417         (_dl_runtime_profile) Save and restore vrs and fix some issues
2418         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2419         Choose the correct resolver function if running on a machine with vx.
2421 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2423         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2425 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2427         [BZ #19509]
2428         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2429         skip_map != NULL.
2430         * elf/tst-dlsym-error.c: New file.
2431         * elf/Makefile (tests): Add tst-dlsym-error.
2432         (tst-dlsym-error): Link against libdl.
2434 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2437         (__ASSUME_FUTIMESAT): Remove macro.
2438         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2440 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2442         [BZ #19879]
2443         CVE-2016-3075
2444         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2445         copy name.
2447 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2449         [BZ #19837]
2450         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2451         error if parse_line fails.
2453 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2455         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2456         (index_cpu_ERMS): Likewise.
2457         (reg_ERMS): Likewise.
2459 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2461         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2462         PER_LINUX_FDPIC): Add.
2464 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2467         memcpy-avx512-no-vzeroupper.
2468         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2469         to ...
2470         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2471         (MEMCPY): Don't define.
2472         (MEMCPY_CHK): Likewise.
2473         (MEMPCPY): Likewise.
2474         (MEMPCPY_CHK): Likewise.
2475         (MEMPCPY_CHK): Renamed to ...
2476         (__mempcpy_chk_avx512_no_vzeroupper): This.
2477         (MEMPCPY_CHK): Renamed to ...
2478         (__mempcpy_chk_avx512_no_vzeroupper): This.
2479         (MEMCPY_CHK): Renamed to ...
2480         (__memmove_chk_avx512_no_vzeroupper): This.
2481         (MEMCPY): Renamed to ...
2482         (__memmove_avx512_no_vzeroupper): This.
2483         (__memcpy_avx512_no_vzeroupper): New alias.
2484         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2486 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2488         [BZ #18858]
2489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2490         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2491         and mempcpy-avx512-no-vzeroupper.
2492         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2493         New.
2494         (MEMPCPY): Likewise.
2495         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2496         (MEMPCPY_CHK): New.
2497         (MEMPCPY): Likewise.
2498         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2499         (MEMPCPY): Likewise.
2500         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2501         (MEMPCPY): Likewise.
2502         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2503         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2504         Likewise.
2505         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2506         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2508 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2509              Amit Pawar  <Amit.Pawar@amd.com>
2511         [BZ #19583]
2512         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2513         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2514         processors.  Set Fast_Copy_Backward for AMD Excavator
2515         processors.
2516         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2517         New.
2518         (index_arch_Fast_Unaligned_Copy): Likewise.
2519         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2520         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2522 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2524         [BZ #19791]
2525         * resolv/res_send.c (close_and_return_error): New function.
2526         (send_dg): Initialize *resplen2 after reopen failure.  Call
2527         close_and_return_error for error returns.  On error paths without
2528         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2529         successful return.
2531 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2533         [BZ# 19860]
2534         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2535         zero if the compiler does not provide the AVX512F bit.
2537 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2539         [BZ #19848]
2540         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2541         from 8 to 4.
2542         (__ieee754_powl): Compare integer exponent against 4 not 8.
2543         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2544         from 8 to 4.
2545         (__ieee754_powl): Compare integer exponent against 4 not 8.
2546         * math/auto-libm-test-in: Add more tests of pow.
2547         * math/auto-libm-test-out: Regenerated.
2548         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2553         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2554         Make code unconditional.
2555         [!__NR_utimensat]: Remove conditional code.
2556         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2557         Make code unconditional.
2558         [!__NR_utimensat]: Remove conditional code.
2559         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2560         Make code unconditional.
2561         [!__NR_utimensat]: Remove conditional code.
2563 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2565         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2566         Make code unconditional.
2568 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2570         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2571         call-clobbered %eax on retry path.
2572         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2574 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2576         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2577         Don't set %rcx twice before "rep movsb".
2579 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2581         [BZ #19583]
2582         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2583         inline.  Check family before setting family, model and
2584         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2585         bits here.
2586         (init_cpu_features): Replace HAS_CPU_FEATURE and
2587         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2588         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2589         for Intel processors with usable AVX2.  Call get_common_indeces
2590         for other processors with family == NULL.
2591         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2592         (CPU_FEATURES_ARCH_P): Likewise.
2593         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2594         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2596 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2598         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2599         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2600         $(shared-thread-library) instead of hardcoding the path to libpthread.
2602 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2604         * sysdeps/unix/sysv/linux/kernel-features.h
2605         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2606         * sysdeps/unix/sysv/linux/getdents.c
2607         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2608         [!have_no_getdents64_defined]: Likewise.
2609         (__GETDENTS): Remove __have_no_getdents64 conditional.
2611 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2613         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2614         Remove macro.
2615         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2616         <kernel-features.h>.
2617         (signalfd) [__NR_signalfd4]: Make code unconditional.
2618         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2620 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2622         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2623         style.
2625 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2627         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2628         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2629         __pthread_unwind.
2630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2631         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2633         (__condvar_cleanup1): Likewise.
2635 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2637         [BZ #19822]
2638         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2639         move it to the final $@ location.
2641 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2643         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2644         access where posix_spawn success and pid argument is null.
2645         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2646         success case.
2648 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2650         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2652         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2654         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2655         and __fcntl.
2656         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2657         __fcntl only.
2658         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2659         adding attribute_hidden to __open and __fcntl.
2661         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2662         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2663         depend on libc-modules.h,
2664         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2666 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2669         Remove macro.
2670         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2671         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2672         entry.
2674         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2675         Remove macro.
2676         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2677         include <kernel-features.h>.
2678         [!__ASSUME_FALLOCATE]: Remove conditional code.
2679         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2681 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2684         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2685         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2686         (_ZGVdN4v_cos_avx2): Likewise.
2687         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2688         (_ZGVdN4v_cos): Likewise.
2689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2690         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2692         (_ZGVdN4v_exp_avx2): Likewise.
2693         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2694         (_ZGVdN4v_exp): Likewise.
2695         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2696         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2697         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2698         (_ZGVdN4v_log_avx2): Likewise.
2699         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2700         (_ZGVdN4v_log): Likewise.
2701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2702         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2703         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2704         (_ZGVdN4vv_pow_avx2): Likewise.
2705         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2706         (_ZGVdN4vv_pow): Likewise.
2707         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2708         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2709         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2710         (_ZGVdN4v_sin_avx2): Likewise.
2711         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2712         (_ZGVdN4v_sin): Likewise.
2713         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2714         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2716         (_ZGVdN4vvv_sincos_avx2): Likewise.
2717         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2718         (_ZGVdN4vvv_sincos): Likewise.
2719         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2720         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2721         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2722         (_ZGVbN4v_cosf_sse4): Likewise.
2723         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2724         (_ZGVdN8v_cosf_avx2): Likewise.
2725         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2726         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2727         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2728         (_ZGVbN4v_expf_sse4): Likewise.
2729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2730         (_ZGVdN8v_expf_avx2): Likewise.
2731         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2732         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2733         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2734         (_ZGVbN4v_logf_sse4): Likewise.
2735         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2736         (_ZGVdN8v_logf_avx2): Likewise.
2737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2738         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2739         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2740         (_ZGVbN4vv_powf_sse4): Likewise.
2741         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2742         (_ZGVdN8vv_powf_avx2): Likewise.
2743         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2744         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2745         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2746         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2748         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2750         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2752         (_ZGVbN4v_sinf_sse4): Likewise.
2753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2754         (_ZGVdN8v_sinf_avx2): Likewise.
2755         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2756         Use JUMPTARGET to call callee.
2757         (WRAPPER_IMPL_SSE2_ff): Likewise.
2758         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2759         (WRAPPER_IMPL_AVX): Likewise.
2760         (WRAPPER_IMPL_AVX_ff): Likewise.
2761         (WRAPPER_IMPL_AVX_fFF): Likewise.
2762         (WRAPPER_IMPL_AVX512): Likewise.
2763         (WRAPPER_IMPL_AVX512_ff): Likewise.
2764         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2765         Likewise.
2766         (WRAPPER_IMPL_SSE2_ff): Likewise.
2767         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2768         (WRAPPER_IMPL_AVX): Likewise.
2769         (WRAPPER_IMPL_AVX_ff): Likewise.
2770         (WRAPPER_IMPL_AVX_fFF): Likewise.
2771         (WRAPPER_IMPL_AVX512): Likewise.
2772         (WRAPPER_IMPL_AVX512_ff): Likewise.
2773         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2775 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2777         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2778         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2779         qualifier.
2780         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2781         internal_function qualifiers.
2783 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2785         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2786         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2787         * math/atest-exp.c (exp_mpn): Mark chk unused.
2788         * math/atest-exp2.c (exp_mpn): Likwise.
2789         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2790         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2792 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2794         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2795         Remove macro.
2796         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2797         <kernel-features.h>.
2798         [__NR_ppoll]: Make code unconditional.
2799         [!__ASSUME_PPOLL]: Remove conditional code.
2801         * sysdeps/unix/sysv/linux/kernel-features.h
2802         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2803         (__ASSUME_ACCEPT4): Likewise.
2804         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2805         Define.
2806         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2807         Likewise.
2808         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2809         Likewise.
2810         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2811         Likewise.
2812         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2813         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2815         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2816         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2818         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2819         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2820         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2822         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2823         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2826         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2827         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2828         Likewise.
2829         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2830         Likewise.
2831         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2832         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2833         0x040300].
2834         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2835         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2837         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2838         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2839         0x030300].
2840         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2841         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2842         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2843         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2844         0x040300].
2845         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2846         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2848         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2849         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2850         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2851         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2852         0x030300].
2853         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2854         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2856         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2857         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2858         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2859         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2861         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2862         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2863         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2864         0x040300].
2865         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2866         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2867         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2868         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2869         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2870         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2871         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2872         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2873         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2874         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2876         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2877         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2878         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2879         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2880         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2881         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2882         Likewise.
2883         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2884         Likewise.
2886 2016-03-15  Andreas Schwab  <schwab@suse.de>
2888         [BZ #19257]
2889         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2890         statp->_u._ext.nscount as loop count.
2892 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2894         * math/test-signgam-finite-c99.c: Also #undef
2895         __LIBC_INTERNAL_MATH_INLINES.
2896         * math/test-signgam-main.c: Likewise.
2898 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2900         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2901         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2902         (MADV_FREE): Likewise.
2903         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2904         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2905         EPOLLEXCLUSIVE.
2907 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2909         * timezone/README: Remove mention of checktab.awk. Mention wiki
2910         SharedSourceFiles.
2912 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2914         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2915         WUNTRACED.
2917 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2919         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2920         order to match the type of p when calling atomic_exchange_acq().
2922 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2924         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2925         cfi_offset calls.
2926         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2927         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2928         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2929         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2930         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2932 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2934         * timezone/checktab.awk: Removed.
2936 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2938         * manual/math.texi (Errors in Math Functions): Document relaxed
2939         accuracy goals for IBM long double.
2940         * math/libm-test.inc (test_exceptions): Always allow spurious
2941         "underflow" and "inexact" exceptions for IBM long double.
2943 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2945         [BZ #19762]
2946         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2947         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2948         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2949         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2950         (bit_arch_*): This for feature array.
2951         (bit_*): Renamed to ...
2952         (bit_cpu_*): This for cpu array.
2953         (index_*): Renamed to ...
2954         (index_arch_*): This for feature array.
2955         (index_*): Renamed to ...
2956         (index_cpu_*): This for cpu array.
2957         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2958         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2959         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2960         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2961         bit_##name with index_cpu_##name and bit_cpu_##name.
2962         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2963         bit_##name with index_arch_##name and bit_arch_##name.
2965 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2967         [BZ #19792]
2968         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2969         Terminate FDE before return label.
2971 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2973         [BZ #19790]
2974         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2975         (rintl): Define as macro.
2976         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2977         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2978         of fesetround.  Ensure results are evaluated before end of scope.
2979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2980         USE_AS_NEARBYINTL and include s_rintl.c.
2981         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2982         Disable exception traps in new environment.
2983         (libc_feholdsetround_ppc_ctx): Likewise.
2985 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2987         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2988         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2989         (tst_audit10_aux) [__AVX512F__]: ... here.
2991 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2993         * include/sys/auxv.h: New file.
2995 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2997         [BZ #19759]
2998         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3000 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3002         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3003         operand modifier.
3004         (feclearexcept): Likewise.
3006 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3008         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3009         to reflect the entire 32-bit HWCAP.
3010         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3011         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3013 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3015         [BZ #19783]
3016         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3017         $(test-via-rtld-prefix).
3018         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3020 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3022         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3023         union wait.  Report any non-zero exit status as error.
3025 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3027         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3028         configured with --enable-hardcoded-path-in-tests.
3030 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3032         [BZ #19677]
3033         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3034         (__ieee754_remainderl): Put zero low parts in canonical form.
3035         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3036         file.  Based on
3037         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3038         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3039         with wrapper round test-fmodrem-ldbl-128ibm.c.
3040         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3041         file.
3042         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3043         Likewise.
3044         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3045         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3047 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3049         [BZ #19610]
3050         * elf/ldconfig.c (opt_link): Update comment.
3051         (options): Update help string for option -X.
3052         (search_dir): Unlink stale symbolic link only if updating symbolic
3053         links.
3054         * elf/tst-ldconfig-X.sh: New file.
3055         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3056         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3058 2016-03-07  Andreas Schwab  <schwab@suse.de>
3060         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3061         needed arguments.
3063 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3065         [BZ #15333]
3066         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3067         to lstat64.
3069 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3071         * libio/filedoalloc.c (isatty): Remove.
3072         (local_isatty): Add comment.  Call __isatty directly.
3073         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3074         * libio/wfiledoalloc.c (isatty): Remove.
3075         (_IO_wfile_doallocate): Update comment.
3077 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3079         [BZ #19269]
3080         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3081         tst-audit4-aux.o.
3082         (tst-audit10): Depend on tst-audit10-aux.o.
3083         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3084         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3085         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3086         instead of inline AVX code.
3087         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3088         instead of inline AVX512 code.
3089         * sysdeps/x86_64/tst-audit4-aux.c: New file
3090         * sysdeps/x86_64/tst-audit10-aux.c: New file
3092         [BZ #19648]
3093         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3095 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3097         [BZ #14750]
3098         [BZ #10354]
3099         [BZ #18433]
3100         * include/sched.h (__clone): Add hidden prototype.
3101         (__clone2): Likewise.
3102         * include/unistd.h (__dup): Likewise.
3103         * posix/Makefile (tests): Add tst-spawn2.
3104         * posix/tst-spawn2.c: New file.
3105         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3106         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3107         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3108         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3109         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3110         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3111         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3112         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3113         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3114         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3115         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3117         Likewise.
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3119         Likewise.
3120         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3121         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3122         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3123         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3124         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3125         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3126         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3127         * sysdeps/unix/sysv/linux/nptl-signals.h
3128         (____nptl_is_internal_signal): New function.
3129         * sysdeps/unix/sysv/linux/spawni.c: New file.
3131         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3132         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3133         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3134         * posix/tst-execvp2.c (do_test): Likewise.
3135         * posix/tst-execvp3.c (do_test): Likewise.
3136         * posix/tst-execvp4.c (do_test): Likewise.
3137         * posix/tst-execvpe1.c: New file.
3138         * posix/tst-execvpe2.c: Likewise.
3139         * posix/tst-execvpe3.c: Likewise.
3140         * posix/tst-execvpe4.c: Likewise.
3141         * posix/tst-execvpe5.c: Likewise.
3142         * posix/tst-execvpe6.c: Likewise.
3144         [BZ #19534]
3145         * posix/execl.c (execl): Remove dynamic memory allocation.
3146         * posix/execle.c (execle): Likewise.
3147         * posix/execlp.c (execlp): Likewise.
3149 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3151         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3152         Replace .text with .text.avx512.
3153         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3154         Likewise.
3156 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3158         * sysdeps/generic/libnsl.abilist: New file.
3159         * sysdeps/generic/libutil.abilist: New file.
3161 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3163         [BZ #19762]
3164         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3165         HAS_ARCH_FEATURE with Fast_Rep_String.
3166         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3167         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3168         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3169         Likewise.
3170         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3171         Likewise.
3172         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3173         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3174         Likewise.
3175         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3176         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3177         Likewise.
3179 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3181         [BZ #19745]
3182         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3183         with *%rax in call.
3185 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3187         [BZ #19745]
3188         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3189         with *__libc_start_main@GOTPCREL(%rip) in call.
3191 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3193         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3194         inside conditional for nonempty $(CXX).
3196         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3197         nonempty.
3199         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3200         to test for empty $(CXX) rather than $(CXX) of "no".
3202 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3204         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3206 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3207             H.J. Lu  <hongjiu.lu@intel.com>
3209         [BZ #18880]
3210         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3211         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3212         enable __memcpy_ssse3_back.
3214 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3216         [BZ #19758]
3217         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3218         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3220 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3222         [BZ #19490]
3223         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3224         (__fentry__): Likewise.
3226 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3228         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3229         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3231 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3233         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3234         __mcount_internal directly.
3235         (C_LABEL(__fentry__)): Likewise.
3236         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3237         directly.
3239 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3241         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3242         (__start_context): Call __setcontext directly.
3244 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3246         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3247         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3248         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3249         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3251         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3252         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3253         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3254         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3255         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3256         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3257         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3258         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3259         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3260         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3261         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3262         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3264         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3265         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3266         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3267         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3268         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3269         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3270         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3271         Remove conditional code.
3272         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3273         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3274         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3275         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3276         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3277         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3278         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3279         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3280         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3281         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3282         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3283         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3285 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3287         * NEWS (2.23): Fix typo in bug 19048 text.
3289 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3291         [BZ #14259]
3292         * Makeconfig: Rename msgcatdir to localedir.
3293         Rename inst_msgcatdir to inst_localedir.
3294         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3295         * config.make.in: Add localedir.
3296         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3297         (ldd-rewrite): Likewise.
3298         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3299         (install-others): Use inst_localedir.
3300         (CPPFLAGS): Use localedir.
3301         * locale/Makefile (locale-CPPFLAGS): Likewise.
3302         * po/Makefile (mo-installed): Use inst_localedir.
3304         [BZ #19575]
3305         * localedata/charmaps/GB18030: Update comments regarding PAU to
3306         non-PUA mappings.
3308 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3310         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3311         test for header.
3312         * sysdeps/unix/sysv/linux/configure: Regenerated.
3313         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3314         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3315         Remove conditional code.
3316         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3318         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3319         Define to 3.2.0.
3320         (arch_minimum_kernel): Likewise.
3321         * sysdeps/unix/sysv/linux/configure: Regenerated.
3322         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3323         Define to 2.6.32.
3324         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3325         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3326         (arch_minimum_kernel): Define to 2.6.32.
3327         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3328         * README: Document Linux 3.2 requirement.
3329         * manual/install.texi (Linux): Document Linux 3.2 headers
3330         requirement.
3331         * INSTALL: Regenerated.
3333 2016-02-24  Andreas Schwab  <schwab@suse.de>
3335         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3336         if !NO_LONG_DOUBLE.
3338 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3340         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3341         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3343 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3345         [BZ #19512]
3346         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3348 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3350         * posix/tst-dir.c: Include libc-internal.h.
3352 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3354         [BZ #19056]
3355         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3356         * manual/filesys.texi (Reading/Closing Directory): Mention
3357         deprecaion.
3358         * posix/tst-dir.c (main): Disable deprecation warning in test.
3360 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3362         [BZ #19679]
3363         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3364         Renamed to ...
3365         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3366         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3367         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3368         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3369         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3370         * sysdeps/x86_64/dl-trampoline.h
3371         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3372         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3374 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3376         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3378 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3380         * elf/elf.h (R_386_GOT32X): New.
3381         (R_386_NUM): Update.
3382         (R_X86_64_GOTPCRELX: New.
3383         (R_X86_64_REX_GOTPCRELX): New.
3384         (R_X86_64_NUM): Update.
3386 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3388         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3390 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3392         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3393         assign attr->stackaddr to it, and adjust it down when
3394         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3395         [_STACK_GROWS_UP]: Delete assert.
3396         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3397         Implement stack grows up logic.
3398         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3399         stack grows up logic.
3401 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3403         * NEWS: Update with 2.24 template.
3405 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3407         [BZ #19678]
3408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3409         Ensure +0.0 is returned when taking the next value below the least
3410         positive value.
3412 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3414         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3415         available.  Do not define NO_THREADS.
3416         * malloc/malloc.c: Do not check NO_THREADS.
3417         * malloc/arena.c: Likewise.
3419 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3421         * malloc/malloc.c (__libc_mallinfo): Update comment.
3422         (struct malloc_par): Remove max_total_mem member, it was always 0.
3423         (int_mallinfo): Store 0 into usmblks (no functional change).
3424         * malloc/hooks.c (struct malloc_state): Document that
3425         max_total_mem is always 0.
3426         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3427         always 0.
3428         * manual/memory.texi (Statistics of Malloc): Likewise.
3430 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3432         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3433         * malloc/arena.c (arena_max): Remove.
3434         (heap_trim, _int_new_arena): Do not update arena_max.
3436 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3438         * resolv/res_init.c (res_ninit): Update comment.
3440 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3442         [BZ #19505]
3443         * posix/spawn_int.h: Add headers and include guard.
3444         (__spawn_valid_fd): New function.
3445         * posix/spawn_faction_addopen.c
3446         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3447         * posix/spawn_faction_addclose.c
3448         (posix_spawn_file_actions_addclose): Likewise.
3449         * posix/spawn_faction_adddup2.c
3450         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3451         second file descriptor.
3452         * posix/spawn_valid_fd.c: New file.
3453         * posix/tst-posix_spawn-fd.c: New file.
3454         * posix/Makefile (routines): Add spawn_valid_fd.
3455         (tests): Add tst-posix_spawn-fd.
3457 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3459         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3460         (do_test): Limit the number of arenas, so that we can use fewer
3461         outer threads.  Limit timeout to 3 seconds, in preparation for a
3462         larger TIMEOUT value.
3464 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #19674]
3467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3468         sign in overflowing and underflowing results when overflow or
3469         underflow is detected early.  Include sign in result before rather
3470         than after scaling.
3472         [BZ #19603]
3473         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3474         (__ieee754_remainderl): Adjust sign of integer version of low part
3475         when taking absolute value of high part.
3476         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3477         * math/libm-test.inc (remainder_test_data): Add another test.
3478         (remquo_test_data): Likewise.
3480 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3482         [BZ #19602]
3483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3484         equal high parts and both low parts zero specially.
3485         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3486         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3487         Add test-fmodl-ldbl-128ibm.
3489         [BZ #19595]
3490         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3491         common logic for all cases of shifting subnormal results.  Do not
3492         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3493         exponent to ldbl_insert_mantissa in subnormal case.
3495         [BZ #19594]
3496         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3497         on high and low parts then adjust result and use
3498         ldbl_canonicalize_int if needed.
3500         [BZ #19593]
3501         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3502         on high part and __floor or __ceil on low part then use
3503         ldbl_canonicalize_int if needed.
3505         [BZ #19592]
3506         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3507         high and low parts then use ldbl_canonicalize_int if needed.
3509         [BZ #17899]
3510         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3511         New function.
3512         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3513         on high and low parts then use ldbl_canonicalize_int if needed.
3515 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3517         * configure: Regenerated.
3519         * po/libc.pot: Regenerated.
3521         * po/be.po: Updated translation.
3522         * po/bg.po: Likewise.
3523         * po/ca.po: Likewise.
3524         * po/cs.po: Likewise.
3525         * po/da.po: Likewise.
3526         * po/el.po: Likewise.
3527         * po/eo.po: Likewise.
3528         * po/es.po: Likewise.
3529         * po/fi.po: Likewise.
3530         * po/fr.po: Likewise.
3531         * po/gl.po: Likewise.
3532         * po/hr.po: Likewise.
3533         * po/hu.po: Likewise.
3534         * po/ia.po: Likewise.
3535         * po/id.po: Likewise.
3536         * po/it.po: Likewise.
3537         * po/ja.po: Likewise.
3538         * po/lt.po: Likewise.
3539         * po/nb.po: Likewise.
3540         * po/nl.po: Likewise.
3541         * po/pt_BR.po: Likewise.
3542         * po/rw.po: Likewise.
3543         * po/sk.po: Likewise.
3544         * po/sl.po: Likewise.
3545         * po/sv.po: Likewise.
3546         * po/tr.po: Likewise.
3547         * po/zh_CN.po: Likewise.
3548         * po/zh_TW.po: Likewise.
3550         * version.h (RELEAES): Set to "development".
3551         (VERSION): Set to 2.23.90.
3553         * version.h (RELEASE): Set to "stable".
3554         (VERSION): Set to 2.23.
3555         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3557         * NEWS: Updated fixed bugs.
3559 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3560             Wilco Dijkstra  <wdijkstr@arm.com>
3562         [BZ #19462]
3563         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3564         (_STRING_INLINE_unaligned): This.
3565         * include/string.h: Include <string_private.h>.
3566         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3567         _STRING_INLINE_unaligned.
3568         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3569         (_STRING_INLINE_unaligned): New.
3570         * sysdeps/aarch64/string_private.h: New file.
3571         * sysdeps/generic/string_private.h: Likewise.
3572         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3573         * sysdeps/s390/string_private.h: Likewise.
3574         * sysdeps/x86/string_private.h: Likewise.
3575         * sysdeps/m68k/m680x0/m68020/bits/string.h
3576         (_STRING_ARCH_unaligned): Renamed to ...
3577         (_STRING_INLINE_unaligned): This.
3578         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3579         to ...
3580         (_STRING_INLINE_unaligned): This.
3581         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3582         to ...
3583         (_STRING_INLINE_unaligned): This.
3584         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3585         to ...
3586         (_STRING_INLINE_unaligned): This.
3588 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3589             H.J. Lu  <hongjiu.lu@intel.com>
3591         [BZ #19590]
3592         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3593         relocation.
3595 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3597         [BZ #18665]
3598         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3599         *herrno_p.
3600         (gaih_getanswer): Document functional behviour. Return tryagain
3601         if any result is tryagain.
3602         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3603         when freed.
3604         * resolv/res_send.c: Add copyright text.
3605         (__libc_res_nsend): Document that MAXPACKET is expected.
3606         (send_vc): Document. Remove buffer reuse.
3607         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3608         size of the buffer. Add Dprint for truncated UDP buffer.
3610 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3612         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3613         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3614         * INSTALL: Regenerate.
3616 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3617             Jonathan Wakely  <jwakely@redhat.com>
3618             Carlos O'Donell  <carlos@redhat.com>
3620         [BZ 19439]
3621         * math/Makefile (tests): Add test-math-isinff.
3622         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3623         * math/bits/mathcalls.h [__USE_MISC]: Use
3624         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3625         functions not in C++11 and which don't conflict e.g. isinff,
3626         isinfl etc.
3627         * math/test-math-isinff.cc: New file.
3629 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3631         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3633 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3635         [BZ #19529]
3636         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3638 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3640         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3642 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3644         [BZ #19550]
3645         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3646         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3647         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3648         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3649         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3650         New syscall entry.
3651         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3652         New syscall entry.
3653         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3654         syscall entry.
3656 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3658         [BZ #18240]
3659         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3660         unsigned int wraparound.
3662 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3664         [BZ #18240]
3665         * misc/bug18240.c: New test.
3666         * misc/Makefile (tests): Add it.
3668 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3669             Joseph Myers  <joseph@codesourcery.com>
3671         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3672         load in branch delay slot when less than a word of input left.
3674 2016-01-27  Andreas Schwab  <schwab@suse.de>
3676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3677         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3678         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3679         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3681 2016-01-26  David S. Miller  <davem@davemloft.net>
3683         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3685 2016-01-25  David S. Miller  <davem@davemloft.net>
3687         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3688         __sqrtl_finite.
3689         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3690         instead using versioned_symbol.
3691         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3692         of entries.
3694         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3695         __sqrtl_finite to GLIBC_2.23
3697 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3699         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3701 2016-01-25  Andreas Schwab  <schwab@suse.de>
3703         [BZ #17514]
3704         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3705         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3706         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3707         * nptl/tst-mutex-errorcheck.c: New file.
3709 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3711         [BZ #18560]
3712         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3713         (IPCOP_semop): Likewise.
3714         (IPCOP_semget): Likewise.
3715         (IPCOP_semctl): Likewise.
3716         (IPCOP_msgsnd): Likewise.
3717         (IPCOP_msgrcv): Likewise.
3718         (IPCOP_msgget): Likewise.
3719         (IPCOP_msgctl): Likewise.
3720         (IPCOP_shmat): Likewise.
3721         (IPCOP_shmdt): Likewise.
3722         (IPCOP_shmget): Likewise.
3723         (IPCOP_shmctl): Likewise.
3725 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3727         * string/tst-endian.c: Include <libc-internal.h>.
3728         (do_test): Ignore tautological-compare warnings around
3729         "htobeXX (beXXtoh (i)) != i" and
3730         "htoleXX (leXXtoh (i)) != i" if-statements.
3732 2016-01-24  David S. Miller  <davem@davemloft.net>
3734         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3735         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3736         alias.
3737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3738         __sqrtl_finite.
3740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3742 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3744         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3745         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3746         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3748 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3750         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3751         (thread_func): Use new function to simplify barrier check.
3752         (do_test): Use new function to simplify checking barrier exit
3753         code, and actually join the child thread.
3755 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3757         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3758         semicolon.
3759         (__libc_tend): Likewise.
3760         (__libc_tabort): Likewise.
3762 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3764         * sysdeps/nios2/libm-test-ulps: Update.
3765         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3766         (__gtsf2): Likewise.
3767         (__unorddf2): Likewise.
3768         (__unordsf2): Likewise.
3769         (__ledf2): Likewise.
3771 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3773         * nis/nis_table.c (__follow_path): Disable diagnostic for
3774         uninitialized variable that is a false positive for gcc 4.7.
3775         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3777 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3779         * sysdeps/nacl/lowlevellock-futex.h
3780         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3781         Always evaluate PRIVATE argument.
3783 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3785         [BZ #19490]
3786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3787         (pthread_cond_broadcast): Use ENTRY/END
3788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3789         (pthread_cond_signal): Likewise.
3790         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3791         Likewise.
3792         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3793         Likewise.
3794         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3795         Likewise.
3797 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3799         * sysdeps/ieee754/dbl-64/s_finite.c
3800         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3801         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3802         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3803         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3804         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3807         (__gtsf2): Add as optional for libc.so.
3808         (__unordsf2): Likewise.
3809         (__signbit): Remove for libc.so.
3810         (__signbitl): Likewise.
3812 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3814         * iconvdata/bug-iconv11.c (test_ibm93x):
3815         Use %zu printf format specifier for size_t argument.
3817 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3819         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3820         already-recorded ulps.
3821         * sysdeps/arm/libm-test-ulps: Regenerated.
3822         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3823         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3824         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3826 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3827             Paul Pluzhnikov  <ppluzhnikov@google.com>
3829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3830         assembler not supporting AVX-512.
3832 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3834         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3836 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3838         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3839         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3841         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3843         * sysdeps/arm/libm-test-ulps: Regenerated.
3845 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3847         [BZ #19451]
3848         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3850 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3852         [BZ #19486]
3853         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3854         * sysdeps/generic/fix-fp-int-convert-overflow.h
3855         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3856         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3857         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3858         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3859         Likewise.
3860         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3861         Avoid conversions to long int where inexact exceptions
3862         could be raised.
3863         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3864         Likewise.
3865         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3866         Avoid conversions to long long int where inexact exceptions
3867         could be raised.
3868         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3869         Likewise.
3871 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3873         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3874         * configure: Regenerated.
3876 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3878         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3880 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3882         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3883         outside of comment.
3885 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3887         * nptl/tst-barrier1.c: Add description on first line.
3888         * nptl/tst-barrier2.c: Likewise.
3889         * nptl/tst-barrier3.c: Likewise.
3890         * nptl/tst-barrier4.c: Likewise.
3891         * nptl/tst-barrier5.c: Likewise.
3893 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3895         [BZ #18868]
3896         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3898 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3902         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3903         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3904         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3905         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3906         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3907         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3908         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3909         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3910         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3912 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3914         [BZ #13065]
3915         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3916         new implementation.
3917         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3918         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3919         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3920         (BARRIER_IN_THRESHOLD): New macro.
3921         * nptl/pthread_barrierattr_setpshared.c
3922         (pthread_barrierattr_setpshared): Clean up.
3923         * nptl/tst-barrier4.c: Correct comment.
3924         * nptl/tst-barrier5.c: New file.
3925         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3926         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3927         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3928         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3929         * nptl/lowlevelbarrier.sym: Remove.
3930         * nptl/DESIGN-barrier.txt: Remove.
3931         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3932         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3933         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3934         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3935         error.
3936         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3937         implementation.
3939 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3941         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3942         (do_child): Mask SIGRTMIN while thr is running.
3944 2016-01-15  Martin Sebor  <msebor@redhat.com>
3946         [BZ #19432]
3947         * iconvdata/Makefile: Add bug-iconv11.
3948         * iconvdata/bug-iconv11.c: New test.
3949         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3950         * iconvdata/ibm933.c: Same.
3951         * iconvdata/ibm935.c: Same.
3952         * iconvdata/ibm937.c: Same.
3953         * iconvdata/ibm939.c: Same.
3955 2016-01-15  Martin Sebor  <msebor@redhat.com>
3957         [BZ #19443]
3958         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3959         [DEBUG] (_ufc_set_bits): Declare used.
3960         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3961         [DEBUG] (print_all): Declare used.
3962         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3963         operands of the ternary ?: expression to target type.
3964         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3965         calling the undeclared abort.
3966         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3968 2016-01-15  Martin Sebor  <msebor@redhat.com>
3970         [BZ #18755]
3971         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3972         warnings.
3973         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3974         (__gai_create_helper_thread): Same.
3975         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3976         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3977         to suppress -Wmaybe-uninitialized warnings.
3979 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3981         [BZ #19465]
3982         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3983         inside if.
3984         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3988 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3990         [BZ #19466]
3991         * time/tst-mktime2.c (time_t_max): Removed.
3992         (time_t_min): Likewise.
3993         (TYPE_SIGNED): New.
3994         (TYPE_MINIMUM): Likewise.
3995         (TYPE_MAXIMUM): Likewise.
3996         (TIME_T_MIN): Likewise.
3997         (TIME_T_MAX): Likewise.
3998         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3999         and TIME_T_MIN.
4000         (do_test): Likewise.
4002 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4004         [BZ #19467]
4005         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4006         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4008 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4010         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4012 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4014         * benchtests/Makefile (PYTHON): Define.
4015         (bench-func): Use $(PYTHON) to run python scripts.
4016         ($(objpfx)bench-%.c): Likewise.
4018 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4020         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4021         leading slash when `file_name' is "/".
4023 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4025         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4026         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4027         Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4029         Likewise.
4030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4031         Likewise.
4032         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4033         enum constant and macro.
4034         (PTRACE_SETSIGMASK): Likewise.
4035         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4036         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4037         (PTRACE_GETSIGMASK): Likewise.
4038         (PTRACE_SETSIGMASK): Likewise.
4039         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4040         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4041         Likewise.
4042         (PTRACE_SETSIGMASK): Likewise.
4043         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4045         (PTRACE_GETSIGMASK): Likewise.
4046         (PTRACE_SETSIGMASK): Likewise.
4047         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4048         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4049         Likewise.
4050         (PTRACE_SETSIGMASK): Likewise.
4051         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4052         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4053         Likewise.
4054         (PTRACE_SETSIGMASK): Likewise.
4055         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4056         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4057         Likewise.
4058         (PTRACE_SETSIGMASK): Likewise.
4059         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4061 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4062             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4064         [BZ #19439]
4065         * math/bits/mathcalls.h
4066         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4067         prototype.
4068         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4070 2016-01-11  Andreas Schwab  <schwab@suse.de>
4072         [BZ #19253]
4073         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4074         cache when TZDEFRULES was used.
4075         * time/tst-tzname.c: New file.
4076         * time/Makefile (test): Add tst-tzname.
4077         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4078         * timezone/Makefile (test-zones): Add $(posixrules-file).
4079         ($(testdata)/$(posixrules-file)): New rule.
4081 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4083         Fix doc quoting problems with Texinfo 5
4084         Without this change, in the info file output, Texinfo 5 quotes code
4085         in text with undirected single quotes 'like this' and generates
4086         code examples that with many PDF readers cannot be cut out of PDFs
4087         and pasted into code.
4088         * manual/libc.texinfo: Configure the libc manual like the GNU
4089         Emacs manual, by using @documentencoding and setting
4090         txicodequoteundirected and txicodequotebacktick.  This way,
4091         Texinfo 5 quotes code in text with directed single quotes ‘like
4092         this’ and produces examples that can be cut out of PDFs.  This
4093         change causes Texinfo 5 to generate info files that contain UTF-8
4094         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4095         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4097 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4099         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4100         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4101         barriers to their respective compiler built-ins.
4102         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4103         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4104         * sysdeps/powerpc/sysdep.h: Likewise.
4105         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4106         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4107         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4109 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4111         * scripts/config.guess: Revert previous shebang change.
4112         * scripts/config.sub: Likewise.
4113         * scripts/mkinstalldirs: Likewise.
4115 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4117         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4118         PPC_FEATURE2_HAS_IEEE128.
4119         * sysdeps/powerpc/dl-procinfo.c:
4120         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4122 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4124         [BZ #19415]
4125         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4126         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4127         (_dl_lookup_address): Rewrite using function resolver trampoline.
4128         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4129         two bits in address.
4131 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4133         * longlong.h: Change !__SHMEDIA__ to
4134         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4135         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4137 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4138             Joseph Myers  <joseph@codesourcery.com>
4139             Mark Shinwell  <shinwell@codesourcery.com>
4140             Andrew Stubbs  <ams@codesourcery.com>
4141             Rich Felker <dalias@libc.org>
4143         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4145 2016-01-07  Richard Henderson  <rth@redhat.com>
4147         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4149 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4151         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4152         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4153         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4154         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4155         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4157 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4158             Joseph Myers  <joseph@codesourcery.com>
4160         * timezone/private.h: Update from tzcode 2015g.
4161         * timezone/tzfile.h: Likewise.
4162         * timezone/tzselect.ksh: Likewise.
4163         * timezone/zdump.c: Likewise.
4164         * timezone/zic.c: Likewise.
4165         * timezone/ialloc.c: Remove file.
4166         * timezone/scheck.c: Likewise.
4167         * timezone/Makefile (extra-objs): Remove variable.
4168         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4169         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4170         -Wno-maybe-uninitialized.
4171         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4172         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4173         (CFLAGS-ialloc.c): Remove variable.
4174         (CFLAGS-scheck.c): Likewise.
4175         * timezone/README: Update list of files from tzcode.
4177 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4179         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4180         instead of __fxprintf when _LIBC is undefined.
4182 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4184         * catgets/test-gencat.sh: Remove space after shebang.
4185         * conform/GlibcConform.pm: Likewise.
4186         * conform/check-header-lists.sh: Likewise.
4187         * conform/conformtest.pl: Likewise.
4188         * conform/linknamespace.pl: Likewise.
4189         * conform/list-header-symbols.pl: Likewise.
4190         * debug/catchsegv.sh: Likewise.
4191         * elf/genrtldtbl.awk: Likewise.
4192         * elf/tst-pathopt.sh: Likewise.
4193         * elf/tst-rtld-load-self.sh: Likewise.
4194         * grp/tst_fgetgrent.sh: Likewise.
4195         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4196         * iconvdata/gen-8bit-gap.sh: Likewise.
4197         * iconvdata/gen-8bit.sh: Likewise.
4198         * iconvdata/run-iconv-test.sh: Likewise.
4199         * intl/tst-gettext.sh: Likewise.
4200         * intl/tst-gettext2.sh: Likewise.
4201         * intl/tst-gettext4.sh: Likewise.
4202         * intl/tst-gettext6.sh: Likewise.
4203         * intl/tst-translit.sh: Likewise.
4204         * io/ftwtest-sh: Likewise.
4205         * libio/test-freopen.sh: Likewise.
4206         * locale/gen-translit.pl: Likewise.
4207         * malloc/tst-mtrace.sh: Likewise.
4208         * manual/check-safety.sh: Likewise.
4209         * manual/libc-texinfo.sh: Likewise.
4210         * manual/tsort.awk: Likewise.
4211         * manual/xtract-typefun.awk: Likewise.
4212         * nptl/tst-cancel-wrappers.sh: Likewise.
4213         * nptl/tst-tls6.sh: Likewise.
4214         * posix/globtest.sh: Likewise.
4215         * posix/tst-getconf.sh: Likewise.
4216         * posix/wordexp-tst.sh: Likewise.
4217         * scripts/check-c++-types.sh: Likewise.
4218         * scripts/check-local-headers.sh: Likewise.
4219         * scripts/config.guess: Likewise.
4220         * scripts/config.sub: Likewise.
4221         * scripts/cpp: Likewise.
4222         * scripts/cross-test-ssh.sh: Likewise.
4223         * scripts/documented.sh: Likewise.
4224         * scripts/evaluate-test.sh: Likewise.
4225         * scripts/gen-libc-abis: Likewise.
4226         * scripts/gen-sorted.awk: Likewise.
4227         * scripts/list-fixed-bugs.py: Likewise.
4228         * scripts/merge-test-results.sh: Likewise.
4229         * scripts/mkinstalldirs: Likewise.
4230         * scripts/rellns-sh: Likewise.
4231         * scripts/test-installation.pl: Likewise.
4232         * scripts/update-copyrights: Likewise.
4233         * stdio-common/tst-printf.sh: Likewise.
4234         * stdio-common/tst-unbputc.sh: Likewise.
4235         * stdlib/tst-fmtmsg.sh: Likewise.
4236         * stdlib/tst-setcontext3.sh: Likewise.
4237         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4238         * sysdeps/unix/make-syscalls.sh: Likewise.
4240 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4242         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4243         asm stw with atomic_exchange_rel.  Add explanatory comment.
4244         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4245         Likewise.
4247 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4249         [BZ #19122]
4250         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4251         * sysdeps/generic/dl-unistd.h: New file.
4252         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4254 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4256          [BZ #19122]
4257          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4258          * sysdeps/generic/dl-mman.h: New file.
4259          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4261 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4263         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4264         trailing whitespace removed.
4265         * scripts/config.guess: Update to version 2016-01-01.
4266         * scripts/config.sub: Update to version 2016-01-01.
4267         * scripts/move-if-change: Update from gnulib.
4269 2016-01-04  Anton Blanchard  <anton@samba.org>
4271         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4272         for array indices.
4273         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4275 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4277         * NEWS: Update copyright dates.
4278         * catgets/gencat.c (print_version): Likewise.
4279         * csu/version.c (banner): Likewise.
4280         * debug/catchsegv.sh: Likewise.
4281         * debug/pcprofiledump.c (print_version): Likewise.
4282         * debug/xtrace.sh (do_version): Likewise.
4283         * elf/ldconfig.c (print_version): Likewise.
4284         * elf/ldd.bash.in: Likewise.
4285         * elf/pldd.c (print_version): Likewise.
4286         * elf/sotruss.sh: Likewise.
4287         * elf/sprof.c (print_version): Likewise.
4288         * iconv/iconv_prog.c (print_version): Likewise.
4289         * iconv/iconvconfig.c (print_version): Likewise.
4290         * locale/programs/locale.c (print_version): Likewise.
4291         * locale/programs/localedef.c (print_version): Likewise.
4292         * login/programs/pt_chown.c (print_version): Likewise.
4293         * malloc/memusage.sh (do_version): Likewise.
4294         * malloc/memusagestat.c (print_version): Likewise.
4295         * malloc/mtrace.pl: Likewise.
4296         * manual/libc.texinfo: Likewise.
4297         * nptl/version.c (banner): Likewise.
4298         * nscd/nscd.c (print_version): Likewise.
4299         * nss/getent.c (print_version): Likewise.
4300         * nss/makedb.c (print_version): Likewise.
4301         * posix/getconf.c (main): Likewise.
4302         * scripts/test-installation.pl: Likewise.
4303         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4305         * All files with FSF copyright notices: Update copyright dates
4306         using scripts/update-copyrights.
4307         * intl/plural.c: Regenerated.
4308         * locale/programs/charmap-kw.h: Likewise.
4309         * locale/programs/locfile-kw.h: Likewise.
4311 2016-01-02  Helge Deller  <deller@gmx.de>
4313         [BZ #19285]
4314         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4315         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4316         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4317         (MADV_xxK_PAGES): Remove.
4319 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4321         [BZ #15421]
4322         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4323         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4324         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4325         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4327 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4329         [BZ #19408]
4330         * sysdeps/unix/sysv/linux/personality.c: New file.
4331         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4332         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4333         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4334         (sysdep_routines): Add personality.
4335         (tests): Add tst-personality.
4336         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4337         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4338         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4339         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4340         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4341         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4342         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4343         Likewise.
4344         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4347         Likewise.
4348         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4349         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4350         Likewise.
4352 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4354         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4355         (PATH_ARM_SYSTYPE): Remove.
4356         (PATH_CPUINFO): Likewise.
4357         (IO_BASE_FOOTBRIDGE): Likewise.
4358         (IO_SHIFT_FOOTBRIDGE): Likewise.
4359         (struct platform): Likewise.
4360         (init_iosys): Remove compatibility code for 2.4 kernels.
4361         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4363 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4365         * malloc/tst-malloc-thread-fail.c: New file.
4366         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4367         (tst-malloc-thread-fail): Link against libpthread.
4369 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4371         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4372         (get_parser): New function.
4373         (main): New function.
4375 2015-12-29  Rob Wu  <rob@robwu.nl>
4377         [BZ #19369]
4378         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4380 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4382         [BZ #19270]
4383         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4385 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4387         [BZ #15421]
4388         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4390 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4392         [BZ #13690]
4393         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4394         after releasing it.
4395         (__lll_robust_unlock): Likewise.
4396         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4398         (lll_robust_unlock): Likewise.
4399         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4400         Prevent warnings in callers.
4402 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4404         * malloc/arena.c (list_lock): Update comment.
4406 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4408         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4409         __parse_hwcap_and_convert_at_platform to libc.a.
4411 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4414         platform and feature support for POWER9.
4415         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4416         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4417         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4418         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4419         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4420         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4421         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4422         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4424 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4426         Harmonize generic stdio-lock support with nptl
4428         This fixes build when _IO_funlockfile is a macro, fixes build where
4429         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4430         stack unwind.
4432         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4433         _IO_release_lock ): Use cleanup attribute on new
4434         _IO_acquire_lock_file variable instead of assuming that
4435         _IO_release_lock will be called.
4436         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4437         _IO_acquire_lock_needs_exceptions_enabled.
4438         (_IO_acquire_lock_clear_flags2): New macro.
4440 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4442         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4444 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4446         [BZ #19182]
4447         * malloc/arena.c (list_lock): Document lock ordering requirements.
4448         (free_list_lock): New lock.
4449         (ptmalloc_lock_all): Comment on free_list_lock.
4450         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4451         (detach_arena): Update comment.  free_list_lock is now needed.
4452         (_int_new_arena): Use free_list_lock around detach_arena call.
4453         Acquire arena lock after list_lock.  Add comment, including FIXME
4454         about incorrect synchronization.
4455         (get_free_list): Switch to free_list_lock.
4456         (reused_arena): Acquire free_list_lock around detach_arena call
4457         and attached threads counter update.  Add two FIXMEs about
4458         incorrect synchronization.
4459         (arena_thread_freeres): Switch to free_list_lock.
4460         * malloc/malloc.c (struct malloc_state): Update comments to
4461         mention free_list_lock.
4463 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4465         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4466         Remove functions.
4467         (sloww, sloww1): Accept argument to offset quadrant.
4468         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4469         quadrant.
4470         (__sin, __cos): Consolidate common code into new functions.
4471         (reduce_sincos_1, do_sincos_1): New functions.
4472         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4475         code to new functions.
4476         (reduce_sincos_2, do_sincos_2): New functions.
4477         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4480         common code for sincos.
4481         (__cos) [!IN_SINCOS]: Likewise.
4482         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4483         New function.
4484         (__sincos): Use it.
4486 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4488         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4489         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4490         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4492 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4494         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4497         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4498         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4499         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4500         index_Prefer_No_VZEROUPPER): New feature.
4501         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4502         Prefer_No_VZEROUPPER for Knights Landing.
4504 015-12-18  Torvald Riegel  <triegel@redhat.com>
4506         * math/atest-exp2.c (mp_exp_m1): Remove.
4508 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4510         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4511         syscalls.
4512         (__SYSCALL0): New macro.
4513         (__SYSCALL1): Likewise.
4514         (__SYSCALL2): Likewise.
4515         (__SYSCALL3): Likewise.
4516         (__SYSCALL4): Likewise.
4517         (__SYSCALL5): Likewise.
4518         (__SYSCALL6): Likewise.
4519         (__SYSCALL_CONCAT_X): Likewise.
4520         (__SYSCALL_CONCAT): Likewise.
4521         (__SYSCALL_DIST): Likewise.
4522         (__SYSCALL_CALL): Likewise.
4524 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4526         [BZ #19363]
4527         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4529 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4531         [BZ #19375]
4532         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4533         negative subnormals.
4535 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4538         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4539         (INTERNAL_SYSCALL_NCS): Use it.
4540         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4542 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4544         [BZ #19243]
4545         * malloc/arena.c (get_free_list): Remove assert and adjust
4546         reference count handling.  Add comment about reused_arena
4547         interaction.
4548         (reused_arena): Add comments abount get_free_list interaction.
4549         * malloc/tst-malloc-thread-exit.c: New file.
4550         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4551         (tst-malloc-thread-exit): Link against libpthread.
4553 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4555         [BZ #19367]
4556         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4557         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4558         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4559         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4560         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4562 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4564         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4565         Silvermont optimizations for Knights Landing.
4567 2015-12-15  Andreas Schwab  <schwab@suse.de>
4569         [BZ #17197]
4570         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4571         immediately after emitting SI.
4572         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4573         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4574         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4575         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4576         * iconvdata/bug-iconv10.c: New file.
4577         * iconvdata/Makefile (tests): Add bug-iconv10.
4578         ($(objpfx)bug-iconv10.out): New rule.
4580 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4582         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4583         aliasing violation.
4585 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4587         [BZ #18472]
4588         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4589         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4590         conditionals for them.
4591         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4592         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4594         sys/kdaemon.h.
4595         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4596         compat-only syscall, obsoleted in glibc 2.23.
4597         (create_module): Likewise.
4598         (get_kernel_syms): Likewise.
4599         (query_module): Likewise.
4600         (uselib): Likewise.
4601         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4603 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4605         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4606         <linux/version.h>.
4607         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4608         conditional code.
4609         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4610         and ioshift_name initialization.
4612 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4615         Fix indentation.
4617 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4619         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4621 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4623         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4625 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4626             Jakub Wilk  <jwilk@debian.org>
4628         [BZ #19347]
4629         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4630         to change the group of the device to the tty group.
4632 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4634         Split large string section; add truncation advice
4635         * manual/examples/strncat.c: Remove.
4636         This example was misleading, as the code would have undefined
4637         behavior if "hello" was longer than SIZE.  Anyway, the manual
4638         shouldn't encourage strncpy+strncat for this sort of thing.
4639         * manual/string.texi (Copying Strings and Arrays): Split into
4640         three sections Copying Strings and Arrays, Concatenating Strings,
4641         and Truncating Strings, as this section was way too long.  All
4642         cross-referenced changed.  Add advice about string-truncation
4643         functions.  Remove misleading strncat example.
4645 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4647         * manual/nss.texi (NSS Modules Interface): Document
4648         NSS_STATUS_NOTFOUND and SUCCESS.
4650 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4652         [BZ 18568]
4653         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4654         201505L, for Unicode 8.
4656 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4658         * locale/C-translit.h: Regenerate.
4660 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4662         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4663         and U+0153.
4665 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4667         [BZ #19351]
4668         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4669         expanding log(1+z), compare z rather than its square with epsilon
4670         to determine when to avoid evaluating the expansion.
4672         [BZ #19350]
4673         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4674         Increase overflow threshold.
4676         [BZ #19349]
4677         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4678         when small.
4680         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4682         New macro.
4683         [__LINUX_KERNEL_VERSION >= 0x040300]
4684         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4686         Likewise.
4687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4688         Likewise.
4689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4690         Likewise.
4691         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4692         Likewise.
4693         [__LINUX_KERNEL_VERSION >= 0x040300]
4694         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4695         [__LINUX_KERNEL_VERSION >= 0x040300]
4696         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4697         [__LINUX_KERNEL_VERSION >= 0x040300]
4698         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4699         [__LINUX_KERNEL_VERSION >= 0x040300]
4700         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4701         [__LINUX_KERNEL_VERSION >= 0x040300]
4702         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4704         Likewise.
4705         [__LINUX_KERNEL_VERSION >= 0x040300]
4706         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4708         Likewise.
4709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4710         Likewise.
4711         [__LINUX_KERNEL_VERSION >= 0x040300]
4712         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4714         Likewise.
4715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4716         Likewise.
4717         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4719         Likewise.
4720         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4721         Likewise.
4722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4723         Likewise.
4724         [__LINUX_KERNEL_VERSION >= 0x040300]
4725         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4727         Likewise.
4728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4729         Likewise.
4730         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4731         Likewise.
4732         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4733         Likewise.
4734         [__LINUX_KERNEL_VERSION >= 0x040300]
4735         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4736         [__LINUX_KERNEL_VERSION >= 0x040300]
4737         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4738         [__LINUX_KERNEL_VERSION >= 0x040300]
4739         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4740         [__LINUX_KERNEL_VERSION >= 0x040300]
4741         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4742         [__LINUX_KERNEL_VERSION >= 0x040300]
4743         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4744         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4745         Likewise.
4746         [__LINUX_KERNEL_VERSION >= 0x040300]
4747         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4748         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4749         Likewise.
4750         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4751         Likewise.
4752         [__LINUX_KERNEL_VERSION >= 0x040300]
4753         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4755         Likewise.
4756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4757         Likewise.
4758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4759         (__ASSUME_SOCKET_SYSCALL): Likewise.
4760         (__ASSUME_BIND_SYSCALL): Likewise.
4761         (__ASSUME_CONNECT_SYSCALL): Likewise.
4762         (__ASSUME_LISTEN_SYSCALL): Likewise.
4763         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4764         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4765         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4766         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4767         (__ASSUME_SEND_SYSCALL): Likewise.
4768         (__ASSUME_SENDTO_SYSCALL): Likewise.
4769         (__ASSUME_RECV_SYSCALL): Likewise.
4770         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4771         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4772         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4773         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4774         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4775         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4776         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4777         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4778         Likewise.
4779         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4780         Likewise.
4781         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4782         Likewise.
4783         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4784         Likewise.
4785         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4786         Likewise.
4787         [__LINUX_KERNEL_VERSION >= 0x020625]
4788         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4789         [__LINUX_KERNEL_VERSION >= 0x020625]
4790         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4791         [__LINUX_KERNEL_VERSION >= 0x020625]
4792         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4793         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4794         Likewise.
4795         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4796         Likewise.
4797         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4798         Likewise.
4799         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4800         Likewise.
4801         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4802         Likewise.
4803         [__LINUX_KERNEL_VERSION >= 0x020625]
4804         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4805         [__LINUX_KERNEL_VERSION >= 0x020625]
4806         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4807         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4808         Likewise.
4809         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4810         Likewise.
4812 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4814         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4815         record the current if the current ABI and CPU support the FP64
4816         extension.
4817         (has-modd-spreg): Define to record the current if the current ABI and
4818         CPU support 32-bit floating point values in odd FPU registers.
4819         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4820         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4821         $(has-modd-spreg) equals yes.
4822         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4823         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4824         $(has-modd-spreg) equal yes.
4826 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4828         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4829         basename.
4831 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4833         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4834         (bench-string): ... here.
4835         (bench): Add bench-string.
4836         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4837         to *-benchset to reflect what they are.
4838         (benchset): Adjust.
4840         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4841         cos-inputs.
4843 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4845         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4846         __attribute__ ((__simd__)) for vector math function declarations.
4848 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4850         Fix typo in strncat, wcsncat manual entries
4851         * manual/string.texi (Copying and Concatenation): Fix typos in
4852         sample implementations of strncat and wcsncat, by having them use
4853         the old value of the destination length, not the new one.
4855 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4857         [BZ #16961]
4858         [BZ #16962]
4859         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4860         string on the stack for strtod.
4861         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4862         a string on the stack for strtof.
4863         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4864         constructing a string on the stack for strtold.
4865         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4866         __strtold_nan to GLIBC_PRIVATE.
4867         * math/test-nan-overflow.c: New file.
4868         * math/test-nan-payload.c: Likewise.
4869         * math/Makefile (tests): Add test-nan-overflow and
4870         test-nan-payload.
4872 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4874         Consistency about byte vs character in string.texi
4875         * manual/string.texi (String and Array Utilities):
4876         Distinguish more carefully among bytes, multibyte characters,
4877         and wide characters.  Use "byte" when talking about C 'char',
4878         to distinguish it more clearly from multibyte characters.
4879         Say "wide character" or "multibyte character" instead of
4880         "character", when a wide or multibyte character is intended.
4881         Similarly for "multibyte string" versus "string".
4882         Define these terms more carefully.
4884 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4886         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4887         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4888         Likewise.
4889         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4890         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4891         * sysdeps/sh/math_private.h: New file.
4892         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4893         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4894         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4895         long double function name.
4896         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4897         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4898         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4902         Remove __finitel, __isinfl, and __isnanl.
4903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4904         Likewise.
4905         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4907         Remove __finitel.
4908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4909         Likewise.
4910         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4912 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4914         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4915         installed libmvec_nonshared.a.
4917 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4919         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4920         (sysdep_routines): Likewise.
4921         (sysdep-rtld-routines): Likewise.
4922         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4923         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4924         * sysdeps/powerpc/Versions: Added new
4925         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4926         * sysdeps/powerpc/hwcapinfo.c: New file.
4927         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4928         and parse hwcap, hwcap2 and platform number information.
4929         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4930         to store HWCAP+HWCAP2 and platform number.
4931         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4932         for HWCAP+HWCAP2 and platform number in the TCB.
4933         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4934         the HWCAP, HWCAP2 and platform number in the TCB.
4935         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4936         (TLS_INIT_TP): Included calls to add the hwcap and
4937         at_platform values in the TCB in TP initialization.
4938         (TLS_DEFINE_INIT_TP): Likewise.
4939         (THREAD_GET_HWCAP): New macro.
4940         (THREAD_SET_HWCAP): Likewise.
4941         (THREAD_GET_AT_PLATFORM): Likewise.
4942         (THREAD_SET_AT_PLATFORM): Likewise.
4943         * sysdeps/powerpc/powerpc32/dl-machine.h:
4944         (dl_platform_init): New function that calls
4945         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4946         powerpc32.
4947         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4948         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4949         this functionality, static linking case.
4950         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4951         linking case.
4952         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4953         __parse_hwcap_and_convert_at_platform for the static linking case.
4954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4955         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4956         ABI list for GLIBC 2.23.
4957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4958         Likewise.
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4960         Likewise.
4962 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4964         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4965         * configure: Regenerate.
4966         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4967         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4969 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4971         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4972         * iconvdata/ibm933.c: Likewise.
4973         * iconvdata/ibm935.c: Likewise.
4974         * iconvdata/ibm937.c: Likewise.
4975         * iconvdata/ibm939.c: Likewise.
4977 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4979         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4980         pthread_join.
4981         * nptl/tst-cancel21.c (tf): Likewise.
4983 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4985         [BZ #19313]
4986         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4987         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4988         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4989         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4990         Likewise.
4991         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4992         Likewise.
4993         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4994         Likewise.
4995         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4996         Likewise.
4997         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4998         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4999         unsigned long int with __CPU_MASK_TYPE.
5001 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5003         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5005 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5008         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5009         t512.x.
5010         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5012 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5014         [BZ #19214]
5015         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5016         argument to return extended model.  Update family and model
5017         with extended family and model when family == 0x0f.
5018         (init_cpu_features): Updated.
5020 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5022         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5023         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5025         * sysdeps/mach/hurd/mmap64.c: New file.
5027 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5029         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5030         rights for its main user thread in NEWTASK.
5032 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5034         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5035         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5037 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5039         [BZ #14259]
5040         * Makeconfig: Rename localedir to complocaledir.
5041         Rename inst_localedir to inst_complocaledir.
5042         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5043         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5044         * configure.ac: Use libc_cv_complocaledir.
5045         * configure: Regenerate.
5046         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5047         -DCOMPLOCALEDIR.
5048         * locale/findlocale.c: Use COMPLOCALEDIR.
5049         * locale/loadarchive.c: Likewise.
5050         * locale/programs/locale.c: Likewise.
5051         * locale/programs/localedef.c: Likewise.
5052         * locale/programs/locarchive.c: Likewise.
5053         * localedata/Makefile: Use inst_complocaledir.
5054         * sysdeps/gnu/configure: Regenerate.
5055         * sysdeps/hppa/configure: Regenerate.
5056         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5057         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5059         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5060         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5061         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5062         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5064 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5066         [BZ #19058]
5067         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5068         AS_NEEDED.
5069         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5070         workaround.
5071         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5072         libmvec-static-only-routines): Added new file.
5073         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5075 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5077         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5078         of interrupted RPC instead of restoring it.
5080         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5081         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5082         libc_hidden_def.
5083         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5084         into initialized data instead of common. Define rtld_hidden_data_def.
5085         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5086         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5087         libc_hidden_def.
5088         (if_freenameindex): Add libc_hidden_weak.
5089         (if_nameindex): Add libc_hidden_weak.
5090         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5091         __open64.
5092         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5093         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5094         * sysdeps/mach/nanosleep.c: Include <time.h>
5095         (__nanosleep): Rename to __libc_nanosleep.
5096         (__nanosleep): Add weak_alias.
5097         (nanosleep): Update alias.
5099 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5101         * stdlib/strtod_nan.c: New file.
5102         * stdlib/strtod_nan_double.h: Likewise.
5103         * stdlib/strtod_nan_float.h: Likewise.
5104         * stdlib/strtod_nan_main.c: Likewise.
5105         * stdlib/strtod_nan_narrow.h: Likewise.
5106         * stdlib/strtod_nan_wide.h: Likewise.
5107         * stdlib/strtof_nan.c: Likewise.
5108         * stdlib/strtold_nan.c: Likewise.
5109         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5110         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5111         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5112         * wcsmbs/wcstod_nan.c: Likewise.
5113         * wcsmbs/wcstof_nan.c: Likewise.
5114         * wcsmbs/wcstold_nan.c: Likewise.
5115         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5116         strtold_nan.
5117         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5118         wcstof_nan.
5119         * include/stdlib.h (__strtof_nan): Declare and use
5120         libc_hidden_proto.
5121         (__strtod_nan): Likewise.
5122         (__strtold_nan): Likewise.
5123         (__wcstof_nan): Likewise.
5124         (__wcstod_nan): Likewise.
5125         (__wcstold_nan): Likewise.
5126         * include/wchar.h (____wcstoull_l_internal): Declare.
5127         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5128         (____strtoull_l_internal): Remove declaration.
5129         (STRTOF_NAN): Define macro.
5130         (SET_MANTISSA): Remove macro.
5131         (STRTOULL): Likewise.
5132         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5133         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5134         (STRTOF_NAN): Define macro.
5135         (SET_MANTISSA): Remove macro.
5136         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5137         (SET_MANTISSA): Remove macro.
5138         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5139         macro.
5140         (SET_MANTISSA): Remove macro.
5141         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5142         macro.
5143         (SET_MANTISSA): Remove macro.
5144         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5145         (SET_MANTISSA): Remove macro.
5146         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5147         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5148         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5150         [BZ #19266]
5151         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5152         upper case and lower case letters inside NAN(), not using TOLOWER.
5153         * stdlib/tst-strtod-nan-locale-main.c: New file.
5154         * stdlib/tst-strtod-nan-locale.c: Likewise.
5155         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5156         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5157         Depend on $(gen-locales).
5158         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5159         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5160         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5161         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5162         Depend on $(gen-locales).
5163         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5165 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5167         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5169         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5171         __finitel, __isinfl, and __isnanl.
5172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5173         Likewise.
5174         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5176         __finitel.
5177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5178         Likewise.
5179         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5181 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5183         * malloc/memusage.c (me): Remove redundant getenv call.
5185 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5187         [BZ #19143]
5188         [BZ #19164]
5189         * nptl/check-cpuset.h: Remove.
5190         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5191         Remove CPU set size check.
5192         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5193         Likewise.
5194         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5195         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5196         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5197         (__pthread_setaffinity_new): Remove CPU set size check.
5198         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5199         (__kernel_cpumask_size): Remove.
5200         (__sched_setaffinity_new): Remove CPU set size check.
5201         * manual/threads.texi (Default Thread Attributes): Remove stale
5202         reference to check_cpuset_attr, determine_cpumask_size in comment.
5203         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5204         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5205         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5206         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5207         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5208         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5209         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5210         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5211         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5212         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5213         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5214         skeleton test file.
5215         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5216         tst-affinity-pid.
5218 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5220         * scripts/update-abilist.sh: New file.
5221         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5222         * Makerules (update-all-abi-%, update-all-abi)
5223         (subdir_update-all-abi): New targets.
5224         * elf/Makefile (update-all-abi): New target.
5226 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5228         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5229         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5230         (__libc_lock_define_initialized): Use it.
5231         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5232         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5233         * malloc/malloc.c (main_arena): Likewise.
5234         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5235         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5237 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5239         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5240         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5241         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5242         (PTRACE_O_MASK): Update value.
5243         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5244         New value in enum __ptrace_setoptions.
5245         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5246         (PTRACE_O_MASK): Update value.
5247         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5248         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5249         (PTRACE_O_MASK): Update value.
5250         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5251         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5252         (PTRACE_O_MASK): Update value.
5253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5254         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5255         (PTRACE_O_MASK): Update value.
5256         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5257         New value in enum __ptrace_setoptions.
5258         (PTRACE_O_MASK): Update value.
5259         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5260         New value in enum __ptrace_setoptions.
5261         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5262         (PTRACE_O_MASK): Update value.
5264         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5265         New macro.
5266         (PACKET_AUXDATA): Likewise.
5267         (PACKET_ORIGDEV): Likewise.
5268         (PACKET_VERSION): Likewise.
5269         (PACKET_HDRLEN): Likewise.
5270         (PACKET_RESERVE): Likewise.
5271         (PACKET_TX_RING): Likewise.
5272         (PACKET_LOSS): Likewise.
5273         (PACKET_VNET_HDR): Likewise.
5274         (PACKET_TX_TIMESTAMP): Likewise.
5275         (PACKET_TIMESTAMP): Likewise.
5276         (PACKET_FANOUT): Likewise.
5277         (PACKET_TX_HAS_OFF): Likewise.
5278         (PACKET_QDISC_BYPASS): Likewise.
5279         (PACKET_ROLLOVER_STATS): Likewise.
5280         (PACKET_FANOUT_DATA): Likewise.
5281         (PACKET_MR_UNICAST): Likewise.
5283         [BZ #19242]
5284         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5285         (TOUPPER): Likewise.
5286         * stdlib/tst-strtol-locale-main.c: New file.
5287         * stdlib/tst-strtol-locale.c: Likewise.
5288         * stdlib/Makefile (tests): Add tst-strtol-locale.
5289         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5290         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5291         Depend on $(gen-locales).
5292         * wcsmbs/tst-wcstol-locale.c: New file.
5293         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5294         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5295         tr_TR.ISO-8859-9.
5296         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5297         Depend on $(gen-locales).
5299 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5301         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5302         __glibc_likely instead of __builtin_expect.  After falling back to
5303         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5304         system interface to register the code pages as occupied.
5306 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5308         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5309         [!ARM_MATH_PRIVATE_H].
5310         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5311         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5312         [!HPPA_MATH_PRIVATE_H].
5313         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5314         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5315         to [!I386_MATH_PRIVATE_H].
5316         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5317         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5318         Change guard to [!M68K_MATH_PRIVATE_H].
5319         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5320         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5321         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5322         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5323         macro.
5324         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5325         [!MIPS_MATH_PRIVATE_H].
5326         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5327         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5328         [!NIO2_MATH_PRIVATE_H].
5329         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5330         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5331         [!TILE_MATH_PRIVATE_H].
5332         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5334         [BZ #15421]
5335         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5336         initialize with 0 and define as weak alias of __signgam.
5337         * include/math.h [!_ISOMAC] (__signgam): Declare.
5338         * math/Makefile (libm-calls): Add w_lgamma_compat.
5339         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5340         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5341         test-signgam-ullong-init.
5342         (tests-static): Add test-signgam-uchar-static,
5343         test-signgam-uchar-init-static, test-signgam-uint-static,
5344         test-signgam-uint-init-static, test-signgam-ullong-static and
5345         test-signgam-ullong-init-static.
5346         (CFLAGS-test-signgam-uchar.c): New variable.
5347         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5348         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5349         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5350         (CFLAGS-test-signgam-uint.c): Likewise.
5351         (CFLAGS-test-signgam-uint-init.c): Likewise.
5352         (CFLAGS-test-signgam-uint-static.c): Likewise.
5353         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5354         (CFLAGS-test-signgam-ullong.c): Likewise.
5355         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5356         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5357         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5358         * math/Versions (libm): Add GLIBC_2.23.
5359         * math/lgamma-compat.h: New file.
5360         * math/test-signgam-main.c: Likewise.
5361         * math/test-signgam-uchar-init-static.c: Likewise.
5362         * math/test-signgam-uchar-init.c: Likewise.
5363         * math/test-signgam-uchar-static.c: Likewise.
5364         * math/test-signgam-uchar.c: Likewise.
5365         * math/test-signgam-uint-init-static.c: Likewise.
5366         * math/test-signgam-uint-init.c: Likewise.
5367         * math/test-signgam-uint-static.c: Likewise.
5368         * math/test-signgam-uint.c: Likewise.
5369         * math/test-signgam-ullong-init-static.c: Likewise.
5370         * math/test-signgam-ullong-init.c: Likewise.
5371         * math/test-signgam-ullong-static.c: Likewise.
5372         * math/test-signgam-ullong.c: Likewise.
5373         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5374         wrapper of w_lgamma_main.c.
5375         * math/w_lgamma_compat.c: New file.
5376         * math/w_lgamma_compatf.c: Likewise.
5377         * math/w_lgamma_compatl.c: Likewise.
5378         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5379         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5380         defining compatibility symbols.
5381         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5382         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5383         wrapper of w_lgammaf_main.c.
5384         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5385         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5386         defining compatibility symbols.
5387         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5388         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5389         wrapper of w_lgammal_main.c.
5390         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5391         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5392         defining compatibility symbols.
5393         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5394         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5395         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5396         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5397         <lgamma-compat.h>.
5398         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5399         (__ieee754_gamma): Define as alias.
5400         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5401         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5402         <lgamma-compat.h>.
5403         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5404         (__ieee754_gammaf): Define as alias.
5405         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5406         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5407         <lgamma-compat.h>.
5408         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5409         (__ieee754_gammal): Define as alias.
5410         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5411         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5412         <math/w_lgamma_compat.c>.
5413         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5414         Define as alias of __lgamma_compat and use in defining lgammal.
5415         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5416         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5417         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5418         (USE_AS_COMPAT): New macro.
5419         (LGAMMA_OLD_VER): Undefine and redefine.
5420         (lgammal): Do not define here.
5421         (gammal): Only define here if [GAMMA_ALIAS].
5422         * conform/linknamespace.pl (@whitelist): Remove signgam.
5423         * sysdeps/nacl/libm.abilist: Update.
5424         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5426         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5427         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5428         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5429         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5430         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5431         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5432         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5433         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5435         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5439         Likewise.
5440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5443         Likewise.
5444         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5445         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5446         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5447         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5448         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5450         Likewise.
5451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5454         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5455         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5457 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5459         [BZ #16364]
5460         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5461         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5463 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5465         * sysdeps/s390/fpu/bits/mathinline.h:
5466         Use __asm__ [__volatile__] instead of asm [volatile].
5467         * sysdeps/s390/abort-instr.h: Likewise.
5468         * sysdeps/s390/atomic-machine.h: Likewise.
5469         * sysdeps/s390/bits/string.h: Likewise.
5470         * sysdeps/s390/dl-tls.h: Likewise.
5471         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5472         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5473         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5474         * sysdeps/s390/fpu/fesetround.c: Likewise.
5475         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5476         * sysdeps/s390/fpu/s_fma.c: Likewise.
5477         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5478         * sysdeps/s390/memusage.h: Likewise.
5479         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5480         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5481         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5482         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5483         * sysdeps/s390/nptl/tls.h: Likewise.
5484         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5485         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5486         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5487         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5488         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5489         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5490         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5491         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5492         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5493         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5494         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5495         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5496         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5497         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5498         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5499         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5500         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5501         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5502         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5504         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5506         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5508 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5509             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5511         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5512         Add lwarx hint, and use macro for acquire instruction.
5513         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5514         Likewise.
5515         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5516         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5517         update to use new atomic macros.
5519 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5521         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5522         (__lll_trylock_elision): Fix setting of adapt_count.
5523         * sysdeps/unix/sysv/linux/powerpc/htm.h
5524         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5525         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5526         (_ABORT_SYSCALL): Renumber, and clarify definition.
5527         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5529 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5531         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5532         after system headers to prevent MIN/MAX redefinition.  Define
5533         HAVE_ALLOCA to preserve builtin alloca usage.
5535 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5537         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5538         static and don't set or restore rounding.
5539         (__cos)[IN_SINCOS]: Likewise.
5540         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5541         (__sincos): Set and restore rounding mode.  Remove check for infinite
5542         or NaN input.
5544         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5546         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5547         as used.
5549 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5551         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5553 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5555         * config.make.in (have-glob-dat-reloc): New.
5556         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5557         target supports GLOB_DAT relocaton. AC_SUBST.
5558         * configure: Regenerated.
5559         * elf/Makefile (tests): Add tst-prelink.
5560         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5561         (tst-prelink-ENV): New.
5562         ($(objpfx)tst-prelink-conflict.out): Likewise.
5563         ($(objpfx)tst-prelink-cmp.out): Likewise.
5564         * sysdeps/x86/tst-prelink.c: Moved to ...
5565         * elf/tst-prelink.c: Here.
5566         * sysdeps/x86/tst-prelink.exp: Moved to ...
5567         * elf/tst-prelink.exp: Here.
5568         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5569         (tst-prelink-ENV): Removed.
5570         ($(objpfx)tst-prelink-conflict.out): Likewise.
5571         ($(objpfx)tst-prelink-cmp.out): Likewise.
5572         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5574 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5576         [BZ #14551]
5577         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5578         (__mpn_construct_long_double): If high part overflows to infinity,
5579         set errno and recompute overflowed result of the correct sign.
5580         * sysdeps/ieee754/ldbl-128ibm/Makefile
5581         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5582         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5583         $(libm).
5584         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5586 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5588         [BZ #15479]
5589         [BZ #19238]
5590         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5591         floating-point state after first operation on input.  Restore full
5592         state rather than just rounding mode.
5593         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5594         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5595         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5597         [BZ #19235]
5598         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5599         add 0.5 to integer arguments.
5600         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5601         Likewise.
5602         (.LC2): New object.
5604 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5606         * scripts/pylintrc (reports): Set to no.
5608 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5610         * elf/dl-load.c (open_verify): Take new argument FD.
5611         Skip __open call if passed FD is not -1.
5612         (_dl_map_object, open_path): Update callers.
5613         * elf/dl-sysdep-open.h: New file.
5614         * elf/dl-load.c: Include it.
5615         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5616         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5617         * sysdeps/nacl/dl-sysdep-open.h: New file.
5618         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5619         from libc to rtld.
5621 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #19228]
5624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5625         and restore full floating-point state.
5626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5627         Likewise.
5628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5629         Likewise.
5630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5631         Likewise.
5632         * math/test-nearbyint-except-2.c: New file.
5633         * math/Makefile (tests): Add test-nearbyint-except-2.
5635 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5637         [BZ #19178]
5638         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5639         (tst-prelink-ENV): New.
5640         ($(objpfx)tst-prelink-conflict.out): Likewise.
5641         ($(objpfx)tst-prelink-cmp.out): Likewise.
5642         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5643         * sysdeps/x86/tst-prelink.c: New file.
5644         * sysdeps/x86/tst-prelink.exp: Likewise.
5646 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5648         * math/auto-libm-test-in: Add another test of pow.
5649         * math/auto-libm-test-out: Regenerated.
5650         * math/libm-test.inc (pow_test_data): Add another test.
5652 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5654         [BZ #19219]
5655         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5656         weak_alias to nearbyintl.
5658 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5660         * sysdeps/aarch64/bits/string.h: New file.
5661         (_STRING_ARCH_unaligned): Define.
5663 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5665         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5666         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5667         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5668         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5671 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5673         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5674         for original name of the DSO.  Add it to the name list of the DSO
5675         if it is actually given.
5676         (_dl_map_object): Keep track of whether an audit module rewrote
5677         the file name.  If yes, pass the original name to
5678         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5679         debugging is enabled, log the change of the file name.
5680         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5681         _dl_map_object_from_fd.
5682         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5683         * elf/tst-audit11.c: New file
5684         * elf/tst-auditmod11.c: New file.
5685         * elf/tst-audit11mod1.c: New file.
5686         * elf/tst-audit11mod2.c: New file.
5687         * elf/tst-audit11mod2.map: New file.
5688         * elf/tst-audit12.c: New file
5689         * elf/tst-auditmod12.c: New file.
5690         * elf/tst-audit12mod1.c: New file.
5691         * elf/tst-audit12mod2.c: New file.
5692         * elf/tst-audit12mod2.map: New file.
5693         * elf/tst-audit12mod3.c: New file.
5695 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5697         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5698         Don't create weak aliases,
5699         because versioned symbols are created later.
5700         * sysdeps/s390/s390-32/setjmp.S
5701         (setjmp, _setjmp): Remove weak and rename to an unique name
5702         in SHARED case due to existing versioned symbols.
5703         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5704         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5705         (getcontext): Create weak alias only in non SHARED case.
5706         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5708 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5711         (__ASSUME_*_SYSCALL) Define new macros.
5712         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5713         Remove socketcall syscalls.
5714         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5715         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5716         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5717         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5718         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5719         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5721 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5723         [BZ #12926]
5724         Terminate process on invalid netlink response.
5725         * sysdeps/unix/sysv/linux/netlinkaccess.h
5726         (__netlink_assert_response): Declare.
5727         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5728         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5729         (sysdep_routines): Add netlink_assert_response.
5730         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5731         __netlink_assert_response.
5732         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5733         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5734         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5735         __netlink_assert_response.
5737 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5739         [BZ #19178]
5740         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5741         (RTYPE_CLASS_PLT): Likewise.
5742         (RTYPE_CLASS_COPY): Likewise.
5743         (RTYPE_CLASS_TLS): Likewise.
5744         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5745         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5746         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5747         DL_DEBUG_PRELINK.
5749 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5751         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5752         calls with argument -0.5.
5753         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5755         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5756         (libc_cv_z_nodlopen): Likewise.
5757         (libc_cv_z_initfirst): Likewise.
5758         * configure: Regenerated.
5760 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5762         Simplify abilist format to be line-based.
5763         * scripts/abilist.awk: Collect descriptors in the descs variable.
5764         (emit): Write descs variable and sort it
5765         externally, with sort.
5766         * sysdeps/**/*.abilist: Convert to new format.
5768 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5770         [BZ #11460]
5771         * io/Makefile (routines): Add fts64.
5772         (tests): Add tst-fts and tst-fts-lfs.
5773         (CFLAGS-fts64.c): New.
5774         * io/Versions (GLIBC_2.23): New.
5775         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5776         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5777         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5778         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5779         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5780         (FTSENT64): Likewise.
5781         (fts64_children): Likewise.
5782         (fts64_close): Likewise.
5783         (fts64_open): Likewise.
5784         (fts64_read): Likewise.
5785         (fts64_set): Likewise.
5786         * io/fts64.c: New file.
5787         * io/tst-fts.c: New test.
5788         * io/tst-fts-lfs.c: Likewise.
5789         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5790         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5791         fts64_set.
5792         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5793         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5794         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5795         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5796         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5800         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5801         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5802         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5803         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5804         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5806         Likewise.
5807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5808         Likewise.
5809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5814         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5815         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5820         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5821         * sysdeps/wordsize-64/fts.c: New file.
5822         * sysdeps/wordsize-64/fts64.c: Likewise.
5823         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5824         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5825         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5826         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5828 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5830         * math/libm-test.inc (NON_FINITE): New macro.
5831         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5832         * math/gen-libm-test.pl (show_exceptions): Add argument
5833         $non_finite.
5834         (parse_args): Update call to show_exceptions.
5835         * math/test-math-finite.h: New file.
5836         * math/test-math-no-finite.h: Likewise.
5837         * math/test-double-finite.c: Likewise.
5838         * math/test-float-finite.c: Likewise.
5839         * math/test-ldouble-finite.c: Likewise.
5840         * math/test-double.c: Include "test-math-no-finite.h".
5841         * math/test-float.c: Include "test-math-no-finite.h".
5842         * math/test-ldouble.c: Include "test-math-no-finite.h".
5843         * math/test-math-inline.h (TEST_FINITE): New macro.
5844         * math/test-math-vector.h (TEST_FINITE): Likewise.
5845         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5846         (libm-tests): Add test-float-finite and test-double-finite.
5847         ($(objpfx)test-float-finite.o): New dependency on
5848         $(objpfx)libm-test.stmp.
5849         ($(objpfx)test-double-finite.o): Likewise.
5850         ($(objpfx)test-ldouble-finite.o): Likewise.
5851         (libm-test-no-inline-cflags): New variable.
5852         (libm-test-finite-cflags): Likewise.
5853         (CFLAGS-test-float-finite.c): Likewise.
5854         (CFLAGS-test-double-finite.c): Likewise.
5855         (CFLAGS-test-ldouble-finite.c): Likewise.
5856         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5857         (CFLAGS-test-double.c): Likewise.
5858         (CFLAGS-test-ldouble.c): Likewise.
5860 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5862         * io/fcntl.c (__fcntl): Add ... to prototype.
5863         * misc/ioctl.c (__ioctl): Likewise.
5864         * misc/syscall.c (syscall): Likewise.
5866 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5868         * scripts/list-fixed-bugs.py: New file.
5870         [BZ #19213]
5871         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5872         returned for argument 1.
5873         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5874         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5875         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5876         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5877         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5878         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5880         [BZ #19211]
5881         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5882         __USE_XOPEN], not if [!__USE_ISOC99].
5883         (lgammaf): Likewise.
5884         (lgammal): Likewise.
5885         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5886         (gammaf): Likewise.
5887         (gammal): Likewise.
5888         * math/test-signgam-finite-c11.c: New file.
5889         * math/test-signgam-finite-c99.c: Likewise.
5890         * math/test-signgam-finite.c: Likewise.
5891         * math/Makefile (tests): Add test-signgam-finite,
5892         test-signgam-finite-c99 and test-signgam-finite-c11.
5893         (CFLAGS-test-signgam-finite.c): New variable.
5894         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5895         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5897         [BZ #19212]
5898         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5899         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5900         500].
5901         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5902         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5903         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5904         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5905         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5906         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5907         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5908         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5909         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5910         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5912         [BZ #19209]
5913         * math/bits/math-finite.h (ldexp): Remove declaration.
5914         (ldexpf): Likewise.
5915         (ldexpl): Likewise.
5917         [BZ #19205]
5918         * math/bits/math-finite.h (acosf): Condition declaration on
5919         [__USE_ISOC99].
5920         (acosl): Likewise.
5921         (acoshf): Likewise.
5922         (acoshl): Likewise.
5923         (asinf): Likewise.
5924         (asinl): Likewise.
5925         (atan2f): Likewise.
5926         (atan2l): Likewise.
5927         (atanhf): Likewise.
5928         (atanhl): Likewise.
5929         (coshf): Likewise.
5930         (coshl): Likewise.
5931         (expf): Likewise.
5932         (expl): Likewise.
5933         (fmodf): Likewise.
5934         (fmodl): Likewise.
5935         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5936         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5937         (j0l): Likewise.
5938         (y0f): Likewise.
5939         (y0l): Likewise.
5940         (j1f): Likewise.
5941         (j1l): Likewise.
5942         (y1f): Likewise.
5943         (y1l): Likewise.
5944         (jnf): Likewise.
5945         (jnl): Likewise.
5946         (ynf): Likewise.
5947         (ynl): Likewise.
5948         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5949         (lgammal_r): Likewise.
5950         (__lgamma_r_finite): New declaration.
5951         (__lgammaf_r_finite): Likewise.
5952         (__lgammal_r_finite): Likewise.
5953         (lgamma): Use __lgamma_r_finite.
5954         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5955         __lgammaf_r_finite.
5956         (lgammal): Condition definition on [__USE_ISOC99].  Use
5957         __lgammal_r_finite.
5958         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5959         __lgamma_r_finite.
5960         (gammaf): Condition definition on [__USE_ISOC99].  Use
5961         __lgammaf_r_finite.
5962         (gammal): Condition definition on [__USE_ISOC99].  Use
5963         __lgammal_r_finite.
5964         (logf): Condition declaration on [__USE_ISOC99].
5965         (logl): Likewise.
5966         (log10f): Likewise.
5967         (log10l): Likewise.
5968         (ldexpf): Likewise.
5969         (ldexpl): Likewise.
5970         (powf): Likewise.
5971         (powl): Likewise.
5972         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5973         __USE_ISOC99].
5974         (remainderf): Condition declaration on [__USE_ISOC99].
5975         (remainderl): Likewise.
5976         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5977         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5978         (scalbl): Likewise.
5979         (sinhf): Condition declaration on [__USE_ISOC99].
5980         (sinhl): Likewise.
5981         (sqrtf): Likewise.
5982         (sqrtl): Likewise.
5984 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5986         * sysdeps/arm/atomic-machine.h
5987         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5988         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5989         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5990         Remove conditional code.
5991         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5992         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5993         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5994         Change conditional to [__ASSEMBLER__].
5995         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5996         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5997         [!__ASSEMBLER__].
5998         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5999         code.
6000         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6001         conditional macro definitions.
6002         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6003         (__arch_compare_and_exchange_val_16_acq): Likewise.
6004         (__arch_compare_and_exchange_val_32_acq): Likewise.
6005         (atomic_exchange_and_add): Likewise.
6006         (atomic_add): Likewise.
6007         (atomic_add_negative): Likewise.
6008         (atomic_add_zero): Likewise.
6009         (atomic_bit_set): Likewise.
6010         (atomic_bit_test_set): Likewise.
6011         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6012         code unconditional.
6013         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6015         * math/test-math-errno.h: New file.
6016         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6017         empty.
6018         (TEST_ERRNO): New macro.
6019         (TEST_EXCEPTIONS): Likewise.
6020         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6021         (TEST_EXCEPTIONS): Likewise.
6022         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6023         * math/test-double.c: Include "test-math-errno.h".
6024         * math/test-float.c: Likewise.
6025         * math/test-ldouble.c: Likewise.
6026         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6027         code unconditional.
6028         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6029         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6030         unconditional.
6031         (test_errno): Only run code if TEST_ERRNO.
6032         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6034 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6036         * nptl/tst-once5.cc: Remove attribution.
6038 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6040         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6041         sqrt, tan, tanh, y0, y1 and yn.
6042         * math/auto-libm-test-out: Regenerated.
6043         * math/libm-test.inc (scalb_test_data): Add more tests.
6044         (scalbn_test_data): Likewise.
6045         (scalbln_test_data): Likewise.
6046         (signbit_test_data): Likewise.
6047         (sin_test_data): Likewise.
6048         (sincos_test_data): Likewise.
6049         (sinh_test_data): Likewise.
6050         (sqrt_test_data): Likewise.
6051         (tan_test_data): Likewise.
6052         (tanh_test_data): Likewise.
6053         (tgamma_test_data): Likewise.
6054         (y0_test_data): Likewise.
6055         (y1_test_data): Likewise.
6056         (yn_test_data): Likewise.
6057         (significand_test_data): Likewise.
6058         * sysdeps/i386/fpu/libm-test-ulps: Update.
6060 2015-11-03  David Kastrup  <dak@gnu.org>
6062         [BZ #18604]
6063         * assert/assert.h (assert): Don't macro-expand failed assertion
6064         expression in error message.
6065         * malloc/malloc.c (assert): Likewise.
6067 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6069         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6070         test.
6071         * configure: Regenerated.
6073 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6075         * math/libm-test.inc (modf_test_data): Add more tests.
6076         (nearbyint_test_data): Likewise.
6077         (nextafter_test_data): Likewise.
6078         (nexttoward_test_data): Likewise.
6079         (pow_test_data): Likewise.
6080         (remainder_test_data): Likewise.
6081         (remquo_test_data): Likewise.
6082         (rint_test_data): Likewise.
6084         [BZ #19201]
6085         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6086         Check for zero remainder in case of large exponents and ensure
6087         correct sign of result in that case.
6088         * math/libm-test.inc (remainder_test_data): Add more tests.
6090         [BZ #6799]
6091         * math/s_nextafter.c: Include <errno.h>.
6092         (__nextafter): Set errno on overflow and underflow.
6093         * math/s_nexttowardf.c: Include <errno.h>.
6094         (__nexttowardf): Set errno on overflow and underflow.
6095         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6096         (__nextafterl): Set errno on overflow and underflow.
6097         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6098         (__nexttoward): Set errno on overflow and underflow.
6099         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6100         (__nexttowardf): Set errno on overflow and underflow.
6101         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6102         (__nextafterf): Set errno on overflow and underflow.
6103         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6104         (__nextafterl): Set errno on overflow and underflow.
6105         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6106         (__nexttoward): Set errno on overflow and underflow.
6107         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6108         (__nexttowardf): Set errno on overflow and underflow.
6109         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6110         (__nextafterl): Set errno on overflow and underflow.
6111         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6112         (__nexttoward): Set errno on overflow and underflow.
6113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6114         (__nexttowardf): Set errno on overflow and underflow.
6115         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6116         (__nexttoward): Set errno on overflow and underflow.
6117         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6118         (__nexttowardf): Set errno on overflow and underflow.
6119         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6120         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6121         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6122         (__nextafterl): Set errno on overflow and underflow.
6123         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6124         setting to be missing on overflow.  Add more tests.
6125         (nexttoward_test_data): Likewise.
6127         * configure.ac (libc_cv_initfini_array): Remove configure test.
6128         * configure: Regenerated.
6130 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6132         [BZ #19189]
6133         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6134         non-finite argument handle arguments with negative sign.
6136         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6137         result from infinite argument.
6138         (j1_test_data): Likewise.
6139         (jn_test_data): Likewise.
6140         (y0_test_data): Likewise.
6141         (y1_test_data): Likewise.
6142         (yn_test_data): Likewise.
6144         [BZ #16171]
6145         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6146         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6147         * math/w_remainderf.c (dremf): Define as weak alias of
6148         __remainderf.
6149         * math/w_remainderl.c (dreml): Define as weak alias of
6150         __remainderl.
6151         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6152         __remainder.
6153         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6154         __remainderf.
6155         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6156         __remainderl.
6157         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6158         weak alias of remainderl.
6159         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6160         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6161         alias of __remainder.
6162         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6163         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6164         strong alias of __remainderl.
6165         (dreml): Use long_double_symbol.
6166         * math/Makefile (libm-calls): Remove w_drem.
6167         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6168         (CFLAGS-nldbl-drem.c): Remove variable.
6169         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6170         * math/w_drem.c: Remove file.
6171         * math/w_dremf.c: Likewise.
6172         * math/w_dreml.c: Likewise.
6173         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6174         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6175         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6177         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6178         * sysdeps/i386/configure: Regenerated.
6179         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6180         * sysdeps/x86_64/configure: Regenerated.
6182         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6183         test.
6184         (libc_cv_visibility_attribute): Likewise.
6185         (libc_cv_protected_data): Test unconditionally.
6186         (libc_cv_broken_visibility_attribute): Remove configure test.
6187         (libc_cv_have_sdata_section): Test unconditionally.
6188         * configure: Regenerated.
6190         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6191         * include/scratch_buffer.h: Include <stddef.h> instead of
6192         <libc-internal.h>.
6193         (struct scratch_buffer): Use max_align_t instead of
6194         libc_max_align_t.
6196 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6198         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6199         instead of extend_alloca.  Change control flow to avoid a goto.
6200         Remove assert which is trivially always true.
6202 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6204         [BZ #16068]
6205         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6206         (FE_ALL_EXCEPT_X86): New macro.
6207         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6208         FE_ALL_EXCEPT.  Ensure precision control is included in
6209         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6210         handle "denormal operand exception" and clear FZ and DAZ bits.
6211         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6212         (FE_ALL_EXCEPT_X86): New macro.
6213         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6214         FE_ALL_EXCEPT.  Ensure precision control is included in
6215         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6216         handle "denormal operand exception" and clear FZ and DAZ bits.
6217         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6218         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6219         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6220         test-fenv-x87 and test-fenv-sse-2.
6221         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6223         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6224         * math/test-double.h (BUILD_COMPLEX): New macro.
6225         * math/test-float.h (BUILD_COMPLEX): Likewise.
6226         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6228         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6229         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6230         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6232         instead of DBL_DENORM_MIN in comment.
6233         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6234         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6236         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6238         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6240 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6242         [BZ# 19048]
6243         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6244         attached_threads member.
6245         (main_arena): Initialize attached_threads.
6246         * malloc/arena.c (list_lock): Update comment.
6247         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6248         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6249         (deattach_arena): New function.
6250         (_int_new_arena): Initialize arena reference count and deattach
6251         replaced arena.
6252         (get_free_list, reused_arena): Update reference count and deattach
6253         replaced arena.
6254         (arena_thread_freeres): Update arena reference count and only put
6255         unreferenced arenas on the free list.
6257 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6259         [BZ #19181]
6260         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6261         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6262         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6263         * math/test-fenv-clear-main.c: New file.
6264         * math/test-fenv-clear.c: Likewise.
6265         * math/Makefile (tests): Add test-fenv-clear.
6266         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6267         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6268         test-fenv-clear-sse.
6269         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6271         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6272         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6273         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6275 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6277         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6278         static libc.
6280 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6282         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6283         test.
6284         * sysdeps/i386/configure: Regenerated.
6285         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6286         test.
6287         * sysdeps/x86_64/configure: Regenerated.
6288         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6290         memset-avx2 unconditionally instead of conditionally on
6291         [$(config-cflags-avx2) = yes].
6292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6293         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6294         unconditional.
6295         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6296         * sysdeps/x86_64/multiarch/memset_chk.S
6297         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6298         to [IS_IN (libc) && SHARED].
6300 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6302         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6303         configure test.
6304         * sysdeps/arm/configure: Regenerated.
6305         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6306         Define variable if not already defined.
6308         [BZ #17404]
6309         * sysdeps/mips/atomic-machine.h
6310         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6311         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6312         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6314         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6315         unconditional.
6316         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6317         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6318         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6319         unconditional.
6320         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6321         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6322         unconditional.
6323         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6324         * stdlib/setenv.c
6325         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6326         code unconditional.
6327         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6328         Remove conditional code.
6329         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6330         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6331         unconditional.
6332         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6333         code.
6334         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6335         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6336         unconditional.
6337         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6338         code.
6339         * sysdeps/ieee754/ldbl-128/k_tanl.c
6340         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6341         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6342         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6343         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6344         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6345         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6346         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6347         unconditional.
6348         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6349         code.
6350         * sysdeps/ieee754/ldbl-96/k_tanl.c
6351         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6352         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6354         * nptl/tst-initializers1-c11.c: New file.
6355         * nptl/tst-initializers1-gnu11.c: Likewise.
6356         * nptl/Makefile (tests): Add these new tests.
6357         (CFLAGS-tst-initializers1-c11.c): New variable.
6358         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6360         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6361         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6362         instead of -std=gnu99.
6363         * configure.ac (systemtap): Test with -std=gnu11 instead of
6364         -std=gnu99.
6365         * configure: Regenerated.
6366         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6367         in compilation command in comment.
6369         * sysdeps/nptl/configure.ac: Remove file.
6370         * sysdeps/nptl/configure: Remove generated file.
6371         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6372         * configure: Regenerated.
6373         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6374         * config.make.in (have-forced-unwind): Remove variable.
6375         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6376         unconditional.
6377         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6378         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6379         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6380         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6381         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6382         unconditional.
6384 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6386         [BZ #19174]
6387         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6388         .skip_lock_out_of_tbegin_retries.
6389         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6390         (__lll_lock_elision): Likewise, and respect a value of
6391         try_tbegin <= 0.
6393 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6395         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6396         statement.
6398 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6400         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6401         variable.
6402         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6403         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6405         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6406         of -std=c1x -D_ISOC11_SOURCE.
6408         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6409         * configure: Regenerated.
6410         * manual/install.texi (Tools for Compilation): Document
6411         requirement for GCC 4.7 or later.
6412         * INSTALL: Regenerated.
6414 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6416         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6417         on CNT to a conditional jump to 'puntdata'.
6419 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6421         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6422         (libc_cv_gcc_tls_model_attr): Likewise.
6423         * configure: Regenerated.
6425         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6426         * configure: Regenerated.
6427         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6429 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6431         * configure.ac (old_glibc_headers): Remove configure test.
6432         * configure: Regenerated.
6433         * config.make.in (old-glibc-headers): Remove variable.
6434         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6435         (install): Remove dependency on remove-old-headers.
6436         (headers2_0): Remove variable.
6437         (remove-old-headers): Remove rule.
6439         * configure.ac (libc_cv_dot_text): Remove configure test.
6440         (libc_cv_asm_set_directive): Use .text instead of
6441         ${libc_cv_dot_text} in configure test.
6442         * configure: Regenerated.
6444 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6446         [BZ #19168]
6447         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6449 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6451         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6452         not support static linking.
6453         * configure: Regenerate.
6455 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6457         * math/libm-test.inc (check_float_internal): Do not special-case
6458         errors up to 0.5 ulp.
6460         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6461         log2.
6462         * math/auto-libm-test-out: Regenerated.
6463         * math/libm-test.inc (MAX_EXP): New macro.
6464         (ilogb_test_data): Add more tests.
6465         (isfinite_test_data): Likewise.
6466         (isgreater_test_data): Likewise.
6467         (isgreaterequal_test_data): Likewise.
6468         (isinf_test_data): Likewise.
6469         (isless_test_data): Likewise.
6470         (islessequal_test_data): Likewise.
6471         (islessgreater_test_data): Likewise.
6472         (isnan_test_data): Likewise.
6473         (isnormal_test_data): Likewise.
6474         (issignaling_test_data): Likewise.
6475         (isunordered_test_data): Likewise.
6476         (j0_test_data): Likewise.
6477         (j1_test_data): Likewise.
6478         (jn_test_data): Likewise.
6479         (lgamma_test_data): Likewise.
6480         (log_test_data): Likewise.
6481         (log10_test_data): Likewise.
6482         (log1p_test_data): Likewise.
6483         (log2_test_data): Likewise.
6484         (logb_test_data): Likewise.
6485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6487         [BZ #18611]
6488         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6489         avoid excess range and precision on underflow.
6490         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6491         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6492         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6493         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6494         underflow.
6495         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6497         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6498         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6499         * math/auto-libm-test-in: Do not allow missing errno setting for
6500         tests of j1 and jn.
6501         * math/auto-libm-test-out: Regenerated.
6503 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6505         [BZ #15491]
6506         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6507         floating-point environment instead of clearing all exceptions.
6508         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6509         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6510         merging in "invalid" exceptions from frndint.
6511         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6512         * math/test-nearbyint-except.c: New file.
6513         * math/Makefile (tests): Add test-nearbyint-except.
6515 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6517         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6519         * sysdeps/tile/libm-test-ulps: Regenerated.
6521 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6524         (__NR_sync_file_range2): Assume it is always defined.
6525         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6526         (__NR_sync_file_range): Assume it is always defined.
6528 2015-10-22  Andreas Schwab  <schwab@suse.de>
6530         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6531         INTERNAL_SYSCALL_ERRNO.
6532         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6533         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6534         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6535         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6539 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6541         * io/tst-fcntl.c (fd): New static variable.
6542         (do_prepare): Open temporary file here....
6543         (do_test): ...not here.
6545         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6547 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6549         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6550         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6551         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6552         Moved before "#ifdef __ASSEMBLER__".
6554 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6556         [BZ #19156]
6557         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6558         arguments very close to 0.
6560 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6562         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6563         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6565 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6567         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6568         New.  Defined for GCC 5 and above when not compiling for
6569         profiling.
6570         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6572         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6573         Renamed to ...
6574         (CFLAGS-epoll_pwait.o): This.
6575         (CFLAGS-mmap.c): Renamed to ...
6576         (CFLAGS-mmap.o): This.
6577         (CFLAGS-mmap64.c): Renamed to ...
6578         (CFLAGS-mmap64.o): This.
6579         (CFLAGS-epoll_pwait.os): New.
6580         (CFLAGS-mmap.os): Likewise.
6581         (CFLAGS-mmap64.os): Likewise.
6582         (CFLAGS-semtimedop.os): Likewise.
6583         (CFLAGS-semtimedop.c): Renamed to ...
6584         (CFLAGS-semtimedop.o): This.
6586 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6588         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6589         warning message.
6591 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6593         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6594         * Makefile ($(objpfx)c++-types-check.out): Filter out
6595         $(+gccwarn-c) instead of -Wstrict-prototypes.
6597         * io/fts.c (fts_open): Convert to prototype-style function
6598         definition.
6599         * malloc/mcheck.c (mcheck): Likewise.
6600         (mcheck_pedantic): Likewise.
6601         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6602         internal_function.
6603         (re_search_internal): Likewise.
6604         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6605         prototype-style function definition.
6606         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6607         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6608         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6609         (xdr_utmpptr): Likewise.
6610         (xdr_utmparr): Likewise.
6611         (xdr_utmpidle): Likewise.
6612         (xdr_utmpidleptr): Likewise.
6613         (xdr_utmpidlearr): Likewise.
6615         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6616         log, log10 and log2.
6617         * math/auto-libm-test-out: Regenerated.
6618         * math/libm-test.inc (fmod_test_data): Add more tests.
6619         (fpclassify_test_data): Likewise.
6620         (frexp_test_data): Likewise.
6621         (hypot_test_data): Likewise.
6622         (ilogb_test_data): Likewise.
6624 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6626         * debug/fortify_fail.c (__fortify_fail): Convert to
6627         prototype-style function definition.  Use internal_function.
6628         * libio/genops.c (save_for_backup): Convert to prototype-style
6629         function definition.
6630         * libio/wgenops.c (save_for_wbackup): Likewise.
6631         * login/grantpt.c (grantpt): Likewise.
6632         * login/ptsname.c (ptsname): Likewise.
6633         (__ptsname_r): Likewise.
6634         * login/unlockpt.c (unlockpt): Likewise.
6635         * mach/msgserver.c (__mach_msg_server): Likewise.
6636         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6637         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6638         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6639         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6640         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6641         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6642         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6643         Likewise.
6644         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6645         internal_function.
6646         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6647         prototype-style function definition.
6648         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6649         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6650         (__pthread_create_2_0): Likewise.
6651         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6652         * nptl/register-atfork.c (__register_atfork): Likewise.
6653         * posix/glob.c (glob): Likewise.
6654         * posix/regcomp.c (re_comp): Likewise.
6655         * posix/regexec.c (re_exec): Likewise.
6656         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6657         [!__STDC__]: Remove conditional code.
6658         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6659         [!__STDC__]: Remove conditional code.
6660         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6661         [!__STDC__]: Remove conditional code.
6662         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6663         [!__STDC__]: Remove conditional code.
6664         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6665         [!__STDC__]: Remove conditional code.
6666         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6667         [!__STDC__]: Remove conditional code.
6668         * stdlib/mul.c [__STDC__]: Make code unconditional.
6669         [!__STDC__]: Remove conditional code.
6670         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6671         [!__STDC__]: Remove conditional code.
6672         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6673         [!__STDC__]: Remove conditional code.
6674         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6675         function definition.
6676         (STRTOF): Likewise.
6677         * stdlib/strtod_l.c (__STRTOF): Likewise.
6678         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6679         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6680         (__strtol_l): Likewise.
6681         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6682         [!__STDC__]: Remove conditional code.
6683         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6684         definition.
6685         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6686         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6687         type.
6688         (__strcasecmp): Convert to prototype-style function definition.
6689         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6690         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6691         type.
6692         (__strncasecmp): Convert to prototype-style function definition.
6693         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6694         * sunrpc/xdr.c (xdr_union): Likewise.
6695         * sunrpc/xdr_array.c (xdr_array): Likewise.
6696         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6697         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6698         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6699         Likewise.
6700         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6701         Likewise.
6702         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6703         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6704         Likewise.
6705         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6706         (LOCALE_PARAM_PROTO): Likewise.
6707         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6708         argument type.
6709         (ut_argument_spec): Remove macro.
6710         (ut_argument_spec_iso): Rename to ut_argument_spec.
6711         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6712         prototype-style function definition.
6713         (memcpy_uppcase): Likewise.
6714         (__strftime_internal): Likewise.
6715         (my_strftime): Likewise.
6716         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6717         (LOCALE_PARAM_DECL): Likewise.
6718         [_LIBC] (LOCALE_PARAM): Include argument type.
6719         (__strptime_internal): Convert to prototype-style function
6720         definition.
6721         (strptime): Likewise.
6722         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6723         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6724         type.
6725         (__wcscasecmp): Convert to prototype-style function definition.
6726         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6727         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6728         type.
6729         (__wcsncasecmp): Convert to prototype-style function definition.
6731         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6732         function definition.
6733         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6734         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6735         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6736         * elf/dl-minimal.c (_itoa): Likewise.
6737         * hurd/hurdmalloc.c (malloc): Likewise.
6738         (free): Likewise.
6739         (realloc): Likewise.
6740         * inet/inet6_option.c (inet6_option_space): Likewise.
6741         (inet6_option_init): Likewise.
6742         (inet6_option_append): Likewise.
6743         (inet6_option_alloc): Likewise.
6744         (inet6_option_next): Likewise.
6745         (inet6_option_find): Likewise.
6746         * io/ftw.c (FTW_NAME): Likewise.
6747         (NFTW_NAME): Likewise.
6748         (NFTW_NEW_NAME): Likewise.
6749         (NFTW_OLD_NAME): Likewise.
6750         * libio/iofwide.c (_IO_fwide): Likewise.
6751         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6752         (_IO_str_init_static): Likewise.
6753         (_IO_str_init_readonly): Likewise.
6754         (_IO_str_overflow): Likewise.
6755         (_IO_str_underflow): Likewise.
6756         (_IO_str_count): Likewise.
6757         (_IO_str_seekoff): Likewise.
6758         (_IO_str_pbackfail): Likewise.
6759         (_IO_str_finish): Likewise.
6760         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6761         (_IO_wstr_overflow): Likewise.
6762         (_IO_wstr_underflow): Likewise.
6763         (_IO_wstr_count): Likewise.
6764         (_IO_wstr_seekoff): Likewise.
6765         (_IO_wstr_pbackfail): Likewise.
6766         (_IO_wstr_finish): Likewise.
6767         * locale/programs/localedef.c (normalize_codeset): Likewise.
6768         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6769         (add_locales_to_archive): Likewise.
6770         (delete_locales_from_archive): Likewise.
6771         * malloc/malloc.c (__libc_mallinfo): Likewise.
6772         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6773         * misc/tsearch.c (__tfind): Likewise.
6774         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6775         * nptl/pthread_attr_getdetachstate.c
6776         (__pthread_attr_getdetachstate): Likewise.
6777         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6778         Likewise.
6779         * nptl/pthread_attr_getinheritsched.c
6780         (__pthread_attr_getinheritsched): Likewise.
6781         * nptl/pthread_attr_getschedparam.c
6782         (__pthread_attr_getschedparam): Likewise.
6783         * nptl/pthread_attr_getschedpolicy.c
6784         (__pthread_attr_getschedpolicy): Likewise.
6785         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6786         Likewise.
6787         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6788         Likewise.
6789         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6790         Likewise.
6791         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6792         Likewise.
6793         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6794         (__pthread_attr_init_2_0): Likewise.
6795         * nptl/pthread_attr_setdetachstate.c
6796         (__pthread_attr_setdetachstate): Likewise.
6797         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6798         Likewise.
6799         * nptl/pthread_attr_setinheritsched.c
6800         (__pthread_attr_setinheritsched): Likewise.
6801         * nptl/pthread_attr_setschedparam.c
6802         (__pthread_attr_setschedparam): Likewise.
6803         * nptl/pthread_attr_setschedpolicy.c
6804         (__pthread_attr_setschedpolicy): Likewise.
6805         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6806         Likewise.
6807         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6808         Likewise.
6809         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6810         Likewise.
6811         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6812         Likewise.
6813         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6814         Likewise.
6815         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6816         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6817         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6818         use internal_function.
6819         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6820         prototype-style function definition.
6821         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6822         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6823         internal_function.
6824         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6825         Convert to prototype-style function definition.
6826         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6827         Likewise.
6828         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6829         Likewise.
6830         (__pthread_mutex_unlock): Likewise.
6831         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6832         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6833         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6834         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6835         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6836         * nss/makedb.c (process_input): Likewise.
6837         * posix/fnmatch.c (__strchrnul): Likewise.
6838         (__wcschrnul): Likewise.
6839         (fnmatch): Likewise.
6840         * posix/fnmatch_loop.c (FCT): Likewise.
6841         * posix/glob.c (globfree): Likewise.
6842         (__glob_pattern_type): Likewise.
6843         (__glob_pattern_p): Likewise.
6844         * posix/regcomp.c (re_compile_pattern): Likewise.
6845         (re_set_syntax): Likewise.
6846         (re_compile_fastmap): Likewise.
6847         (regcomp): Likewise.
6848         (regerror): Likewise.
6849         (regfree): Likewise.
6850         * posix/regexec.c (regexec): Likewise.
6851         (re_match): Likewise.
6852         (re_search): Likewise.
6853         (re_match_2): Likewise.
6854         (re_search_2): Likewise.
6855         (re_search_stub): Likewise.  Use internal_function
6856         (re_copy_regs): Likewise.
6857         (re_set_registers): Convert to prototype-style function
6858         definition.
6859         (prune_impossible_nodes): Likewise.  Use internal_function.
6860         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6861         prototype-style function definition.
6862         (inet_net_pton_ipv4): Likewise.
6863         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6864         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6865         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6866         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6867         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6868         Make variadic.
6869         * time/strptime_l.c (localtime_r): Convert to prototype-style
6870         function definition.
6871         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6872         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6873         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6874         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6876         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6877         definition.
6878         (_ufc_doit_r): Likewise.
6879         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6880         (_ufc_output_conversion_r): Likewise.
6881         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6882         * inet/rcmd.c (rcmd_af): Likewise.
6883         (rcmd): Likewise.
6884         (ruserok_af): Likewise.
6885         (ruserok): Likewise.
6886         (ruserok2_sa): Likewise.
6887         (ruserok_sa): Likewise.
6888         (iruserok_af): Likewise.
6889         (iruserok): Likewise.
6890         (__ivaliduser): Likewise.
6891         (__validuser2_sa): Likewise.
6892         * inet/rexec.c (rexec_af): Likewise.
6893         (rexec): Likewise.
6894         * inet/ruserpass.c (ruserpass): Likewise.
6895         * locale/programs/xmalloc.c (xcalloc): Likewise.
6896         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6897         * math/w_drem.c (__drem): Likewise.
6898         * math/w_dremf.c (__dremf): Likewise.
6899         * math/w_dreml.c (__dreml): Likewise.
6900         * misc/daemon.c (daemon): Likewise.
6901         * resolv/res_debug.c (p_fqnname): Likewise.
6902         * stdlib/div.c (div): Likewise.
6903         * string/memcmp.c (memcmp_bytes): Likewise.
6904         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6905         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6907         * crypt/cert.c (main): Convert to prototype-style function
6908         definition.
6909         * io/pipe.c (__pipe): Likewise.
6910         * io/pipe2.c (__pipe2): Likewise.
6911         * misc/futimesat.c (futimesat): Likewise.
6912         * misc/utimes.c (__utimes): Likewise.
6913         * posix/execve.c (__execve): Likewise.
6914         * posix/execvp.c (execvp): Likewise.
6915         * posix/execvpe.c (__execvpe): Likewise.
6916         * posix/fexecve.c (fexecve): Likewise.
6917         * socket/socketpair.c (socketpair): Likewise.
6918         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6919         * stdlib/erand48.c (erand48): Likewise.
6920         * stdlib/erand48_r.c (__erand48_r): Likewise.
6921         * stdlib/jrand48.c (jrand48): Likewise.
6922         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6923         * stdlib/lcong48.c (lcong48): Likewise.
6924         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6925         * stdlib/nrand48.c (nrand48): Likewise.
6926         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6927         * stdlib/seed48.c (seed48): Likewise.
6928         * stdlib/seed48_r.c (__seed48_r): Likewise.
6929         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6930         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6931         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6933 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6935         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6936         * configure: Regenerated.
6937         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6938         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6939         unconditional.
6940         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6941         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6942         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6943         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6944         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6945         unconditional.
6946         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6948         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6949         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6951         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6952         function definition.
6953         * crypt/crypt_util.c (__encrypt_r): Likewise.
6954         * libio/genops.c (_IO_no_init): Likewise.
6955         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6956         (_IO_old_fopencookie): Likewise.
6957         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6958         * libio/iogetline.c (_IO_getline): Likewise.
6959         (_IO_getline_info): Likewise.
6960         * libio/iogetwline.c (_IO_getwline): Likewise.
6961         (_IO_getwline_info): Likewise.
6962         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6963         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6964         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6965         (find_entry): Likewise.
6966         (iterate_table): Likewise.
6967         (lookup): Likewise.
6968         * login/forkpty.c (forkpty): Likewise.
6969         * misc/hsearch_r.c (__hsearch_r): Likewise.
6970         * misc/select.c (__select): Likewise.
6971         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6972         Likewise.
6973         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6974         Likewise.
6975         * nptl/old_pthread_cond_timedwait.c
6976         (__pthread_cond_timedwait_2_0): Likewise.
6977         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6978         * nptl/pthread_barrierattr_getpshared.c
6979         (pthread_barrierattr_getpshared): Likewise.
6980         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6981         Likewise.
6982         * nptl/pthread_mutex_setprioceiling.c
6983         (pthread_mutex_setprioceiling): Likewise.
6984         * nptl/pthread_mutexattr_getprioceiling.c
6985         (pthread_mutexattr_getprioceiling): Likewise.
6986         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6987         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6988         Likewise.
6989         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6990         Likewise.
6991         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6992         Likewise.
6993         * socket/recvfrom.c (__recvfrom): Likewise.
6994         * socket/sendto.c (__sendto): Likewise.
6995         * socket/setsockopt.c (__setsockopt): Likewise.
6996         * stdio-common/_itoa.c (_itoa): Likewise.
6997         * stdio-common/_itowa.c (_itowa): Likewise.
6998         * stdio-common/reg-printf.c (__register_printf_specifier):
6999         Likewise.
7000         (__register_printf_function): Likewise.
7001         * stdio-common/tempname.c (__path_search): Likewise.
7002         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7003         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7004         * stdlib/random_r.c (__initstate_r): Likewise.
7005         * stdlib/setenv.c (__add_to_environ): Likewise.
7006         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7007         * streams/getpmsg.c (getpmsg): Likewise.
7008         * streams/putmsg.c (putmsg): Likewise.
7009         * streams/putpmsg.c (putpmsg): Likewise.
7010         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7011         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7012         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7013         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7014         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7015         * sunrpc/svc_udp.c (cache_get): Likewise.
7016         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7017         * sysdeps/mach/hurd/getcwd.c
7018         (__canonicalize_directory_name_internal): Likewise.
7019         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7020         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7021         * sysdeps/mach/hurd/select.c (__select): Likewise.
7022         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7023         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7024         * sysdeps/sparc/nptl/pthread_barrier_init.c
7025         (__pthread_barrier_init): Likewise.
7026         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7027         (__pthread_cond_timedwait): Likewise.
7028         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7029         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7030         Likewise.
7031         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7032         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7033         Likewise.
7034         * sysvipc/semtimedop.c (semtimedop): Likewise.
7035         * time/setitimer.c (__setitimer): Likewise.
7036         * time/strftime_l.c (emacs_strftime): Likewise.
7038 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7040         * config.make.in (have-ssp): Delete.
7041         (stack-protector): New variable.
7042         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7043         cache test for -fstack-protector-strong.  Export stack_protector to
7044         the best ssp flag.
7045         * configure: Regenerated.
7046         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7047         * nscd/Makefile (CFLAGS-nscd): Likewise.
7048         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7050 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7052         [BZ #19122]
7053         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7054         attribute_hidden.
7056 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7058         [BZ #18743]
7059         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7060         code to...
7061         (ELIDE_LOCK): ...here.
7062         (__get_new_count): New function with part of the code from
7063         __elide_lock that updates the value of adapt_count after a
7064         transaction abort.
7065         (__elided_trylock): Moved this code to...
7066         (ELIDE_TRYLOCK): ...here.
7068 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7070         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7071         * configure: Regenerate.
7072         * INSTALL: Regenerate.
7073         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7074         and tweak grammar.
7076 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7078         * login/programs/pt_chown.c: Include signal.h
7079         (main): Clear any signal mask from the parent process.
7081 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7083         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7084         * configure: Regenerated.
7085         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7086         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7087         $(gnu89-inline-CFLAGS).
7089         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7090         test.
7091         (libc_cv_asm_weakext_directive): Likewise.
7092         * configure: Regenerated.
7093         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7094         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7095         * include/libc-symbols.h
7096         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7097         #error.
7098         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7099         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7101         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7102         prototype-style function definition.
7103         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7104         * sysdeps/i386/ffs.c (__ffs): Likewise.
7105         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7106         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7107         Likewise.
7108         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7109         Likewise.
7110         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7111         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7112         Likewise.
7113         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7114         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7115         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7116         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7117         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7118         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7119         * sysdeps/mach/hurd/access.c (__access): Likewise.
7120         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7121         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7122         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7123         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7124         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7125         (cthread_getspecific): Likewise.
7126         (cthread_setspecific): Likewise.
7127         (__libc_getspecific): Likewise.
7128         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7129         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7130         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7131         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7132         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7133         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7134         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7135         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7136         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7137         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7138         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7139         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7140         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7141         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7142         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7143         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7144         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7145         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7146         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7147         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7148         * sysdeps/mach/hurd/link.c (__link): Likewise.
7149         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7150         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7151         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7152         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7153         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7154         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7155         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7156         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7157         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7158         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7159         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7160         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7161         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7162         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7163         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7164         * sysdeps/mach/hurd/send.c (__send): Likewise.
7165         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7166         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7167         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7168         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7169         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7170         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7171         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7172         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7173         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7174         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7175         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7176         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7177         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7178         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7179         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7180         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7181         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7182         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7183         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7184         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7185         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7186         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7187         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7188         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7189         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7190         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7191         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7192         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7193         * sysdeps/posix/alarm.c (alarm): Likewise.
7194         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7195         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7196         * sysdeps/posix/dup.c (__dup): Likewise.
7197         * sysdeps/posix/dup2.c (__dup2): Likewise.
7198         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7199         (main): Likewise.
7200         * sysdeps/posix/flock.c (__flock): Likewise.
7201         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7202         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7203         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7204         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7205         * sysdeps/posix/isatty.c (__isatty): Likewise.
7206         * sysdeps/posix/killpg.c (killpg): Likewise.
7207         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7208         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7209         * sysdeps/posix/raise.c (raise): Likewise.
7210         * sysdeps/posix/remove.c (remove): Likewise.
7211         * sysdeps/posix/rename.c (rename): Likewise.
7212         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7213         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7214         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7215         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7216         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7217         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7218         * sysdeps/posix/sigset.c (sigset): Likewise.
7219         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7220         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7221         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7222         * sysdeps/posix/time.c (time): Likewise.
7223         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7224         (ttyname): Likewise.
7225         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7226         * sysdeps/posix/utime.c (utime): Likewise.
7227         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7228         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7229         Likewise.
7230         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7231         (pthread_spin_trylock): Likewise.
7232         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7233         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7234         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7235         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7236         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7237         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7238         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7239         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7240         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7241         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7242         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7243         * sysdeps/s390/ffs.c (__ffs): Likewise.
7244         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7245         Likewise.
7246         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7247         Likewise.
7248         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7249         Likewise.
7250         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7251         (pthread_barrier_destroy): Likewise.
7252         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7253         (__pthread_barrier_wait): Likewise.
7254         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7255         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7256         (__pthread_barrier_wait): Likewise.
7257         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7258         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7259         (memcmp_not_common_alignment): Likewise.
7260         (MEMCMP): Likewise.
7261         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7262         (_wordcopy_fwd_dest_aligned): Likewise.
7263         (_wordcopy_bwd_aligned): Likewise.
7264         (_wordcopy_bwd_dest_aligned): Likewise.
7265         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7266         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7267         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7268         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7269         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7270         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7271         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7272         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7273         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7274         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7275         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7276         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7277         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7278         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7279         * sysdeps/unix/stime.c (stime): Likewise.
7280         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7281         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7282         Likewise.  Use internal_function.
7283         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7284         Convert to prototype-style function definition.
7285         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7286         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7288         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7289         Likewise.  Use internal_function.
7290         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7291         prototype-style function definition
7292         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7293         Likewise.
7294         (__getlogin_r): Likewise.
7295         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7297         (__pthread_cond_broadcast): Likewise.
7298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7299         (__pthread_cond_destroy): Likewise.
7300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7301         (__pthread_cond_init): Likewise.
7302         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7303         (__pthread_cond_signal): Likewise.
7304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7305         (__pthread_cond_wait): Likewise.
7306         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7307         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7308         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7309         Likewise.
7310         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7311         Likewise.
7312         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7313         Likewise.
7314         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7315         Likewise.
7316         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7318         (__ftruncate64): Likewise.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7320         (truncate64): Likewise.
7321         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7322         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7323         (pthread_getcpuclockid): Likewise.
7324         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7325         Likewise.
7326         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7327         Likewise.
7328         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7329         Likewise.
7330         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7331         Likewise.
7332         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7333         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7334         (__libc_sigaction): Likewise.
7335         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7336         Likewise.
7337         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7338         (__sigprocmask): Likewise.
7339         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7340         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7341         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7342         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7343         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7344         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7345         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7346         Likewise.
7347         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7348         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7349         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7350         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7351         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7352         Likewise.
7353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7354         (__sigprocmask): Likewise.
7355         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7356         (cfgetispeed): Likewise.
7357         (cfsetospeed): Likewise.
7358         (cfsetispeed): Likewise.
7359         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7360         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7361         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7362         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7363         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7364         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7365         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7366         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7367         Likewise.
7368         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7369         Likewise.
7370         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7371         Likewise.
7372         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7373         Likewise.
7374         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7376 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7378         sunrpc: Rewrite with explicit TLS access using __thread.
7379         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7380         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7381         directly.
7382         (__rpc_thread_variables): Access thread_rpc_vars directly.
7383         Eliminate redundant assignment of the tvp variable.
7385 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7387         malloc: Rewrite with explicit TLS access using __thread.
7388         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7389         (tsd_setspecific, tsd_getspecific): Remove.
7390         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7391         (tsd_setspecific, tsd_getspecific): Likewise.
7392         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7393         (tsd_setspecific, tsd_getspecific): Likewise.
7394         * malloc/arena.c (thread_arena): New TLS variable.
7395         (arena_key): Remove variable.
7396         (arena_get): Use thread_arena.
7397         (arena_lookup): Remove macro.
7398         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7399         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7400         (_int_new_arena, get_free_list, reused_arena)
7401         (arena_thread_freeres): Use thread_arena.
7402         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7403         tsd_getspecific, tsd_setspecific from safety annotations.
7404         (Allocating Cleared Space): Remove arena_lookup from safety
7405         annotations.
7407 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7409         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7410         struct scratch_buffer instead of extend_alloca.
7412 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7414         * sysdeps/unix/sysv/linux/kernel-features.h
7415         (__ASSUME_SOCK_CLOEXEC): Remove.
7416         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7417         (__have_paccept): Remove unused macro.
7418         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7419         * misc/syslog.c (openlog_internal): Remove fallback code for
7420         !__ASSUME_SOCK_CLOEXEC.
7421         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7422         missing SOCK_CLOEXEC.
7423         * nscd/connections.c (have_sock_cloexec): Remove definition.
7424         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7425         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7426         !__ASSUME_SOCK_CLOEXEC.
7427         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7428         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7429         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7430         definition.
7431         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7432         code for !__ASSUME_SOCK_CLOEXEC.
7434 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7436         [BZ #18982]
7437         * manual/stdio.texi (Variable Arguments Output): Add portability
7438         note, explaining that vfprintf clobbers the va_list pointer.
7440 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7442         * math/libm-test.inc (fabs_test_data): Add more tests.
7443         (fdim_test_data): Likewise.
7444         (fma_test_data): Likewise.
7445         (fmax_test_data): Likewise.
7446         (fmin_test_data): Likewise.
7447         (fmod_test_data): Likewise.
7449 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7451         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7452         data.
7454 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7456         * math/libm-test.inc (ceil_test_data): Add more tests and more
7457         expectations for "inexact".
7458         (floor_test_data): Add more tests.
7459         (round_test_data): Likewise.
7460         (trunc_test_data): Likewise.
7462         * crypt/cert.c (good_bye): Convert to prototype-style function
7463         definition.
7464         (get8): Likewise.
7465         (put8): Likewise.
7466         * crypt/crypt-entry.c (crypt): Likewise.
7467         (__fcrypt): Likewise.
7468         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7469         (_ufc_set_bits): Likewise.
7470         (_ufc_clearmem): Likewise.
7471         (__init_des_r): Likewise.
7472         (shuffle_sb): Likewise.
7473         (shuffle_sb): Likewise.
7474         (_ufc_setup_salt_r): Likewise.
7475         (_ufc_mk_keytab_r): Likewise.
7476         (_ufc_dofinalperm_r): Likewise.
7477         (encrypt): Likewise.
7478         (__setkey_r): Likewise.
7479         (setkey): Likewise.
7480         * crypt/md5.c (md5_init_ctx): Likewise.
7481         (md5_read_ctx): Likewise.
7482         (md5_finish_ctx): Likewise.
7483         (md5_stream): Likewise.
7484         (md5_buffer): Likewise.
7485         (md5_process_bytes): Likewise.
7486         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7487         (__sha256_finish_ctx): Likewise.
7488         (__sha256_process_bytes): Likewise.
7489         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7490         (__sha512_finish_ctx): Likewise.
7491         (__sha512_process_bytes): Likewise.
7492         * ctype/isctype.c (__isctype): Likewise.
7493         * debug/backtrace.c (__backtrace): Likewise.
7494         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7495         * debug/fgets_chk.c (__fgets_chk): Likewise.
7496         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7497         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7498         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7499         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7500         * debug/memset_chk.c (__memset_chk): Likewise.
7501         * debug/strcat_chk.c (__strcat_chk): Likewise.
7502         * debug/strncat_chk.c (__strncat_chk): Likewise.
7503         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7504         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7505         * dirent/dirfd.c (dirfd): Likewise.
7506         * dirent/getdents.c (__getdirentries): Likewise.
7507         * dirent/getdents64.c (getdirentries64): Likewise.
7508         * dirent/rewinddir.c (__rewinddir): Likewise.
7509         * dirent/seekdir.c (seekdir): Likewise.
7510         * dirent/telldir.c (telldir): Likewise.
7511         * elf/sln.c (makesymlinks): Likewise.
7512         (makesymlink): Likewise.
7513         * gmon/gmon.c (__moncontrol): Likewise.
7514         (__monstartup): Likewise.
7515         (write_hist): Likewise.
7516         (write_call_graph): Likewise.
7517         (write_bb_counts): Likewise.
7518         * grp/setgroups.c (setgroups): Likewise.
7519         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7520         * inet/inet_net.c (inet_network): Likewise.
7521         * inet/inet_netof.c (inet_netof): Likewise.
7522         * inet/rcmd.c (rresvport_af): Likewise.
7523         (rresvport): Likewise.
7524         * io/access.c (__access): Likewise.
7525         * io/chdir.c (__chdir): Likewise.
7526         * io/chmod.c (__chmod): Likewise.
7527         * io/chown.c (__chown): Likewise.
7528         * io/close.c (__close): Likewise.
7529         * io/creat.c (creat): Likewise.
7530         * io/creat64.c (creat64): Likewise.
7531         * io/dup.c (__dup): Likewise.
7532         * io/dup2.c (__dup2): Likewise.
7533         * io/dup3.c (__dup3): Likewise.
7534         * io/euidaccess.c (__euidaccess): Likewise.
7535         * io/faccessat.c (faccessat): Likewise.
7536         * io/fchmod.c (__fchmod): Likewise.
7537         * io/fchmodat.c (fchmodat): Likewise.
7538         * io/fchown.c (__fchown): Likewise.
7539         * io/fchownat.c (fchownat): Likewise.
7540         * io/fcntl.c (__fcntl): Likewise.
7541         * io/flock.c (__flock): Likewise.
7542         * io/fts.c (fts_load): Likewise.
7543         (fts_close): Likewise.
7544         (fts_read): Likewise.
7545         (fts_set): Likewise.
7546         (fts_children): Likewise.
7547         (fts_build): Likewise.
7548         (fts_stat): Likewise.
7549         (fts_sort): Likewise.
7550         (fts_alloc): Likewise.
7551         (fts_lfree): Likewise.
7552         (fts_palloc): Likewise.
7553         (fts_padjust): Likewise.
7554         (fts_maxarglen): Likewise.
7555         (fts_safe_changedir): Likewise.
7556         * io/getwd.c (getwd): Likewise.
7557         * io/isatty.c (__isatty): Likewise.
7558         * io/lchown.c (__lchown): Likewise.
7559         * io/link.c (__link): Likewise.
7560         * io/linkat.c (linkat): Likewise.
7561         * io/lseek.c (__libc_lseek): Likewise.
7562         * io/mkdir.c (__mkdir): Likewise.
7563         * io/mkdirat.c (mkdirat): Likewise.
7564         * io/mkfifo.c (mkfifo): Likewise.
7565         * io/mkfifoat.c (mkfifoat): Likewise.
7566         * io/open.c (__libc_open): Likewise.
7567         * io/open64.c (__libc_open64): Likewise.
7568         * io/readlink.c (__readlink): Likewise.
7569         * io/readlinkat.c (readlinkat): Likewise.
7570         * io/rmdir.c (__rmdir): Likewise.
7571         * io/symlink.c (__symlink): Likewise.
7572         * io/symlinkat.c (symlinkat): Likewise.
7573         * io/ttyname.c (ttyname): Likewise.
7574         * io/ttyname_r.c (__ttyname_r): Likewise.
7575         * io/umask.c (__umask): Likewise.
7576         * io/unlink.c (__unlink): Likewise.
7577         * io/unlinkat.c (unlinkat): Likewise.
7578         * io/utime.c (utime): Likewise.
7579         * libio/clearerr.c (clearerr): Likewise.
7580         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7581         * libio/feof.c (_IO_feof): Likewise.
7582         * libio/feof_u.c (feof_unlocked): Likewise.
7583         * libio/ferror.c (_IO_ferror): Likewise.
7584         * libio/ferror_u.c (ferror_unlocked): Likewise.
7585         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7586         * libio/fileno.c (__fileno): Likewise.
7587         * libio/fputc.c (fputc): Likewise.
7588         * libio/fputc_u.c (fputc_unlocked): Likewise.
7589         * libio/fputwc.c (fputwc): Likewise.
7590         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7591         * libio/freopen.c (freopen): Likewise.
7592         * libio/freopen64.c (freopen64): Likewise.
7593         * libio/fseek.c (fseek): Likewise.
7594         * libio/fseeko.c (fseeko): Likewise.
7595         * libio/fseeko64.c (fseeko64): Likewise.
7596         * libio/ftello.c (__ftello): Likewise.
7597         * libio/ftello64.c (ftello64): Likewise.
7598         * libio/fwide.c (fwide): Likewise.
7599         * libio/genops.c (_IO_un_link): Likewise.
7600         (_IO_link_in): Likewise.
7601         (_IO_least_marker): Likewise.
7602         (_IO_switch_to_main_get_area): Likewise.
7603         (_IO_switch_to_backup_area): Likewise.
7604         (_IO_switch_to_get_mode): Likewise.
7605         (_IO_free_backup_area): Likewise.
7606         (_IO_switch_to_put_mode): Likewise.
7607         (__overflow): Likewise.
7608         (__underflow): Likewise.
7609         (__uflow): Likewise.
7610         (_IO_setb): Likewise.
7611         (_IO_doallocbuf): Likewise.
7612         (_IO_default_underflow): Likewise.
7613         (_IO_default_uflow): Likewise.
7614         (_IO_default_xsputn): Likewise.
7615         (_IO_sgetn): Likewise.
7616         (_IO_default_xsgetn): Likewise.
7617         (_IO_sync): Likewise.
7618         (_IO_default_setbuf): Likewise.
7619         (_IO_default_seekpos): Likewise.
7620         (_IO_default_doallocate): Likewise.
7621         (_IO_init): Likewise.
7622         (_IO_old_init): Likewise.
7623         (_IO_default_sync): Likewise.
7624         (_IO_default_finish): Likewise.
7625         (_IO_default_seekoff): Likewise.
7626         (_IO_sputbackc): Likewise.
7627         (_IO_sungetc): Likewise.
7628         (_IO_set_column): Likewise.
7629         (_IO_set_column): Likewise.
7630         (_IO_adjust_column): Likewise.
7631         (_IO_get_column): Likewise.
7632         (_IO_init_marker): Likewise.
7633         (_IO_remove_marker): Likewise.
7634         (_IO_marker_difference): Likewise.
7635         (_IO_marker_delta): Likewise.
7636         (_IO_seekmark): Likewise.
7637         (_IO_unsave_markers): Likewise.
7638         (_IO_nobackup_pbackfail): Likewise.
7639         (_IO_default_pbackfail): Likewise.
7640         (_IO_default_seek): Likewise.
7641         (_IO_default_stat): Likewise.
7642         (_IO_default_read): Likewise.
7643         (_IO_default_write): Likewise.
7644         (_IO_default_showmanyc): Likewise.
7645         (_IO_default_imbue): Likewise.
7646         (_IO_iter_next): Likewise.
7647         (_IO_iter_file): Likewise.
7648         * libio/getc.c (_IO_getc): Likewise.
7649         * libio/getwc.c (_IO_getwc): Likewise.
7650         * libio/iofclose.c (_IO_new_fclose): Likewise.
7651         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7652         * libio/iofflush.c (_IO_fflush): Likewise.
7653         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7654         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7655         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7656         * libio/iofgets.c (_IO_fgets): Likewise.
7657         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7658         * libio/iofgetws.c (fgetws): Likewise.
7659         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7660         * libio/iofopen64.c (_IO_fopen64): Likewise.
7661         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7662         (_IO_cookie_write): Likewise.
7663         (_IO_cookie_seek): Likewise.
7664         (_IO_cookie_close): Likewise.
7665         (_IO_cookie_seekoff): Likewise.
7666         (_IO_old_cookie_seek): Likewise.
7667         * libio/iofputs.c (_IO_fputs): Likewise.
7668         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7669         * libio/iofputws.c (fputws): Likewise.
7670         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7671         * libio/iofread.c (_IO_fread): Likewise.
7672         * libio/iofread_u.c (__fread_unlocked): Likewise.
7673         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7674         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7675         * libio/ioftell.c (_IO_ftell): Likewise.
7676         * libio/iofwrite.c (_IO_fwrite): Likewise.
7677         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7678         * libio/iogets.c (_IO_gets): Likewise.
7679         * libio/iopadn.c (_IO_padn): Likewise.
7680         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7681         (_IO_new_popen): Likewise.
7682         (_IO_new_proc_close): Likewise.
7683         * libio/ioputs.c (_IO_puts): Likewise.
7684         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7685         (_IO_seekoff): Likewise.
7686         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7687         (_IO_seekpos): Likewise.
7688         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7689         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7690         * libio/ioungetc.c (_IO_ungetc): Likewise.
7691         * libio/ioungetwc.c (ungetwc): Likewise.
7692         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7693         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7694         * libio/iowpadn.c (_IO_wpadn): Likewise.
7695         * libio/libc_fatal.c (__libc_fatal): Likewise.
7696         * libio/memstream.c (__open_memstream): Likewise.
7697         (_IO_mem_sync): Likewise.
7698         (_IO_mem_finish): Likewise.
7699         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7700         (_IO_old_file_close_it): Likewise.
7701         (_IO_old_file_finish): Likewise.
7702         (_IO_old_file_fopen): Likewise.
7703         (_IO_old_file_attach): Likewise.
7704         (_IO_old_file_setbuf): Likewise.
7705         (_IO_old_do_write): Likewise.
7706         (old_do_write): Likewise.
7707         (_IO_old_file_underflow): Likewise.
7708         (_IO_old_file_overflow): Likewise.
7709         (_IO_old_file_sync): Likewise.
7710         (_IO_old_file_seekoff): Likewise.
7711         (_IO_old_file_write): Likewise.
7712         (_IO_old_file_xsputn): Likewise.
7713         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7714         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7715         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7716         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7717         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7718         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7719         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7720         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7721         (_IO_old_popen): Likewise.
7722         (_IO_old_proc_close): Likewise.
7723         * libio/oldpclose.c (__old_pclose): Likewise.
7724         * libio/pclose.c (__new_pclose): Likewise.
7725         * libio/peekc.c (_IO_peekc_locked): Likewise.
7726         * libio/putc.c (_IO_putc): Likewise.
7727         * libio/putc_u.c (putc_unlocked): Likewise.
7728         * libio/putchar.c (putchar): Likewise.
7729         * libio/putchar_u.c (putchar_unlocked): Likewise.
7730         * libio/putwc.c (putwc): Likewise.
7731         * libio/putwc_u.c (putwc_unlocked): Likewise.
7732         * libio/putwchar.c (putwchar): Likewise.
7733         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7734         * libio/rewind.c (rewind): Likewise.
7735         * libio/setbuf.c (setbuf): Likewise.
7736         * libio/setlinebuf.c (setlinebuf): Likewise.
7737         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7738         * libio/vscanf.c (_IO_vscanf): Likewise.
7739         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7740         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7741         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7742         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7743         (_IO_switch_to_main_wget_area): Likewise.
7744         (_IO_switch_to_wbackup_area): Likewise.
7745         (_IO_wsetb): Likewise.
7746         (_IO_wdefault_pbackfail): Likewise.
7747         (_IO_wdefault_finish): Likewise.
7748         (_IO_wdefault_uflow): Likewise.
7749         (__woverflow): Likewise.
7750         (__wuflow): Likewise.
7751         (__wunderflow): Likewise.
7752         (_IO_wdefault_xsputn): Likewise.
7753         (_IO_wdefault_xsgetn): Likewise.
7754         (_IO_wdoallocbuf): Likewise.
7755         (_IO_wdefault_doallocate): Likewise.
7756         (_IO_switch_to_wget_mode): Likewise.
7757         (_IO_free_wbackup_area): Likewise.
7758         (_IO_switch_to_wput_mode): Likewise.
7759         (_IO_sputbackwc): Likewise.
7760         (_IO_sungetwc): Likewise.
7761         (_IO_adjust_wcolumn): Likewise.
7762         (_IO_init_wmarker): Likewise.
7763         (_IO_wmarker_delta): Likewise.
7764         (_IO_seekwmark): Likewise.
7765         (_IO_unsave_wmarkers): Likewise.
7766         * libio/wmemstream.c (open_wmemstream): Likewise.
7767         (_IO_wmem_sync): Likewise.
7768         (_IO_wmem_finish): Likewise.
7769         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7770         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7771         * locale/programs/simple-hash.c (init_hash): Likewise.
7772         (delete_hash): Likewise.
7773         (insert_entry): Likewise.
7774         (set_entry): Likewise.
7775         (next_prime): Likewise.
7776         (is_prime): Likewise.
7777         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7778         (xmalloc): Likewise.
7779         (xrealloc): Likewise.
7780         * locale/programs/xstrdup.c (xstrdup): Likewise.
7781         * localedata/collate-test.c (xstrcoll): Likewise.
7782         * localedata/xfrm-test.c (xstrcmp): Likewise.
7783         * login/getlogin_r.c (__getlogin_r): Likewise.
7784         * login/getpt.c (__posix_openpt): Likewise.
7785         * login/login_tty.c (login_tty): Likewise.
7786         * login/setlogin.c (setlogin): Likewise.
7787         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7788         (mach_msg_destroy_port): Likewise.
7789         (mach_msg_destroy_memory): Likewise.
7790         * malloc/mcheck.c (flood): Likewise.
7791         * misc/acct.c (acct): Likewise.
7792         * misc/brk.c (__brk): Likewise.
7793         * misc/chflags.c (chflags): Likewise.
7794         * misc/chroot.c (chroot): Likewise.
7795         * misc/fchflags.c (fchflags): Likewise.
7796         * misc/fstab.c (getfsspec): Likewise.
7797         (getfsfile): Likewise.
7798         * misc/fsync.c (fsync): Likewise.
7799         * misc/ftruncate.c (__ftruncate): Likewise.
7800         * misc/ftruncate64.c (__ftruncate64): Likewise.
7801         * misc/getdomain.c (getdomainname): Likewise.
7802         (getdomainname): Likewise.
7803         * misc/gethostname.c (__gethostname): Likewise.
7804         * misc/getpass.c (getpass): Likewise.
7805         * misc/getttyent.c (skip): Likewise.
7806         (value): Likewise.
7807         * misc/gtty.c (gtty): Likewise.
7808         * misc/hsearch.c (hsearch): Likewise.
7809         (hcreate): Likewise.
7810         * misc/hsearch_r.c (__hcreate_r): Likewise.
7811         (__hdestroy_r): Likewise.
7812         * misc/ioctl.c (__ioctl): Likewise.
7813         * misc/mkdtemp.c (mkdtemp): Likewise.
7814         * misc/mkostemp.c (mkostemp): Likewise.
7815         * misc/mkostemp64.c (mkostemp64): Likewise.
7816         * misc/mkostemps.c (mkostemps): Likewise.
7817         * misc/mkostemps64.c (mkostemps64): Likewise.
7818         * misc/mkstemp.c (mkstemp): Likewise.
7819         * misc/mkstemp64.c (mkstemp64): Likewise.
7820         * misc/mkstemps.c (mkstemps): Likewise.
7821         * misc/mkstemps64.c (mkstemps64): Likewise.
7822         * misc/mktemp.c (__mktemp): Likewise.
7823         * misc/preadv.c (preadv): Likewise.
7824         * misc/preadv64.c (preadv64): Likewise.
7825         * misc/pwritev.c (pwritev): Likewise.
7826         * misc/pwritev64.c (pwritev64): Likewise.
7827         * misc/readv.c (__readv): Likewise.
7828         * misc/revoke.c (revoke): Likewise.
7829         * misc/setdomain.c (setdomainname): Likewise.
7830         * misc/setegid.c (setegid): Likewise.
7831         * misc/seteuid.c (seteuid): Likewise.
7832         * misc/sethostid.c (sethostid): Likewise.
7833         * misc/sethostname.c (sethostname): Likewise.
7834         * misc/setregid.c (__setregid): Likewise.
7835         * misc/setreuid.c (__setreuid): Likewise.
7836         * misc/sstk.c (sstk): Likewise.
7837         * misc/stty.c (stty): Likewise.
7838         * misc/syscall.c (syscall): Likewise.
7839         * misc/syslog.c (setlogmask): Likewise.
7840         * misc/truncate.c (__truncate): Likewise.
7841         * misc/truncate64.c (truncate64): Likewise.
7842         * misc/ualarm.c (ualarm): Likewise.
7843         * misc/usleep.c (usleep): Likewise.
7844         * misc/ustat.c (ustat): Likewise.
7845         * misc/writev.c (__writev): Likewise.
7846         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7847         * nptl/old_pthread_cond_broadcast.c
7848         (__pthread_cond_broadcast_2_0): Likewise.
7849         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7850         Likewise.
7851         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7852         Likewise.
7853         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7854         Likewise.
7855         * nptl/pt-raise.c (raise): Likewise.
7856         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7857         Likewise.
7858         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7859         * nptl/pthread_barrierattr_destroy.c
7860         (pthread_barrierattr_destroy): Likewise.
7861         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7862         Likewise.
7863         * nptl/pthread_barrierattr_setpshared.c
7864         (pthread_barrierattr_setpshared): Likewise.
7865         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7866         Likewise.
7867         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7868         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7869         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7870         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7871         Likewise.
7872         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7873         Likewise.
7874         * nptl/pthread_condattr_getpshared.c
7875         (pthread_condattr_getpshared): Likewise.
7876         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7877         Likewise.
7878         * nptl/pthread_condattr_setpshared.c
7879         (pthread_condattr_setpshared): Likewise.
7880         * nptl/pthread_detach.c (pthread_detach): Likewise.
7881         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7882         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7883         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7884         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7885         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7886         Likewise.
7887         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7888         Likewise.
7889         * nptl/pthread_mutex_getprioceiling.c
7890         (pthread_mutex_getprioceiling): Likewise.
7891         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7892         Likewise.
7893         * nptl/pthread_mutexattr_getprotocol.c
7894         (pthread_mutexattr_getprotocol): Likewise.
7895         * nptl/pthread_mutexattr_getpshared.c
7896         (pthread_mutexattr_getpshared): Likewise.
7897         * nptl/pthread_mutexattr_getrobust.c
7898         (pthread_mutexattr_getrobust): Likewise.
7899         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7900         Likewise.
7901         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7902         Likewise.
7903         * nptl/pthread_mutexattr_setprioceiling.c
7904         (pthread_mutexattr_setprioceiling): Likewise.
7905         * nptl/pthread_mutexattr_setprotocol.c
7906         (pthread_mutexattr_setprotocol): Likewise.
7907         * nptl/pthread_mutexattr_setpshared.c
7908         (pthread_mutexattr_setpshared): Likewise.
7909         * nptl/pthread_mutexattr_setrobust.c
7910         (pthread_mutexattr_setrobust): Likewise.
7911         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7912         Likewise.
7913         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7914         Likewise.
7915         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7916         Likewise.
7917         * nptl/pthread_rwlockattr_getkind_np.c
7918         (pthread_rwlockattr_getkind_np): Likewise.
7919         * nptl/pthread_rwlockattr_getpshared.c
7920         (pthread_rwlockattr_getpshared): Likewise.
7921         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7922         Likewise.
7923         * nptl/pthread_rwlockattr_setkind_np.c
7924         (pthread_rwlockattr_setkind_np): Likewise.
7925         * nptl/pthread_rwlockattr_setpshared.c
7926         (pthread_rwlockattr_setpshared): Likewise.
7927         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7928         Likewise.
7929         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7930         Likewise.
7931         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7932         Likewise.
7933         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7934         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7935         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7936         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7937         * nptl/sem_close.c (sem_close): Likewise.
7938         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7939         * nptl/sem_init.c (__old_sem_init): Likewise.
7940         * nptl/sigaction.c (__sigaction): Likewise.
7941         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7942         * posix/_exit.c (_exit): Likewise.
7943         * posix/alarm.c (alarm): Likewise.
7944         * posix/confstr.c (confstr): Likewise.
7945         * posix/fpathconf.c (__fpathconf): Likewise.
7946         * posix/getgroups.c (__getgroups): Likewise.
7947         * posix/getpgid.c (__getpgid): Likewise.
7948         * posix/group_member.c (__group_member): Likewise.
7949         * posix/pathconf.c (__pathconf): Likewise.
7950         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7951         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7952         * posix/setgid.c (__setgid): Likewise.
7953         * posix/setpgid.c (__setpgid): Likewise.
7954         * posix/setuid.c (__setuid): Likewise.
7955         * posix/sleep.c (__sleep): Likewise.
7956         * posix/sysconf.c (__sysconf): Likewise.
7957         * posix/times.c (__times): Likewise.
7958         * posix/uname.c (__uname): Likewise.
7959         * posix/waitid.c (__waitid): Likewise.
7960         * pwd/getpw.c (__getpw): Likewise.
7961         * resolv/base64.c (b64_pton): Likewise.
7962         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7963         * resolv/gethnamaddr.c (Dprintf): Likewise.
7964         (gethostbyname): Likewise.
7965         (gethostbyname2): Likewise.
7966         (gethostbyaddr): Likewise.
7967         (_sethtent): Likewise.
7968         (_gethtbyname): Likewise.
7969         (_gethtbyname2): Likewise.
7970         (_gethtbyaddr): Likewise.
7971         (map_v4v6_address): Likewise.
7972         (map_v4v6_hostent): Likewise.
7973         (addrsort): Likewise.
7974         (ht_sethostent): Likewise.
7975         (ht_gethostbyname): Likewise.
7976         (ht_gethostbyaddr): Likewise.
7977         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7978         (inet_net_ntop_ipv4): Likewise.
7979         * resolv/inet_neta.c (inet_neta): Likewise.
7980         * resolv/inet_ntop.c (inet_ntop): Likewise.
7981         (inet_ntop4): Likewise.
7982         (inet_ntop6): Likewise.
7983         * resolv/inet_pton.c (__inet_pton): Likewise.
7984         (inet_pton4): Likewise.
7985         (inet_pton6): Likewise.
7986         * resolv/res_debug.c (loc_aton): Likewise.
7987         (loc_ntoa): Likewise.
7988         * resource/getpriority.c (__getpriority): Likewise.
7989         * resource/getrusage.c (__getrusage): Likewise.
7990         * resource/nice.c (nice): Likewise.
7991         * resource/setpriority.c (__setpriority): Likewise.
7992         * resource/setrlimit64.c (setrlimit64): Likewise.
7993         * resource/vlimit.c (vlimit): Likewise.
7994         * resource/vtimes.c (vtimes): Likewise.
7995         * rt/aio_error.c (aio_error): Likewise.
7996         * rt/aio_return.c (aio_return): Likewise.
7997         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7998         * signal/kill.c (__kill): Likewise.
7999         * signal/killpg.c (killpg): Likewise.
8000         * signal/raise.c (raise): Likewise.
8001         * signal/sigaction.c (__sigaction): Likewise.
8002         * signal/sigaddset.c (sigaddset): Likewise.
8003         * signal/sigaltstack.c (sigaltstack): Likewise.
8004         * signal/sigandset.c (sigandset): Likewise.
8005         * signal/sigblock.c (__sigblock): Likewise.
8006         * signal/sigdelset.c (sigdelset): Likewise.
8007         * signal/sigempty.c (sigemptyset): Likewise.
8008         * signal/sigfillset.c (sigfillset): Likewise.
8009         * signal/sighold.c (sighold): Likewise.
8010         * signal/sigignore.c (sigignore): Likewise.
8011         * signal/sigintr.c (siginterrupt): Likewise.
8012         * signal/sigisempty.c (sigisemptyset): Likewise.
8013         * signal/sigismem.c (sigismember): Likewise.
8014         * signal/signal.c (signal): Likewise.
8015         * signal/sigorset.c (sigorset): Likewise.
8016         * signal/sigpause.c (__sigpause): Likewise.
8017         * signal/sigpending.c (sigpending): Likewise.
8018         * signal/sigprocmask.c (__sigprocmask): Likewise.
8019         * signal/sigrelse.c (sigrelse): Likewise.
8020         * signal/sigreturn.c (__sigreturn): Likewise.
8021         * signal/sigset.c (sigset): Likewise.
8022         * signal/sigsetmask.c (__sigsetmask): Likewise.
8023         * signal/sigstack.c (sigstack): Likewise.
8024         * signal/sigsuspend.c (__sigsuspend): Likewise.
8025         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8026         * signal/sysv_signal.c (__sysv_signal): Likewise.
8027         * socket/accept.c (accept): Likewise.
8028         * socket/accept4.c (__libc_accept4): Likewise.
8029         * socket/bind.c (__bind): Likewise.
8030         * socket/connect.c (__connect): Likewise.
8031         * socket/getpeername.c (getpeername): Likewise.
8032         * socket/getsockname.c (__getsockname): Likewise.
8033         * socket/getsockopt.c (getsockopt): Likewise.
8034         * socket/listen.c (__listen): Likewise.
8035         * socket/recv.c (__recv): Likewise.
8036         * socket/recvmsg.c (__recvmsg): Likewise.
8037         * socket/send.c (__send): Likewise.
8038         * socket/sendmsg.c (__sendmsg): Likewise.
8039         * socket/shutdown.c (shutdown): Likewise.
8040         * socket/sockatmark.c (sockatmark): Likewise.
8041         * socket/socket.c (__socket): Likewise.
8042         * stdio-common/ctermid.c (ctermid): Likewise.
8043         * stdio-common/cuserid.c (cuserid): Likewise.
8044         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8045         * stdio-common/remove.c (remove): Likewise.
8046         * stdio-common/rename.c (rename): Likewise.
8047         * stdio-common/renameat.c (renameat): Likewise.
8048         * stdio-common/tempname.c (__gen_tempname): Likewise.
8049         * stdio-common/xbug.c (InitBuffer): Likewise.
8050         (AppendToBuffer): Likewise.
8051         (ReadFile): Likewise.
8052         * stdlib/a64l.c (a64l): Likewise.
8053         * stdlib/drand48_r.c (drand48_r): Likewise.
8054         * stdlib/getcontext.c (getcontext): Likewise.
8055         * stdlib/getenv.c (getenv): Likewise.
8056         * stdlib/l64a.c (l64a): Likewise.
8057         * stdlib/llabs.c (llabs): Likewise.
8058         * stdlib/lldiv.c (lldiv): Likewise.
8059         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8060         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8061         * stdlib/putenv.c (putenv): Likewise.
8062         * stdlib/random.c (__srandom): Likewise.
8063         (__initstate): Likewise.
8064         (__setstate): Likewise.
8065         * stdlib/random_r.c (__srandom_r): Likewise.
8066         (__setstate_r): Likewise.
8067         (__random_r): Likewise.
8068         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8069         * stdlib/setcontext.c (setcontext): Likewise.
8070         * stdlib/setenv.c (setenv): Likewise.
8071         (unsetenv): Likewise.
8072         * stdlib/srand48.c (srand48): Likewise.
8073         * stdlib/srand48_r.c (__srand48_r): Likewise.
8074         * stdlib/swapcontext.c (swapcontext): Likewise.
8075         * stdlib/system.c (__libc_system): Likewise.
8076         * stdlib/tst-strtod.c (expand): Likewise.
8077         * stdlib/tst-strtol.c (expand): Likewise.
8078         * stdlib/tst-strtoll.c (expand): Likewise.
8079         * streams/fattach.c (fattach): Likewise.
8080         * streams/fdetach.c (fdetach): Likewise.
8081         * streams/getmsg.c (getmsg): Likewise.
8082         * streams/isastream.c (isastream): Likewise.
8083         * string/ffs.c (__ffs): Likewise.
8084         * string/ffsll.c (ffsll): Likewise.
8085         * string/memcmp.c (memcmp_common_alignment): Likewise.
8086         (memcmp_not_common_alignment): Likewise.
8087         (MEMCMP): Likewise.
8088         * string/memcpy.c (memcpy): Likewise.
8089         * string/memmove.c (MEMMOVE): Likewise.
8090         * string/memset.c (memset): Likewise.
8091         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8092         * string/strchrnul.c (STRCHRNUL): Likewise.
8093         * string/strerror.c (strerror): Likewise.
8094         * string/strndup.c (__strndup): Likewise.
8095         * string/strverscmp.c (__strverscmp): Likewise.
8096         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8097         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8098         (clnttcp_freeres): Likewise.
8099         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8100         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8101         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8102         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8103         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8104         (xdr_callhdr): Likewise.
8105         * sunrpc/rpcinfo.c (udpping): Likewise.
8106         (tcpping): Likewise.
8107         (pstatus): Likewise.
8108         (pmapdump): Likewise.
8109         (brdcst): Likewise.
8110         (deletereg): Likewise.
8111         (getprognum): Likewise.
8112         (getvers): Likewise.
8113         (get_inet_address): Likewise.
8114         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8115         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8116         (svcudp_stat): Likewise.
8117         (svcudp_recv): Likewise.
8118         (svcudp_reply): Likewise.
8119         (svcudp_getargs): Likewise.
8120         (svcudp_freeargs): Likewise.
8121         (svcudp_destroy): Likewise.
8122         * sunrpc/xdr.c (xdr_bytes): Likewise.
8123         (xdr_netobj): Likewise.
8124         (xdr_string): Likewise.
8125         (xdr_wrapstring): Likewise.
8126         * sunrpc/xdr_float.c (xdr_float): Likewise.
8127         (xdr_double): Likewise.
8128         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8129         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8130         * sysvipc/ftok.c (ftok): Likewise.
8131         * sysvipc/msgctl.c (msgctl): Likewise.
8132         * sysvipc/msgget.c (msgget): Likewise.
8133         * sysvipc/msgrcv.c (msgrcv): Likewise.
8134         * sysvipc/msgsnd.c (msgsnd): Likewise.
8135         * sysvipc/semget.c (semget): Likewise.
8136         * sysvipc/semop.c (semop): Likewise.
8137         * sysvipc/shmat.c (shmat): Likewise.
8138         * sysvipc/shmctl.c (shmctl): Likewise.
8139         * sysvipc/shmdt.c (shmdt): Likewise.
8140         * sysvipc/shmget.c (shmget): Likewise.
8141         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8142         * termios/speed.c (cfgetospeed): Likewise.
8143         (cfgetispeed): Likewise.
8144         (cfsetospeed): Likewise.
8145         (cfsetispeed): Likewise.
8146         * termios/tcflow.c (tcflow): Likewise.
8147         * termios/tcflush.c (tcflush): Likewise.
8148         * termios/tcgetattr.c (__tcgetattr): Likewise.
8149         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8150         * termios/tcgetsid.c (tcgetsid): Likewise.
8151         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8152         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8153         * time/adjtime.c (__adjtime): Likewise.
8154         * time/dysize.c (dysize): Likewise.
8155         * time/ftime.c (ftime): Likewise.
8156         * time/getitimer.c (__getitimer): Likewise.
8157         * time/gettimeofday.c (__gettimeofday): Likewise.
8158         * time/gmtime.c (__gmtime_r): Likewise.
8159         (gmtime): Likewise.
8160         * time/localtime.c (__localtime_r): Likewise.
8161         (localtime): Likewise.
8162         * time/offtime.c (__offtime): Likewise.
8163         * time/settimeofday.c (__settimeofday): Likewise.
8164         * time/stime.c (stime): Likewise.
8165         * time/strftime_l.c (tm_diff): Likewise.
8166         (iso_week_days): Likewise.
8167         * time/strptime.c (strptime): Likewise.
8168         * time/time.c (time): Likewise.
8169         * time/timespec_get.c (timespec_get): Likewise.
8170         * time/tzset.c (tzset_internal): Likewise.
8171         (compute_change): Likewise.
8172         (__tz_compute): Likewise.
8173         * wcsmbs/btowc.c (__btowc): Likewise.
8174         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8175         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8176         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8177         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8178         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8179         * wcsmbs/wcscat.c (__wcscat): Likewise.
8180         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8181         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8182         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8183         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8184         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8185         * wcsmbs/wcslen.c (__wcslen): Likewise.
8186         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8187         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8188         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8189         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8190         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8191         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8192         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8193         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8194         * wcsmbs/wcstok.c (wcstok): Likewise.
8195         * wcsmbs/wctob.c (wctob): Likewise.
8196         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8197         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8198         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8199         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8200         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8201         * wcsmbs/wmemset.c (__wmemset): Likewise.
8202         * wctype/wcfuncs.c (__towlower): Likewise.
8203         (__towupper): Likewise.
8205         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8206         (lll_unlock_elision): Add adapt_count parameter.
8208 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8210         * sysdeps/nptl/configure.ac: Do not give errors based on the
8211         results of top-level configure tests.
8212         * sysdeps/nptl/configure: Regenerated.
8214         * configure.ac (libc_cv_Bgroup): Remove configure test.
8215         * configure: Regenerated.
8216         * config.make.in (have-Bgroup): Remove variable.
8218         * configure.ac (sizeof_long_double): Remove configure test.
8219         * configure: Regenerated.
8220         * config.make.in (sizeof-long-double): Remove variable.
8222         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8223         * configure: Regenerated.
8224         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8225         variable.
8226         (exceptions): Likewise.
8227         * sysdeps/arm/configure: Regenerated.
8228         * config.make.in (exceptions): Remove variable.
8229         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8230         $(exceptions).
8231         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8232         (CFLAGS-vdprintf_chk.c): Likewise.
8233         (CFLAGS-printf_chk.c): Likewise.
8234         (CFLAGS-fprintf_chk.c): Likewise.
8235         (CFLAGS-vprintf_chk.c): Likewise.
8236         (CFLAGS-vfprintf_chk.c): Likewise.
8237         (CFLAGS-gets_chk.c): Likewise.
8238         (CFLAGS-fgets_chk.c): Likewise.
8239         (CFLAGS-fgets_u_chk.c): Likewise.
8240         (CFLAGS-fread_chk.c): Likewise.
8241         (CFLAGS-fread_u_chk.c): Likewise.
8242         (CFLAGS-wprintf_chk.c): Likewise.
8243         (CFLAGS-fwprintf_chk.c): Likewise.
8244         (CFLAGS-vwprintf_chk.c): Likewise.
8245         (CFLAGS-vfwprintf_chk.c): Likewise.
8246         (CFLAGS-fgetws_chk.c): Likewise.
8247         (CFLAGS-fgetws_u_chk.c): Likewise.
8248         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8249         (CFLAGS-fputc.c): Likewise.
8250         (CFLAGS-fputwc.c): Likewise.
8251         (CFLAGS-freopen64.c): Likewise.
8252         (CFLAGS-freopen.c): Likewise.
8253         (CFLAGS-fseek.c): Likewise.
8254         (CFLAGS-fseeko64.c): Likewise.
8255         (CFLAGS-fseeko.c): Likewise.
8256         (CFLAGS-ftello64.c): Likewise.
8257         (CFLAGS-ftello.c): Likewise.
8258         (CFLAGS-fwide.c): Likewise.
8259         (CFLAGS-genops.c): Likewise.
8260         (CFLAGS-getc.c): Likewise.
8261         (CFLAGS-getchar.c): Likewise.
8262         (CFLAGS-getwc.c): Likewise.
8263         (CFLAGS-getwchar.c): Likewise.
8264         (CFLAGS-iofclose.c): Likewise.
8265         (CFLAGS-iofflush.c): Likewise.
8266         (CFLAGS-iofgetpos64.c): Likewise.
8267         (CFLAGS-iofgetpos.c): Likewise.
8268         (CFLAGS-iofgets.c): Likewise.
8269         (CFLAGS-iofgetws.c): Likewise.
8270         (CFLAGS-iofputs.c): Likewise.
8271         (CFLAGS-iofputws.c): Likewise.
8272         (CFLAGS-iofread.c): Likewise.
8273         (CFLAGS-iofsetpos64.c): Likewise.
8274         (CFLAGS-iofsetpos.c): Likewise.
8275         (CFLAGS-ioftell.c): Likewise.
8276         (CFLAGS-iofwrite.c): Likewise.
8277         (CFLAGS-iogetdelim.c): Likewise.
8278         (CFLAGS-iogetline.c): Likewise.
8279         (CFLAGS-iogets.c): Likewise.
8280         (CFLAGS-iogetwline.c): Likewise.
8281         (CFLAGS-ioputs.c): Likewise.
8282         (CFLAGS-ioseekoff.c): Likewise.
8283         (CFLAGS-ioseekpos.c): Likewise.
8284         (CFLAGS-iosetbuffer.c): Likewise.
8285         (CFLAGS-iosetvbuf.c): Likewise.
8286         (CFLAGS-ioungetc.c): Likewise.
8287         (CFLAGS-ioungetwc.c): Likewise.
8288         (CFLAGS-oldfileops.c): Likewise.
8289         (CFLAGS-oldiofclose.c): Likewise.
8290         (CFLAGS-oldiofgetpos64.c): Likewise.
8291         (CFLAGS-oldiofgetpos.c): Likewise.
8292         (CFLAGS-oldiofsetpos64.c): Likewise.
8293         (CFLAGS-oldiofsetpos.c): Likewise.
8294         (CFLAGS-peekc.c): Likewise.
8295         (CFLAGS-putc.c): Likewise.
8296         (CFLAGS-putchar.c): Likewise.
8297         (CFLAGS-putwc.c): Likewise.
8298         (CFLAGS-putwchar.c): Likewise.
8299         (CFLAGS-rewind.c): Likewise.
8300         (CFLAGS-wfileops.c): Likewise.
8301         (CFLAGS-wgenops.c): Likewise.
8302         (CFLAGS-oldiofopen.c): Likewise.
8303         (CFLAGS-iofopen.c): Likewise.
8304         (CFLAGS-iofopen64.c): Likewise.
8305         (CFLAGS-oldtmpfile.c): Likewise.
8306         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8307         (CFLAGS-fprintf.c): Likewise.
8308         (CFLAGS-printf.c): Likewise.
8309         (CFLAGS-vfwprintf.c): Likewise.
8310         (CFLAGS-vfscanf.c): Likewise.
8311         (CFLAGS-vfwscanf.c): Likewise.
8312         (CFLAGS-fscanf.c): Likewise.
8313         (CFLAGS-scanf.c): Likewise.
8314         (CFLAGS-isoc99_vfscanf.c): Likewise.
8315         (CFLAGS-isoc99_vscanf.c): Likewise.
8316         (CFLAGS-isoc99_fscanf.c): Likewise.
8317         (CFLAGS-isoc99_scanf.c): Likewise.
8318         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8319         (CFLAGS-isoc99_fwscanf.c): Likewise.
8320         (CFLAGS-isoc99_vwscanf.c): Likewise.
8321         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8323         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8324         after mkstemp64.
8325         * login/tst-utmp.c (do_prepare): Likewise.
8326         * rt/tst-aio.c (do_prepare): Likewise.
8327         * rt/tst-aio64.c (do_prepare): Likewise.
8329 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8331         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8332         (__lll_lock_elision): Remove adapt_count decrement...
8333         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8334         (__lll_trylock_elision): Likewise.
8335         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8336         (__lll_unlock_elision): ... to here. And utilize
8337         new adapt_count parameter.
8338         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8339         (__lll_unlock_elision): Update to include adapt_count
8340         parameter.
8341         (lll_unlock_elision): Pass pointer to adapt_count
8342         variable.
8344 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8346         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8347         Add elision adapt_count parameter to list of arguments.
8348         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8349         (lll_unlock_elision): Update with new parameter list
8350         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8351         (lll_unlock_elision): Likewise.
8352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8353         (lll_unlock_elision): Likewise.
8355 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8357         [BZ #19122]
8358         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8359         attribute_hidden.
8361         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8362         attribute_hidden.
8363         [IS_IN (rtld)] (__strdup): Likewise.
8364         [IS_IN (rtld)] (__strerror_r): Likewise.
8365         [IS_IN (rtld)] (__strsep_g): Likewise.
8366         [IS_IN (rtld)] (memchr): Likewise.
8367         [IS_IN (rtld)] (memcmp): Likewise.
8368         [IS_IN (rtld)] (memcpy): Likewise.
8369         [IS_IN (rtld)] (memmove): Likewise.
8370         [IS_IN (rtld)] (memset): Likewise.
8371         [IS_IN (rtld)] (rawmemchr): Likewise.
8372         [IS_IN (rtld)] (stpcpy): Likewise.
8373         [IS_IN (rtld)] (strchr): Likewise.
8374         [IS_IN (rtld)] (strcmp): Likewise.
8375         [IS_IN (rtld)] (strlen): Likewise.
8376         [IS_IN (rtld)] (strnlen): Likewise.
8377         [IS_IN (rtld)] (strsep): Likewise.
8379         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8380         attribute_hidden.
8381         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8383         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8384         attribute_hidden.
8385         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8387         * include/setjmp.h (__longjmp): Add attribute_hidden.
8388         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8390         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8391         Add attribute_hidden.
8393         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8394         [IS_IN (rtld)] (__open): Likewise.
8395         [IS_IN (rtld)] (__fcntl): Likewise.
8397         * include/dirent.h (__opendirat): Add attribute_hidden.
8398         (__getdents): Likewise.
8399         (__getdents64): Likewise.
8400         (__alloc_dir): Likewise.
8401         [IS_IN (rtld)] (__closedir): Likewise.
8402         [IS_IN (rtld)] (__fdopendir): Likewise.
8403         [IS_IN (rtld)] (__readdir): Likewise.
8404         [IS_IN (rtld)] (__readdir64): Likewise.
8405         [IS_IN (rtld)] (__rewinddir): Likewise.
8407         * include/dlfcn.h (_dl_catch_error): Moved to ...
8408         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8409         attribute_hidden.
8411         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8412         (_itoa_word): Likewise.
8414         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8415         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8416         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8417         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8418         (_dl_higher_prime_number): Likewise.
8419         (_dl_debug_printf_c): Likewise.
8420         (_dl_signal_cerror): Likewise.
8421         (_dl_receive_error): Likewise.
8422         (_dl_reloc_bad_type): Likewise.
8423         (_dl_resolve_conflicts): Likewise.
8424         (_dl_check_all_versions): Likewise.
8425         (_dl_check_map_versions): Likewise.
8426         (_dl_sort_fini): Likewise.
8427         (_dl_debug_initialize): Likewise.
8428         (_dl_init_paths): Likewise.
8429         (_dl_show_auxv): Likewise.
8430         (_dl_next_ld_env_entry): Likewise.
8431         (_dl_important_hwcaps): Likewise.
8432         (_dl_load_cache_lookup): Likewise.
8433         (_dl_update_slotinfo): Likewise.
8434         (_dl_show_scope): Likewise.
8436         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8437         attribute_hidden.
8438         (_wordcopy_fwd_dest_aligned): Likewise.
8439         (_wordcopy_bwd_aligned): Likewise.
8440         (_wordcopy_bwd_dest_aligned): Likewise.
8442         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8443         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8444         Likewise.
8445         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8446         Likewise.
8447         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8449 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8451         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8452         GCC 5 requirement.
8454 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8456         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8457         test.
8458         * sysdeps/i386/configure: Regenerated.
8459         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8460         code unconditional.
8462         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8463         test.
8464         (libc_cv_asm_popsection_directive): Likewise.
8465         * configure: Regenerated.
8466         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8467         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8468         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8469         (__make_section_unallocated): Make definition unconditional.
8470         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8471         Remove conditional definition.
8472         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8473         (__make_section_unallocated): Likewise.
8475         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8476         * configure: Regenerated.
8477         * config.make.in (static-libgcc): Remove variable.
8478         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8479         $(static-libgcc).
8480         (build-module-helper): Likewise.
8482         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8483         * configure: Regenerated.
8485 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8487         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8488         (struct char_buffer): New type.
8489         (char_buffer_start, char_buffer_size, char_buffer_error)
8490         (char_buffer_rewind, char_buffer_add): New functions.
8491         (ADDW): Remove macro, replaced by the char_buffer_add function.
8492         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8493         of extend_alloca.  Make control flow more explicit.
8495 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8497         [BZ #19137]
8498         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8499         Add -fomit-frame-pointer.
8500         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8502 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8504         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8505         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8507         only if !__GNUC_PREREQ (5,0).
8508         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8509         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8510         (INTERNAL_SYSCALL_NCS): Likewise.
8511         (LOADREGS_0): New macro for GCC 5.
8512         (ASMARGS_0): Likewise.
8513         (LOADREGS_1): Likewise.
8514         (ASMARGS_1): Likewise.
8515         (LOADREGS_2): Likewise.
8516         (ASMARGS_2): Likewise.
8517         (LOADREGS_3): Likewise.
8518         (ASMARGS_3): Likewise.
8519         (LOADREGS_4): Likewise.
8520         (ASMARGS_4): Likewise.
8521         (LOADREGS_5): Likewise.
8522         (ASMARGS_5): Likewise.
8523         (LOADREGS_6): Likewise.
8524         (ASMARGS_6): Likewise.
8526 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8528         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8529         -fomit-frame-pointer.
8530         (CFLAGS-mmap64.c): Likewise.
8531         (CFLAGS-semtimedop.c): Likewise.
8532         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8533         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8534         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8535         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8537 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8539         [BZ #18928]
8540         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8541         _dl_pointer_guard member.
8542         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8543         initializer.
8544         (security_init): Always set up pointer guard.
8545         (process_envvars): Do not process LD_POINTER_GUARD.
8547 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8549         [BZ #19134]
8550         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8551         (.LC2): Likewise.
8552         (.LC3): Likewise.
8553         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8555 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8557         [BZ #19129]
8558         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8559         r0 and r1.
8561 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8563         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8565 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8567         * include/stap-probe.h: Fix macro definition formatting.
8569 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8571         [BZ #19074]
8572         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8573         load and store num_ifs.
8575 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8577         [BZ #18822]
8578         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8579         (__sched_getaffinity_new): Add libc_hidden_proto and
8580         libc_hidden_def.
8582 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8584         [BZ #19007]
8585         * scripts/localplt.awk: Also allow GOT references.
8586         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8587         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8588         with "+ REL R_386_GLOB_DAT".
8589         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8590         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8592 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8594         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8595         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8596         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8597         Likewise.
8598         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8599         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8600         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8601         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8602         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8603         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8604         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8605         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8606         Likewise.
8607         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8609 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8611         [BZ #19125]
8612         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8613         <math_private.h> and <stdint.h>.
8614         (__llround): Avoid conversions to and from long long int, and
8615         subtractions, where those might raise spurious exceptions.
8616         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8617         <math_private.h> and <stdint.h>.
8618         (__llroundf): Avoid conversions to and from long long int, and
8619         subtractions, where those might raise spurious exceptions.
8621 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8623         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8624         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8625         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8626         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8627         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8628         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8629         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8630         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8631         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8632         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8633         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8634         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8635         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8636         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8637         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8638         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8639         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8640         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8641         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8642         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8643         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8644         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8645         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8646         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8647         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8648         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8649         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8650         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8651         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8652         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8653         (__xstat64_conv): Likewise.
8654         (__xstat32_conv): Likewise.
8656 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8658         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8659         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8660         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8661         <sysdeps/unix/sysv/linux/sysdep.h>.
8662         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8663         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8664         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8665         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8666         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8667         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8668         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8669         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8670         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8675         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8676         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8678         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8679         (sysdep-dl-routines): Add sysdep.
8680         [$(subdir) == nptl] (libpthread-routines): Likewise.
8681         [$(subdir) == rt] (librt-routines): Likewise.
8682         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8683         PIC when branching to SYSCALL_ERROR_LABEL.
8684         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8685         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8686         <sysdeps/unix/sysv/linux/sysdep.h>.
8687         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8688         (SYSCALL_ERROR_ERRNO): Removed.
8689         (SYSCALL_ERROR_HANDLER): Changed to empty.
8690         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8691         (__syscall_error): New prototype.
8692         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8693         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8695 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8697         [BZ #19124]
8698         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8699         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8700         _dl_runtime_resolve_avx.
8701         (_dl_runtime_profile_avx512): Make it a hidden alias of
8702         _dl_runtime_profile_avx.
8704 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8706         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8707         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8708         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8709         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8711         [BZ #16422]
8712         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8713         New configure test.
8714         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8715         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8716         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8717         <math_private.h> and <stdint.h>.
8718         (__llrint): Avoid conversions to long long int where those might
8719         raise spurious exceptions.
8720         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8721         <math_private.h> and <stdint.h>.
8722         (__llrintf): Avoid conversions to long long int where those might
8723         raise spurious exceptions.
8725 2015-10-12  Andreas Schwab  <schwab@suse.de>
8727         [BZ #18969]
8728         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8729         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8730         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8731         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8732         $(gen-locales).
8733         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8734         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8735         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8736         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8737         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8738         $(gen-locales).
8739         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8740         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8741         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8742         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8743         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8744         ($(objpfx)tst-ftell-active-handler.out)
8745         ($(objpfx)tst-ftell-append.out)
8746         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8747         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8748         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8749         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8750         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8751         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8752         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8753         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8754         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8755         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8756         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8757         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8758         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8759         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8760         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8761         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8762         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8763         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8764         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8765         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8766         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8767         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8768         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8769         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8770         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8771         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8772         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8773         $(gen-locales).
8774         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8775         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8776         $(gen-locales).
8777         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8778         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8779         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8780         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8781         $(gen-locales).
8782         * libio/tst_wprintf2.c (main): Use explicit locale.
8783         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8785 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8787         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8788         __msg_sig_post.
8789         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8791 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8793         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8794         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8796         * sysdeps/arm/libm-test-ulps: Regenerated.
8798         [BZ #15470]
8799         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8801         [BZ #16399]
8802         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8803         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8804         and <fix-fp-int-convert-overflow.h>.
8805         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8806         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8807         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8808         and <fix-fp-int-convert-overflow.h>.
8809         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8810         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8811         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8812         <fix-fp-int-convert-overflow.h>.
8813         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8814         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8815         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8816         <fix-fp-int-convert-overflow.h>.
8817         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8818         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8819         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8820         and <fix-fp-int-convert-overflow.h>.
8821         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8822         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8823         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8824         <limits.h> and <fix-fp-int-convert-overflow.h>.
8825         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8826         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8827         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8828         and <fix-fp-int-convert-overflow.h>.
8829         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8830         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8831         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8832         and <fix-fp-int-convert-overflow.h>.
8833         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8834         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8835         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8837 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8839         [BZ #18589]
8840         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8841         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8842         $(gen-locales).
8844 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8845             Phil Blundell <pb@pbcl.net>
8847         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8848         * nptl/tst-cancel26.c: New file.
8849         * nptl/tst-cancel27.c: Likewise.
8851 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8853         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8854         __ILP32__ isn't defined.
8855         (lrint): Likewise.
8856         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8857         (lrintf): Likewise.
8858         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8859         (lrintl): Likewise.
8860         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8861         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8862         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8864 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8867         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8869         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8870         file.
8871         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8872         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8874 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8876         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8877         configure test.
8878         * sysdeps/i386/configure: Regenerated.
8879         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8880         configure test.
8881         * sysdeps/x86_64/configure: Regenerated.
8882         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8883         Make code unconditional.
8885         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8886         test.
8887         * sysdeps/i386/configure: Regenerated.
8888         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8889         test.
8890         * sysdeps/x86_64/configure: Regenerated.
8891         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8892         Make code unconditional.
8893         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8894         Likewise.
8895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8896         Likewise.
8897         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8898         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8899         code unconditional.
8900         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8901         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8902         code unconditional.
8903         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8904         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8905         code unconditional.
8906         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8907         code unconditional.
8908         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8909         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8910         code unconditional.
8911         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8912         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8913         code unconditional.
8914         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8915         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8916         code unconditional.
8917         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8918         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8919         code unconditional.
8920         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8921         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8923         [BZ #19095]
8924         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8925         mantissa to long int before shifting left.
8927 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8929         [BZ #19094]
8930         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8931         <limits.h>.
8932         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8933         when result overflows but exception would not result from cast.
8934         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8935         <limits.h>.
8936         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8937         when result overflows but exception would not result from cast.
8938         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8939         <limits.h>.
8940         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8941         when result overflows but exception would not result from cast.
8942         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8943         <limits.h>.
8944         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8945         when result overflows but exception would not result from cast.
8946         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8947         <limits.h>.
8948         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8949         when result overflows but exception would not result from cast.
8950         * math/libm-test.inc (lrint_test_data): Add more tests.
8951         (llrint_test_data): Likewise.
8953 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8955         [BZ #18872]
8956         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8957         Move out from under [$(run-built-tests) = yes] conditional.
8958         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8959         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8961 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8963         [BZ #18589]
8964         * string/Makefile (tests): Add bug-strcoll2.
8965         (LOCALES): Add cs_CZ.UTF-8.
8966         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8968         [BZ #18589]
8969         * string/bug-strcoll2.c: New file.
8970         * locale/categories.def: Revert commit
8971         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8972         * locale/langinfo.h: Likewise.
8973         * locale/localeinfo.h: Likewise.
8974         * locale/C-collate.c: Likewise.
8975         * locale/programs/ld-collate.c (collate_output): Likewise.
8976         * string/strcoll_l.c (STRDIFF): Likewise.
8977         (STRCOLL): Likewise.
8978         * wcsmbs/wcscoll_l.c: Likewise.
8980 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8982         * math/libm-test.inc (lround_test_data): Do not expect the absence
8983         of "inexact" for some tests with non-integer arguments.
8984         (llround_test_data): Likewise.
8986         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8987         test.
8988         (libc_cv_cc_sse2avx): Likewise.
8989         * sysdeps/i386/configure: Regenerated.
8990         * sysdeps/i386/i686/multiarch/Makefile
8991         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8992         [$(subdir) = math].
8993         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8994         code unconditional.
8995         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8996         Likewise.
8997         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8998         Likewise.
8999         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9000         Likewise.
9001         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9002         test.
9003         (libc_cv_cc_sse2avx): Likewise.
9004         * sysdeps/x86_64/configure: Regenerated.
9005         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9006         unconditional.
9007         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9008         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9009         unconditional.
9010         (_dl_runtime_profile)
9011         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9012         conditional code.
9013         * sysdeps/x86_64/fpu/multiarch/Makefile
9014         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9015         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9016         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9017         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9018         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9019         * sysdeps/x86_64/fpu/multiarch/e_log.c
9020         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9021         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9022         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9023         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9024         Likewise.
9025         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9026         Likewise.
9027         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9028         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9029         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9030         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9031         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9032         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9033         (HAVE_SSE2AVX_SUPPORT): Likewise.
9035 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9037         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9038         instead of #pragma optimize.
9040 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9042         [BZ #17195]
9043         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9044         as is similarly done in systrim and _int_free already.
9046 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9048         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9050 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9052         [BZ #19088]
9053         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9054         <limits.h>.
9055         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9056         overflows but exception would not result from cast.
9057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9058         and <limits.h>.
9059         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9060         overflows but exception would not result from cast.
9061         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9062         <limits.h>.
9063         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9064         overflows but exception would not result from cast.
9065         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9066         <limits.h>.
9067         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9068         overflows but exception would not result from cast.
9069         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9070         <limits.h>.
9071         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9072         overflows but exception would not result from cast.
9073         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9074         <limits.h>.
9075         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9076         overflows but exception would not result from cast.
9077         * math/libm-test.inc (lround_test_data): Add more tests.
9078         (llround_test_data): Likewise.
9080 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9082         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9083         (CFLAGS-ialloc.c): Ditto.
9084         (CFLAGS-scheck.c): Ditto.
9086 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9088         [BZ #19086]
9089         * manual/filesys.texi (Storage Allocation): Fix argument order for
9090         posix_fallocate64.
9092 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9094         [BZ #19085]
9095         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9096         exponent below 48 inside case for non-overflowing exponent.
9097         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9099 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9101         * iconvdata/cp737.h (from_idx): Add const.
9102         * iconvdata/cp775.h (from_idx): Likewise.
9104 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9106         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9107         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9108         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9110         [BZ #19079]
9111         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9112         file, conditioned on [!_LP64].
9113         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9114         [!_LP64] (__lround): Do not define as function or alias.
9115         [!_LP64] (lround): Likewise.
9116         [!_LP64] (__lroundl): Likewise.
9117         [!_LP64] (lroundl): Likewise.
9118         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9119         macro.
9120         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9121         Likewise.
9123 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9125         * math/libm-test.inc (lrint_test_data): Add more tests.
9126         (llrint_test_data): Likewise.
9127         (lround_test_data): Likewise.
9128         (llround_test_data): Likewise.
9130         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9131         (llrint_test_data): Add tests used for lrint.
9133         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9134         test.
9135         * sysdeps/i386/configure: Regenerated.
9136         * sysdeps/i386/i686/multiarch/Makefile
9137         [$(config-cflags-sse4) = yes]: Make code unconditional.
9138         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9139         Likewise.
9140         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9141         Likewise.
9142         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9143         test.
9144         * sysdeps/x86_64/configure: Regenerated.
9145         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9146         Make code unconditional.
9147         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9148         Likewise.
9149         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9150         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9152         * scripts/rpm2dynsym.sh: Remove file.
9154 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9156         * configure.ac (libc_cv_cxx_thread_local): Define.
9157         * configure: Regenerate.
9158         * config.make.in (have-cxx-thread_local): Define.
9159         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9160         (LDLIBS-tst-thread_local1): Define.
9161         (tests): Add tst-thread_local1.
9162         [have-cxx-thread_local != yes] (tests-unsupported): Add
9163         tst-thread_local1.
9164         * nptl/tst-thread_local1.cc: New file.
9166 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9168         [BZ #19078]
9169         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9170         (u_thres): Likewise.
9171         (__expl): Determine whether to call __kernel_standard_l based on
9172         value of result, not argument.
9174         * math/libm-test.inc (scalb_test_data): Add more expectations for
9175         the "inexact" exception.
9177         [BZ #19077]
9178         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9179         0.0L for argument 1.0L.
9181         [BZ #19076]
9182         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9183         constant 0.0L when computing infinite result.
9185 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9187         [BZ #10432]
9188         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9189         malloc_usable_size.
9191 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9193         [BZ #19018]
9194         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9195         Mangle function pointer before storing it.
9196         (__call_tls_dtors): Demangle function pointer before calling it.
9198 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9200         [BZ #19012]
9201         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9202         Clean up on failure.
9204 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9206         [BZ #19071]
9207         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9208         long int variable to store possibly incremented high part of
9209         mantissa.
9210         * math/libm-test.inc (lround_test_data): Add tests used for
9211         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9212         for tests requiring 64-bit long.  Do not condition tests on
9213         [TEST_FLOAT] unnecessarily.
9214         (llround_test_data): Add tests used for lround.  Add another
9215         expectation for the "inexact" exception.  Do not condition tests
9216         on [TEST_FLOAT] unnecessarily.
9218         [BZ #887]
9219         [BZ #19049]
9220         [BZ #19050]
9221         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9222         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9223         <fix-int-fp-convert-zero.h>.
9224         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9225         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9226         <fix-int-fp-convert-zero.h>.
9227         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9228         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9229         <fix-int-fp-convert-zero.h>.
9230         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9231         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9232         <fix-int-fp-convert-zero.h>.
9233         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9234         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9235         <fix-int-fp-convert-zero.h>.
9236         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9237         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9238         <fix-int-fp-convert-zero.h>.
9239         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9240         * sysdeps/ieee754/flt-32/s_erff.c: Include
9241         <fix-int-fp-convert-zero.h>.
9242         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9243         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9244         <fix-int-fp-convert-zero.h>.
9245         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9247         <fix-int-fp-convert-zero.h>.
9248         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9249         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9250         <fix-int-fp-convert-zero.h>.
9251         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9252         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9253         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9254         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9255         file.
9256         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9258 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9260         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9262 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9264         [BZ #19059]
9265         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9266         overflowing computation.
9267         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9268         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9269         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9270         Likewise.
9271         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9272         Likewise.
9273         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9274         Likewise.
9275         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9276         Likewise.
9277         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9278         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9279         Likewise.
9280         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9281         Likewise.
9282         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9284         * nss/rewrite_field.c (__nss_rewrite_field): Use
9285         internal_function.
9286         * nss/valid_field.c (__nss_valid_field): Likewise.
9287         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9289 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9291         [BZ #18724]
9292         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9293         (__nss_invalid_field_characters, __nss_valid_field)
9294         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9295         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9296         tst-field.c: New file.
9297         * nss/Makefile (routines): Add valid_field, rewrite_field.
9298         (tests-static): Define unconditionally.
9299         (tests): Include tests-static.
9300         [build-static-nss] (tests-static): Use append.
9301         [build-static-nss] (tests): Remove modification.
9302         * nss/getent.c (print_group): Call putgrent.  Report error.
9303         (print_gshadow): Call putsgent.  Report error.
9304         (print_passwd): Call putpwent.  Report error.
9305         (print_shadow): Call putspent.  Report error.
9306         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9307         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9308         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9309         name, password, directory, shell fields for valid syntax.  Rewrite
9310         GECOS field to match syntax.
9311         * pwd/Makefile (tests): Add tst-putpwent.
9312         * pwd/tst-putpwent.c: New file.
9313         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9314         Check grName, grpasswd, gr_mem fields for valid syntax.
9315         Change loop variable i to size_t.
9316         * grp/Makefile (tests): Add tst-putgrent.
9317         * grp/tst-putgrent.c: New file.
9318         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9319         valid syntax.
9320         * shadow/Makefile (tests): Add tst-putspent.
9321         * shadow/tst-putspent.c: New file.
9322         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9323         sg_mem fields for valid syntax.
9324         * gshadow/Makefile (tests): Add tst-putsgent.
9325         * gshadow/tst-putsgent.c: New file.
9327 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9329         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9330         assembly instructions.
9332 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9334         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9335         prefix from operands.
9337 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #16347]
9340         [BZ #19046]
9341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9342         <libc-internal.h>.
9343         (MAXLGM): Do not use diagnostic control macros.
9344         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9345         threshold for ldbl-128ibm.
9346         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9347         instead of multiplying by log then subtracting.
9348         * math/auto-libm-test-in: Add more tests of lgamma.
9349         * math/auto-libm-test-out: Regenerated.
9351         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9352         (TYPE_HEX_DIG): Likewise.
9353         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9354         precisions when printing floating-point numbers.
9355         (check_float_internal): Likewise.
9357 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9359         [BZ #16620]
9360         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9361         of log (10) rounded downward to 48 bits.
9362         (log10_low): Use corresponding low part of log (10).
9364         [BZ #19032]
9365         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9366         compute result as (x - x) / (x - x) not as 0 / 0.
9367         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9368         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9370         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9371         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9372         and expm1.
9373         * math/auto-libm-test-out: Regenerated.
9374         * math/libm-test.inc (acos_test_data): Add more tests.
9375         (asin_test_data): Likewise.
9376         (asinh_test_data): Likewise.
9377         (atan_test_data): Likewise.
9378         (atanh_test_data): Likewise.
9379         (atan2_test_data): Likewise.
9380         (cbrt_test_data): Likewise.
9381         (ceil_test_data): Likewise.
9382         (copysign_test_data): Likewise.
9383         (cos_test_data): Likewise.
9384         (cosh_test_data): Likewise.
9385         (erf_test_data): Likewise.
9386         (erfc_test_data): Likewise.
9387         (exp_test_data): Likewise.
9388         (exp10_test_data): Likewise.
9389         (exp2_test_data): Likewise.
9390         (expm1_test_data): Likewise.
9391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9393 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9395         [BZ #19006]
9396         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9397         to ...
9398         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9399         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9400         to ...
9401         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9402         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9403         to ...
9404         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9405         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9406         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9407         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9408         to ...
9409         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9410         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9411         Moved to ...
9412         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9413         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9414         Moved to ...
9415         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9417         to ...
9418         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9419         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9420         Moved to ...
9421         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9422         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9423         to ...
9424         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9425         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9426         Removed.
9427         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9428         Likewise.
9429         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9430         Likewise.
9431         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9432         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9433         Likewise.
9434         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9435         Likewise.
9436         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9437         Likewise.
9438         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9439         Likewise.
9440         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9441         Likewise.
9442         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9445         Likewise.
9446         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9447         Likewise.
9448         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9449         Likewise.
9450         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9451         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9452         Likewise.
9453         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9456         Likewise.
9457         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9458         Likewise.
9459         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9460         Likewise.
9461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9462         Replace ../i486/pthread_cond_timedwait.S with
9463         ../pthread_cond_timedwait.S.
9465 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9467         * math/libm-test.inc (acos_test_data): Refine expectations for
9468         errno and "inexact" exceptions.
9469         (acosh_test_data): Likewise.
9470         (asin_test_data): Likewise.
9471         (asinh_test_data): Likewise.
9472         (atan_test_data): Likewise.
9473         (atanh_test_data): Likewise.
9474         (atan2_test_data): Likewise.
9475         (cbrt_test_data): Likewise.
9476         (ceil_test_data): Likewise.
9477         (copysign_test_data): Likewise.
9478         (cosh_test_data): Likewise.
9479         (erf_test_data): Likewise.
9480         (erfc_test_data): Likewise.
9481         (exp_test_data): Likewise.
9482         (exp10_test_data): Likewise.
9483         (exp2_test_data): Likewise.
9484         (expm1_test_data): Likewise.
9485         (fabs_test_data): Likewise.
9486         (floor_test_data): Likewise.
9487         (fma_test_data): Likewise.
9488         (fmax_test_data): Likewise.
9489         (fmin_test_data): Likewise.
9490         (fmod_test_data): Likewise.
9491         (fpclassify_test_data): Likewise.
9492         (frexp_test_data): Likewise.
9493         (hypot_test_data): Likewise.
9494         (ilogb_test_data): Likewise.
9495         (isgreater_test_data): Likewise.
9496         (isgreaterequal_test_data): Likewise.
9497         (isinf_test_data): Likewise.
9498         (isless_test_data): Likewise.
9499         (islessequal_test_data): Likewise.
9500         (islessgreater_test_data): Likewise.
9501         (isnan_test_data): Likewise.
9502         (isnormal_test_data): Likewise.
9503         (issignaling_test_data): Likewise.
9504         (isunordered_test_data): Likewise.
9505         (j0_test_data): Likewise.
9506         (j1_test_data): Likewise.
9507         (jn_test_data): Likewise.
9508         (lgamma_test_data): Likewise.
9509         (lrint_test_data): Likewise.
9510         (llrint_test_data): Likewise.
9511         (log_test_data): Likewise.
9512         (log10_test_data): Likewise.
9513         (log1p_test_data): Likewise.
9514         (log2_test_data): Likewise.
9515         (logb_test_data): Likewise.
9516         (lround_test_data): Likewise.
9517         (llround_test_data): Likewise.
9518         (modf_test_data): Likewise.
9519         (nearbyint_test_data): Likewise.
9520         (nextafter_test_data): Likewise.
9521         (nexttoward_test_data): Likewise.
9522         (pow_test_data): Likewise.
9523         (remainder_test_data): Likewise.
9524         (remquo_test_data): Likewise.
9525         (rint_test_data): Likewise.
9526         (round_test_data): Likewise.
9527         (signbit_test_data): Likewise.
9528         (sinh_test_data): Likewise.
9529         (sqrt_test_data): Likewise.
9530         (tanh_test_data): Likewise.
9531         (tgamma_test_data): Likewise.
9532         (trunc_test_data): Likewise.
9533         (y0_test_data): Likewise.
9534         (y1_test_data): Likewise.
9535         (yn_test_data): Likewise.
9536         (significand_test_data): Likewise.
9538 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9540         * manual/filesys.texi (Storage Allocation): Document that
9541         posix_fallocate emulation fails when fd is open with O_WRONLY.
9543 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9545         [BZ #19016]
9546         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9547         allow more cases with X^2 + Y^2 >= 0.5.
9548         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9549         normal element in sum instead of special-casing based on values of
9550         arguments.
9551         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9552         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9553         -1 as normal element in sum instead of special-casing based on
9554         values of arguments.
9555         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9556         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9557         (__x2y2m1): Update comment.
9558         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9559         as normal element in sum instead of special-casing based on values
9560         of arguments.
9561         * math/s_clog.c (__clog): Handle more cases using log1p without
9562         hypot.
9563         * math/s_clog10.c (__clog10): Likewise.
9564         * math/s_clog10f.c (__clog10f): Likewise.
9565         * math/s_clog10l.c (__clog10l): Likewise.
9566         * math/s_clogf.c (__clogf): Likewise.
9567         * math/s_clogl.c (__clogl): Likewise.
9568         * math/auto-libm-test-in: Add more tests of clog and clog10.
9569         * math/auto-libm-test-out: Regenerated.
9570         * sysdeps/i386/fpu/libm-test-ulps: Update.
9571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9573 2015-09-28  Martin Sebor  <msebor@redhat.com>
9575         [BZ #18969]
9576         * string/Makefile (LOCALES): Define.
9577         (gen-locales.mk): Include.
9578         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9579         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9580         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9581         on setlocale failure.
9583 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9585         [BZ #18985]
9586         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9587         (__strftime_internal): Likewise.
9588         * time/tst-strftime.c (do_bz18985): New test.
9589         (do_test): Call it.
9591 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9593         [BZ #18956]
9594         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9595         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9596         extracting high part.
9597         * math/auto-libm-test-in: Add another test of pow.
9598         * math/auto-libm-test-out: Regenerated.
9599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9601 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9603         [BZ #18825]
9604         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9605         New macro.
9606         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9607         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9608         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9609         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9610         DBL_NARROW_EVAL, reloading the PIC register as needed.
9611         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9612         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9613         FLT_NARROW_EVAL.  Use separate return path for case when first
9614         argument is NaN.
9615         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9616         DEFINE_LDBL_MIN.
9617         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9618         PIC register.
9619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9620         math_check_force_underflow_nonneg.
9621         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9622         underflow for subnormal result.
9623         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9624         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9625         math_check_force_underflow_nonneg.
9626         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9627         math_check_force_underflow.
9628         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9629         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9630         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9631         DEFINE_LDBL_MIN.
9632         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9633         * math/auto-libm-test-in: Add more tests of pow.
9634         * math/auto-libm-test-out: Regenerated.
9636 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9638         * nss/bug17079.c (init_test_items): Add diagnostic for
9639         inconsistent entries.
9640         (test_buffer_size): Skip inconsistent entries.
9642 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9644         [BZ #13304]
9645         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9646         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9647         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9649         [BZ #13304]
9650         * sysdeps/microblaze/s_fma.c: New file.
9651         * sysdeps/microblaze/s_fmaf.c: Likewise.
9652         * sysdeps/microblaze/sfp-machine.h: Likewise.
9654 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9656         [BZ #17250]
9657         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9658         member.
9660 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9662         [BZ #18803]
9663         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9664         (MO): New macro.
9665         (__ieee754_hypot) [PIC]: Load PIC register.
9666         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9667         DBL_NARROW_EVAL.
9668         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9669         math_check_force_underflow_nonneg in case where result might be
9670         tiny.
9671         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9672         Likewise.
9673         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9674         Likewise.
9675         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9676         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9677         * math/auto-libm-test-in: Add more tests of hypot.
9678         * math/auto-libm-test-out: Regenerated.
9680 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9682         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9684 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9686         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9687         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9688         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9689         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9690         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9691         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9692         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9694         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9695         LOAD_PIC_REG.
9697         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9698         (FLT_CHECK_FORCE_UFLOW): Likewise.
9699         (DBL_CHECK_FORCE_UFLOW): Likewise.
9700         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9701         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9702         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9703         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9704         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9705         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9706         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9707         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9708         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9709         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9710         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9711         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9712         (flt_min): Replace with use of DEFINE_FLT_MIN.
9713         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9714         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9715         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9716         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9717         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9718         (flt_min): Replace with use of DEFINE_FLT_MIN.
9719         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9720         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9721         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9722         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9723         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9724         (flt_min): Replace with use of DEFINE_FLT_MIN.
9725         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9726         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9727         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9728         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9729         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9730         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9731         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9732         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9733         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9734         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9735         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9736         (flt_min): Replace with use of DEFINE_FLT_MIN.
9737         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9738         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9739         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9740         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9741         main computation.
9742         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9743         (flt_min): Replace with use of DEFINE_FLT_MIN.
9744         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9745         main computation.
9746         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9747         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9748         (MO): New macro.
9749         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9750         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9751         (flt_min): Replace with use of DEFINE_FLT_MIN.
9752         (MO): New macro.
9753         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9754         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9755         (__log1pl): Use MO.
9757         [BZ #19003]
9758         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9759         $(config-cflags-nofma).
9761 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9763         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9765 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9767         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9768         (TWO127): Likewise.
9770         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9771         (min_of_type): Likewise.
9772         (math_check_force_underflow): Likewise.
9773         (math_check_force_underflow_nonneg): Likewise.
9774         (math_check_force_underflow_complex): Likewise.
9775         * math/e_exp2l.c (__ieee754_exp2l): Use
9776         math_check_force_underflow_nonneg.
9777         * math/k_casinh.c (__kernel_casinh): Likewise.
9778         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9779         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9780         * math/s_catan.c (__catan): Use
9781         math_check_force_underflow_complex.
9782         * math/s_catanf.c (__catanf): Likewise.
9783         * math/s_catanh.c (__catanh): Likewise.
9784         * math/s_catanhf.c (__catanhf): Likewise.
9785         * math/s_catanhl.c (__catanhl): Likewise.
9786         * math/s_catanl.c (__catanl): Likewise.
9787         * math/s_ccosh.c (__ccosh): Likewise.
9788         * math/s_ccoshf.c (__ccoshf): Likewise.
9789         * math/s_ccoshl.c (__ccoshl): Likewise.
9790         * math/s_cexp.c (__cexp): Likewise.
9791         * math/s_cexpf.c (__cexpf): Likewise.
9792         * math/s_cexpl.c (__cexpl): Likewise.
9793         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9794         * math/s_clog10.c (__clog10): Likewise.
9795         * math/s_clog10f.c (__clog10f): Likewise.
9796         * math/s_clog10l.c (__clog10l): Likewise.
9797         * math/s_clogf.c (__clogf): Likewise.
9798         * math/s_clogl.c (__clogl): Likewise.
9799         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9800         * math/s_csinf.c (__csinf): Likewise.
9801         * math/s_csinh.c (__csinh): Likewise.
9802         * math/s_csinhf.c (__csinhf): Likewise.
9803         * math/s_csinhl.c (__csinhl): Likewise.
9804         * math/s_csinl.c (__csinl): Likewise.
9805         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9806         * math/s_csqrtf.c (__csqrtf): Likewise.
9807         * math/s_csqrtl.c (__csqrtl): Likewise.
9808         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9809         * math/s_ctanf.c (__ctanf): Likewise.
9810         * math/s_ctanh.c (__ctanh): Likewise.
9811         * math/s_ctanhf.c (__ctanhf): Likewise.
9812         * math/s_ctanhl.c (__ctanhl): Likewise.
9813         * math/s_ctanl.c (__ctanl): Likewise.
9814         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9815         instead of volatile.
9816         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9817         math_check_force_underflow.
9818         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9819         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9820         volatile when forcing underflow.
9821         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9822         math_check_force_underflow_nonneg.
9823         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9824         Likewise.
9825         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9826         math_check_force_underflow.
9827         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9828         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9829         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9830         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9831         math_check_force_underflow_nonneg.
9832         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9833         math_check_force_underflow.
9834         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9836         instead of volatile.
9837         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9838         math_check_force_underflow.
9839         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9840         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9841         math_check_force_underflow_nonneg.
9842         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9843         math_check_force_underflow.
9844         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9845         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9846         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9847         math_check_force_underflow_nonneg.
9848         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9849         Likewise.
9850         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9851         math_check_force_underflow.
9852         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9853         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9854         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9855         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9856         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9857         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9858         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9859         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9860         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9861         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9862         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9863         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9864         Likewise.
9865         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9866         math_check_force_underflow_nonneg.
9867         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9868         Likewise.
9869         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9870         math_check_force_underflow.
9871         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9872         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9873         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9874         Likewise.
9875         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9876         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9877         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9878         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9879         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9880         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9882         instead of volatile.
9883         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9884         math_check_force_underflow.
9885         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9886         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9887         math_check_force_underflow.
9888         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9889         Likewise.
9890         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9891         Use math_check_force_underflow_nonneg.
9892         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9893         math_check_force_underflow.
9894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9895         Likewise.
9896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9897         Likewise.
9898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9899         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9900         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9901         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9902         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9903         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9904         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9905         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9906         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9907         math_check_force_underflow_nonneg.
9908         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9909         math_check_force_underflow.
9910         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9911         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9912         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9913         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9914         math_check_force_underflow_nonneg.
9915         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9916         math_check_force_underflow.
9917         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9919         instead of volatile.
9920         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9921         math_check_force_underflow.
9923         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9924         * stdlib/strtod_l.c: Include <math_private.h>.
9925         (overflow_value): Use math_narrow_eval.
9926         (underflow_value): Likewise.
9927         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9928         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9929         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9930         (__ieee754_gamma_r): Likewise.
9931         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9932         Likewise.
9933         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9934         Likewise.
9935         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9936         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9937         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9938         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9939         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9940         (__ieee754_gammaf_r): Likewise.
9941         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9942         Likewise.
9943         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9944         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9945         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9946         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9947         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9948         volatile.
9949         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9950         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9951         math_narrow_eval.
9952         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9953         Likewise.
9954         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9955         Likewise.
9956         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9957         Likewise.
9958         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9959         volatile.
9960         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9961         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9962         math_narrow_eval.
9963         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9964         Likewise.
9965         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9966         Likewise.
9968 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9970         * nptl/Versions: Remove ignored symbols.
9972 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9974         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9975         * nss/Makefile (tests): Update.
9977 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9979         * nss/bug18287.c: New file.
9980         * nss/Makefile (tests): Add bug18287.
9982 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9984         * mach/Versions (__mach_host_self_): Add symbol.
9986 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9988         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9989         vm_page_size.
9991 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9993         Really fix sysdeps/i386/fpu/s_scalbn.S build
9995         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9996         (libc: GLIBC_2_22): Remove unused version set.
9998 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10000         * config.make.in (enable-timezone-tools): New variable.
10001         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10002         (enable_timezone_tools): Export to generated files.
10003         * configure: Regenerate.
10004         * INSTALL: Regenerate.
10005         * manual/install.texi (--disable-timezone-tools): Document new flag.
10006         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10007         ifeq ($(enable-timezone-tools),yes) check.
10009 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10011         * timezone/Makefile: Revert previous change.
10013         [BZ #18980]
10014         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10015         (DEFINE_DBL_MIN): Likewise.
10016         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10017         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10018         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10019         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10020         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10021         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10022         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10023         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10024         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10025         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10026         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10027         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10028         (flt_min): Replace with use of DEFINE_FLT_MIN.
10029         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10030         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10031         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10032         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10033         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10034         (flt_min): Replace with use of DEFINE_FLT_MIN.
10035         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10036         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10037         (flt_min): Replace with use of DEFINE_FLT_MIN.
10038         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10039         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10040         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10041         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10042         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10043         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10044         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10045         (__ieee754_pow): Use DBL_NARROW_EVAL.
10046         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10047         (__ieee754_powf): Use FLT_NARROW_EVAL.
10048         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10049         (__ieee754_expf_sse2): Convert double-precision result to single
10050         precision.
10051         * sysdeps/i386/fpu/libm-test-ulps: Update.
10053 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10055         * timezone/Makefile: Ignore unused variable errors due to private.h
10056         (time_t_min) and (time_t_max).
10057         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10058         Likewise.
10060 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10062         [BZ #18981]
10063         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10064         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10065         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10066         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10067         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10068         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10069         (__scalbn): Use DBL_NARROW_EVAL.
10070         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10071         (__scalbnf): Use FLT_NARROW_EVAL.
10073 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10075         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10076         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10077         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10078         * stdio-common/printf_fp.c (___printf_fp):
10079         Use signbit to get the sign. Use isinf macro to allow inlining.
10080         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10081         * stdio-common/printf_size.c (__printf_size): Likewise.
10083 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10085         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10087 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10089         [BZ #18980]
10090         * sysdeps/generic/math_private.h: Include <float.h>.
10091         (math_narrow_eval): New macro.
10092         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10093         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10094         math_narrow_eval on overflowing return value.
10095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10096         Likewise.
10097         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10098         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10100         Likewise.
10101         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10103 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10105         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10106         * math/Makefile: Remove isinf_ns.c.
10107         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10108         * math/multc3.c (__multc3): Likewise.
10109         * math/s_casin.c (__casin): Likewise.
10110         * math/s_casinf.c (__casinf): Likewise.
10111         * math/s_casinl.c (__casinl): Likewise.
10112         * math/s_cproj.c (__cproj): Likewise.
10113         * math/s_cprojf.c (__cprojf): Likewise.
10114         * math/s_cprojl.c (__cprofl): Likewise.
10115         * math/s_ctan.c (__ctan): Likewise.
10116         * math/s_ctanf.c (__ctanf): Likewise.
10117         * math/s_ctanh.c (__ctanh): Likewise.
10118         * math/s_ctanhf.c (__ctanhf): Likewise.
10119         * math/s_ctanhl.c (__ctanhl): Likewise.
10120         * math/s_ctanl.c (__ctanl): Likewise.
10121         * math/w_fmod.c (__fmod): Likewise.
10122         * math/w_fmodf.c (__fmodf): Likewise.
10123         * math/w_fmodl.c (_fmodl): Likewise.
10124         * math/w_remainder.c (__remainder): Likewise.
10125         * math/w_remainderf.c (__remainderf): Likewise.
10126         * math/w_remainderl.c (__remainderl): Likewise.
10127         * math/w_scalb.c (__scalb): Likewise.
10128         * math/w_scalbf.c (__scalbf): Likewise.
10129         * math/w_scalbl.c (__scalbl): Likewise.
10130         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10131         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10132         with isinf.
10133         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10134         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10135         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10136         __isinf_nsf with isinf.
10137         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10138         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10139         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10140         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10141         with isinf.
10142         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10143         __isinf_nsl with isinf.
10144         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10145         with isinf.
10146         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10147         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10148         __isinf_nsl with isinf.
10149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10150         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10151         with isinf.
10153 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10155         * resolv/base64.c (rcsid): Remove unused static.
10156         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10157         static.  (tqpi1): Likewise.
10158         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10159         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10160         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10161         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10162         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10163         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10164         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10165         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10166         Likewise.
10168 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10170         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10171         <nptl/pthreadP.h>.
10172         (_longjmp_unwind): Use __libc_ptf_call.
10173         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10175 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10177         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10178         * sysdeps/arm/__longjmp.S: Likewise.
10180 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10182         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10183         Use __builtin_signbit.
10184         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10185         Use __builtin_signbitf.
10186         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10187         Use __builtin_signbitl.
10188         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10189         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10191 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10193         [BZ #15367]
10194         [BZ #17441]
10196         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10197         * math/math.h (fpclassify): Use __builtin_fpclassify when
10198         available.  (signbit): Use __builtin_signbit(f/l).
10199         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10200         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10201         (isinf): Use __builtin_isinf_sign.
10203 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10205         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10206         * benchtests/bench-math-inlines.c: New benchmark.
10207         * benchtests/bench-util.h: New file.
10208         * benchtests/bench-util.c: New file.
10209         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10211 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10213         * elf/tst-dlmopen1.c: Define TEST_SO.
10214         (do_test): Use TEST_SO.
10216         * elf/dl-load.c: Include libc-internal.h.
10217         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10219 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10221         [BZ #17887]
10222         * time/strptime_l.c (__strptime_internal): Make %z accept
10223         [+-]HH:MM time zones.
10225 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10227         [BZ #17886]
10228         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10229         valid time zone.
10231 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10233         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10234         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10235         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10236         (__ASSUME_FDATASYNC): Delete.
10238 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10240         * conform/linknamespace.pl: Require weak undefined symbols to be
10241         in the standard namespace.
10242         (%strong_syms): Rename to %seen_syms.
10243         (%strong_seen): Rename to %seen_where.
10245 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10247         [BZ #18970]
10248         * misc/error.c (error): Replace pthread_setcancelstate with
10249         __pthread_setcancelstate.
10250         (error_at_line): Likewise.
10251         * posix/wordexp.c (parse_comm): Likewise.
10252         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10253         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10254         (__pthread_setcancelstate): This.
10255         (pthread_setcancelstate): Add an alias.
10256         * nptl/nptl-init.c (pthread_functions): Replace
10257         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10258         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10259         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10260         hidden_proto.
10261         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10262         it with hidden_def.
10263         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10264         (pthread_setcancelstate): Renamed to ...
10265         (__pthread_setcancelstate): This.
10266         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10267         __libc_ptf_call with __pthread_setcancelstate.
10269 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10270             Andreas Schwab  <schwab@suse.de>
10272         [BZ #17118]
10273         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10274         result when imaginary part of argument is infinite using sine and
10275         cosine.
10276         * math/s_ctanf.c (__ctanf): Likewise.
10277         * math/s_ctanl.c (__ctanl): Likewise.
10278         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10279         of result when real part of argument is infinite using sine and
10280         cosine.
10281         * math/s_ctanhf.c (__ctanhf): Likewise.
10282         * math/s_ctanhl.c (__ctanhl): Likewise.
10283         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10284         (ctanh_test_data): Add more tests of ctanh.
10286 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10288         [BZ #15384]
10289         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10290         bit-mask as in subtraction.
10291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10292         Likewise.
10293         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10294         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10295         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10297         [BZ #18951]
10298         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10299         underflow exception for small results.
10300         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10301         Likewise.
10302         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10303         Likewise.
10304         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10305         Likewise.
10306         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10307         Likewise.
10308         * math/auto-libm-test-in: Add more tests of tgamma.
10309         * math/auto-libm-test-out: Regenerated.
10311 2015-09-17  Andreas Schwab  <schwab@suse.de>
10313         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10315 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10317         [BZ #18977]
10318         * math/bits/mathcalls.h
10319         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10320         not declare.
10321         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10322         Likewise.
10323         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10324         Likewise.
10325         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10326         Likewise.
10327         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10328         Likewise.
10329         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10330         Likewise.
10331         * conform/data/math.h-data
10332         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10333         function.
10334         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10335         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10336         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10337         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10338         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10339         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10340         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10341         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10342         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10343         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10344         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10346         [BZ #6803]
10347         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10348         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10349         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10350         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10351         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10352         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10353         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10354         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10355         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10357         Likewise.
10358         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10359         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10361         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10362         long_double_symbol calls.
10363         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10364         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10365         strong alias of __ldexpl.
10366         (scalbnl): Define using long_double_symbol.
10367         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10368         Remove alias.
10369         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10370         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10371         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10372         (scalbln_test_data): Add more errno expectations.
10374 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10376         Cache the host port like we cache the task port.  This way we do not
10377         need to call the kernel just to get the port.  Furthermore, we no
10378         longer increase the reference count on every invocation of
10379         `mach_host_self'.
10381         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10382         Protect declarations against the macro expansion.
10383         * mach/mach_init.c (__mach_host_self_): New variable.
10384         (mach_init): Initialize `__mach_host_self_'.
10385         * mach/mach_init.h (__mach_host_self_): New declaration.
10386         (__mach_host_self, mach_host_self): New macros.
10387         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10388         Release reference.
10390 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10392         [BZ #4404]
10393         * po/de.po: Update from Translation Project.
10395         [BZ #16415]
10396         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10397         (__expm1l): Remove code to handle positive infinity and overflow.
10398         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10399         variable.
10400         (__expm1l): Remove code to handle positive infinity and overflow.
10402 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10403             Paul Pluzhnikov  <ppluzhnikov@google.com>
10405         [BZ #18872]
10406         * stdio-common/Makefile (tst-printf-bz18872): New test.
10407         (tst-printf-bz18872-mem.out): Likewise.
10408         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10409         * stdio-common/vfprintf.c: Fix memory leaks.
10411 2015-09-16  Andreas Schwab  <schwab@suse.de>
10413         [BZ #17244]
10414         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10415         Remove extra va_start/va_end calls.
10417         [BZ #17243]
10418         * posix/execl.c (execl): Add missing va_end.
10419         * posix/execle.c (execle): Likewise.
10420         * posix/execlp.c (execlp): Likewise.
10422 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10424         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10425         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10427 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #18967]
10430         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10431         undefine around includes of <bits/mathcalls.h>.
10432         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10433         not declare function.
10434         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10435         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10436         (scalb): Likewise.
10437         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10438         not define macro.
10439         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10440         variable.
10441         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10442         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10443         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10445         [BZ #18857]
10446         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10447         return non-finite argument without doing ordered comparisons on
10448         it.
10450         [BZ #16296]
10451         * math/fenv.h (fegetround): Use __attribute_pure__.
10452         * include/fenv.h (__fegetround): Likewise.
10454         [BZ #18595]
10455         * math/s_ctan.c (__ctan): Force underflow exception for results
10456         whose real or imaginary part has small absolute value.
10457         * math/s_ctanf.c (__ctanf): Likewise.
10458         * math/s_ctanh.c (__ctanh): Likewise.
10459         * math/s_ctanhf.c (__ctanhf): Likewise.
10460         * math/s_ctanhl.c (__ctanhl): Likewise.
10461         * math/s_ctanl.c (__ctanl): Likewise.
10462         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10463         and ctanh.  Add more tests of ctan and ctanh.
10465         [BZ #15918]
10466         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10467         handling of cases where one argument is an infinity.
10469         [BZ #18875]
10470         [BZ #18966]
10471         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10472         (MO): New macro.
10473         (__ieee754_exp10): For small results, force underflow exception
10474         and remove excess range and precision from return value.
10475         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10476         (MO): New macro.
10477         (__ieee754_exp10f): For small results, force underflow exception
10478         and remove excess range and precision from return value.
10479         * math/auto-libm-test-in: Add more tests of exp10.
10480         * math/auto-libm-test-out: Regenerated.
10482 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10484         [BZ #18875]
10485         [BZ #18961]
10486         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10487         (MO): New macro.
10488         (__ieee754_exp): For small results, force underflow exception and
10489         remove excess range and precision from return value.
10490         (__exp_finite): Likewise.
10491         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10492         (MO): New macro.
10493         (__ieee754_expf): For small results, force underflow exception and
10494         remove excess range and precision from return value.
10495         (__expf_finite): Likewise.
10496         * math/auto-libm-test-in: Add more tests of exp.
10497         * math/auto-libm-test-out: Regenerated.
10499         [BZ #16521]
10500         [BZ #18875]
10501         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10502         small results.
10503         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10504         (MO): New macro.
10505         (__ieee754_exp2): For small results, force underflow exception and
10506         remove excess range and precision from return value.
10507         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10508         (MO): New macro.
10509         (__ieee754_exp2f): For small results, force underflow exception
10510         and remove excess range and precision from return value.
10511         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10512         (MO): New macro.
10513         (__ieee754_exp2l): Force underflow exception for small results.
10514         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10515         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10516         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10517         (MO): New macro.
10518         (__ieee754_exp2l): Force underflow exception for small results.
10519         * math/auto-libm-test-in: Add more tests or exp2.
10520         * math/auto-libm-test-out: Regenerated.
10522 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10524         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10526         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10527         /dev/null.
10529 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10531         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10532         io fs process)): Drop spurious backslash.
10534 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10536         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10537         Use sysinfo system call instead of parsing /proc/meminfo.
10538         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10539         Likewise.
10541 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10543         [BZ #16985]
10544         * programs/localedef.c (main): Display argv[remaining] when
10545         output_path is NULL.
10547 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10549         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10550         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10551         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10552         tanh.
10553         * math/auto-libm-test-out: Regenerated.
10554         * sysdeps/i386/fpu/libm-test-ulps: Update.
10555         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10556         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10559 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10561         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10562         Use 'override' keyword to freeze the value here, preventing
10563         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10565 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10567         [BZ #14912]
10568         * sysdeps/aarch64/bits/atomic.h: Move to ...
10569         * sysdeps/aarch64/atomic-machine.h: ...here.
10570         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10571         _AARCH64_ATOMIC_MACHINE_H.
10572         * sysdeps/alpha/bits/atomic.h: Move to ...
10573         * sysdeps/alpha/atomic-machine.h: ...here.
10574         * sysdeps/arm/bits/atomic.h: Move to ...
10575         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10576         * bits/atomic.h: Move to ...
10577         * sysdeps/generic/atomic-machine.h: ...here.
10578         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10579         * sysdeps/i386/bits/atomic.h: Move to ...
10580         * sysdeps/i386/atomic-machine.h: ...here.
10581         * sysdeps/ia64/bits/atomic.h: Move to ...
10582         * sysdeps/ia64/atomic-machine.h: ...here.
10583         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10584         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10585         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10586         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10587         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10588         * sysdeps/microblaze/bits/atomic.h: Move to ...
10589         * sysdeps/microblaze/atomic-machine.h: ...here.
10590         * sysdeps/mips/bits/atomic.h: Move to ...
10591         * sysdeps/mips/atomic-machine.h: ...here.
10592         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10593         * sysdeps/powerpc/bits/atomic.h: Move to ...
10594         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10595         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10596         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10597         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10598         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10599         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10600         <atomic-machine.h> instead of <bits/atomic.h>.
10601         * sysdeps/s390/bits/atomic.h: Move to ...
10602         * sysdeps/s390/atomic-machine.h: ...here.
10603         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10604         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10605         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10606         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10607         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10608         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10609         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10610         * sysdeps/tile/bits/atomic.h: Move to ...
10611         * sysdeps/tile/atomic-machine.h: ...here.
10612         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10613         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10614         <sysdeps/tile/atomic-machine.h> instead of
10615         <sysdeps/tile/bits/atomic.h>.
10616         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10617         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10618         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10619         <sysdeps/tile/atomic-machine.h> instead of
10620         <sysdeps/tile/bits/atomic.h>.
10621         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10622         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10623         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10624         <sysdeps/arm/atomic-machine.h> instead of
10625         <sysdeps/arm/bits/atomic.h>.
10626         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10627         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10628         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10629         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10630         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10631         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10632         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10633         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10634         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10635         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10636         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10637         * sysdeps/x86_64/bits/atomic.h: Move to ...
10638         * sysdeps/x86_64/atomic-machine.h: ...here.
10639         * include/atomic.h: Include <atomic-machine.h> instead of
10640         <bits/atomic.h>.
10642         * sysdeps/mips/mips32/libm-test-ulps: Update.
10643         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10645         [BZ #18952]
10646         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10647         not convert non-integer negative arguments to int to determine the
10648         value of signgam.
10649         * math/auto-libm-test-in: Add more tests of lgamma.
10650         * math/auto-libm-test-out: Regenerated.
10652         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10653         cosh, csqrt, erfc, expm1 and lgamma.
10654         * math/auto-libm-test-out: Regenerated.
10655         * sysdeps/i386/fpu/libm-test-ulps: Update.
10656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10660         [BZ #2542]
10661         [BZ #2543]
10662         [BZ #2558]
10663         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10664         __lgamma_neg for arguments from -28.0 to -2.0.
10665         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10666         __lgamma_negf for arguments from -15.0 to -2.0.
10667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10668         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10669         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10670         Call __lgamma_negl for arguments from -33.0 to -2.0.
10671         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10672         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10673         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10674         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10675         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10676         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10677         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10679         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10680         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10681         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10682         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10683         (__lgamma_neg): Likewise.
10684         (__lgamma_negl): Likewise.
10685         (__lgamma_product): Likewise.
10686         (__lgamma_productl): Likewise.
10687         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10688         * math/auto-libm-test-in: Add more tests of lgamma.
10689         * math/auto-libm-test-out: Regenerated.
10690         * sysdeps/i386/fpu/libm-test-ulps: Update.
10691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10693 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10695         [BZ #18675]
10696         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10698 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10700         [BZ #14912]
10701         * bits/libc-lock.h: Move to ...
10702         * sysdeps/generic/libc-lock.h: ...here.
10703         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10704         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10705         * sysdeps/mach/hurd/libc-lock.h: ...here.
10706         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10707         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10708         * sysdeps/mach/bits/libc-lock.h: Move to ...
10709         * sysdeps/mach/libc-lock.h: ...here.
10710         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10711         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10712         * sysdeps/nptl/libc-lock.h: ...here.
10713         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10714         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10715         * sysdeps/nptl/libc-lockP.h: ...here.
10716         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10717         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10718         <bits/libc-lock.h>.
10719         * dirent/scandir-tail.c: Likewise.
10720         * dlfcn/dlerror.c: Likewise.
10721         * elf/dl-close.c: Likewise.
10722         * elf/dl-iteratephdr.c: Likewise.
10723         * elf/dl-lookup.c: Likewise.
10724         * elf/dl-open.c: Likewise.
10725         * elf/dl-support.c: Likewise.
10726         * elf/dl-writev.h: Likewise.
10727         * elf/rtld.c: Likewise.
10728         * grp/fgetgrent.c: Likewise.
10729         * gshadow/fgetsgent.c: Likewise.
10730         * gshadow/sgetsgent.c: Likewise.
10731         * iconv/gconv_conf.c: Likewise.
10732         * iconv/gconv_db.c: Likewise.
10733         * iconv/gconv_dl.c: Likewise.
10734         * iconv/gconv_int.h: Likewise.
10735         * iconv/gconv_trans.c: Likewise.
10736         * include/link.h: Likewise.
10737         * inet/getnameinfo.c: Likewise.
10738         * inet/getnetgrent.c: Likewise.
10739         * inet/getnetgrent_r.c: Likewise.
10740         * intl/bindtextdom.c: Likewise.
10741         * intl/dcigettext.c: Likewise.
10742         * intl/finddomain.c: Likewise.
10743         * intl/gettextP.h: Likewise.
10744         * intl/loadmsgcat.c: Likewise.
10745         * intl/localealias.c: Likewise.
10746         * intl/textdomain.c: Likewise.
10747         * libidn/idn-stub.c: Likewise.
10748         * libio/libioP.h: Likewise.
10749         * locale/duplocale.c: Likewise.
10750         * locale/freelocale.c: Likewise.
10751         * locale/newlocale.c: Likewise.
10752         * locale/setlocale.c: Likewise.
10753         * login/getutent_r.c: Likewise.
10754         * login/getutid_r.c: Likewise.
10755         * login/getutline_r.c: Likewise.
10756         * login/utmp-private.h: Likewise.
10757         * login/utmpname.c: Likewise.
10758         * malloc/mtrace.c: Likewise.
10759         * misc/efgcvt.c: Likewise.
10760         * misc/error.c: Likewise.
10761         * misc/fstab.c: Likewise.
10762         * misc/getpass.c: Likewise.
10763         * misc/mntent.c: Likewise.
10764         * misc/syslog.c: Likewise.
10765         * nis/nis_call.c: Likewise.
10766         * nis/nis_callback.c: Likewise.
10767         * nis/nss-default.c: Likewise.
10768         * nis/nss_compat/compat-grp.c: Likewise.
10769         * nis/nss_compat/compat-initgroups.c: Likewise.
10770         * nis/nss_compat/compat-pwd.c: Likewise.
10771         * nis/nss_compat/compat-spwd.c: Likewise.
10772         * nis/nss_nis/nis-alias.c: Likewise.
10773         * nis/nss_nis/nis-ethers.c: Likewise.
10774         * nis/nss_nis/nis-grp.c: Likewise.
10775         * nis/nss_nis/nis-hosts.c: Likewise.
10776         * nis/nss_nis/nis-network.c: Likewise.
10777         * nis/nss_nis/nis-proto.c: Likewise.
10778         * nis/nss_nis/nis-pwd.c: Likewise.
10779         * nis/nss_nis/nis-rpc.c: Likewise.
10780         * nis/nss_nis/nis-service.c: Likewise.
10781         * nis/nss_nis/nis-spwd.c: Likewise.
10782         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10783         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10784         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10785         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10786         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10787         * nis/nss_nisplus/nisplus-network.c: Likewise.
10788         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10789         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10790         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10791         * nis/nss_nisplus/nisplus-service.c: Likewise.
10792         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10793         * nis/ypclnt.c: Likewise.
10794         * nptl/libc_pthread_init.c: Likewise.
10795         * nss/getXXbyYY.c: Likewise.
10796         * nss/getXXent.c: Likewise.
10797         * nss/getXXent_r.c: Likewise.
10798         * nss/nss_db/db-XXX.c: Likewise.
10799         * nss/nss_db/db-netgrp.c: Likewise.
10800         * nss/nss_db/nss_db.h: Likewise.
10801         * nss/nss_files/files-XXX.c: Likewise.
10802         * nss/nss_files/files-alias.c: Likewise.
10803         * nss/nsswitch.c: Likewise.
10804         * posix/regex_internal.h: Likewise.
10805         * posix/wordexp.c: Likewise.
10806         * pwd/fgetpwent.c: Likewise.
10807         * resolv/res_hconf.c: Likewise.
10808         * resolv/res_libc.c: Likewise.
10809         * shadow/fgetspent.c: Likewise.
10810         * shadow/lckpwdf.c: Likewise.
10811         * shadow/sgetspent.c: Likewise.
10812         * socket/opensock.c: Likewise.
10813         * stdio-common/reg-modifier.c: Likewise.
10814         * stdio-common/reg-printf.c: Likewise.
10815         * stdio-common/reg-type.c: Likewise.
10816         * stdio-common/vfprintf.c: Likewise.
10817         * stdio-common/vfscanf.c: Likewise.
10818         * stdlib/abort.c: Likewise.
10819         * stdlib/cxa_atexit.c: Likewise.
10820         * stdlib/fmtmsg.c: Likewise.
10821         * stdlib/random.c: Likewise.
10822         * stdlib/setenv.c: Likewise.
10823         * string/strsignal.c: Likewise.
10824         * sunrpc/auth_none.c: Likewise.
10825         * sunrpc/bindrsvprt.c: Likewise.
10826         * sunrpc/create_xid.c: Likewise.
10827         * sunrpc/key_call.c: Likewise.
10828         * sunrpc/rpc_thread.c: Likewise.
10829         * sysdeps/arm/backtrace.c: Likewise.
10830         * sysdeps/generic/ldsodefs.h: Likewise.
10831         * sysdeps/generic/stdio-lock.h: Likewise.
10832         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10833         * sysdeps/i386/backtrace.c: Likewise.
10834         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10835         * sysdeps/m68k/backtrace.c: Likewise.
10836         * sysdeps/mach/hurd/cthreads.c: Likewise.
10837         * sysdeps/mach/hurd/dirstream.h: Likewise.
10838         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10839         * sysdeps/nptl/malloc-machine.h: Likewise.
10840         * sysdeps/nptl/stdio-lock.h: Likewise.
10841         * sysdeps/posix/dirstream.h: Likewise.
10842         * sysdeps/posix/getaddrinfo.c: Likewise.
10843         * sysdeps/posix/system.c: Likewise.
10844         * sysdeps/pthread/aio_suspend.c: Likewise.
10845         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10846         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10847         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10848         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10849         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10850         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10851         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10852         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10853         * sysdeps/unix/sysv/linux/system.c: Likewise.
10854         * sysdeps/x86_64/backtrace.c: Likewise.
10855         * time/alt_digit.c: Likewise.
10856         * time/era.c: Likewise.
10857         * time/tzset.c: Likewise.
10858         * wcsmbs/wcsmbsload.c: Likewise.
10859         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10860         instead of <bits/libc-lock.h> in comment.
10862 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10864         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10865         Only use .set mips2 if the current ISA is below mips2.
10866         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10867         Likewise.
10868         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10869         mips32r2 if the current ISA is below mips32r2.
10870         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10871         (TLS_IE): Updated to use the TLD_RDHWR macro.
10872         (TLS_LE): Likewise.
10873         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10874         __ASSEMBLER__ condition.
10876 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10878         Fix parallel build of before-compile targets.
10880         * sysdeps/mach/Makefile ($(patsubst
10881         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10882         mach-before-compile target.
10883         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10884         io fs process)): Move rule to dedicated hurd-before-compile target.
10886 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10888         Fix rules generating headers in hurd/ and mach/ when initial make call
10889         has subdir= explicitly set.
10891         * sysdeps/mach/Makefile ($(patsubst
10892         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10893         calling $(MAKE).
10894         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10895         io fs process)): Force subdir to hurd when calling $(MAKE).
10896         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10897         subdir to mach when calling $(MAKE).
10899 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10901         Check sysheaders when looking for Mach and Hurd headers
10903         * sysdeps/mach/configure.ac: Add sysheaders check.
10904         * sysdeps/mach/configure: Regenerate.
10905         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10906         * sysdeps/mach/hurd/configure: Regenerate.
10908 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10910         [BZ #18921]
10911         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10912         Fix inverted sense of test of 'o_directory_works' value.
10913         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10914         Bernhard Voelker <mail@bernhard-voelker.de>.
10916 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10918         [BZ #14912]
10919         * bits/linkmap.h: Move to ...
10920         * sysdeps/generic/linkmap.h: ...here.
10921         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10922         * sysdeps/aarch64/linkmap.h: ...here.
10923         * sysdeps/arm/bits/linkmap.h: Move to ...
10924         * sysdeps/arm/linkmap.h: ...here.
10925         * sysdeps/hppa/bits/linkmap.h: Move to ...
10926         * sysdeps/hppa/linkmap.h: ...here.
10927         * sysdeps/ia64/bits/linkmap.h: Move to ...
10928         * sysdeps/ia64/linkmap.h: ...here.
10929         * sysdeps/mips/bits/linkmap.h: Move to ...
10930         * sysdeps/mips/linkmap.h: ...here.
10931         * sysdeps/s390/bits/linkmap.h: Move to ...
10932         * sysdeps/s390/linkmap.h: ...here.
10933         * sysdeps/sh/bits/linkmap.h: Move to ...
10934         * sysdeps/sh/linkmap.h: ...here.
10935         * sysdeps/x86/bits/linkmap.h: Move to ...
10936         * sysdeps/x86/linkmap.h: ...here.
10937         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10939 2015-09-04  Andreas Schwab  <schwab@suse.de>
10941         [BZ #18635]
10942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10943         (__makecontext): Terminate FDE before return label.
10944         (__novec_makecontext): Likewise.
10946 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10948         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10949         first member of struct sv in syscall macro.
10951 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10953         [BZ #14912]
10954         * bits/stdio-lock.h: Move to ...
10955         * sysdeps/generic/stdio-lock.h: ...here.
10956         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10957         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10958         * sysdeps/nptl/stdio-lock.h: ...here.
10959         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10960         * include/libio.h: Include <stdio-lock.h> instead of
10961         <bits/stdio-lock.h>.
10962         * sysdeps/nptl/fork.c: Likewise.
10963         * sysdeps/pthread/flockfile.c: Likewise.
10964         * sysdeps/pthread/ftrylockfile.c: Likewise.
10965         * sysdeps/pthread/funlockfile.c: Likewise.
10967         [BZ #14912]
10968         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10969         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10970         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10971         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10972         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10973         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10974         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10976 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10978         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10979         (test-xfail-tst-protected1b): New variable.
10981 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10983         [BZ #14912]
10984         * bits/libc-tsd.h: Move to ...
10985         * sysdeps/generic/libc-tsd.h: ...here.
10986         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10987         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10988         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10989         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10990         * include/ctype.h: Include <libc-tsd.h> instead of
10991         <bits/libc-tsd.h>.
10992         * include/rpc/rpc.h: Likewise.
10993         * locale/localeinfo.h: Likewise.
10994         * sunrpc/rpc_thread.c: Likewise.
10995         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10996         * sysdeps/nptl/malloc-machine.h: Likewise.
10998         * Makefile (headers): Remove bits/libc-lock.h.
10999         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11001         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11002         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11003         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11004         <bits/stdio-lock.h>.
11005         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11006         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11008 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11010         [BZ #18757]
11011         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11012         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11013         BZ #18757.
11015 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11017         * malloc/mtrace.pl: Filter out NULL entries.
11019 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11021         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11022         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11023         macro.
11025         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11026         (TCP_CC_INFO): Likewise.
11027         (TCP_SAVE_SYN): Likewise.
11028         (TCP_SAVED_SYN): Likewise.
11030 2015-08-31  Brett Neumeier <brett@neumeier.us>
11032         [BZ #18870]
11033         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11035 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11037         [BZ #18873]
11038         Fix broken overflow check in posix_fallocate
11039         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11040         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11041         Fix parenthesization typo.
11043 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11045         [BZ #18887]
11046         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11047         tst-mntent-blank-passno.
11048         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11049         * misc/tst-mntent-blank-corrupt.c: New test.
11050         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11051         * misc/tst-mntent.c (do_test): ... here.
11053 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11055         [BZ #4404]
11056         * po/de.po: Fix SIGALRM typo.
11058 2015-08-28  James Perkins  <james@loowit.net>
11060         * time/tst-strptime2.c (tests): Replace short list of test
11061         strings for strptime %z specifier with code which exhaustively
11062         tests every combination of sign and 0 to 5 digits. Tests for
11063         rejection of invalid strings.
11065 2015-08-28  James Perkins  <james@loowit.net>
11067         [BZ #16141]
11068         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11069         calculation, removing incorrect decimal time rounding, so that
11070         all minute values result in a valid seconds value.
11071         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11072         offset range limits to UTC-99:59 through UTC+99:59 to parse
11073         current and historical use cases.
11074         * time/tst-strptime2.c (tests): Modify and add tests for the
11075         strptime %z input field descriptor, specifically conversion of
11076         minutes to seconds and validating an offset range of -9959 to
11077         +9959.
11079 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11080             Dmitry V. Levin  <ldv@altlinux.org>
11082         [BZ #18877]
11083         * posix/Makefile (tests): Add tst-mmap-offset.
11084         * posix/tst-mmap.c: New file.
11085         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11086         offset calculation for negative values.
11088 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11090         * sysdeps/i386/init-arch.h: New file.
11091         * sysdeps/i386/i586/init-arch.h: Likewise.
11092         * sysdeps/i386/i686/init-arch.h: Likewise.
11093         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11094         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11095         * sysdeps/x86/cpu-features.h (bit_I586): New.
11096         (bit_I686): Likewise.
11097         (bit_CX8): Likewise.
11098         (bit_CMOV): Likewise.
11099         (index_CX8): Likewise.
11100         (index_CMOV): Likewise.
11101         (index_I586): Likewise.
11102         (index_I686): Likewise.
11103         (reg_CX8): Likewise.
11104         (reg_CMOV): Likewise.
11105         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11106         available at compile-time.
11107         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11108         available at compile-time.
11109         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11110         (USE_I686): Likewise.
11112 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11114         * sysdeps/i386/bcopy.S: New file.
11115         * sysdeps/i386/bzero.S: Likewise.
11116         * sysdeps/i386/memcpy.S: Likewise.
11117         * sysdeps/i386/memmove.S: Likewise.
11118         * sysdeps/i386/mempcpy.S: Likewise.
11119         * sysdeps/i386/memset.S: Likewise.
11120         * sysdeps/i386/bzero.c: Removed.
11121         * sysdeps/i386/memset.c: Likewise.
11122         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11123         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11124         * sysdeps/i386/i586/memset_chk.S: Likewise.
11125         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11126         * sysdeps/i386/memcpy_chk.S: Here.
11127         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11128         * sysdeps/i386/memmove_chk.S: Here.
11129         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11130         * sysdeps/i386/mempcpy_chk.S: Likewise.
11131         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11132         * sysdeps/i386/memset_chk.S: Likewise.
11134 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11136         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11137         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11138         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11139         * soft-fp/fmadf4.c: Ditto.
11140         * soft-fp/fmatf4.c: Ditto.
11142 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11144         * sysdeps/i386/i586/Implies: Removed.
11145         * sysdeps/i386/i686/Implies: Likewise.
11147 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11149         * sysdeps/i386/i486/strlen.S: Moved to ...
11150         * sysdeps/i386/strlen.S: Here.
11152 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11154         * sysdeps/i386/i486/strcat.S: Moved to ...
11155         * sysdeps/i386/strcat.S: Here.
11157 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11159         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11160         * sysdeps/i386/pthread_spin_trylock.S: Here.
11161         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11162         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11164 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11166         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11167         * sysdeps/i386/string-inlines.c: Here.
11169 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11171         * sysdeps/i386/i486/htonl.S: Moved ...
11172         * sysdeps/i386/htonl.S: here.
11174 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11176         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11177         * sysdeps/i386/bits/atomic.h: Here.
11179 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11181         * sysdeps/i386/i486/Versions: Removed.
11183 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11185         [BZ #2898]
11186         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11187         Based on patch by Aurelien Jarno.
11189 2015-08-26  Stan Shebs  <stanshebs@google.com>
11191         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11192         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11194 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11196         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11197         * sysdeps/powerpc/dl-procinfo.c:
11198         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11199         feature so it shows when LD_SHOW_AUXV=1.
11201 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11203         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11204         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11205         definition.  ISA 2.07B no longer requires full sync.
11207 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11209         [BZ #18863]
11210         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11211         (si_call_addr): Define.
11212         (si_syscall): Define.
11213         (si_arch): Define.
11215 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11217         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11218         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11219         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11220         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11221         (__memset_zero_constant_len_parameter): New.
11222         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11223         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11224         (__memset_zero_constant_len_parameter): Don't define if
11225         __memset_chk or USE_AS_BZERO are defined.
11227         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11228         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11229         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11231         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11232         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11233         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11234         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11235         comments.
11236         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11237         -mno-mmx for $(all-rtld-routines).
11238         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11239         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11240         i386.
11242 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11244         * sysdeps/generic/unwind.h
11245         (_Unwind_Word): Use __mode__(__unwind_word__)
11246         instead of __mode__(__word__).
11247         (_Unwind_Sword): Likewise.
11249         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11250         (MAX_NEEDED_INPUT): New define.
11251         (MAX_NEEDED_OUTPUT): New define.
11253         * NEWS: New item for IBM z13 string optimizations.
11255         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11256         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11257         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11258         * sysdeps/s390/multiarch/Makefile
11259         (sysdep_routines): Add memrchr functions.
11260         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11261         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11263         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11264         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11265         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11266         * sysdeps/s390/multiarch/Makefile
11267         (sysdep_routines): Add wmemcmp functions.
11268         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11269         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11270         * benchtests/bench-wmemcmp.c: New File.
11271         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11273         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11274         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11275         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11276         * sysdeps/s390/multiarch/Makefile
11277         (sysdep_routines): Add wmemset functions.
11278         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11279         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11280         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11281         * string/test-memset.c: Add wmemset support.
11282         * wcsmbs/test-wmemset.c: New File.
11283         * wcsmbs/Makefile (strop-tests): Add wmemset.
11284         * benchtests/bench-memset.c: Add wmemset support.
11285         * benchtests/bench-wmemset.c: New File.
11286         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11288         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11289         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11290         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11291         * sysdeps/s390/multiarch/Makefile
11292         (sysdep_routines): Add memccpy functions.
11293         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11294         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11295         * string/memccpy.c: Use MEMCCPY if defined.
11297         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11298         * sysdeps/s390/multiarch/memchr.c: Likewise.
11299         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11300         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11301         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11302         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11303         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11304         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11305         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11306         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11307         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11308         and rawmemchr functions.
11309         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11310         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11311         and wmemchr.
11312         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11313         * string/test-memchr.c: Add wmemchr support.
11314         * wcsmbs/test-wmemchr.c: New File.
11315         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11316         * benchtests/bench-memchr.c: Add wmemchr support.
11317         * benchtests/bench-wmemchr.c: New File.
11318         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11320         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11321         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11322         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11323         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11324         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11325         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11327         wcscspn functions.
11328         * sysdeps/s390/multiarch/ifunc-impl-list.c
11329         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11330         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11331         * string/test-strcspn.c: Add wcscspn support.
11332         * wcsmbs/test-wcscspn.c: New File.
11333         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11334         * benchtests/bench-strcspn.c: Add wcscspn support.
11335         * benchtests/bench-wcscspn.c: New File.
11336         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11338         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11339         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11340         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11341         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11342         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11343         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11345         wcspbrk functions.
11346         * sysdeps/s390/multiarch/ifunc-impl-list.c
11347         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11348         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11349         * string/test-strpbrk.c: Add wcspbrk support.
11350         * wcsmbs/test-wcspbrk.c: New File.
11351         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11352         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11353         * benchtests/bench-wcspbrk.c: New File.
11354         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11356         * sysdeps/s390/multiarch/strspn-c.c: New File.
11357         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11358         * sysdeps/s390/multiarch/strspn.c: Likewise.
11359         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11360         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11361         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11362         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11364         wcsspn functions.
11365         * sysdeps/s390/multiarch/ifunc-impl-list.c
11366         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11367         * string/test-strspn.c: Add wcsspn support.
11368         * wcsmbs/test-wcsspn.c: New File.
11369         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11370         * benchtests/bench-strspn.c: Add wcsspn support.
11371         * benchtests/bench-wcsspn.c: New File.
11372         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11374         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11375         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11376         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11377         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11378         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11379         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11381         wcsrchr functions.
11382         * sysdeps/s390/multiarch/ifunc-impl-list.c
11383         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11384         * benchtests/bench-wcsrchr.c: New File.
11385         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11387         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11388         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11389         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11390         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11391         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11392         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11394         wcschrnul functions.
11395         * sysdeps/s390/multiarch/ifunc-impl-list.c
11396         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11397         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11398         * string/test-strchr.c: Add wcschrnul support.
11399         * wcsmbs/test-wcschrnul.c: New File.
11400         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11401         * benchtests/bench-strchr.c: Add wcschrnul support.
11402         * benchtests/bench-wcschrnul.c: New File.
11403         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11405         * sysdeps/s390/multiarch/strchr-c.c: New File.
11406         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11407         * sysdeps/s390/multiarch/strchr.c: Likewise.
11408         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11409         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11410         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11411         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11412         wcschr functions.
11413         * sysdeps/s390/multiarch/ifunc-impl-list.c
11414         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11415         * string/strchr.c (STRCHR): Define and use macro.
11416         * benchtests/bench-wcschr.c: New File.
11417         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11419         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11420         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11421         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11422         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11423         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11424         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11425         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11426         wcsncmp functions.
11427         * sysdeps/s390/multiarch/ifunc-impl-list.c
11428         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11429         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11430         * benchtests/bench-strncmp.c: Add wcsncmp support.
11431         * benchtests/bench-wcsncmp.c: New File.
11432         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11434         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11435         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11436         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11437         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11438         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11439         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11440         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11441         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11442         wcscmp functions.
11443         * sysdeps/s390/multiarch/ifunc-impl-list.c
11444         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11445         * string/strcmp.c (STRCMP): Define and use macro.
11446         * benchtests/bench-wcscmp.c: New File.
11447         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11448         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11449         instead of _HAVE_STRING_ARCH_memchr.
11451         * sysdeps/s390/multiarch/strncat-c.c: New File.
11452         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11453         * sysdeps/s390/multiarch/strncat.c: Likewise.
11454         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11455         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11456         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11457         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11458         wcsncat functions.
11459         * sysdeps/s390/multiarch/ifunc-impl-list.c
11460         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11461         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11462         * string/test-strncat.c: Add wcsncat support.
11463         * wcsmbs/test-wcsncat.c: New File.
11464         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11465         * benchtests/bench-strncat.c: Add wcsncat support.
11466         * benchtests/bench-wcsncat.c: New File.
11467         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11469         * sysdeps/s390/multiarch/strcat-c.c: New File.
11470         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11471         * sysdeps/s390/multiarch/strcat.c: Likewise.
11472         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11473         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11474         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11475         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11476         wcscat functions.
11477         * sysdeps/s390/multiarch/ifunc-impl-list.c
11478         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11479         * string/strcat.c (STRCAT): Define and use macro.
11480         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11481         * string/test-strcat.c: Add wcscat support.
11482         * wcsmbs/test-wcscat.c: New File.
11483         * wcsmbs/Makefile (strop-tests): Add wcscat.
11484         * benchtests/bench-strcat.c: Add wcscat support.
11485         * benchtests/bench-wcscat.c: New File.
11486         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11488         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11489         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11490         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11491         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11492         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11493         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11494         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11495         wcpncpy functions.
11496         * sysdeps/s390/multiarch/ifunc-impl-list.c
11497         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11498         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11499         * string/test-stpncpy.c: Add wcpncpy support.
11500         * wcsmbs/test-wcpncpy.c: New File.
11501         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11502         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11503         * benchtests/bench-wcpncpy.c: New File.
11504         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11506         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11507         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11508         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11509         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11510         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11511         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11512         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11513         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11514         wcsncpy functions.
11515         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11516         * sysdeps/s390/multiarch/ifunc-impl-list.c
11517         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11518         * string/test-strncpy.c: Add wcsncpy support.
11519         * wcsmbs/test-wcsncpy.c: New File.
11520         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11521         * benchtests/bench-strncpy.c: Add wcsncpy support.
11522         * benchtests/bench-wcsncpy.c: New File.
11523         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11525         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11526         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11527         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11528         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11529         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11530         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11531         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11532         wcpcpy functions.
11533         * string/stpcpy.c: Use STPCPY if defined.
11534         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11535         * sysdeps/s390/multiarch/ifunc-impl-list.c
11536         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11537         * string/test-stpcpy.c: Add wcpcpy support.
11538         * wcsmbs/test-wcpcpy.c: New File.
11539         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11540         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11541         * benchtests/bench-wcpcpy.c: New File.
11542         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11544         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11545         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11546         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11547         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11548         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11549         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11550         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11551         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11552         wcscpy functions.
11553         * sysdeps/s390/multiarch/ifunc-impl-list.c
11554         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11555         * benchtests/bench-wcscpy.c: New File.
11556         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11558         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11559         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11560         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11561         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11562         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11563         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11565         wcsnlen functions.
11566         * sysdeps/s390/multiarch/ifunc-impl-list.c
11567         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11568         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11569         * string/test-strnlen.c: Add wcsnlen support.
11570         * wcsmbs/test-wcsnlen.c: New File.
11571         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11572         * benchtests/bench-strnlen.c: Add wcsnlen support.
11573         * benchtests/bench-wcsnlen.c: New File.
11574         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11576         * sysdeps/s390/multiarch/Makefile: New File.
11577         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11578         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11579         * sysdeps/s390/multiarch/strlen.c: Likewise.
11580         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11581         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11582         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11583         * string/strlen.c (STRLEN): Define and use macro.
11584         * sysdeps/s390/multiarch/ifunc-impl-list.c
11585         (IFUNC_VX_IMPL): New macro function.
11586         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11587         * benchtests/Makefile (wcsmbs-bench): New variable.
11588         (string-bench-all): Added wcsmbs-bench.
11589         * benchtests/bench-wcslen.c: New File.
11591         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11592         s390_vx_libc_ifunc2): New macro function.
11594         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11595         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11596         assembler support.
11597         * sysdeps/s390/configure: Regenerated.
11599         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11600         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11602         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11603         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11604         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11606         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11607         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11608         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11609         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11610         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11611         (memcmp, bcmp): Use __memcmp_default as alias source.
11612         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11613         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11614         Rename to __memcmp_default.
11615         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11616         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11617         (memcpy): Use __memcpy_default as alias source.
11618         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11619         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11620         Rename to __memcpy_default.
11621         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11622         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11623         (memset): Use __memset_default as alias source.
11624         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11625         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11626         Rename to __memset_default.
11627         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11628         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11629         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11630         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11631         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11632         (memcmp, bcmp): Use __memcmp_default as alias source.
11633         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11634         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11635         Rename to __memcmp_default.
11636         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11637         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11638         (memcpy): Use __memcpy_default as alias source.
11639         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11640         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11641         Rename to __memcpy_default.
11642         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11643         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11644         (memset): Use __memset_default as alias source.
11645         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11646         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11647         Rename to __memset_default.
11648         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11649         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11651         [BZ #18610]
11652         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11653         __ieee_instruction_pointer to __unused.
11654         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11655         __ieee_instruction_pointer.
11656         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11657         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11658         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11659         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11660         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11661         Mark dxc-field as reserved.
11663 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11665         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11666         if the weak reference is not null.
11668 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11670         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11672         [BZ #11214]
11673         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11675 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11677         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11678         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11679         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11680         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11681         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11682         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11683         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11684         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11685         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11686         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11687         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11688         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11689         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11690         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11691         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11692         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11693         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11694         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11696 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11698         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11699         register other than r0 for tabort, it has special meaning.
11700         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11701         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11702         transaction before starting syscall.
11704 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11706         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11708 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11710         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11712         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11713         * sysdeps/x86_64/rtld-memset.S: Likewise.
11714         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11715         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11716         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11717         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11719         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11721 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11723         * debug/strcpy_chk.c: Improve performance.
11724         * debug/stpcpy_chk.c: Likewise.
11725         * sysdeps/x86_64/strcpy_chk.S: Remove.
11726         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11728         [BZ #18240]
11729         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11731 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11733         [BZ #15128]
11734         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11735         ifuncmain8.
11736         (modules-names): Add ifuncmod8.
11737         ($(objpfx)ifuncmain8): New rule.
11738         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11739         <cpuid.h>.
11740         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11741         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11742         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11743         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11744         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11745         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11746         * sysdeps/x86_64/ifuncmain8.c: New file.
11747         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11748         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11749         Removed.
11750         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11751         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11752         Change rtld_savespace_sse to __glibc_unused2.
11753         (RTLD_CHECK_FOREIGN_CALL): Removed.
11754         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11755         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11756         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11758 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11760         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11762 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11764         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11765         Unconditionally set __fpcr to avoid uninialized warning.
11766         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11768 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11770         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11771         is corrupt.
11773         * malloc/arena.c (arena_get2): Drop unused argument.
11774         (arena_lock): Adjust.
11775         (arena_get_retry): Likewise.
11777 2015-08-24  Andreas Schwab  <schwab@suse.de>
11779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11780         Don't define.
11781         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11782         (__ASSUME_IPC64): Don't undef.
11783         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11784         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11785         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11786         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11787         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11788         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11789         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11790         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11791         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11792         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11793         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11794         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11795         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11796         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11797         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11798         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11799         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11800         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11801         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11802         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11803         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11805 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11807         * manual/Makefile (install): Only build manual when perl is available.
11809 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11811         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11812         '#undef memcpy' by '#undef memchr'.
11814 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11816         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11817         memchr not point to the internal __GI_memchr implementation.
11819 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11821         * timezone/Makefile (CFLAGS-zdump.c): Remove
11822         -Wno-strict-prototypes.
11823         (CFLAGS-zic.c): Likewise.
11824         (CFLAGS-ialloc.c): Likewise.
11825         (CFLAGS-scheck.c): Likewise.
11827         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11828         -Wno-error=undef.
11830 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11832         * i386/i686/multiarch/strcasestr-c.c: Removed.
11833         * x86_64/multiarch/strcasestr.c: Likewise.
11834         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11835         Remove strcasestr.
11837 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11839         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11841         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11842         variables for high and low parts before possibly modifying them.
11844 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11846         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11847         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11848         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11849         of "multiarch/init-arch.h".
11850         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11851         * sysdeps/x86/init-arch.h: This.
11853 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11855         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11856         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11858 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11860         [BZ #17787]
11861         * manual/macros.texi: Add twoexp macro.
11862         * manual/filesys.texi: Fix exponents.
11863         * manual/llio.texi: Likewise.
11864         * manual/stdio.texi: Likewise.
11866 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11868         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11869         incorrect use.
11871 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11873         [BZ #18370]
11874         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11875         whose real or imaginary part has small absolute value.
11876         * math/s_csqrtf.c (__csqrtf): Likewise.
11877         * math/s_csqrtl.c (__csqrtl): Likewise.
11878         * math/auto-libm-test-in: Add more tests of csqrt.
11879         * math/auto-libm-test-out: Regenerated.
11880         * sysdeps/i386/fpu/libm-test-ulps: Update.
11882 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11884         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11885         __ppc_set_ppr_very_low): New functions.
11886         * manual/platform.texi: Add documentation about
11887         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11889 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11891         * string/stpncpy.c (stpncpy): Improve performance using
11892         __strnlen/memcpy/memset.
11894 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11896         [BZ #18796]
11897         * scripts/test-installation.pl: Don't add -lmvec to build options if
11898         libmvec wasn't built.
11900 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11902         [BZ #14341]
11903         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11904         case when there is a gap between DT_REL and DT_JMPREL sections.
11905         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11906         (LDFLAGS-tst-split-dynreloc): New.
11907         (tst-split-dynreloc-ENV): Likewise.
11908         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11909         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11911 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11913         [BZ #18822]
11914         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11915         attribute_hidden.
11916         (__xstat64_conv): Likewise.
11917         (__xstat32_conv): Likewise.
11919 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11921         [BZ #18822]
11922         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11923         Don't load %ebx when calling __setcontext.  Call __setcontext
11924         with HIDDEN_JUMPTARGET.
11925         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11926         libc_hidden_def.
11928 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11930         * sysdeps/i386/i686/Makefile
11931         [$(subdir) == string] (sysdep_routines): Moved to ...
11932         * sysdeps/i386/Makefile: Here.
11933         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11934         * sysdeps/i386/cacheinfo.c: Here.
11935         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11936         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11937         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11938         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11940 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11942         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11943         __i586__ is defined.
11944         (HAS_I686): Defined to 1 if __i686__ is defined.
11946 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11948         * elf/Makefile [$(have-z-execstack) = yes]
11949         (CPPFLAGS-tst-execstack.c): New variable.
11951         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11952         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11953         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11954         UTMPX || _HAVE_UT_TV].
11955         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11956         UTMPX || _HAVE_UT_TV - 0].
11958 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11960         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11961         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11962         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11964 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11966         * sysdeps/powerpc/dl-procinfo.c:
11967         (_dl_powerpc_cap_flags): Added missing strings for some
11968         hwcap features.
11969         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11971 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11973         Port the 0x7efe...feff pattern to GCC 6.
11974         See Steve Ellcey's bug report in:
11975         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11976         * string/memrchr.c (MEMRCHR):
11977         * string/rawmemchr.c (RAWMEMCHR):
11978         * string/strchr.c (strchr):
11979         * string/strchrnul.c (STRCHRNUL):
11980         Rewrite code to avoid issues with signed shift overflow.
11982 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11984         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11985         whether cpuid is available only if HAS_CPUID is 0.
11986         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11987         (HAS_I586): Likewise.
11988         (HAS_I686): Likewise.
11990 2015-08-18  Zack Weinberg  <zackw@panix.com>
11992         * misc/Versions (libc): Add GLIBC_2.23.
11994 2015-08-18  Alan Modra  <amodra@gmail.com>
11996         [BZ #18421]
11997         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11998         .Lp__global.
11999         (_start): Load %dp via .Lp__global.
12000         [!SHARED]: Use .section .rodata.
12002 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12004         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12005         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12007 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12009         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12010         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12012 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12014         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12015         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12017 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12019         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12020         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12022 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12024         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12025         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12027 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12029         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12030         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12032 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12034         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12036 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12038         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12039         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12040         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12041         (__ASSUME_LWS_CAS): Delete.
12043 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12045         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12046         * sysdeps/hppa/configure: Regenerated.
12047         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12048         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12049         * sysdeps/hppa/nptl/tls.h: Likewise.
12051 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12053         [BZ #18823]
12054         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12055         for scaling up small arguments.
12056         * math/s_csqrtf.c (__csqrtf): Likewise.
12057         * math/s_csqrtl.c (__csqrtl): Likewise.
12058         * math/auto-libm-test-in: Add more tests of csqrt.
12059         * math/auto-libm-test-out: Regenerated.
12061 2015-08-17  Andreas Schwab  <schwab@suse.de>
12063         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12064         version set GLIBC_2.19.
12066 2015-08-16  Zack Weinberg  <zackw@panix.com>
12068         [BZ #18681]
12069         * misc/regexp.h: This interface is no longer supported.
12070         Remove all contents, leaving only an #error directive.
12071         * misc/regexp.c (loc1, loc2, locs, step, advance):
12072         Demote to compatibility symbols.
12074 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12076         [BZ #18084]
12077         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12078         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12079         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12080         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12081         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12082         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12083         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12084         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12085         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12087 2015-08-15  Zack Weinberg  <zackw@panix.com>
12089         [BZ #18795]
12090         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12091         buffer length is known to be too large, not if it's known to be
12092         small enough.
12093         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12094         overflow at runtime, involving a length parameter, twice: once
12095         with a compile-time constant length parameter, once without.
12097 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #18824]
12100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12101         scaling x * y up instead of down.
12102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12104         * math/auto-libm-test-in: Add more tests of fma.
12105         * math/auto-libm-test-out: Regenerated.
12107 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12111 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12113         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12114         unnecessary movq.
12115         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12116         Likewise.
12118 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12120         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12121         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12122         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12123         and tgamma.
12124         * math/auto-libm-test-out: Regenerated.
12125         * sysdeps/i386/fpu/libm-test-ulps: Update.
12126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12128         [BZ #16520]
12129         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12130         (__tanh): Force underflow exception for arguments with small
12131         absolute value.
12132         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12133         (__tanhf): Force underflow exception for arguments with small
12134         absolute value.
12135         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12136         (__tanhl): Force underflow exception for arguments with small
12137         absolute value.
12138         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12139         (__tanhl): Force underflow exception for arguments with small
12140         absolute value.
12141         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12142         (__tanhl): Force underflow exception for arguments with small
12143         absolute value.
12144         * math/auto-libm-test-in: Add more tests of tanh.
12145         * math/auto-libm-test-out: Regenerated.
12146         * sysdeps/i386/fpu/libm-test-ulps: Update.
12148 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12150         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12151         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12153 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12155         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12156         <cpuid.h>.
12158 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12160         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12161         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12163 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12165         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12166         Remove $(objpfx)init-arch.o.
12167         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12168         init-arch.
12169         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12170         (INIT_ARCH_EXT): Defined as empty.
12171         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12172         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12173         __init_cpu_features call.  Replace HAS_XXX with
12174         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12175         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12176         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12179         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12180         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12181         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12182         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12183         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12184         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12185         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12186         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12187         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12188         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12191         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12193         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12197         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12198         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12200         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12201         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12211 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12213         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12214         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12215         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12216         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12218         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12219         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12220         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12221         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12222         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12223         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12224         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12225         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12226         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12227         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12228         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12229         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12230         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12231         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12232         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12233         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12234         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12235         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12236         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12237         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12238         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12239         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12240         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12241         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12247         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12248         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12249         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12250         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12251         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12252         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12253         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12254         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12255         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12257 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12259         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12260         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12261         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12262         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12263         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12264         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12265         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12266         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12267         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12268         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12269         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12270         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12271         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12272         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12273         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12274         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12275         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12276         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12277         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12279         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12280         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12281         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12282         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12283         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12284         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12285         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12286         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12287         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12288         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12289         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12290         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12291         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12292         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12293         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12294         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12296         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12297         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12298         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12299         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12300         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12301         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12303 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12305         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12306         (dl_platform_init): Call init_cpu_features.
12307         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12308         * sysdeps/i386/i686/cacheinfo.c
12309         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12310         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12311         * sysdeps/i386/i686/multiarch/Versions: Removed.
12312         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12313         Removed.
12314         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12315         * sysdeps/unix/sysv/linux/x86/Makefile
12316         (libpthread-sysdep_routines): Remove init-arch.
12317         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12318         <sysdeps/x86_64/dl-procinfo.c> instead of
12319         sysdeps/generic/dl-procinfo.c>.
12320         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12321         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12322         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12323         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12324         [$(subdir) == elf] (tests-static): Add
12325         tst-get-cpu-features-static.
12326         * sysdeps/x86/Versions: New file.
12327         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12328         * sysdeps/x86/cpu-features.c: Likewise.
12329         * sysdeps/x86/cpu-features.h: Likewise.
12330         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12331         * sysdeps/x86/libc-start.c: Likewise.
12332         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12333         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12334         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12335         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12336         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12337         Assume USE_MULTIARCH is defined and don't check it.
12338         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12339         (is_amd): Likewise.
12340         (max_cpuid): Likewise.
12341         (intel_check_word): Likewise.
12342         (__cache_sysconf): Don't call __init_cpu_features.
12343         (__x86_preferred_memory_instruction): Removed.
12344         (init_cacheinfo): Don't call __init_cpu_features. Replace
12345         __cpu_features with GLRO(dl_x86_cpu_features).
12346         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12347         (dl_platform_init): Call init_cpu_features.
12348         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12349         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12350         * sysdeps/x86_64/multiarch/Versions: Removed.
12351         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12352         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12353         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12354         Removed.
12355         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12357 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12359         [BZ #18820]
12360         * libio/Makefile (test-fmemopen-mem): New test.
12361         * libio/test-fmemopen.c (do_bz18820): New test.
12362         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12363         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12365 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12367         [BZ #16734]
12368         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12369         (FREE_BUF): Delete.
12370         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12371         * libio/genops.c (_IO_setb): Use malloc and free directly.
12372         (_IO_default_doallocate, _IO_default_finish): Likewise.
12373         ( _IO_unbuffer_all): Likewise.
12374         ( libc_freeres_fn): Likewise.
12375         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12376         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12377         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12378         (_IO_wdefault_doallocate): Likewise.
12380 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12382         [BZ #18086]
12383         * sysdeps/posix/nice.c (nice): Restore old errno.
12384         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12386 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12390 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12392         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12393         __bcopy and add a weak_alias to bcopy.
12394         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12395         for static build.
12397         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12398         cleanup macro usage.
12399         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12401         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12403         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12404         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12405         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12406         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12407         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12408         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12410         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12411         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12412         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12414         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12415         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12416         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12417         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12419         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12420         libc_hidden_def.
12421         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12423         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12424         (sysdep_routines): Add strstr-ppc64.
12425         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12427 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12429         [BZ #18778]
12430         * elf/Makefile (tests): Add Add tst-nodelete2.
12431         (modules-names): Add tst-nodelete2mod.
12432         (tst-nodelete2mod.so-no-z-defs): New.
12433         ($(objpfx)tst-nodelete2): Likewise.
12434         ($(objpfx)tst-nodelete2.out): Likewise.
12435         (LDFLAGS-tst-nodelete2): Likewise.
12436         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12437         out of loop through all loaded libraries.
12438         * elf/tst-nodelete2.c: New file.
12439         * elf/tst-nodelete2mod.c: Likewise.
12440         * elf/tst-znodelete-zlib.cc: Delete.
12442 2015-08-11  Andreas Schwab  <schwab@suse.de>
12444         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12445         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12446         (__openat64_nocancel): Likewise.
12448 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12450         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12451         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12452         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12453         * math/auto-libm-test-out: Regenerated.
12454         * sysdeps/i386/fpu/libm-test-ulps: Update.
12455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12459         [BZ #18790]
12460         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12461         threshold for returning +/- 1.
12462         * math/auto-libm-test-in: Add more tests of tanh.
12463         * math/auto-libm-test-out: Regenerated.
12464         * sysdeps/i386/fpu/libm-test-ulps: Update.
12466 2015-08-10  Andreas Schwab  <schwab@suse.de>
12468         [BZ #18781]
12469         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12470         MORE_OFLAGS to oflag.
12471         * io/test-lfs.c (do_test): Test openat64.
12473 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12475         [BZ #18789]
12476         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12477         smaller threshold for returning the argument.
12478         * math/auto-libm-test-in: Add more tests of sinh.
12479         * math/auto-libm-test-out: Regenerated.
12480         * sysdeps/i386/fpu/libm-test-ulps: Update.
12482 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12484         [BZ #18674]
12485         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12486         break.
12488 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12490         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12491         (generated): Don't add $(addprefix z.,$(tzfiles)).
12493 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12495         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12496         * scripts/sysd-rules.awk: Likewise.
12498 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12500         * iconvdata/tst-tables.sh: Change echo -n to printf.
12501         * nss/db-Makefile: Likewise.
12502         * posix/tst-getconf.sh: Likewise.
12503         * stdio-common/tst-unbputc.sh: Likewise.
12505 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12507         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12508         MADV_*_PAGES defines behind this feature check.
12510 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12512         [BZ #18480]
12513         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12514         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12515         Define.
12516         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12517         LOAD_REGS_5, LOAD_REGS_6): Update.
12518         (INTERNAL_SYSCALL): Update using new LOAD defines.
12519         (INTERNAL_SYSCALL_NCS): Likewise.
12520         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12522 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12524         [BZ #16734]
12525         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12527 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12529         [BZ #17905]
12530         * catgets/Makefile (tst-catgets-mem): New test.
12531         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12532         * catgets/open_catalog.c (__open_catalog): Likewise.
12533         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12535 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12537         [BZ #18787]
12538         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12539         clobber registers.
12540         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12541         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12542         Cast return to __typeof (oldval).
12544 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12546         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12547         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12548         and delete sys/syscall.h include.
12550 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12552         [BZ #16517]
12553         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12554         (tan): Force underflow exception for arguments with small absolute
12555         value.
12556         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12557         (__kernel_tanf): Force underflow exception for arguments with
12558         small absolute value.
12559         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12560         (__kernel_tanl): Force underflow exception for arguments with
12561         small absolute value.
12562         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12563         (__kernel_tanl): Force underflow exception for arguments with
12564         small absolute value.
12565         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12566         (__kernel_tanl): Force underflow exception for arguments with
12567         small absolute value.
12568         * math/auto-libm-test-in: Add more tests of tan.
12569         * math/auto-libm-test-out: Regenerated.
12571 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12573         Fix sysdeps/i386/fpu/s_scalbn.S build
12575         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12577 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12579         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12581 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12583         Fix gcrt0.o compilation
12585         When static-start-installed-name is different from
12586         start-installed-name, we must not use the shared objects.
12588         * csu/Makefile
12589         (extra-objs): Add gmon-start.o when building shared library and
12590         $(static-start-installed-name) is different from
12591         $(start-installed-name).
12592         $(objpfx)g$(static-start-installed-name): When building shared
12593         library and $(static-start-installed-name) is different from
12594         $(static-start-installed-name), revert to non-shared rule,
12595         i.e. using $(objpfx)% and gmon-start.o.
12597 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12599         [BZ #16519]
12600         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12601         (__ieee754_sinh): Force underflow exception for arguments with
12602         small absolute value.
12603         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12604         (__ieee754_sinhf): Force underflow exception for arguments with
12605         small absolute value.
12606         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12607         (__ieee754_sinhl): Force underflow exception for arguments with
12608         small absolute value.
12609         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12610         (__ieee754_sinhl): Force underflow exception for arguments with
12611         small absolute value.
12612         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12613         (__ieee754_sinhl): Force underflow exception for arguments with
12614         small absolute value.
12615         * math/auto-libm-test-in: Add more tests of sinh.
12616         * math/auto-libm-test-out: Regenerated.
12617         * sysdeps/i386/fpu/libm-test-ulps: Update.
12619 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12621         * libio/oldfileops.c: Include unistd.h.
12623 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12625         * stdlib/isomac.c: Include ctype.h.
12627 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12629         * dirent/tst-seekdir.c (main): Converted to ...
12630         (do_test): ... this.
12631         (TEST_FUNCTION): New macro.
12632         Include test-skeleton.c.
12633         * elf/tst-dlmodcount.c (main): Converted to ...
12634         (do_test): ... this.
12635         (TEST_FUNCTION): New macro.
12636         Include test-skeleton.c.
12637         * elf/tst-order-main.c (main): Converted to ...
12638         (do_test): ... this.
12639         (TEST_FUNCTION): New macro.
12640         Include test-skeleton.c.
12641         * elf/tst-pie2.c (main): Converted to ...
12642         (do_test): ... this.
12643         (TEST_FUNCTION): New macro.
12644         Include test-skeleton.c.
12645         * inet/tst-ether_aton.c (main): Converted to ...
12646         (do_test): ... this.
12647         (TEST_FUNCTION): New macro.
12648         Include test-skeleton.c.
12649         * misc/tst-mntent.c (main): Converted to ...
12650         (do_test): ... this.
12651         (TEST_FUNCTION): New macro.
12652         Include test-skeleton.c.
12653         * misc/tst-tsearch.c (main): Converted to ...
12654         (do_test): ... this.
12655         (TEST_FUNCTION): New macro.
12656         Include test-skeleton.c.
12657         * posix/tst-regexloc.c (main): Converted to ...
12658         (do_test): ... this.
12659         (TEST_FUNCTION): New macro.
12660         Include test-skeleton.c.
12661         * resolv/tst-aton.c (main): Converted to ...
12662         (do_test): ... this.
12663         (TEST_FUNCTION): New macro.
12664         Include test-skeleton.c.
12665         * stdio-common/test-fwrite.c (main): Converted to ...
12666         (do_test): ... this.
12667         (TEST_FUNCTION): New macro.
12668         Include test-skeleton.c.
12669         * stdio-common/tst-ferror.c (main): Converted to ...
12670         (do_test): ... this.
12671         (TEST_FUNCTION): New macro.
12672         Include test-skeleton.c.
12673         * stdio-common/tst-printf.c (main): Converted to ...
12674         (do_test): ... this.
12675         (TEST_FUNCTION): New macro.
12676         Include test-skeleton.c.
12677         * stdio-common/tst-printfsz.c (main): Converted to ...
12678         (do_test): ... this.
12679         (TEST_FUNCTION): New macro.
12680         Include test-skeleton.c.
12681         * stdlib/tst-strtod.c (main): Converted to ...
12682         (do_test): ... this.
12683         (TEST_FUNCTION): New macro.
12684         Include test-skeleton.c.
12685         * string/tst-strlen.c (main): Converted to ...
12686         (do_test): ... this.
12687         (TEST_FUNCTION): New macro.
12688         Include test-skeleton.c.
12689         * string/tst-svc.c (main): Converted to ...
12690         (do_test): ... this.
12691         (TEST_FUNCTION): New macro.
12692         Include test-skeleton.c.
12693         * time/tst-strptime.c (main): Converted to ...
12694         (do_test): ... this.
12695         (TEST_FUNCTION): New macro.
12696         Include test-skeleton.c.
12697         * timezone/tst-timezone.c (main): Converted to ...
12698         (do_test): ... this.
12699         (TEST_FUNCTION): New macro.
12700         Include test-skeleton.c.
12702 2015-08-05  Zack Weinberg  <zackw@panix.com>
12704         * misc/regexp.h: Update comments.
12706 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12708         [BZ #18635]
12709         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12710         before return label.
12712 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12714         [BZ #18661]
12715         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12716         when calling __errno_location.
12717         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12718         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12720 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12722         [BZ #18661]
12723         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12724         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12725         __gettimeofday.
12727 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12729         [BZ #18661]
12730         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12731         (__start_context): Don't use pop to restore %rdi so that stack
12732         is aligned to 16 bytes when calling __setcontext.
12734 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12736         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12737         only for libc.
12738         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12740 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12742         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12743         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12744         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12746 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12748         * string/memccpy.c (memccpy):
12749         Improve performance by using memchr/memcpy/__mempcpy.
12751 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12753         * string/strncpy.c (strncpy):
12754         Improve performance by using __strnlen/memcpy.
12756 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12758         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12759         Optimize to avoid an unnecessary FPCR read.
12761 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12763         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12764         Optimize to reduce FPCR/FPSR accesses.
12766 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12768         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12769         dead->data[category] != NULL.
12771 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12773         [BZ #18647]
12774         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12775         and |x| close to 1, use absolute value of x when computing log.
12776         * math/auto-libm-test-in: Add more tests of pow.
12777         * math/auto-libm-test-out: Regenerated.
12779 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12781         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12782         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12783         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12785 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12787         [BZ #18525]
12788         * locales/km_KH: Remove timezone definition.
12789         * locales/lo_LA: Likewise.
12790         * locales/my_MM: Likewise.
12791         * locales/nan_TW@latin: Likewise.
12792         * locales/th_TH: Likewise.
12793         * locales/uk_UA: Likewise.
12795 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12797         [BZ #18265]
12798         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12799         (wcsncat): Likewise.
12800         (wcscmp): Likewise.
12801         (wcsncmp): Likewise.
12803 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12805         * test-skeleton.c (usage): New function.
12806         (main): Call usage when opt is '?'.
12808 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12810         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12811         before first use.
12813 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12815         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12816         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12817         in there too.
12819 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12821         * version.h (RELEASE): Set to "development".
12822         (VERSION): Set to "2.22.90"
12824         * version.h (RELEASE): Set to "stable".
12825         (VERSION): Set to "2.22"
12826         * include/features.h (__GLIBC_MINOR__): Set to 22.
12828 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12830         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12831         Restructure macro to avoid "value computed is not used" warning.
12832         (atomic_compare_and_exchange_val_acq): Likewise.
12834 2015-08-04  Andreas Schwab  <schwab@suse.de>
12836         [BZ #18635]
12837         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12838         ret.
12839         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12841 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12843         * po/pl.po: Updated translation.
12844         * po/uk.po: Likewise.
12845         * po/fi.po: Likewise.
12846         * po/ko.po: Likewise.
12847         * po/ru.po: Likewise.
12848         * po/vi.po: Likewise.
12850 2015-07-31  Zack Weinberg  <zackw@panix.com>
12852         [BZ #18681]
12853         * regexp.h: Add unconditional #warning stating that this header
12854         will be removed soon.  Revise banner comment to match.
12855         (compile): Consistently use ERROR instead of RETURN to report
12856         errors (partial fix for bz#18681).
12857         * regexp.c: Don't include regexp.h. Remove some unnecessary
12858         declarations.
12860 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12862         * po/libc.pot: Regenerated.
12864 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12866         [BZ #18740]
12867         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12868         float-vlen4-arch-ext-cflags): Removed.
12869         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12870         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12872 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12874         [BZ #14113]
12875         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12876         aligned to __aligned__.
12877         (pthread_cond_t, pthread_rwlock_t): Likewise.
12879 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12881         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12883 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12885         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12886         (struct sigaction): Change sa_flags from a long to an int, and add
12887         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12889 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12891         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12892         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12893         sysdeps/generic/sysdep.h include.
12894         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12895         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12896         sysdeps/hppa/sysdep.h.
12897         (ENTRY, PSEUDO): Undefine before defining.
12899 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12901         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12902         from scratch to use INTERNAL_SYSCALL.
12904 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12906         [BZ #18078]
12907         * scripts/check-localplt.awk: Support alternate relocations.
12908         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12909         sections.
12910         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12911         malloc entries with + REL R_386_GLOB_DAT.
12912         * sysdeps/x86_64/localplt.data: New file.
12914 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12916         [BZ #18731]
12917         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12918         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12919         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12921 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12923         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12925 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12927         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12928         directly in terms of __sync_fetch_and_add and delete (int) cast.
12930 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12932         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12933         the -D_ASM_IA64_CURRENT_H flag.
12935 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12937         [BZ #18641]
12938         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12940 2015-07-27  Andreas Schwab  <schwab@suse.de>
12942         * conform/conformtest.pl (checknamespace): Filter out string
12943         literals while tokenizing.
12945 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12947         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12948         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12949         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12951 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12953         * nptl/tst-join7mod.c: Add #include <string.h>.
12955 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12957         * sysdeps/nios2/libm-test-ulps: Update.
12959 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12961         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12962         Fix order of arguments to the rt_sigprocmask syscall.
12963         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12964         Likewise.
12966 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12968         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12970 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12972         [BZ #18457]
12973         * nptl/Makefile (tests): New test case tst-join7.
12974         (modules-names): New test case module tst-join7mod.
12975         * nptl/tst-join7.c: New file.
12976         * nptl/tst-join7mod.c: New file.
12977         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12978         all translation units in libc.so, libpthread.so and rtld.
12980 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12984 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12986         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12987         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12988         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12990         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12993         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12994         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12995         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12996         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12997         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12998         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12999         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13000         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13001         implementation.
13003 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13005         [BZ #17711]
13006         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13007         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13008         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13009         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13010         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13011         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13013 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13015         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13016         instead of just saying load lock in the comments.
13018 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13020         * sysdeps/unix/Subdirs: Moved ...
13021         * sysdeps/posix/Subdirs: ... here.
13022         * login/pty.h (struct termios, struct winsize): Add forward decls.
13023         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13024         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13025         * sysdeps/arm/nacl/libc.abilist: Updated.
13026         * sysdeps/nacl/libutil.abilist: New file.
13028         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13029         (SIGWINCH): New macro.
13031         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13032         * sysdeps/arm/nacl/libc.abilist: Add it.
13034 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13036         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13038 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13040         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13041         Swap __glibc_reserved0 and sa_flags order.
13043 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13045         [BZ #18657]
13046         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13047         are pending TLS destructor calls.
13048         * include/link.h (struct link_map): Add concurrency note for
13049         L_TLS_DTOR_COUNT.
13050         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13051         Don't touch the link map flag.  Atomically increment
13052         l_tls_dtor_count.
13053         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13054         Avoid taking the load lock and don't touch the link map flag.
13055         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13056         * stdlib/Makefile (tests): Use it.
13057         * stdlib/tst-tls-atexit.c (do_test): dlopen
13058         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13059         to allow tst-tls-atexit-nodelete test case to use it.
13061 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13063         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13064         to bits/types.h.
13065         (msgqnum_t): New typedef.
13066         (msglen_t): Likewise.
13067         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13068         and msg_qbytes type to msglen_t.
13070 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13072         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13073         pad0 to __glibc_reserved0.
13074         (struct stat64): Likewise.
13076 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13078         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13079         Change sa_flags from a long to an int and add __glibc_reserved0 before
13080         it for padding.
13082 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13084         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13085         anonymous by deleting "siginfo" name.
13087 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13089         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13090         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13091         rather than __nacl_irt_filename.
13092         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13094         * NEWS: New item for arm-nacl port.
13095         * sysdeps/arm/nacl/libc.abilist: New file.
13096         * sysdeps/nacl/ld.abilist: New file.
13097         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13098         * sysdeps/nacl/libanl.abilist: New file.
13099         * sysdeps/nacl/libcrypt.abilist: New file.
13100         * sysdeps/nacl/libdl.abilist: New file.
13101         * sysdeps/nacl/libm.abilist: New file.
13102         * sysdeps/nacl/libpthread.abilist: New file.
13103         * sysdeps/nacl/libresolv.abilist: New file.
13104         * sysdeps/nacl/librt.abilist: New file.
13106 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13108         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13109         __startcontext to initialize the new context.
13110         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13111         up CFI directive to forbid further backtracing.
13113 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13115         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13116         reference.
13117         * charmaps/ANSI_X3.4-1968: Likewise.
13118         * charmaps/BS_4730: Likewise.
13119         * charmaps/BS_VIEWDATA: Likewise.
13120         * charmaps/CP1250: Likewise.
13121         * charmaps/CP1251: Likewise.
13122         * charmaps/CP1252: Likewise.
13123         * charmaps/CP1253: Likewise.
13124         * charmaps/CP1254: Likewise.
13125         * charmaps/CP1255: Likewise.
13126         * charmaps/CP1256: Likewise.
13127         * charmaps/CSN_369103: Likewise.
13128         * charmaps/EBCDIC-DK-NO: Likewise.
13129         * charmaps/GB_1988-80: Likewise.
13130         * charmaps/GREEK-CCITT: Likewise.
13131         * charmaps/GREEK7: Likewise.
13132         * charmaps/INIS-8: Likewise.
13133         * charmaps/ISIRI-3342: Likewise.
13134         * charmaps/ISO_2033-1983: Likewise.
13135         * charmaps/ISO_5427-EXT: Likewise.
13136         * locales/POSIX: Likewise.
13137         * locales/ar_SA: Likewise.
13138         * locales/be_BY: Likewise.
13139         * locales/be_BY@latin: Likewise.
13140         * locales/ca_ES: Likewise.
13141         * locales/cs_CZ: Likewise.
13142         * locales/da_DK: Likewise.
13143         * locales/de_BE: Likewise.
13144         * locales/de_CH: Likewise.
13145         * locales/de_LU: Likewise.
13146         * locales/en_AU: Likewise.
13147         * locales/en_BW: Likewise.
13148         * locales/en_CA: Likewise.
13149         * locales/en_DK: Likewise.
13150         * locales/en_GB: Likewise.
13151         * locales/en_IE: Likewise.
13152         * locales/en_NZ: Likewise.
13153         * locales/en_ZA: Likewise.
13154         * locales/en_ZW: Likewise.
13155         * locales/es_AR: Likewise.
13156         * locales/es_BO: Likewise.
13157         * locales/es_CL: Likewise.
13158         * locales/es_CO: Likewise.
13159         * locales/es_DO: Likewise.
13160         * locales/es_EC: Likewise.
13161         * locales/es_ES: Likewise.
13162         * locales/es_HN: Likewise.
13163         * locales/es_MX: Likewise.
13164         * locales/es_PA: Likewise.
13165         * locales/es_PE: Likewise.
13166         * locales/es_PY: Likewise.
13167         * locales/es_SV: Likewise.
13168         * locales/es_US: Likewise.
13169         * locales/es_UY: Likewise.
13170         * locales/es_VE: Likewise.
13171         * locales/et_EE: Likewise.
13172         * locales/fa_IR: Likewise.
13173         * locales/fo_FO: Likewise.
13174         * locales/fr_CA: Likewise.
13175         * locales/fr_CH: Likewise.
13176         * locales/gv_GB: Likewise.
13177         * locales/he_IL: Likewise.
13178         * locales/hr_HR: Likewise.
13179         * locales/id_ID: Likewise.
13180         * locales/is_IS: Likewise.
13181         * locales/it_CH: Likewise.
13182         * locales/iw_IL: Likewise.
13183         * locales/kl_GL: Likewise.
13184         * locales/ko_KR: Likewise.
13185         * locales/kw_GB: Likewise.
13186         * locales/lg_UG: Likewise.
13187         * locales/lt_LT: Likewise.
13188         * locales/lv_LV: Likewise.
13189         * locales/mi_NZ: Likewise.
13190         * locales/nhn_MX: Likewise.
13191         * locales/nl_BE: Likewise.
13192         * locales/pl_PL: Likewise.
13193         * locales/sk_SK: Likewise.
13194         * locales/sl_SI: Likewise.
13195         * locales/sv_FI: Likewise.
13196         * locales/tl_PH: Likewise.
13197         * locales/tr_TR: Likewise.
13198         * locales/vi_VN: Likewise.
13200 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13202         [BZ #17475]
13203         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13204         of tu_IN and bh_IN.
13206 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13208         [BZ #18694]
13209         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13210         bits/wordsize.h.
13211         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13213 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13215         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13216         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13217         (spawn_thread): New function.
13218         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13219         (do_test): ... here.  Use IS_LOADED to test for its
13220         availability.
13222 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13224         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13226 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13228         [BZ #18696]
13229         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13230         si_addr_bnd.
13231         (si_lower): New.
13232         (si_upper): Likewise.
13234 2015-07-16  David S. Miller  <davem@davemloft.net>
13236         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13238 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13240         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13241         buffer.
13242         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13243         fail output information.
13245 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13248         and strstr-ppc64..
13249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13250         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13251         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13252         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13253         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13255 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13257         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13258         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13259         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13260         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13262 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13264         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13265         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13266         rtld_hidden_proto.
13267         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13269 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13271         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13272         the test can fail.
13274         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13276         [BZ #18676]
13277         * elf/tst-nodelete-opened.c: New test case.
13278         * elf/tst-nodelete-opened-lib.c: New test case module.
13279         * elf/Makefile (tests, modules-names): Use them.
13280         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13281         early.
13283 2015-07-15  David S. Miller  <davem@davemloft.net>
13285         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13286         futex-intenal.h
13287         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13288         * sysdeps/sparc/sparc64/Makefile: Likewise.
13289         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13290         Remove space from macro define.
13291         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13293 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13295         [BZ #17475]
13296         * locale/iso-639.def: Update Bhili and Tulu language codes as
13297         per iso639-3.
13299 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13301         * elf/tst-leaks1.c (main): Converted to ...
13302         (do_test): ... this.
13303         (TEST_FUNCTION): New macro.
13304         Include test-skeleton.c.
13305         * localedata/tst-langinfo.c (main): Converted to ...
13306         (do_test): ... this.
13307         (TEST_FUNCTION): New macro.
13308         Include test-skeleton.c.
13309         * math/test-fpucw.c (main): Converted to ...
13310         (do_test): ... this.
13311         (TEST_FUNCTION): New macro.
13312         Include test-skeleton.c.
13313         * math/test-tgmath.c (main): Converted to ...
13314         (do_test): ... this.
13315         (TEST_FUNCTION): New macro.
13316         Include test-skeleton.c.
13317         * math/test-tgmath2.c (main): Converted to ...
13318         (do_test): ... this.
13319         (TEST_FUNCTION): New macro.
13320         Include test-skeleton.c.
13321         * setjmp/tst-setjmp.c (main): Converted to ...
13322         (do_test): ... this.
13323         (TEST_FUNCTION): New macro.
13324         Include test-skeleton.c.
13325         * stdio-common/tst-sscanf.c (main): Converted to ...
13326         (do_test): ... this.
13327         (TEST_FUNCTION): New macro.
13328         Include test-skeleton.c.
13329         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13330         (do_test): ... this.
13331         (TEST_FUNCTION): New macro.
13332         Include test-skeleton.c.
13334         * elf/tst-audit9.c (main): Converted to ...
13335         (do_test): ... this.
13336         (TEST_FUNCTION): New macro.
13337         Include test-skeleton.c.
13339 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13341         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13343 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13345         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13346         New variable.
13348 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13350         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13352 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13354         * sysdeps/generic/dl-fileid.h: New file.
13355         * sysdeps/posix/dl-fileid.h: New file.
13356         * sysdeps/nacl/dl-fileid.h: New file.
13357         * include/link.h: Include <dl-fileid.h>.
13358         (struct link_map): Replace l_dev and l_ino with l_file_id.
13359         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13360         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13361         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13363 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13365         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13367 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13369         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13370         Add iff $CXX is set.
13371         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13372         Likewise.
13373         (tst-nodelete-zmodiff): Likewise.
13374         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13376 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13378         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13380 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13382         * sysdeps/aarch64/fpu/math_private.h
13383         (define math_opt_barrier): Add AArch64 version.
13384         (math_force_eval): Likewise.
13386 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13388         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13390 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13392         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13393         %ld with %jd and cast to intmax_t.
13394         (do_test_length_zero): Likewise.
13396 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13398         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13400 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13402         * sysdeps/tile/libm-test-ulps: Regenerated.
13404         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13405         Comment out the whole function, not just its body.
13407 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13409         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13410         locks.
13412         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13414 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13416         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13417         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13419 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13421         * sysdeps/nptl/futex-internal.h: New file.
13422         * sysdeps/nacl/futex-internal.h: New file.
13423         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13424         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13425         error checking.
13426         (setxid_unmark_thread): Likewise.
13427         (__nptl_setxid): Likewise.
13428         (__wait_lookup_done): Likewise.
13429         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13430         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13431         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13432         * nptl/pthread_once.c (clear_once_control): Likewise.
13433         (__pthread_once_slow): Likewise.
13434         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13435         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13436         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13437         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13438         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13439         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13440         Likewise.
13441         (__pthread_rwlock_rdlock): Likewise.
13442         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13443         Likewise.
13444         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13445         Likewise.
13446         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13447         Likewise.
13448         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13449         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13450         Likewise.
13451         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13452         __ASSUME_PRIVATE_FUTEX check.
13453         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13454         Check that shared futexes are supported.
13455         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13456         wrappers with error checking.
13457         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13458         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13459         * nptl/pthread_barrierattr_setpshared.c
13460         (pthread_barrierattr_setpshared): Check that shared futexes are
13461         supported.
13462         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13463         Likewise.
13464         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13465         Likewise.
13466         * nptl/sem_init.c (futex_private_if_supported): Remove.
13467         (__new_sem_init): Adapt and check that shared futexes are supported.
13468         * nptl/sem_open.c (sem_open): Likewise.
13469         * nptl/sem_post.c (futex_wake): Remove.
13470         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13471         (do_futex_wait): Use futex wrappers with error checking.
13472         * nptl/sem_wait.c: Include lowlevellock.h.
13473         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13474         Use futex_supports_pshared.
13475         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13476         Use futex wrappers with error checking.
13477         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13478         Likewise.
13479         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13480         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13481         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13482         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13483         (futex_wake): Likewise.
13484         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13485         (do_futex_wait): Use futex wrappers with error checking.
13486         (__new_sem_wait_slow): Update EINTR handling.
13487         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13489 2015-07-09  Martin Sebor  <msebor@redhat.com>
13491         [BZ #18435]
13492         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13493         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13494         * nptl/Makefile (test-xfail-tst-once5): Define.
13496 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13498         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13499         * elf/dl-minimal.c: For readability, reorder some definitions and
13500         introduce more page breaks.  Include <stdio.h>.
13501         (__libc_fatal): New function.
13503         * include/unistd.h: Add rtld_hidden_proto for _exit.
13504         * posix/_exit.c: Add rtld_hidden_def.
13505         * sysdeps/mach/hurd/_exit.c: Likewise.
13506         * sysdeps/nacl/_exit.c: Likewise.
13507         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13508         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13510 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13513         bndmov encoding with zero displacement.
13515 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13516             H.J. Lu  <hongjiu.lu@intel.com>
13518         [BZ #18134]
13519         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13520         * sysdeps/i386/configure: Regenerated.
13521         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13522         (_dl_runtime_profile): Save and restore Intel MPX return bound
13523         registers when calling _dl_call_pltexit.  Add
13524         PRESERVE_BND_REGS_PREFIX before return.
13525         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13526         (LRV_BND1_OFFSET): Likewise.
13527         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13528         lrv_bnd1.
13529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13530         typo in bndmov encoding.
13531         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13532         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13533         branch instructions to preserve bounds.
13535 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13538         [GLIBC_2.22]: Add fmemopen.
13540 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13542         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13543         returns an error, also try to use host port from __mach_host_self for
13544         the __vm_wire call.
13545         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13547 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13549         [BZ #18400]
13550         [BZ #18648]
13551         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13552         Fix pr_uid and pr_gid members.
13553         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13554         definition to elf_greg_t.
13556 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13558         [BZ #18383]
13559         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13560         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13561         * sysdeps/arm/configure: Regenerated.
13562         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13563         (test-xfail-tst-tlsalign-static): Variable removed.
13565         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13566         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13567         rather than explicit 'ln -s'.
13569         * resolv/rpc/netdb.h: New file.
13570         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13572 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13574         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13575         length buffers.
13576         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13577         test-skeleton.c.
13579         [BZ #6544]
13580         [BZ #11216]
13581         [BZ #12836]
13582         [BZ #13151]
13583         [BZ #13152]
13584         [BZ #14292]
13585         * include/stdio.h (fmemopen): Remove hidden prototype.
13586         (__fmemopen): Add new hidden prototype.
13587         * libio/Makefile: Add oldfmemopen object.
13588         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13589         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13590         compliance.
13591         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13592         symbol compatibility.
13593         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13594         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13595         fmemopen.
13596         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13597         on append and read mode.
13598         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13599         fmemopen.
13600         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13601         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13602         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13603         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13604         Likewise.
13605         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13606         [GLIBC_2.22]: Likewise.
13607         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13608         Likewise.
13609         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13610         Likewise.
13611         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13612         [GLIBC_2.22]: Likewise.
13613         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13614         [GLIBC_2.22]: Likewise.
13615         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13616         [GLIBC_2.22]: Likewise.
13617         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13618         [GLIBC_2.22]: Likewise.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13620         [GLIBC_2.22]: Likewise.
13621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13622         [GLIBC_2.22]: Likewise.
13623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13624         [GLIBC_2.22]: Likewise.
13625         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13626         Likewise.
13627         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13628         Likewise.
13629         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13630         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13631         [GLIBC_2.22]: Likewise.
13632         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13633         [GLIBC_2.22]: Likewise.
13634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13635         [GLIBC_2.22]: Likewise.
13636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13637         [GLIBC_2.22]: Likewise.
13638         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13639         Likewise.
13640         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13641         Likewise.
13642         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13643         Likewise.
13644         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13645         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13647 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13649         [BZ #18643]
13650         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13651         IPV6_PATHMTU, and IPV6_DONTFRAG.
13653 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13655         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13656         and _IO_UNBUFFERED.
13657         * libio/oldfileops.c: Likewise.
13658         * libio/wfileops.c: Likewise.
13660 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13662         * nscd/selinux.c: Delete selinux/flask.h include.
13664 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13666         [BZ #18641]
13667         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13668         (putpwent): Likewise.
13669         (getpwnam): Likewise.
13670         (getpwent_r): Likewise.
13671         (getpwuid_r): Likewise.
13672         (getpwnam_r): Likewise.
13673         (fgetpwent_r): Likewise.
13675 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13677         [BZ #18557]
13678         * inet/rcmd.c (__validuser2_sa): Check user first to
13679         short-circuit host check.
13681 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13682             Mikhail Ilin  <m.ilin@samsung.com>
13684         [BZ #17833]
13685         * elf/Makefile (tests): Add tst-nodelete.
13686         (modules-names): Add tst-nodelete-uniquemod.
13687         (tst-nodelete-uniquemod.so-no-z-defs): New.
13688         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13689         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13690         ($(objpfx)tst-nodelete): Likewise.
13691         ($(objpfx)tst-nodelete.out): Likewise.
13692         (LDFLAGS-tst-nodelete): Likewise.
13693         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13694         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13695         implement forced object deletion.
13696         (_dl_close): Pass false to _dl_close_worker.
13697         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13698         * elf/tst-nodelete.cc: New file.
13699         * elf/tst-nodeletelib.cc: Likewise.
13700         * elf/tst-znodeletelib.cc: Likewise.
13701         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13703 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13705         [BZ #18508]
13706         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13707         Depend on $(libdl).
13708         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13709         is not called infinitely times.
13710         (backtrace_helper): New function.
13711         (trace_arg): New struct.
13712         (st1): Enlarge stack size.
13713         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13714         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13715         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13716         Likewise.
13718 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13720         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13722 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13724         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13725         Include sys/types.h instead of bits/types.h.
13726         Remove inclusion of bits/wordsize.h.
13728 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13730         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13731         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13732         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13733         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13734         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13735         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13737 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13739         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13740         link-defines.sym.
13741         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13742         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13743         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13744         and LR_SIZE.
13745         * sysdeps/i386/link-defines.sym: New file.
13747 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13749         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13750         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13751         ($(objpfx)tst-audit3): New rule.
13752         ($(objpfx)tst-audit3.out): Likewise.
13753         * sysdeps/i386/tst-audit3.c: New file.
13754         * sysdeps/i386/tst-audit3.h: Likewise.
13755         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13756         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13758 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13760         [BZ #18633]
13761         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13762         pointer in C code.
13763         (__strcat_c): Likewise.
13764         (__strcat_g): Likewise.
13766 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13768         [BZ #18592]
13769         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13771 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13773         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13774         New function.  (__ieee754_sqrtf): New function.
13775         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13776         New function.
13777         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13778         New function.
13780 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13782         * sysdeps/ieee754/support.c: Remove unused file.
13784 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13786         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13787         registers instead of d ones so the layout is kernel abi compatible.
13788         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13789         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13790         Likewise.
13792 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13794         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13796 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13798         [BZ #18619]
13799         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13800         and return argument in case of subnormal argument.
13802 2015-07-01  Martin Sebor  <msebor@redhat.com>
13804         [BZ #18435]
13805         * nptl/Makefile: Add tst-once5.cc.
13806         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13807         Remove macro redefinitions.
13808         * nptl/tst-once5.cc: New test.
13810 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13812         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13814         * sysdeps/arm/libm-test-ulps: Regenerated.
13816         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13817         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13819 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13821         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13822         lll_lock_wait_private and lll_futex_wake probes.
13824         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13826         Likewise.
13827         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13828         atomic_spin_nop.
13829         * sysdeps/x86_64/bits/atomic.h: Likewise.
13830         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13831         to atomic_spin_nop and move ...
13832         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13833         ... here and ...
13834         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13835         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13836         atomic_spin_nop instead of BUSY_WAIT_NOP.
13837         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13838         Likewise.
13839         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13840         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13841         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13842         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13843         instead of atomic_delay.
13845 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13847         [BZ #18613]
13848         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13849         X_ADJ not X when adjusting exponent.
13850         (__ieee754_gamma_r): Do intermediate computations in
13851         round-to-nearest then adjust overflowing and underflowing results
13852         as needed.
13853         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13854         of X_ADJ not X when adjusting exponent.
13855         (__ieee754_gammaf_r): Do intermediate computations in
13856         round-to-nearest then adjust overflowing and underflowing results
13857         as needed.
13858         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13859         log of X_ADJ not X when adjusting exponent.
13860         (__ieee754_gammal_r): Do intermediate computations in
13861         round-to-nearest then adjust overflowing and underflowing results
13862         as needed.  Use 1.0L not 1.0f as numerator of division.
13863         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13864         log of X_ADJ not X when adjusting exponent.
13865         (__ieee754_gammal_r): Do intermediate computations in
13866         round-to-nearest then adjust overflowing and underflowing results
13867         as needed.  Use 1.0L not 1.0f as numerator of division.
13868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13869         of X_ADJ not X when adjusting exponent.
13870         (__ieee754_gammal_r): Do intermediate computations in
13871         round-to-nearest then adjust overflowing and underflowing results
13872         as needed.  Use 1.0L not 1.0f as numerator of division.
13873         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13874         to auto-libm-test-in.
13875         (tgamma_test): Use ALL_RM_TEST.
13876         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13877         tests of tgamma with spurious-overflow.
13878         * math/auto-libm-test-out: Regenerated.
13879         * math/gen-libm-have-vector-test.sh: Do not check for START.
13880         * sysdeps/i386/fpu/libm-test-ulps: Update.
13881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883         [BZ #18612]
13884         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13885         arguments, just return 0.5 times the argument, with underflow
13886         forced as needed.
13887         * math/auto-libm-test-in: Add more tests of j1.
13888         * math/auto-libm-test-out: Regenerated.
13890         [BZ #16559]
13891         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13892         (__ieee754_j1): Force underflow exception for small results.
13893         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13894         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13895         (__ieee754_j1f): Force underflow exception for small results.
13896         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13897         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13899         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13900         (__ieee754_j1l): Force underflow exception for small results.
13901         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13902         * math/auto-libm-test-in: Add more tests of j1 and jn.
13903         * math/auto-libm-test-out: Regenerated.
13905         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13906         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13907         (PF_MPLS): Likewise.
13908         (AF_IB): Likewise.
13909         (AF_MPLS): Likewise.
13910         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13911         value and macro.
13912         (MS_RMT_MASK): Include MS_LAZYTIME.
13914 2015-06-26  Mel Gorman  <mgorman@suse.de>
13916         [BZ #18502]
13917         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13918         already minimal.
13920 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13922         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13923         (DT_MIPS_NUM): Update.
13924         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13925         DT_MIPS_RLD_MAP_REL.
13927 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #16559]
13930         [BZ #18602]
13931         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13932         round-to-nearest internally then recompute results that
13933         underflowed to zero in the original rounding mode.
13934         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13935         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13937         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13938         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13939         * sysdeps/i386/fpu/libm-test-ulps: Update.
13940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13942 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13944         * NEWS: Fixed description of link with vector math library.
13946 2015-06-25  Andreas Schwab  <schwab@suse.de>
13948         [BZ #18549]
13949         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13950         * libio/test-fmemopen.c (do_test): Add test for it.
13952 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13954         [BZ #17841]
13955         * Makeconfig (no-pie-ldflag): New.
13956         (+link): Set to $(+link-pie) if default to PIE.
13957         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13958         * config.make.in (build-pie-default): New.
13959         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13960         is default.  AC_SUBST.
13961         * configure: Regenerated.
13962         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13964 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13966         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13967         to 'unsigned int'.
13969         * resolv/gai_misc.h (struct waitlist): Change type of field
13970         counterp to 'volatile unsigned int *'.
13971         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13972         FUTEXADDR and OLDVAL.
13973         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13974         Give local variable TOTAL type 'volatile unsigned int'.
13975         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13976         * resolv/gai_suspend.c (gai_suspend):
13977         Give local variable CNTR type 'unsigned int'.
13979         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13980         counterp to 'volatile unsigned int *'.
13981         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13982         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13983         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13984         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13985         Give local variable TOTAL type 'volatile unsigned int'.
13986         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13988 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13990         [BZ #18383]
13991         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13992         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13993         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13994         comment for i386/x86-64.
13995         (test-xfail-tst-tlsalign-extern-static): Removed.
13997 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13999         * math/test-double.h: New file.
14000         * math/test-float.h: Likewise.
14001         * math/test-ldouble.h: Likewise.
14002         * math/test-math-inline.h: Likewise.
14003         * math/test-math-no-inline.h: Likewise.
14004         * math/test-math-scalar.h: Likewise.
14005         * math/test-math-vector.h: Likewise.
14006         * math/test-vec-loop.h: Remove file.  Contents moved into
14007         test-math-vector.h.
14008         * math/libm-test.inc (MATHCONST): Do not document macro.
14009         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14010         and test-math-scalar.h.
14011         (FUNC): Remove macro.
14012         (FUNC_TEST): Likewise.
14013         (FLOAT): Likewise.
14014         (MATHCONST): Likewise.
14015         (PRINTF_EXPR): Likewise.
14016         (PRINTF_XEXPR): Likewise.
14017         (PRINTF_NEXPR): Likewise.
14018         (TEST_DOUBLE): Likewise.
14019         (TEST_MATHVEC): Likewise.
14020         (__NO_MATH_INLINES): Likewise.
14021         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14022         and test-math-scalar.h.
14023         (FUNC): Remove macro.
14024         (FUNC_TEST): Likewise.
14025         (FLOAT): Likewise.
14026         (MATHCONST): Likewise.
14027         (PRINTF_EXPR): Likewise.
14028         (PRINTF_XEXPR): Likewise.
14029         (PRINTF_NEXPR): Likewise.
14030         (TEST_FLOAT): Likewise.
14031         (TEST_MATHVEC): Likewise.
14032         (__NO_MATH_INLINES): Likewise.
14033         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14034         and test-math-scalar.h.
14035         (FUNC): Remove macro.
14036         (FUNC_TEST): Likewise.
14037         (FLOAT): Likewise.
14038         (MATHCONST): Likewise.
14039         (PRINTF_EXPR): Likewise.
14040         (PRINTF_XEXPR): Likewise.
14041         (PRINTF_NEXPR): Likewise.
14042         (TEST_DOUBLE): Likewise.
14043         (TEST_MATHVEC): Likewise.
14044         (TEST_INLINE): Likewise.
14045         (__NO_MATH_INLINES): Likewise.
14046         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14047         test-math-scalar.h.
14048         (FUNC): Remove macro.
14049         (FUNC_TEST): Likewise.
14050         (FLOAT): Likewise.
14051         (MATHCONST): Likewise.
14052         (PRINTF_EXPR): Likewise.
14053         (PRINTF_XEXPR): Likewise.
14054         (PRINTF_NEXPR): Likewise.
14055         (TEST_FLOAT): Likewise.
14056         (TEST_MATHVEC): Likewise.
14057         (TEST_INLINE): Likewise.
14058         (__NO_MATH_INLINES): Likewise.
14059         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14060         and test-math-scalar.h.
14061         (FUNC): Remove macro.
14062         (FUNC_TEST): Likewise.
14063         (FLOAT): Likewise.
14064         (MATHCONST): Likewise.
14065         (PRINTF_EXPR): Likewise.
14066         (PRINTF_XEXPR): Likewise.
14067         (PRINTF_NEXPR): Likewise.
14068         (TEST_LDOUBLE): Likewise.
14069         (TEST_MATHVEC): Likewise.
14070         (TEST_INLINE): Likewise.
14071         (__NO_MATH_INLINES): Likewise.
14072         * math/test-ldouble.c: Include test-ldouble.h,
14073         test-math-no-inline.h and test-math-scalar.h.
14074         (FUNC): Remove macro.
14075         (FUNC_TEST): Likewise.
14076         (FLOAT): Likewise.
14077         (MATHCONST): Likewise.
14078         (PRINTF_EXPR): Likewise.
14079         (PRINTF_XEXPR): Likewise.
14080         (PRINTF_NEXPR): Likewise.
14081         (TEST_LDOUBLE): Likewise.
14082         (TEST_MATHVEC): Likewise.
14083         (__NO_MATH_INLINES): Likewise.
14084         * math/test-double-vlen2.h: Include test-double.h,
14085         test-math-no-inline.h and test-math-vector.h.
14086         (FLOAT): Remove macro.
14087         (FUNC): Likewise.
14088         (MATHCONST): Likewise.
14089         (PRINTF_EXPR): Likewise.
14090         (PRINTF_XEXPR): Likewise.
14091         (PRINTF_NEXPR): Likewise.
14092         (TEST_DOUBLE): Likewise.
14093         (TEST_MATHVEC): Likewise.
14094         (__NO_MATH_INLINES): Likewise.
14095         (CNCT): Likewise.
14096         (CONCAT): Likewise.
14097         (WRAPPER_NAME): Likewise.
14098         (WRAPPER_DECL): Likewise.
14099         (WRAPPER_DECL_ff): Likewise.
14100         (WRAPPER_DECL_fFF): Likewise.
14101         (VECTOR_WRAPPER): Likewise.
14102         (VECTOR_WRAPPER_ff): Likewise.
14103         (VECTOR_WRAPPER_fFF): Likewise.
14104         (VEC_LEN): New macro.
14105         * math/test-double-vlen4.h: Include test-double.h,
14106         test-math-no-inline.h and test-math-vector.h.
14107         (FLOAT): Remove macro.
14108         (FUNC): Likewise.
14109         (MATHCONST): Likewise.
14110         (PRINTF_EXPR): Likewise.
14111         (PRINTF_XEXPR): Likewise.
14112         (PRINTF_NEXPR): Likewise.
14113         (TEST_DOUBLE): Likewise.
14114         (TEST_MATHVEC): Likewise.
14115         (__NO_MATH_INLINES): Likewise.
14116         (CNCT): Likewise.
14117         (CONCAT): Likewise.
14118         (WRAPPER_NAME): Likewise.
14119         (WRAPPER_DECL): Likewise.
14120         (WRAPPER_DECL_ff): Likewise.
14121         (WRAPPER_DECL_fFF): Likewise.
14122         (VECTOR_WRAPPER): Likewise.
14123         (VECTOR_WRAPPER_ff): Likewise.
14124         (VECTOR_WRAPPER_fFF): Likewise.
14125         (VEC_LEN): New macro.
14126         * math/test-double-vlen8.h: Include test-double.h,
14127         test-math-no-inline.h and test-math-vector.h.
14128         (FLOAT): Remove macro.
14129         (FUNC): Likewise.
14130         (MATHCONST): Likewise.
14131         (PRINTF_EXPR): Likewise.
14132         (PRINTF_XEXPR): Likewise.
14133         (PRINTF_NEXPR): Likewise.
14134         (TEST_DOUBLE): Likewise.
14135         (TEST_MATHVEC): Likewise.
14136         (__NO_MATH_INLINES): Likewise.
14137         (CNCT): Likewise.
14138         (CONCAT): Likewise.
14139         (WRAPPER_NAME): Likewise.
14140         (WRAPPER_DECL): Likewise.
14141         (WRAPPER_DECL_ff): Likewise.
14142         (WRAPPER_DECL_fFF): Likewise.
14143         (VECTOR_WRAPPER): Likewise.
14144         (VECTOR_WRAPPER_ff): Likewise.
14145         (VECTOR_WRAPPER_fFF): Likewise.
14146         (VEC_LEN): New macro.
14147         * math/test-float-vlen4.h: Include test-float.h,
14148         test-math-no-inline.h and test-math-vector.h.
14149         (FLOAT): Remove macro.
14150         (FUNC): Likewise.
14151         (MATHCONST): Likewise.
14152         (PRINTF_EXPR): Likewise.
14153         (PRINTF_XEXPR): Likewise.
14154         (PRINTF_NEXPR): Likewise.
14155         (TEST_FLOAT): Likewise.
14156         (TEST_MATHVEC): Likewise.
14157         (__NO_MATH_INLINES): Likewise.
14158         (CNCT): Likewise.
14159         (CONCAT): Likewise.
14160         (WRAPPER_NAME): Likewise.
14161         (WRAPPER_DECL): Likewise.
14162         (WRAPPER_DECL_ff): Likewise.
14163         (WRAPPER_DECL_fFF): Likewise.
14164         (VECTOR_WRAPPER): Likewise.
14165         (VECTOR_WRAPPER_ff): Likewise.
14166         (VECTOR_WRAPPER_fFF): Likewise.
14167         (VEC_LEN): New macro.
14168         * math/test-float-vlen8.h: Include test-float.h,
14169         test-math-no-inline.h and test-math-vector.h.
14170         (FLOAT): Remove macro.
14171         (FUNC): Likewise.
14172         (MATHCONST): Likewise.
14173         (PRINTF_EXPR): Likewise.
14174         (PRINTF_XEXPR): Likewise.
14175         (PRINTF_NEXPR): Likewise.
14176         (TEST_FLOAT): Likewise.
14177         (TEST_MATHVEC): Likewise.
14178         (__NO_MATH_INLINES): Likewise.
14179         (CNCT): Likewise.
14180         (CONCAT): Likewise.
14181         (WRAPPER_NAME): Likewise.
14182         (WRAPPER_DECL): Likewise.
14183         (WRAPPER_DECL_ff): Likewise.
14184         (WRAPPER_DECL_fFF): Likewise.
14185         (VECTOR_WRAPPER): Likewise.
14186         (VECTOR_WRAPPER_ff): Likewise.
14187         (VECTOR_WRAPPER_fFF): Likewise.
14188         (VEC_LEN): New macro.
14189         * math/test-float-vlen16.h: Include test-float.h,
14190         test-math-no-inline.h and test-math-vector.h.
14191         (FLOAT): Remove macro.
14192         (FUNC): Likewise.
14193         (MATHCONST): Likewise.
14194         (PRINTF_EXPR): Likewise.
14195         (PRINTF_XEXPR): Likewise.
14196         (PRINTF_NEXPR): Likewise.
14197         (TEST_FLOAT): Likewise.
14198         (TEST_MATHVEC): Likewise.
14199         (__NO_MATH_INLINES): Likewise.
14200         (CNCT): Likewise.
14201         (CONCAT): Likewise.
14202         (WRAPPER_NAME): Likewise.
14203         (WRAPPER_DECL): Likewise.
14204         (WRAPPER_DECL_ff): Likewise.
14205         (WRAPPER_DECL_fFF): Likewise.
14206         (VECTOR_WRAPPER): Likewise.
14207         (VECTOR_WRAPPER_ff): Likewise.
14208         (VECTOR_WRAPPER_fFF): Likewise.
14209         (VEC_LEN): New macro.
14210         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14211         test-vec-loop.h.
14212         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14213         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14214         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14215         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14216         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14217         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14218         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14220 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14222         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14223         (__getlogin_r): ... this.
14225 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14227         [BZ #18594]
14228         * math/s_ccosh.c (__ccosh): Compare with least normal value
14229         instead of comparing class with FP_SUBNORMAL.
14230         * math/s_ccoshf.c (__ccoshf): Likewise.
14231         * math/s_ccoshl.c (__ccoshl): Likewise.
14232         * math/s_cexp.c (__cexp): Likewise.
14233         * math/s_cexpf.c (__cexpf): Likewise.
14234         * math/s_cexpl.c (__cexpl): Likewise.
14235         * math/s_csin.c (__csin): Likewise.
14236         * math/s_csinf.c (__csinf): Likewise.
14237         * math/s_csinh.c (__csinh): Likewise.
14238         * math/s_csinhf.c (__csinhf): Likewise.
14239         * math/s_csinhl.c (__csinhl): Likewise.
14240         * math/s_csinl.c (__csinl): Likewise.
14241         * math/s_ctan.c (__ctan): Likewise.
14242         * math/s_ctanf.c (__ctanf): Likewise.
14243         * math/s_ctanh.c (__ctanh): Likewise.
14244         * math/s_ctanhf.c (__ctanhf): Likewise.
14245         * math/s_ctanhl.c (__ctanhl): Likewise.
14246         * math/s_ctanl.c (__ctanl): Likewise.
14247         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14248         csin, csinh, ctan and ctanh.
14249         * math/auto-libm-test-out: Regenerated.
14250         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14251         * sysdeps/i386/fpu/libm-test-ulps: Update.
14252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14256         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14257         return value is wrong, print the expected value too.
14259 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14261         [BZ #18585]
14262         * elf/readlib.c (is_gdb_python_file): New.
14263         (process_file): Don't issue errors on filenames with -gdb.py
14264         suffix.
14266 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14268         * math/auto-libm-test-in: Add more tests of csin and csinh.
14269         * math/auto-libm-test-out: Regenerated.
14270         * math/libm-test.inc (csin_test_data): Remove tests moved to
14271         auto-libm-test-in.
14272         (csinh_test_data): Likewise.
14274         [BZ #18593]
14275         * math/s_csin.c (__csin): Negate before rather than after possibly
14276         overflowing multiplication.
14277         * math/s_csinf.c (__csinf): Likewise.
14278         * math/s_csinh.c (__csinh): Likewise.
14279         * math/s_csinhf.c (__csinhf): Likewise.
14280         * math/s_csinhl.c (__csinhl): Likewise.
14281         * math/s_csinl.c (__csinl): Likewise.
14282         * math/auto-libm-test-in: Add some tests of csin and csinh.
14283         * math/auto-libm-test-out: Regenerated.
14284         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14285         (csinh_test_data): Likewise.
14286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14288         [BZ #18586]
14289         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14290         underflow exception for small results.
14292 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14294         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14296         variable and included header.
14297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14299         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14301         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14305         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14306         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14307         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14308         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14309         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14310         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14311         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14312         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14314 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #16526]
14317         [BZ #16538]
14318         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14319         (__sin): Force underflow exception for arguments with small
14320         absolute value.
14321         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14322         (__kernel_sinf): Force underflow exception for arguments with
14323         small absolute value.
14324         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14325         (__kernel_sincosl): Force underflow exception for arguments with
14326         small absolute value.
14327         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14328         (__kernel_sinl): Force underflow exception for arguments with
14329         small absolute value.
14330         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14331         (__kernel_sincosl): Force underflow exception for arguments with
14332         small absolute value.
14333         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14334         (__kernel_sinl): Force underflow exception for arguments with
14335         small absolute value.
14336         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14337         (__kernel_sinl): Force underflow exception for arguments with
14338         small absolute value.
14339         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14340         (__kernel_sinf): Force underflow exception for arguments with
14341         small absolute value.
14342         * math/auto-libm-test-in: Add more tests of sin and sincos.
14343         * math/auto-libm-test-out: Regenerated.
14345         [BZ #18245]
14346         [BZ #18583]
14347         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14348         (__kernel_standard_l): Use feholdexcept and fesetenv around
14349         conversion to double instead of special-casing overflow and
14350         underflow.
14351         * math/libm-test.inc (fmod_test_data): Add more tests.
14352         (remainder_test_data): Likewise.
14353         (sqrt_test_data): Likewise.
14355 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14357         [BZ #17403]
14358         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14359         atomic_read_barrier, atomic_write_barrier): Define.
14360         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14361         atomic_read_barrier, atomic_write_barrier): Define.
14363 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14365         * math/Makefile [$(PERL) != no]
14366         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14367         dependency on libm-test.stmp below the inclusion of Rules.
14369 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14371         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14372         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14373         and included header.
14374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14375         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14376         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14377         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14378         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14379         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14380         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14381         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14382         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14383         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14384         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14385         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14386         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14387         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14388         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14389         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14390         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14391         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14392         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14394 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14396         [BZ #18371]
14397         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14398         intermediate but not final result might underflow.
14399         * math/s_csqrtf.c (__csqrtf): Likewise.
14400         * math/s_csqrtl.c (__csqrtl): Likewise.
14401         * math/auto-libm-test-in: Add more tests of csqrt.
14402         * math/auto-libm-test-out: Regenerated.
14403         * sysdeps/i386/fpu/libm-test-ulps: Update.
14405         [BZ #18219]
14406         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14407         threshold on absolute value of exponent for which scaling is used.
14408         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14409         * math/auto-libm-test-in: Add more tests of exp2.
14410         * math/auto-libm-test-out: Regenerated.
14412 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14414         [BZ #17977]
14415         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14416         when initializing interface list, based on the bug analysis
14417         and the patch proposed by Eric Newton.
14418         * resolv/tst-res_hconf_reorder.c: New test.
14419         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14420         tst-res_hconf_reorder.
14421         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14422         and $(shared-thread-library).
14423         (tst-res_hconf_reorder-ENV): New variable.
14425         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14426         in comment.
14428 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #16353]
14431         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14432         (__expm1): Force underflow exception for arguments with small
14433         absolute value.
14434         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14435         (__expm1f): Force underflow exception for arguments with small
14436         absolute value.
14437         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14438         (__expm1): Force underflow exception for arguments with small
14439         absolute value.
14440         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14441         (__expm1f): Force underflow exception for arguments with small
14442         absolute value.
14443         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14444         Check for small arguments before calling __expm1.
14445         * math/auto-libm-test-in: Do not mark underflow exceptions as
14446         possibly missing for bug 16353.
14447         * math/auto-libm-test-out: Regenerated.
14449 2015-06-22  Andreas Schwab  <schwab@suse.de>
14451         [BZ #18513]
14452         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14453         PTR queries.
14455 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14457         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14459         * string/strcoll_l.c: Remove unused struct element idxnow.
14461 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14463         [BZ #18569]
14464         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14465         underflow and return argument in case of subnormal argument.
14466         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14467         Likewise.
14468         * math/auto-libm-test-in: Add more tests of expm1.
14469         * math/auto-libm-test-out: Regenerated.
14471         [BZ #16361]
14472         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14473         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14474         tiny results.
14475         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14476         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14477         tiny results.
14478         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14479         mark underflow exceptions as possibly missing for bug 16361.
14480         * math/auto-libm-test-out: Regenerated.
14482 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14484         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14485         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14486         Remove variable.
14487         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14488         (test-xfail-XOPEN2K8/utmpx.h/conform).
14490         * conform/conformtest.pl ($xerrors): New variable.
14491         (note_error): New function.
14492         (compiletest): New argument $xfail.  Use not_error.
14493         (runtest): Likewise.
14494         (top level): Handle xfail- lines.  Update calls to compiletest and
14495         runtest.  Handle xfail- and optional- in headers listed with
14496         allow-header.
14497         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14498         (O_EXEC): Likewise.
14499         (O_SEARCH): Likewise.
14500         * conform/data/stropts.h-data (ioctl): Likewise.
14501         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14502         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14503         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14504         (msghdr.msg_controllen): Likewise.
14505         (cmsghdr.cmsg_len): Likewise.
14506         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14507         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14508         variable.
14509         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14510         (test-xfail-XPG4/stropts.h/conform): Likewise.
14511         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14512         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14513         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14514         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14515         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14516         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14517         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14518         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14519         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14520         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14521         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14522         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14523         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14524         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14525         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14526         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14527         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14528         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14529         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14531 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14533         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14534         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14535         definitions for proper unfolding of __MATHDECL_VEC.
14537 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14539         * benchtests/bench-strcoll.c:
14540         Include string.h.
14541         (main): Remove unused variable res.
14543 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14545         * timezone/Makefile (%/UTC %/Universal):
14546         Generate test-result files for UTC and Universal.
14548 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14550         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14552 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #16350]
14555         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14556         for arguments with small absolute value.
14557         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14558         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14559         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14560         (__asinh): Force underflow exception for arguments with small
14561         absolute value.
14562         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14563         (__asinhf): Force underflow exception for arguments with small
14564         absolute value.
14565         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14566         (__asinhl): Force underflow exception for arguments with small
14567         absolute value.
14568         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14569         (__asinhl): Force underflow exception for arguments with small
14570         absolute value.
14571         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14572         (__asinhl): Force underflow exception for arguments with small
14573         absolute value.
14574         * math/auto-libm-test-in: Do not mark underflow exceptions as
14575         possibly missing for bug 16350.
14576         * math/auto-libm-test-out: Regenerated.
14578         * include/bits/ipc.h: Remove file.
14579         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14580         variable.
14581         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14582         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14583         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14584         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14585         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14586         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14587         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14588         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14589         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14591         * math/auto-libm-test-in: Remove spurious underflow allowance for
14592         tests of cexp.
14593         * math/auto-libm-test-out: Regenerated.
14595         [BZ #18558]
14596         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14597         unconditional definition.
14598         (MCAST_BLOCK_SOURCE): Likewise.
14599         (MCAST_UNBLOCK_SOURCE): Likewise.
14600         (MCAST_LEAVE_GROUP): Likewise.
14601         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14602         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14603         (MCAST_MSFILTER): Likewise.
14604         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14605         Remove variable.
14606         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14607         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14608         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14609         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14610         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14612 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14614         * NEWS: Mention addition of x86_64 vector sincosf.
14615         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14616         * math/test-float-vlen4.h: Likewise.
14617         * math/test-float-vlen8.h: Likewise.
14618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14619         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14621         * sysdeps/x86_64/fpu/Versions: New versions added.
14622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14624         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14626         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14630         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14631         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14632         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14633         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14634         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14635         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14636         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14637         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14638         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14639         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14640         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14641         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14644         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14645         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14647         * NEWS: Mention addition of x86_64 vector sincos.
14648         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14649         * math/math.h (__MATHDECL_VEC): New macro.
14650         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14651         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14652         declaration under condition.
14653         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14654         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14655         TEST_VEC_LOOP change.
14656         * math/test-double-vlen4.h: Likewise.
14657         * math/test-double-vlen8.h: Likewise.
14658         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14659         * math/test-float-vlen4.h: Likewise.
14660         * math/test-float-vlen8.h: Likewise.
14661         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14662         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14663         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14664         * sysdeps/x86_64/fpu/Versions: New versions added.
14665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14666         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14667         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14668         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14673         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14674         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14675         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14676         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14677         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14678         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14679         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14680         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14681         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14682         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14683         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14684         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14685         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14686         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14687         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14688         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14690         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14691         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14692         redirections for powf.
14693         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14694         * sysdeps/x86_64/fpu/Versions: New versions added.
14695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14696         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14697         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14698         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14699         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14700         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14702         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14703         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14704         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14705         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14706         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14707         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14708         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14709         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14710         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14711         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14712         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14713         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14714         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14715         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14717         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14718         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14719         * math/test-float-vlen16.h: Fixed 2 argument macro.
14720         * math/test-float-vlen4.h: Likewise.
14721         * math/test-float-vlen8.h: Likewise.
14722         * NEWS: Mention addition of x86_64 vector powf.
14724 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14726         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14727         and redefine.
14728         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14729         and redefine.
14730         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14731         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14734         [BZ #18553]
14735         * resource/getpriority.c (getpriority): Rename to __getpriority
14736         and define as weak alias of __getpriority.
14737         * resource/setpriority.c (setpriority): Rename to __setpriority
14738         and define as weak alias of __setpriority.
14739         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14740         __getpriority and define as weak alias of __getpriority.
14741         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14742         __setpriority and define as weak alias of __setpriority.
14743         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14744         strong name.
14745         (setpriority): Use __setpriority as strong name.
14746         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14747         __getpriority and define as weak alias of __getpriority.
14748         * include/sys/resource.h (__getpriority): Declare.  Use
14749         libc_hidden_proto.
14750         (__setpriority): Likewise.
14751         (getpriority): Don't use libc_hidden_proto.
14752         (setpriority): Likewise.
14753         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14754         getpriority.  Call __setpriority instead of setpriority.
14755         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14756         Remove variable.
14758         [BZ #18547]
14759         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14760         as weak alias of __getttynam.  Use prototype function definition.
14761         Call __setttyent, __getttyent and __endttyent instead of
14762         setttyent, getttyent and endttyent.
14763         (getttyent): Rename to __getttyent and define as weak alias of
14764         __getttyent.  Call __setttyent instead of setttyent.  Call
14765         __fgets_unlocked instead of fgets_unlocked.
14766         (setttyent): Rename to __setttyent and define as weak alias of
14767         __setttyent.
14768         (endttyent): Rename to __endttyent and define as weak alias of
14769         __endttyent.
14770         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14771         (__setttyent): Likewise.
14772         (__endttyent): Likewise.
14773         (getttyent): Don't use libc_hidden_proto.
14774         (setttyent): Likewise.
14775         (endttyent): Likewise.
14776         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14777         __endttyent instead of setttyent, getttyent and endttyent.
14778         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14779         Remove variable.
14781         [BZ #18546]
14782         * socket/recv.c (__recv): Use libc_hidden_def.
14783         * socket/socket.c (__socket): Likewise.
14784         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14785         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14786         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14787         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14788         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14789         libc_hidden_def.
14790         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14791         libc_hidden_weak.
14792         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14793         Use libc_hidden_proto.
14794         (__recv): Likewise.
14795         * socket/Versions (libc): Export __recv and __socket at version
14796         GLIBC_PRIVATE.
14797         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14798         instead of recv.
14799         (init_mq_netlink): Call __socket instead of socket.
14800         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14801         Remove variable.
14803         [BZ #18545]
14804         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14805         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14806         hidden_weak.
14807         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14808         define as alias of __mq_timedsend.  Use hidden_weak.
14809         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14810         __mq_timedsend as strong name.
14811         (mq_timedreceive): Use __mq_timedreceive as strong name.
14812         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14813         (__mq_timedreceive): Likewise.
14814         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14815         __mq_timedreceive instead of mq_timedreceive.
14816         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14817         instead of mq_timedsend.
14818         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14819         Remove variable.
14821         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14822         hidden_def and hidden_weak instead of libc_hidden_def and
14823         libc_hidden_weak.
14824         (top level): Refer to hidden_def in comment.
14825         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14826         macro.  Use it instead of libc_hidden_def.
14827         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14828         specify __GI_* name explicitly.
14829         (mq_timedreceive): Likewise.
14830         (mq_setattr): Likewise.
14832         [BZ #18544]
14833         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14834         __pthread_barrier_init and define as weak alias of
14835         __pthread_barrier_init.
14836         * sysdeps/sparc/nptl/pthread_barrier_init.c
14837         (pthread_barrier_init): Likewise.
14838         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14839         __pthread_barrier_wait and define as weak alias of
14840         __pthread_barrier_wait.
14841         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14842         (pthread_barrier_wait): Likewise.
14843         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14844         (pthread_barrier_wait): Likewise.
14845         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14846         (pthread_barrier_wait): Likewise.
14847         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14848         (pthread_barrier_wait): Likewise.
14849         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14850         __pthread_barrier_wait at version GLIBC_PRIVATE.
14851         * include/pthread.h (__pthread_barrier_init): Declare.
14852         (__pthread_barrier_wait): Likewise.
14853         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14854         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14855         (helper_thread): Likewise.
14856         (init_mq_netlink): Call __pthread_barrier_init instead of
14857         pthread_barrier_init.
14859         [BZ #18542]
14860         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14861         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14862         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14863         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14864         vswscanf.
14865         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14866         Remove variable.
14868         [BZ #18540]
14869         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14870         strong alias of _IO_fflush.  Use libc_hidden_def.
14871         * libio/iofflush_u.c (fflush_unlocked): Rename to
14872         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14873         Use libc_hidden_weak.
14874         * include/stdio.h (__fflush_unlocked): Declare.  Use
14875         libc_hidden_proto.
14876         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14877         fflush_unlocked.
14878         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14879         Remove variable.
14881         [BZ #18539]
14882         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14883         define as weak alias of __addseverity.
14884         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14885         Remove variable.
14886         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14887         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14888         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14890         [BZ #18536]
14891         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14892         (__tfind): Likewise.
14893         (__tdelete): Likewise.
14894         (__twalk): Likewise.
14895         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14896         __twalk to GLIBC_PRIVATE.
14897         * include/search.h (__tsearch): Use libc_hidden_proto.
14898         (__tfind): Likewise.
14899         (__tdelete): Likewise.
14900         (__twalk): Likewise.
14901         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14902         Call __tdelete instead of tdelete.
14903         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14904         tfind.  Call __tsearch instead of tsearch.
14905         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14906         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14907         Remove variable.
14908         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14910         [BZ #18534]
14911         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14912         (dprintf): Define as a weak alias of __dprintf, not a strong
14913         alias.
14914         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14915         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14916         dprintf.
14917         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14918         Remove variable.
14919         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14920         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14922         [BZ #18533]
14923         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14924         not a strong alias.
14925         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14926         Remove variable.
14928         [BZ #18532]
14929         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14930         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14931         (in6addr_loopback): Rename to __in6addr_loopback and define as
14932         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14933         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14934         libc_hidden_proto.
14935         (__in6addr_any): Likewise.
14936         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14937         in6addr_any.
14938         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14939         variable.
14940         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14942 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14944         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14945         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14946         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14947         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14948         redirections for pow.
14949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14950         * sysdeps/x86_64/fpu/Versions: New versions added.
14951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14952         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14953         build of SSE, AVX2 and AVX512 IFUNC versions.
14954         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14955         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14956         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14957         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14958         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14959         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14960         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14961         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14962         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14963         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14964         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14965         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14966         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14967         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14968         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14969         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14971         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14972         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14973         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14974         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14975         * NEWS: Mention addition of x86_64 vector pow.
14977         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14978         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14979         redirections for expf.
14980         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14981         * sysdeps/x86_64/fpu/Versions: New versions added.
14982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14983         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14984         build of SSE, AVX2 and AVX512 IFUNC versions.
14985         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14987         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14988         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14989         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14990         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14991         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14992         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14993         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14994         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14995         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14996         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14997         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14998         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14999         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15000         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15001         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15003         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15004         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15005         * NEWS: Mention addition of x86_64 vector expf.
15007         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15008         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15009         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15010         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15011         redirections for exp.
15012         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15013         * sysdeps/x86_64/fpu/Versions: New versions added.
15014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15015         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15016         build of SSE, AVX2 and AVX512 IFUNC versions.
15017         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15018         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15022         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15023         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15024         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15025         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15026         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15027         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15028         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15029         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15030         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15032         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15033         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15034         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15035         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15036         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15037         * NEWS: Mention addition of x86_64 vector exp.
15039         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15040         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15041         redirections for logf.
15042         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15043         * sysdeps/x86_64/fpu/Versions: New versions added.
15044         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15045         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15046         build of SSE, AVX2 and AVX512 IFUNC versions.
15047         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15048         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15049         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15050         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15052         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15053         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15054         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15055         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15056         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15057         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15058         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15059         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15060         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15061         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15062         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15064         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15065         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15066         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15067         * NEWS: Mention addition of x86_64 vector logf.
15069         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15070         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15072         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15073         redirections for log.
15074         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15075         * sysdeps/x86_64/fpu/Versions: New versions added.
15076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15077         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15078         build of SSE, AVX2 and AVX512 IFUNC versions.
15079         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15080         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15081         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15082         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15083         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15084         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15085         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15086         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15087         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15088         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15089         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15090         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15091         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15092         test.
15093         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15096         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15097         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15098         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15099         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15100         * NEWS: Mention addition of x86_64 vector log.
15102 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15104         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15105         cfi_adjust_cfa_offset argument.
15106         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15107         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15109         [BZ #18034]
15110         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15111         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15112         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15113         ordering using ldar.
15114         (_dl_tlsdesc_dynamic): Likewise.
15115         (_dl_tlsdesc_return_lazy): Likewise.
15116         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15117         relaxed atomics instead of volatile and synchronize with release store.
15118         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15119         volatile.
15120         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15122 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15124         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15125         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15127         * sysdeps/x86_64/fpu/Versions: New versions added.
15128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15130         build of SSE, AVX2 and AVX512 IFUNC versions.
15131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15132         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15136         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15137         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15138         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15139         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15140         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15141         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15142         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15144         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15145         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15146         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15150         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15151         * NEWS: Mention addition of x86_64 vector sinf.
15153 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15155         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15156         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15157         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15158         Remove variable.
15159         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15160         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15162 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15164         [BZ #18530]
15165         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15166         strong alias of _IO_fputs.  Use libc_hidden_def.
15167         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15168         and define as weak alias of __fputs_unlocked.  Use
15169         libc_hidden_weak.
15170         * include/stdio.h (__fputs_unlocked): Declare.  Use
15171         libc_hidden_proto.
15172         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15173         fputs_unlocked.
15175         [BZ #18529]
15176         * resolv/netdb.h [__USE_POSIX]: Change condition to
15177         [__USE_XOPEN2K].
15178         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15179         not expect.
15180         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15181         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15182         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15183         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15184         [XPG4 || UNIX98] (AI_ALL): Likewise.
15185         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15186         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15187         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15188         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15189         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15190         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15191         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15192         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15193         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15194         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15195         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15196         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15197         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15198         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15199         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15200         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15201         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15202         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15203         [XPG4 || UNIX98] (gai_strerror): Likewise.
15204         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15205         [XPG4 || UNIX98] (getnameinfo): Likewise.
15207         [BZ #18528]
15208         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15209         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15210         __USE_XOPEN2K8].
15211         (getgrent): Likewise.
15212         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15213         expect.
15214         [XPG3 || POSIX2008] (endgrent): Likewise.
15215         [XPG3] (setgrent): Likewise.
15216         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15217         variable.
15218         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15220         [BZ #18527]
15221         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15222         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15223         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15224         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15225         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15226         * include/unistd.h (__getlogin_r): Declare.  Use
15227         libc_hidden_proto.
15228         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15229         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15230         variable.
15231         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15232         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15233         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15235 2015-06-12  Martin Sebor  <msebor@redhat.com>
15237         [BZ #18512]
15238         * Makerules (check-install-supported): New target.
15239         (install): Add check-install-supported as a dependency.
15240         * manual/install.texi (Installing the C Library): Document
15241         that overriding prefix and exec_prefix is not supported.
15242         Mention DESTDIR.
15243         * INSTALL: Regenerate from the above.
15245 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15247         [BZ #18519]
15248         * posix/Versions (libc): Export __libc_pread at version
15249         GLIBC_PRIVATE.
15250         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15251         instead of pread.
15252         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15253         variable.
15255         [BZ #18522]
15256         * misc/efgcvt_r.c
15257         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15258         (cvt_symbol): Use weak_alias instead of strong_alias.
15259         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15260         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15261         Remove variable.
15262         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15263         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15265         [BZ #18520]
15266         * inet/herrno.c (h_errno): Rename to __h_errno.
15267         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15268         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15269         to __h_errno instead of h_errno.
15270         * nptl/herrno.c (h_errno): Rename to __h_errno.
15271         (__h_errno_location): Refer to __h_errno not h_errno.
15272         * resolv/Versions (h_errno): Rename to __h_errno.
15273         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15274         Remove variable.
15275         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15277 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15279         * configure.ac: More strict check for AVX512 assembler support.
15280         * configure: Regenerated.
15282         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15283         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15284         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15285         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15286         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15287         * sysdeps/x86_64/fpu/Versions: New versions added.
15288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15289         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15290         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15291         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15292         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15293         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15294         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15295         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15297         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15298         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15299         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15300         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15301         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15302         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15303         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15304         test.
15305         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15306         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15307         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15308         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15309         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15310         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15311         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15312         * NEWS: Mention addition of x86_64 vector sin.
15314 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15316         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15317         comment.
15319 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15321         [BZ #18479]
15322         * nptl/pt-interp.c: New file.
15323         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15324         Add pt-interp.
15325         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15326         $(common-objpfx)runtime-linker.h.
15328 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15330         * Makeconfig (+interp): Remove unused variable.
15331         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15332         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15333         $(elf-objpfx)runtime-linker.h.
15334         ($(elf-objpfx)runtime-linker.h): Rename to
15335         $(common-objpfx)runtime-linker.h and move ...
15336         * Makerules [$(build-shared) = yes]: ... here.
15337         * elf/interp.c: Include <runtime-linker.h> instead of
15338         <elf/runtime-linker.h>.
15340 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15342         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15343         (__gettimeofday_syscall): Remove vsyscall fallback.
15344         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15345         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15346         Add syscall fallback function.
15347         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15348         if vDSO is not present.
15349         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15350         fallback function.
15351         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15352         present.
15353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15354         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15356 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15358         [BZ #18497]
15359         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15360         of wcscmp.
15361         (wcscmp): Define as weak alias of WCSCMP.
15362         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15363         wcscoll.
15364         (USE_HIDDEN_DEF): Define.
15365         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15366         __wcscoll.  Don't use libc_hidden_weak.
15367         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15368         wcscmp.
15369         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15370         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15371         __GI_wcscmp.
15372         (weak_alias): Undefine and redefine.
15373         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15374         __wcscmp and define as weak alias of __wcscmp.
15375         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15376         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15377         (__wcscoll): Likewise.
15378         (wcscmp): Don't use libc_hidden_proto.
15379         (wcscoll): Likewise.
15380         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15381         wcscoll.
15382         * posix/regexec.c (check_node_accept_bytes): Likewise.
15383         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15384         variable.
15385         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15386         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15388         [BZ #18507]
15389         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15390         __fstatvfs and define as weak alias of __fstatvfs.  Use
15391         libc_hidden_weak.
15392         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15393         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15394         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15395         Define as alias of __fstatvfs, not fstatvfs.
15396         (fstatvfs64): Likewise.
15397         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15398         Define as alias of __statvfs, not statvfs.
15399         (statvfs64): Likewise.
15400         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15401         Remove variable.
15403 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15406         (HAVE_GETCPU_VSYSCALL): Define.
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15408         (HAVE_GETCPU_VSYSCALL): Likewise.
15409         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15410         * sysdeps/unix/sysv/linux/sched_getcpu.c
15411         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15412         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15413         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15414         prototype.
15415         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15416         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15417         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15418         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15419         Define.
15420         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15421         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15423         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15425 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15427         * sysdeps/x86_64/fpu/Makefile: New file.
15428         * sysdeps/x86_64/fpu/Versions: New file.
15429         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15430         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15431         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15432         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15433         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15434         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15435         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15436         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15437         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15438         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15439         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15440         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15441         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15442         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15443         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15444         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15445         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15446         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15447         * sysdeps/x86_64/configure: Regenerated.
15448         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15449         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15450         * manual/install.texi (Configuring and compiling): Document
15451         --disable-mathvec.
15452         * INSTALL: Regenerated.
15453         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15455         * math/Makefile: Added rules for vector tests.
15456         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15457         declaration under condition.
15458         * math/test-double-vlen2.h: New file.
15459         * math/test-double-vlen4.h: New file.
15460         * math/test-double-vlen8.h: New file.
15461         * math/test-vec-loop.h: Added initialization macro.
15462         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15463         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15464         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15465         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15466         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15467         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15468         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15469         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15470         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15471         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15472         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15474         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15475         * sysdeps/x86_64/fpu/Versions: New versions added.
15476         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15477         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15479         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15480         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15481         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15482         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15483         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15485         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15486         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15487         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15488         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15489         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15490         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15492         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15493         * NEWS: Mention addition of x86_64 vector cosf.
15495         * math/Makefile: Added CFLAGS for new tests.
15496         * math/test-float-vlen16.h: New file.
15497         * math/test-float-vlen4.h: New file.
15498         * math/test-float-vlen8.h: New file.
15499         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15500         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15502         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15503         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15504         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15505         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15508         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15509         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15511 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15513         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15514         * locale/programs/ld-ctype.c: Likewise.
15516 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15518         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15519         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15520         bit_ZMM16_31_state): New macro.
15521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15522         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15524 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15526         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15528 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15530         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15532 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15534         [BZ #18498]
15535         * libio/memstream.c (open_memstream): Rename to __open_memstream
15536         and define as weak alias of __open_memstream.
15537         * include/stdio.h (__open_memstream): Declare.  Use
15538         libc_hidden_proto.
15539         (open_memstream): Don't use libc_hidden_proto.
15540         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15541         open_memstream.
15542         * posix/getopt.c (_getopt_internal_r): Likewise.
15543         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15544         variable.
15545         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15546         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15547         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15549         [BZ #18496]
15550         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15551         instead of wcrtomb.
15553         [BZ #18483]
15554         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15555         [__USE_XOPEN2K8].  Remove redundant #endif.
15556         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15557         Remove redundant #if.
15558         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15559         Remove variable.
15560         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15561         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15563         [BZ #18495]
15564         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15565         (__iswlower): Likewise.
15566         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15567         (__iswlower): Likewise.
15568         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15569         instead of towlower.
15570         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15571         instead of iswlower.  Call __towupper instead of towupper.
15572         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15573         instead of iswalnum.
15575 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15577         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15578         errors to stderr.
15580 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15582         [BZ #15661]
15583         [BZ #17322]
15584         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15585         Check for overflow properly.  Check for O_APPEND.  Ignore large
15586         file system block sizes.  Add comments about problems.
15587         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15588         * manual/filesys.texi (Storage Allocation): New node.
15590 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15592         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15593         cancellable syscalls.
15594         (SYS_ify): Add guard to no redefine it.
15595         (INLINE_SYSCALL): Likewise.
15596         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15597         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15598         SYSCALL_CANCEL instead.
15599         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15600         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15601         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15602         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15603         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15604         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15605         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15606         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15607         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15608         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15609         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15610         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15611         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15612         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15613         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15615         Likewise.
15616         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15617         (__libc_pread64): Likewise.
15618         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15619         (__libc_preadv): Likewise.
15620         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15621         (__libc_readv64): Likewise.
15622         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15623         (__libc_pwrite): Likewise.
15624         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15625         (__libc_pwrite64): Likewise.
15626         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15627         (__libc_pwritev): Likewise.
15628         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15629         (__libc_pwritev64): Likewise.
15630         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15631         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15632         (sync_file_range): Likewise.
15633         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15634         Likewise.
15635         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15636         Likewise.
15637         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15638         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15639         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15640         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15641         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15642         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15643         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15644         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15646         Likewise.
15647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15648         (__libc_read64): Likewise.
15649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15650         Likewise.
15651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15652         Likewise.
15653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15654         Likewise.
15655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15656         Likewise.
15657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15658         (__libc_pread64): Likewise.
15659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15660         Likewise.
15661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15662         (__libc_pwrite64): Likewise.
15663         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15664         (sync_file_range): Likewise.
15665         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15666         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15667         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15668         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15669         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15670         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15671         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15672         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15673         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15674         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15675         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15676         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15677         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15678         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15679         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15680         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15681         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15682         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15683         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15684         Likewise.
15685         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15686         Likewise.
15687         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15688         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15689         Likewise.
15690         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15691         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15692         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15693         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15694         Likewise.
15695         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15696         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15697         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15698         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15699         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15701 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15703         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15704         Include dl-vdso.
15705         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15706         Use VDSO routines for gettimeofday, clock_gettime if
15707         available.
15708         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15709         Declare VDSO symbols.
15710         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15711         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15712         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15713         * sysdeps/unix/sysv/linux/arm/Versions: Add
15714         __vdso_clock_gettime.
15716 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15718         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15719         be an inline implementation regardless of library is built within.
15720         (open_not_cancel_2): Likewise.
15721         (__read_nocancel): Likewise.
15722         (__write_nocancel): Likewise.
15723         (openat_not_cancel): Likewise.
15724         (openat_not_cancel_3): Likewise.
15725         (openat64_not_cancel): Likewise.
15726         (openat64_not_cancel_3): Likewise.
15727         (__close_nocancel): Likewise.
15728         (pause_not_cancel): Likewise.
15729         (nanosleep_not_cancel): Likewise.
15730         (sigsuspend_not_cancel): Likewise.
15732 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15734         [BZ #14958]
15735         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15736         wake-up.
15737         (__pthread_rwlock_rdlock_slow): Likewise.
15738         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15739         Likewise.
15740         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15741         Likewise.
15742         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15743         * nptl/tst-rwlock16.c: New file.
15744         * nptl/Makefile (tests): Add new test.
15746 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15748         [BZ #18324]
15749         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15750         missing wake-up of readers.
15751         * nptl/tst-rwlock15.c: New file.
15752         * nptl/Makefile (tests): Add new test.
15754 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15756         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15757         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15758         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15759         and __nacl_supply_interface_rtld.
15760         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15761         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15762         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15763         Add __nacl_supply_interface_rtld.
15764         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15766 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15768         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15769         isfinite.
15770         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15771         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15773 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15775         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15776         __signbit* with standard C99 macros.
15777         * math/e_exp10l.c: Likewise.
15778         * math/e_exp2l.c: Likewise.
15779         * math/e_scalb.c: Likewise.
15780         * math/e_scalbf.c: Likewise.
15781         * math/e_scalbl.c: Likewise.
15782         * math/s_ldexp.c: Likewise.
15783         * math/s_ldexpf.c: Likewise.
15784         * math/s_ldexpl.c: Likewise.
15785         * math/w_atan2.c: Likewise.
15786         * math/w_atan2f.c: Likewise.
15787         * math/w_atan2l.c: Likewise.
15788         * math/w_cosh.c: Likewise.
15789         * math/w_coshf.c: Likewise.
15790         * math/w_coshl.c: Likewise.
15791         * math/w_exp10.c: Likewise.
15792         * math/w_exp10f.c: Likewise.
15793         * math/w_exp10l.c: Likewise.
15794         * math/w_exp2.c: Likewise.
15795         * math/w_exp2f.c: Likewise.
15796         * math/w_exp2l.c: Likewise.
15797         * math/w_fmod.c: Likewise.
15798         * math/w_fmodf.c: Likewise.
15799         * math/w_fmodl.c: Likewise.
15800         * math/w_hypot.c: Likewise.
15801         * math/w_hypotf.c: Likewise.
15802         * math/w_hypotl.c: Likewise.
15803         * math/w_jnl.c: Likewise.
15804         * math/w_lgamma.c: Likewise.
15805         * math/w_lgamma_r.c: Likewise.
15806         * math/w_lgammaf.c: Likewise.
15807         * math/w_lgammaf_r.c: Likewise.
15808         * math/w_lgammal.c: Likewise.
15809         * math/w_lgammal_r.c: Likewise.
15810         * math/w_pow.c: Likewise.
15811         * math/w_powf.c: Likewise.
15812         * math/w_powl.c: Likewise.
15813         * math/w_remainder.c: Likewise.
15814         * math/w_remainderf.c: Likewise.
15815         * math/w_remainderl.c: Likewise.
15816         * math/w_scalb.c: Likewise.
15817         * math/w_scalbf.c: Likewise.
15818         * math/w_scalbl.c: Likewise.
15819         * math/w_scalbln.c: Likewise.
15820         * math/w_scalblnf.c: Likewise.
15821         * math/w_scalblnl.c: Likewise.
15822         * math/w_sinh.c: Likewise.
15823         * math/w_sinhf.c: Likewise.
15824         * math/w_sinhl.c: Likewise.
15825         * math/w_tgamma.c: Likewise.
15826         * math/w_tgammaf.c: Likewise.
15827         * math/w_tgammal.c: Likewise.
15828         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15829         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15830         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15831         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15832         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15833         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15834         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15835         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15836         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15837         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15838         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15839         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15840         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15841         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15842         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15843         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15844         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15845         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15846         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15847         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15848         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15849         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15850         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15851         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15852         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15853         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15855         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15856         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15858         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15859         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15860         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15861         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15862         * stdio-common/printf_fp.c: Likewise.
15863         * stdio-common/printf_fphex.c: Likewise.
15864         * stdio-common/printf_size.c: Likewise.
15866 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15868         [BZ #18470]
15869         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15870         strnlen.
15871         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15872         Remove variable.
15873         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15874         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15875         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15876         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15877         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15878         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15879         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15880         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15881         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15882         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15884         [BZ #18468]
15885         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15886         weak alias of __wmemchr.  Use libc_hidden_weak.
15887         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15888         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15889         instead of wmemchr.
15891 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15893         [BZ #18383]
15894         * elf/tst-tlsalign-extern.c: New file.
15895         * elf/tst-tlsalign-extern-static.c: New file.
15896         * elf/tst-tlsalign-vars.c: New file.
15897         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15898         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15899         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15900         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15901         (test-xfail-tst-tlsalign-extern-static): New variable.
15903 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15905         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15906         Use variable name _sc_err instead of err.
15907         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15908         instead of ret.
15909         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15910         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15911         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15912         (INLINE_SYSCALL): Likewise.
15914         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15915         * include/string.h (__strnlen): Use libc_hidden_proto.
15916         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15917         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15918         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15919         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15920         (libc_hidden_def): Undefine and redefine.
15921         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15922         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15923         __GI_strnlen.
15924         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15925         libc_hidden_def.
15926         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15928         [BZ #18469]
15929         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15930         weak alias of __towlower.  Use libc_hidden_weak.
15931         (towupper): Rename to __towupper and define as weak alias of
15932         __towupper.  Use libc_hidden_weak.
15933         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15934         (__towupper): Likewise.
15935         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15936         __towlower instead of towlower.
15938 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15940         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15941         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15943 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15945         * sysdeps/aarch64/libm-test-ulps: Update.
15947 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15949         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15950         Define.
15951         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15953         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15954         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15955         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15956         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15957         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15959 2015-06-01  Martin Sebor  <msebor@redhat.com>
15961         [BZ #18116]
15962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15963         (__setcontext): Use extended four-operand version of mtsf whenever
15964         possible.
15965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15966         (__novec_swapcontext): Likewise.
15968 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15970         * benchtests/scripts/compare_bench.py: New file.
15971         * benchtests/scripts/import_bench.py (mean): New function.
15972         (split_list): Likewise.
15973         (do_for_all_timings): Likewise.
15974         (compress_timings): Likewise.
15976         * benchtests/scripts/import_bench.py: New file.
15977         * benchtests/scripts/validate_benchout.py: Import import_bench
15978         instead of jsonschema.
15979         (validate_bench): Remove function.
15980         (main): Use import_bench.
15982 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15984         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15985         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15987 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15991 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15993         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15994         set THREAD_SELF->tid to a magic value and futex-wake it.
15995         Pass its address to the thread_exit system call.
15996         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15997         bit is clear.
15998         * sysdeps/nacl/lowlevellock.h: New file.
15999         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16001         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16002         Add TIMEOUT to current time, don't subtract it.
16004 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16006         [BZ #2981]
16007         [BZ #18422]
16008         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16009         ($(objpfx)tst-audit2.out): Also depend on
16010         $(objpfx)tst-auditmod9b.so.
16011         * elf/tst-audit2.c: Include <dlfcn.h>.
16012         (calloc_called): New.
16013         (calloc): Allow to be called more than once.
16014         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16016 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16018         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16019         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16021 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16023         * stdlib/monetary.h: Fix comment.
16025 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16027         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16028         Avoid using variables in #defines that might cause shadowing.
16029         (INTERNAL_VSYSCALL_CALL): Likewise.
16031 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16033         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16035         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16036         * nptl/lll_timedlock_wait.c: ... to this new file.
16037         * nptl/Makefile (libpthread-routines): Add it.
16038         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16039         * nptl/lll_timedwait_tid.c: ... to this new file.
16040         * nptl/Makefile (libpthread-routines): Add it.
16041         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16042         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16043         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16044         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16045         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16046         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16047         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16048         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16049         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16050         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16052 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16054         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16055         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16056         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16058         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16060         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16062         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16063         * sysdeps/unix/sysv/linux/tile/sysdep.h
16064         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16065         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16066         using vDSO syscall macro.
16068 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16070         [BZ #17293]
16071         * uk_UA: Fix sorting order for Ukrainian locale
16073 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16075         * stdlib/monetary.h: Fix comment.
16077 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16079         [BZ #18234]
16080         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16081         st_mtim and st_ctim members.
16082         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16083         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16084         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16085         (struct stat64): Likewise.
16086         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16087         (struct stat64): Likewise.
16088         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16089         (struct stat64): Likewise.
16091 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16093         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16094         Define and include sysdep-vdso.h.
16095         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16096         Likewise.
16097         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16098         Likewise.
16099         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16100         Define with VDSO_SYMBOL and use PTR_MANGLE.
16101         (__vdso_clock_gettime): Likewise.
16102         (__vdso_clock_getres): Likewise.
16103         (_libc_vdso_platform_setup): Likewise.
16104         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16105         Likewise.
16106         (_libc_vdso_platform_setup): Likewise.
16107         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16108         Likewise.
16109         (__vdso_clock_gettime): Likewise.
16110         (__vdso_clock_getres): Likewise.
16111         (__vdso_get_tbfreq): Likewise.
16112         (__vdso_getcpu): Likewise.
16113         (__vdso_time): Likewise.
16114         (__vdso_sigtramp_rt64): Likewise.
16115         (__vdso_signtramp32): Likewise.
16116         (__vdso_sigtramp_rt32): Likewise.
16117         (_libc_vdso_platform_setup): Likewise.
16118         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16119         Likewise.
16120         (__vdso_clock_gettime): Likewise.
16121         (__vdso_clock_getres): Likewise.
16122         (_libc_vdso_platform_setup): Likewise.
16123         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16124         Likewise.
16125         (__vdso_clock_gettime): Likewise.
16126         (_libc_vdso_platform_setup): Likewise.
16127         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16128         Likewise.
16129         (__vdso_getcpu): Likewise.
16130         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16131         Use VDSO_SYMBOL macro to define.
16132         (__vdso_clock_gettime): Likewise.
16133         (__vdso_clock_getres): Likewise.
16134         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__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         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16145         Likewise.
16146         (__vdso_clock_gettime): Likewise.
16147         (__vdso_clock_getres): Likewise.
16148         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16149         Likewise.
16150         (__vdso_clock_gettime): Likewise.
16151         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16152         Likewise.
16153         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16154         macro.
16155         (INTERNAL_VSYSCALL): Likewise.
16156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16157         Remove macro.
16158         (INTERNAL_VSYSCALL): Likewise.
16159         (INTERNAL_VSYSCALL_NCS): Likewise.
16160         (INTERNAL_VSYSCALL_CALL): New macro.
16161         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16163         Likewise.
16164         (INTERNAL_VSYSCALL): Likewise.
16165         (INTERNAL_VSYSCALL_NCS): Likewise.
16166         (INTERNAL_VSYSCALL_CALL): New macro.
16167         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16169         (INLINE_VSYSCALL): Remove macro.
16170         (INTERNAL_VSYSCALL): Remove macro.
16171         (INTERNAL_VSYSCALL_NCS): Remove macro.
16172         (INTERNAL_VSYSCALL_CALL): New macro.
16173         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16174         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16175         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16176         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16177         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16179         (INLINE_VSYSCALL): Remove macro.
16180         (INTERNAL_VSYSCALL): Likewise.
16181         (INTERNAL_VSYSCALL_NCS): Likewise.
16182         (INTERNAL_VSYSCALL_CALL): New macro.
16183         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16184         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16185         PTR_DEMANGLE on vDSO pointer.
16186         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16187         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16188         macro.
16189         (INTERNAL_SYSCALL): Likewise.
16190         (INTERNAL_VSYSCALL_NCS): Remove macro.
16191         (INTERNAL_VSYSCALL_CALL): New macro.
16192         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16193         Remove macro.
16194         (INTERNAL_VSYSCALL): Likewise.
16195         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16196         sysdep-vdso.h instead of libc-vdso.h.
16197         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16198         definition.
16199         (INLINE_VSYSCALL): Likewise.
16200         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16201         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16202         definition.
16203         (INLINE_VSYSCALL): Likewise.
16204         (INTERNAL_VSYSCALL): Likewise.
16205         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16206         * sysdeps/unix/sysv/linux/timespec_get.c
16207         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16208         (timespec_get): Use ANSI prototype.
16209         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16210         and definition for Linux.
16212 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16214         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16215         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16217 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16219         [BZ #2981]
16220         [BZ #18410]
16221         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16222         for missing DT_PLTRELSZ.
16224 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16226         Remove obsolete aliases that broke 'locale -a'
16227         [BZ #18412]
16228         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16229         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16230         breaking some applications that use 'locale -a' output.
16231         Change the encoding of this file from Latin-1 to ASCII to avoid
16232         other potential problems with people grepping this file.
16234 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16236         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16237         -fasynchronous-unwind-tables.
16238         (CFLAGS-sendto.c): Likewise.
16239         (CFLAGS-sendmsg.c): Likewise.
16240         (CFLAGS-connect.c): Likewise.
16241         (CFLAGS-recvmsg.c): Likewise.
16242         (CFLAGS-recvfrom.c): Likewise.
16243         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16244         (SOCKETCALL): New macro: non-cancellable socketcall.
16245         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16247         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16248         * sysdeps/unix/sysv/linux/accept.c: New file.
16249         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16250         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16251         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16252         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16253         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16254         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16255         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16256         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16257         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16258         * sysdeps/unix/sysv/linux/send.c: Likewise.
16259         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16260         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16261         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16262         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16263         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16264         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16265         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16266         prototype.
16267         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16268         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16269         instead of __internal_xxx function.
16270         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16271         prototype.
16272         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16273         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16274         instead of __internal_xxx function.
16275         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16276         prototype.
16277         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16278         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16279         instead of __internal_xxx function.
16280         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16281         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16282         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16283         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16284         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16285         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16286         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16287         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16288         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16289         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16290         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16291         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16292         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16293         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16294         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16295         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16296         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16297         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16298         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16299         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16302         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16303         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16304         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16305         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16306         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16307         * sysdeps/unix/sysv/linux/send.S: Likewise.
16308         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16309         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16310         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16311         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16312         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16313         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16314         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16315         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16316         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16317         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16318         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16319         socketcall is implemented in GLIBC.
16321 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16323         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16324         (__fma): Ignore uninitialized warnings around packing.
16325         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16326         (__fmaf): Ignore uninitialized warnings around packing.
16327         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16328         (__fmal): Ignore uninitialized warnings around packing.
16330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16331         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16332         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16333         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16335         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16336         switch statement into default case.
16337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16339         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16340         a conditional in forcing "inexact".
16341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16342         Likewise.
16344 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16346         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16347         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16348         for each INTERNAL_SYSCALL use.
16350 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16352         [BZ #438]
16353         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16354         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16355         variable.
16357         [BZ #18444]
16358         * string/basename.c (basename): Rename to __basename and define as
16359         weak alias of __basename.  Use libc_hidden_weak.
16360         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16361         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16362         __basename instead of basename.
16363         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16364         Remove variable.
16365         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16367 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16369         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16370         (_IO_JUMPS_FILE_plus): New.
16371         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16372         _IO_CAST_FIELD_ACCESS.
16373         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16374         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16375         * libio/freopen.c (freopen): Likewise.
16376         * libio/freopen64.c (freopen64): Likewise.
16377         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16378         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16379         * libio/iofwide.c (_IO_fwide): Likewise.
16380         * libio/memstream.c (open_memstream): Likewise.
16381         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16382         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16383         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16385 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16387         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16388         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16389         NADJ.
16390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16391         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16392         NADJ.
16393         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16394         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16395         NADJ.
16397         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16398         (p == 4) case.
16400         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16401         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16402         Remove variable.
16403         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16404         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16405         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16407 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16409         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16410         Adjust jump table label generation macros.
16412 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16414         * stdio-common/vfprintf.c (vfprintf): Move local variables
16415         args_malloced, specs, specs_malloced, and the code after
16416         do_positional to the printf_positional function.
16417         (printf_positional): New function.
16419 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16421         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16422         function.
16423         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16424         STEP4_TABLE, process_arg): Move macro definitions
16425         out of the vfprintf function.  (Cosmetic change only.)
16427 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16429         * benchtests/Makefile (stdio-common-bench): Define.
16430         (benchset): Add stdio-common-bench.
16431         * sprintf-inputs: New file.
16432         * sprintf-source.c: New file.
16434 2015-05-21  Andreas Schwab  <schwab@suse.de>
16436         [BZ #13028]
16437         [BZ #17053]
16438         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16439         of struct __res_state.
16440         * resolv/res_send.c (__libc_res_nsend): Likewise.
16441         (get_nsaddr): New function.
16442         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16443         statp directly.
16445 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16447         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16448         -D_POSIX_C_SOURCE=199506L.
16450         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16452         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16453         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16454         Do not mention otherwise.
16455         [POSIX] (_XOPEN_VERSION): Do not expect.
16456         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16457         [POSIX] (_POSIX2_C_BIND): Likewise.
16458         [POSIX] (_POSIX2_VERSION): Likewise.
16459         [POSIX] (_XOPEN_XPG2): Likewise.
16460         [POSIX] (_XOPEN_XPG3): Likewise.
16461         [POSIX] (_XOPEN_XPG4): Likewise.
16462         [POSIX] (_XOPEN_UNIX): Likewise.
16463         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16464         [POSIX] (_POSIX_BARRIERS): Likewise.
16465         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16466         [POSIX] (_POSIX_CPUTIME): Likewise.
16467         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16468         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16469         [POSIX] (_POSIX_SHELL): Likewise.
16470         [POSIX] (_POSIX_SPAWN): Likewise.
16471         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16472         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16473         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16474         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16475         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16476         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16477         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16478         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16479         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16480         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16481         [POSIX] (_POSIX2_PBS): Likewise.
16482         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16483         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16484         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16485         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16486         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16487         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16488         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16489         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16490         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16491         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16492         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16493         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16494         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16495         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16496         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16497         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16498         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16499         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16500         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16501         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16502         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16503         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16504         [POSIX] (_SC_2_C_BIND): Likewise.
16505         [POSIX] (_SC_2_C_VERSION): Likewise.
16506         [POSIX] (_SC_2_PBS): Likewise.
16507         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16508         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16509         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16510         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16511         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16512         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16513         [POSIX] (_SC_BARRIERS): Likewise.
16514         [POSIX] (_SC_BASE): Likewise.
16515         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16516         [POSIX] (_SC_DEVICE_IO): Likewise.
16517         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16518         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16519         [POSIX] (_SC_FD_MGMT): Likewise.
16520         [POSIX] (_SC_FIFO): Likewise.
16521         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16522         [POSIX] (_SC_FILE_LOCKING): Likewise.
16523         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16524         [POSIX] (_SC_IOV_MAX): Likewise.
16525         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16526         [POSIX] (_SC_NETWORKING): Likewise.
16527         [POSIX] (_SC_PAGE_SIZE): Likewise.
16528         [POSIX] (_SC_PASS_MAX): Likewise.
16529         [POSIX] (_SC_PIPE): Likewise.
16530         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16531         [POSIX] (_SC_REGEXP): Likewise.
16532         [POSIX] (_SC_SHELL): Likewise.
16533         [POSIX] (_SC_SIGNALS): Likewise.
16534         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16535         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16536         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16537         [POSIX] (_SC_USER_GROUPS): Likewise.
16538         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16539         [POSIX] (_SC_STREAMS): Likewise.
16540         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16541         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16542         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16543         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16544         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16545         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16546         [POSIX] (_PC_FILESIZEBITS): Likewise.
16547         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16548         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16549         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16550         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16551         [POSIX] (uid_t): Likewise.
16552         [POSIX] (gid_t): Likewise.
16553         [POSIX] (off_t): Likewise.
16554         [POSIX] (pid_t): Likewise.
16555         [POSIX] (cuserid): Allow.
16556         (_SC_2_CHAR_TERM): Require constant.
16557         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16558         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16559         variable.
16561 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16563         * sysdeps/nacl/pthread-pids.h: New file.
16564         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16565         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16567         * nptl/pthread-pids.h: New file.
16568         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16569         * nptl/nptl-init.c: Include <pthread-pids.h>.
16570         (__pthread_initialize_minimal_internal):
16571         Call __pthread_initialize_pids instead of set_tid_address syscall.
16573         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16574         * sysdeps/posix/usleep.c: ... here.
16576 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16578         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16579         call_pselect6 object.
16580         [$(subdir) = io]: Remove call_sync_file_range object.
16581         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16582         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16583         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16584         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16586 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16588         * math/s_cproj.c: Add include "math_private.h".
16589         * math/s_cprojf.c: Likewise.
16590         * math/s_cprojl.c: Likewise.
16592 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16594         [BZ #18244]
16595         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16596         high mantissa bit when testing whether P is a NaN.
16597         * math/libm-test.inc (remainder_test_data): Add more tests.
16598         (remquo_test_data): Likewise.
16600         [BZ #18049]
16601         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16602         below -32, return the argument, with underflow if subnormal.
16603         * math/auto-libm-test-in: Add more tests of atanh.
16604         * math/auto-libm-test-out: Regenerated.
16606 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16608         [BZ #18434]
16609         * nptl/tst-sem15.c: New file.
16610         * nptl/Makefile (tests): Add it.
16611         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16612         s/<</>>/ to fix typo in EOVERFLOW check.
16613         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16615 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16617         * manual/strings.texi (envz_remove): Fix typo in safety
16618         annotations.
16620 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16621             Steve Ellcey  <sellcey@imgtec.com>
16623         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16624         in order to avoid strict alias warnings.
16625         (iruserok_af): Ditto for ra.
16627 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16629         [BZ #17581]
16630         * malloc/hooks.c
16631         (magicbyte): Convert to a function and avoid returning 0x01.
16632         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16633         (mem2chunk_check): Fix unsigned comparisons to zero.
16634         Hoist defs of sz and magic.
16636 2015-05-19  Richard Henderson  <rth@redhat.com>
16638         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16640         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16642 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16644         [BZ #16159]
16645         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16646         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16647         (reused_arena): Find a non-corrupt arena.
16648         (heap_trim): Pass arena to unlink.
16649         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16650         malloc_printerr.
16651         (top_check): Likewise.
16652         (free_check): Likewise.
16653         (realloc_check): Likewise.
16654         * malloc/malloc.c (malloc_printerr): Add arena argument.
16655         (unlink): Likewise.
16656         (munmap_chunk): Adjust.
16657         (ARENA_CORRUPTION_BIT): New macro.
16658         (arena_is_corrupt): Likewise.
16659         (set_arena_corrupt): Likewise.
16660         (sysmalloc): Use mmap if there are no usable arenas.
16661         (_int_malloc): Likewise.
16662         (__libc_malloc): Don't fail if arena_get returns NULL.
16663         (_mid_memalign): Likewise.
16664         (__libc_calloc): Likewise.
16665         (__libc_realloc): Adjust for additional argument to
16666         malloc_printerr.
16667         (_int_free): Likewise.
16668         (malloc_consolidate): Likewise.
16669         (_int_realloc): Likewise.
16670         (_int_memalign): Don't touch corrupt arenas.
16671         * malloc/tst-malloc-backtrace.c: New test case.
16673         * Makefile (summarize-tests): Fix return value on success.
16675         * manual/string.texi (Envz Functions): Add envz_remove.
16677 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16679         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16680         (invalid_name): New function, broken out of ...
16681         (__opendirat): ... here.  Call it.
16682         (need_isdir_precheck): New function, broken out of ...
16683         (__opendirat): ... here.  Call it.
16684         Use __fxstatat64, not __xstatat64.
16685         (opendir_oflags): New function, broken out of ...
16686         (__opendirat): ... here.  Call it.
16687         (opendir_tail): New function, broken out of ...
16688         (__opendirat): ... here.  Call it.
16689         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16690         opendir_tail, rather than punting to __opendirat.
16691         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16693 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16695         * .gitignore: Ignore generated *.pyc.
16697 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16699         * include/stdio.h: Define __need_wint_t.
16700         * test-skeleton.c: Avoid `for' loop initial declaration.
16701         * nptl/tst-initializers1.c: Use test-skeleton.c.
16703 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16705         [BZ #18418]
16706         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16708 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #16352]
16711         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16712         (__ieee754_atanh): Force underflow exception for results with
16713         small absolute value.
16714         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16715         (__ieee754_atanhf): Force underflow exception for results with
16716         small absolute value.
16717         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16718         (__ieee754_atanh): Force underflow exception for results with
16719         small absolute value.
16720         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16721         (__ieee754_atanhf): Force underflow exception for results with
16722         small absolute value.
16723         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16724         (__ieee754_atanhl): Force underflow exception for results with
16725         small absolute value.
16726         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16727         (__ieee754_atanhl): Force underflow exception for results with
16728         small absolute value.
16729         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16730         (__ieee754_atanhl): Force underflow exception for results with
16731         small absolute value.
16732         * math/auto-libm-test-in: Do not allow missing underflow
16733         exceptions from atanh.
16734         * math/auto-libm-test-out: Regenerated.
16736         [BZ #18221]
16737         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16738         2**-28 as threshold for returning x or +/- 1/x.
16739         * math/auto-libm-test-in: Add more tests of tan.
16740         * math/auto-libm-test-out: Regenerated.
16742         [BZ #18220]
16743         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16744         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16745         * math/auto-libm-test-in: Add another test of lgamma.
16746         * math/auto-libm-test-out: Regenerated.
16748 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16750         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16751         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16752         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16753         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16754         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16755         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16756         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16759         (log1): Use fabs.  (my_log2): Use fabs.
16760         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16761         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16763         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16764         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16765         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16766         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16767         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16768         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16769         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16770         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16772 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16774         [BZ #18217]
16775         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16776         as threshold for returning 1 - x.
16777         * math/auto-libm-test-in: Add more tests of erfc.
16778         * math/auto-libm-test-out: Regenerated.
16780 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16782         [BZ #18196]
16783         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16784         threshold for large arguments.
16785         * math/auto-libm-test-in: Add another test of atan.
16786         * math/auto-libm-test-out: Regenerated.
16788         [BZ #16339]
16789         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16790         (__log1p): Force underflow exception for results with small
16791         absolute value.
16792         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16793         (__log1pf): Force underflow exception for results with small
16794         absolute value.
16795         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16796         (__log1p): Force underflow exception for results with small
16797         absolute value.
16798         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16799         (__log1pf): Force underflow exception for results with small
16800         absolute value.
16801         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16802         (__log1pl): Force underflow exception for results with small
16803         absolute value.
16804         * math/auto-libm-test-in: Do not allow missing underflow
16805         exceptions from log1p.
16806         * math/auto-libm-test-out: Regenerated.
16808 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16809             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16811         [BZ #16704]
16812         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16814 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16816         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16817         (libmvec): New variable.
16818         * configure.ac: Added option for mathvec build.
16819         * configure: Regenerated.
16820         * mathvec/Depend: New file.
16821         * mathvec/Makefile: New file.
16822         * shlib-versions: Added libmvec.
16823         * math/Makefile: Added rule for libm.so installation.
16825         * bits/math-vector.h: New file.
16826         * bits/libm-simd-decl-stubs.h: New header.
16827         * math/Makefile (headers): Added new header
16828         libm-simd-decl-stubs.h.
16829         * math/math.h (__MATHCALL_VEC): New macro.
16831         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16832         for conditions in testing functions.
16833         * math/Makefile: Added call of libm-have-vector-test.sh.
16834         * math/libm-test.inc (HAVE_VECTOR): New macros.
16836         * math/libm-test.inc: START refactored.
16837         * math/test-double.c (TEST_MATHVEC): Add define.
16838         * math/test-float.c: Likewise.
16839         * math/test-idouble.c: Likewise.
16840         * math/test-ifloat.c: Likewise.
16841         * math/test-ildoubl.c: Likewise.
16842         * math/test-ldouble.c: Likewise.
16843         * sysdeps/generic/math-tests-arch.h
16844         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16845         architecture check.
16847         * math/test-double.c (FUNC_TEST): New macro.
16848         * math/test-float.c: Likewise.
16849         * math/test-idouble.c: Likewise.
16850         * math/test-ifloat.c: Likewise.
16851         * math/test-ildoubl.c: Likewise.
16852         * math/test-ldouble.c: Likewise.
16853         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16855 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16857         * sysdeps/nacl/fdopendir.c: New file.
16859         * dirent/scandir-tail.c: New file.
16860         * dirent/scandir64-tail.c: New file.
16861         * dirent/Makefile (routines): Add them.
16862         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16863         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16864         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16865         [!SCANDIR] (SCANDIR_TAIL): New macro.
16866         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16867         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16868         (SCANDIRAT): Macro removed.
16869         (SCANDIR_TAIL): New macro.
16870         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16871         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16872         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16873         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16874         (READDIR): Macro removed.
16875         (SCANDIR_TAIL): New macro.
16876         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16877         (SCANDIR_TAIL): New macro.
16879         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16880         * dirent/scandir-cancel.c: ... to this new file.
16881         * dirent/Makefile (routines): Add it.
16882         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16883         * sysdeps/unix/sysv/linux/i386/scandir64.c
16884         (SKIP_SCANDIR_CANCEL): Macro removed.
16885         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16887         * dirent/tst-scandir.c: New file.
16888         * dirent/tst-scandir64.c: New file.
16889         * dirent/Makefile (tests): Add them.
16891 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16893         [BZ #18409]
16894         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16896 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16898         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16899         list.
16901 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16903         * benchtests/bench-strcoll.c: New benchmark.
16904         * benchtests/Makefile: Generate locales and run benchmark.
16905         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16906         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16907         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16908         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16909         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16910         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16911         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16912         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16913         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16914         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16915         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16916         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16917         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16918         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16919         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16920         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16921         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16922         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16923         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16924         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16925         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16926         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16927         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16928         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16930 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16932         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16933         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16935 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16937         * posix/uname-values.h: New file.
16938         * posix/uname.c: Include that instead of <config-name.h>.
16939         * sysdeps/nacl/uname-values.h: New file.
16940         * sysdeps/arm/nacl/uname-values.h: New file.
16942 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16944         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16945         splitting into fields.
16947 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16949         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16950         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16951         * locale/localeinfo.h: Add enum collation_encoding_type.
16952         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16953         * programs/ld-collate.c (collate_output): Add encoding type info.
16954         * string/strcoll_l.c (STRDIFF): New function.
16955         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16956         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16958 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16960         [BZ #18397]
16961         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16962         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16963         <fpu_control.h> instead of <math/fpu_control.c>.
16964         * sysdeps/mips/mips32/fpu/Makefile: New file.
16966 2015-05-11  Andreas Schwab  <schwab@suse.de>
16968         [BZ #18007]
16969         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16970         nss_endgrent.
16971         (_nss_compat_endgrent): Call nss_endgrent.
16972         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16973         nss_endpwent.
16974         (_nss_compat_endpwent): Call nss_endpwent.
16975         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16976         needent, call nss_setspent only if non-zero.
16977         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16978         (internal_endspent): Don't call nss_endspent.
16979         (_nss_compat_endspent): Call nss_endspent.
16980         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16981         Remove.  All uses removed.
16982         (internal_setent): Remove parameter stayopen, add parameter
16983         stream.  Use it instead of global variable.
16984         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16985         (internal_endent, internal_getent): Add parameter stream.  Use it
16986         instead of global variable.
16987         (CONCAT(_nss_files_end,ENTNAME))
16988         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16989         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16990         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16991         uses removed.
16992         (internal_setent, internal_endent): Add parameter stream.  Use it
16993         instead of global variable.
16994         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16995         stream.
16996         (get_next_alias): Add parameter stream.
16997         (_nss_files_getaliasent_r): Pass global stream.
16998         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16999         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17000         (_nss_files_gethostbyname4_r): Pass local stream to
17001         internal_setent, internal_getent and internal_endent.  Remove
17002         locking.
17004 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17006         * tst-strfmon1.c (tests): Update expected currency symbol.
17008 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17010         * sysdeps/nacl/gethostname.c: New file.
17012 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17014         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17015         and sinh.
17016         * math/auto-libm-test-out: Regenerated.
17017         * sysdeps/i386/fpu/libm-test-ulps: Update.
17018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17020 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17022         [BZ #18125]
17023         * stdlib/tst-setcontext3.c: New file.
17024         * stdlib/tst-setcontext3.sh: New file.
17025         * stdlib/Makefile (tests): Add tst-setcontext3.
17026         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17027         to verify test program created output file.
17028         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17029         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17030         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17031         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17033 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17035         [BZ #18383]
17036         * elf/tst-tlsalign.c: New file.
17037         * elf/tst-tlsalign-static.c: New file.
17038         * elf/tst-tlsalign-lib.c: New file.
17039         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17040         (tests-static): Add tst-tlsalign-static.
17041         (modules-names): Add tst-tlsalign-lib.
17042         (test-xfail-tst-tlsalign): New variable.
17043         (test-xfail-tst-tlsalign-static): New variable.
17045         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17046         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17048 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17050         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17051         csqrt, erfc, sin and sincos.
17052         * math/auto-libm-test-out: Regenerated.
17053         * sysdeps/i386/fpu/libm-test-ulps: Update.
17054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17056 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17058         * sysdeps/aarch64/libm-test-ulps: Update.
17060 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17062         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17063         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17064         * math/auto-libm-test-out: Regenerated.
17065         * sysdeps/i386/fpu/libm-test-ulps: Update.
17066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17068 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17070         [BZ #18265]
17071         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17072         (wcsncpy): Likewise.
17074 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17076         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17077         Assume __ASSUME_FALLOCATE is always true.
17078         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17079         (__posix_fallocate64_l64): Likweise.
17080         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17081         (posix_fallocate): Likewise.
17082         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17083         (__posix_fallocate64_l64): Likewise.
17084         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17085         [!__ASSUME_FALLOCATE]: Add comment.
17087 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17089         * sysdeps/unix/sysv/linux/i386/Makefile
17090         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17091         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17092         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17093         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17094         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17095         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17096         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17098 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17100         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17101         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17102         tgamma.
17103         * math/auto-libm-test-out: Regenerated.
17104         * sysdeps/i386/fpu/libm-test-ulps: Update.
17105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17107 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17109         * math/auto-libm-test-in: Add more tests of tgamma.
17110         * math/auto-libm-test-out: Regenerated.
17111         * sysdeps/i386/fpu/libm-test-ulps: Update.
17112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17114         * math/auto-libm-test-in: Add more tests of tanh.
17115         * math/auto-libm-test-out: Regenerated.
17116         * sysdeps/i386/fpu/libm-test-ulps: Update.
17117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17119         * math/auto-libm-test-in: Add more tests of tan.
17120         * math/auto-libm-test-out: Regenerated.
17121         * sysdeps/i386/fpu/libm-test-ulps: Update.
17122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17124         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17125         * math/auto-libm-test-out: Regenerated.
17126         * sysdeps/i386/fpu/libm-test-ulps: Update.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17129         * math/auto-libm-test-in: Add another test of pow.
17130         * math/auto-libm-test-out: Regenerated.
17131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17133         * math/auto-libm-test-in: Add more tests of lgamma.
17134         * math/auto-libm-test-out: Regenerated.
17135         * sysdeps/i386/fpu/libm-test-ulps: Update.
17136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17138         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17139         log1p.
17140         * math/auto-libm-test-out: Regenerated.
17141         * sysdeps/i386/fpu/libm-test-ulps: Update.
17142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17144 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17146         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17147         Elf64_Chdr structs and ELFCOMPRESS constants.
17149 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17151         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17152         expm1.
17153         * math/auto-libm-test-out: Regenerated.
17154         * sysdeps/i386/fpu/libm-test-ulps: Update.
17155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17157         * math/auto-libm-test-in: Add more tests of erf and erfc.
17158         * math/auto-libm-test-out: Regenerated.
17159         * sysdeps/i386/fpu/libm-test-ulps: Update.
17160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17164         * config.h.in (HAVE_AARCH64_BE): Add.
17166 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17168         * math/auto-libm-test-in: Add more tests of csqrt.
17169         * math/auto-libm-test-out: Regenerated.
17170         * sysdeps/i386/fpu/libm-test-ulps: Update.
17171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17173         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17174         * math/auto-libm-test-out: Regenerated.
17175         * sysdeps/i386/fpu/libm-test-ulps: Update.
17176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17178         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17180 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17182         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17183         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17185         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17186         (euidaccess, eaccess): Define as weak aliases.
17188         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17189         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17190         but __suseconds_t is often 'long int' so some sources assume that
17191         type is being used (e.g. they use %ld to print tv_usec).
17193 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17195         [BZ #18007]
17196         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17197         (CVE-2014-8121)
17198         * nss/tst-nss-getpwent.c: New file.
17199         * nss/Makefile (tests): Add new test.
17201 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17203         [BZ #18346]
17204         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17205         exponents less than 48 as cases where high part of mantissa needs
17206         examining to determine whether argument is integral.
17207         * math/libm-test.inc (round_test_data): Add more tests.
17209 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17211         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17213 2015-04-27  David S. Miller  <davem@davemloft.net>
17215         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17216         __tls_get_addr.
17217         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17219 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17221         [BZ#18333]
17222         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17224 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17226         [BZ#18333]
17227         * time/tzset.c (parse_tzname): Return error on memory allocation
17228         failure.
17229         * test-skeleton.c (struct temp_name_list): Change type of name
17230         member to non-const.
17231         (add_temp_file): Create a copy of the file name.
17232         (delete_temp_files): Deallocate memory.
17233         (create_temp_file): Add comment.
17235 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17237         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17238         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17240 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17242         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17243         * sysdeps/arm/configure: Regenerated.
17245 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17247         [BZ #17715]
17248         * time/tzfile.c (__tzfile_read): Check for large values of
17249         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17250         * time/tzset.c (__tzstring_len): New function, based on the old
17251         __tzstring function.
17252         (__tzstring): Call __tzstring_len.
17253         (parse_tzname): New helper function extracted from
17254         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17255         the input string.
17256         (parse_offset): New helper function extracted from
17257         __tzset_parse_tz.  Replace switch with fallthrough with
17258         initialization before sscanf.
17259         (parse_rule): Likewise.
17260         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17261         new-style function definition.
17262         * timezone/Makefile (tests): Add tst-tzset.
17263         (tst-tzset.out): Dependencies on time zone files.
17264         (tst-tzset-ENV): Set TZDIR.
17265         (testdata/XT%): Copy crafted time zone files.
17266         * timezone/README: Mention crafted time zone files.
17267         * timezone/testdata/XT1, timezone/testdata/XT2,
17268         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17269         files.
17270         * timezone/tst-tzset.c: New test.
17272 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17274         * Makeconfig (+gccwarn): Remove -Winline.
17276 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17278         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17280 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17282         * NEWS: Mention sysconf() cache information support for s390.
17283         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17285 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17287         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17288         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17289         (__nearbyint): Likewise.
17290         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17291         (copysignl): Likewise.
17293 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17295         [BZ #18287]
17296         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17297         based on padding.  (CVE-2015-1781)
17299 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17301         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17302         libc-vdso.h.
17303         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17304         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17305         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17306         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17307         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17308         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17309         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17310         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17311         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17312         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17313         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17314         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17315         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17316         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17317         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17318         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17319         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17320         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17321         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17322         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17323         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17324         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17325         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17327 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17329         * stdlib/setenv.c (__add_to_environ):
17330         Dump core quickly if setenv (..., NULL, ...) is called.
17331         This time, do it the right way, and pacify GCC with a pragma.
17333 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17335         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17336         IMAP->l_prev cannot be null, and #if out the code for the contrary
17337         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17338         believe that NS (&_dl_ns[NSID]) could point outside the array.
17340         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17341         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17342         before using NSID as an index.
17344 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17346         [BZ #17825]
17347         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17348         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17349         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17351 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17353         Add preliminary port to Google Native Client on ARM.
17354         * abi-tags (.*-.*-nacl.*): New entry.
17355         * sysdeps/arm/nacl: New directory.
17356         * sysdeps/nacl: New directory.
17358 2015-04-16  David S. Miller  <davem@davemloft.net>
17360         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17361         lowlevellock-futex.h
17363 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17365         * sysdeps/tile/configure.ac: New file.
17366         * sysdeps/tile/configure: Regenerated.
17368 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17370         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17371         conditionals for weak_alias and libc_hidden_weak.
17372         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17373         libc_hidden_weak and weak_alias.
17374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17375         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17376         and weak_alias for static one.
17378 2015-04-15  David S. Miller  <davem@davemloft.net>
17380         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17382 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17384         [BZ #18206]
17385         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17386           Use signed comparision instead of substraction to avoid
17387           overflow bug.
17388         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17389           Take the sign of ret.
17390         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17391           Do not expect precise return values. Only the sign matters.
17392         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17393         * wcsmbs/test-wcsncmp.c: New File.
17394         * string/test-strncmp.c: Add wcsncmp support.
17396 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17398         [BZ #6792]
17399         * math/w_log1p.c: New file.
17400         * math/w_log1pf.c: Likewise.
17401         * math/w_log1pl.c: Likewise.
17402         * math/Makefile (libm-calls): Add w_log1p.
17403         * math/s_log1pl.c (log1pl): Remove weak_alias.
17404         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17405         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17406         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17407         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17408         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17409         [NO_LONG_DOUBLE] (log1pl): Likewise.
17410         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17411         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17412         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17413         (log1p): Remove long_double_symbol.
17414         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17415         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17416         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17417         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17418         remove weak_alias for corresponding log1p function.
17419         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17420         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17421         * sysdeps/ia64/fpu/w_log1p.c: New file.
17422         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17423         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17424         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17426 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17428         [BZ #18247]
17429         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17430         decimal exponent by 1.
17431         * stdlib/tst-strtod-round-data: Add more tests.
17432         * stdlib/tst-strtod-round.c (tests): Regenerated.
17434 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17436         * math/auto-libm-test-in: Add more tests of clog and clog10.
17437         * math/auto-libm-test-out: Regenerated.
17438         * sysdeps/i386/fpu/libm-test-ulps: Update.
17439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17443         * Makeconfig (module-cppflags): Exclude all .v.i files.
17444         (skip-module-cppflags): Variable removed.
17446         * configure.ac (libc_config_ok): Initialize before reading
17447         preconfigure scripts, not after.
17448         * configure: Regenerated.
17450         * test-skeleton.c (TIMEOUT): Move #define to top level.
17451         (main): Grok environment variable TEST_DIRECT.  If set, print
17452         test expectation details into that file and then behave as if
17453         given --direct.
17455 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17457         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17458         warning on 32-bit.
17460 2015-04-08  David S. Miller  <davem@davemloft.net>
17462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17464 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17466         * math/auto-libm-test-in: Add more tests of atanh.
17467         * math/auto-libm-test-out: Regenerated.
17468         * sysdeps/i386/fpu/libm-test-ulps: Update.
17469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17471         * math/auto-libm-test-in: Add more tests of atan.
17472         * math/auto-libm-test-out: Regenerated.
17473         * sysdeps/i386/fpu/libm-test-ulps: Update.
17474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17476 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17478         * elf/pldd.c (main): Rewrite to use struct
17479         scratch_buffer instead of extend_alloca.
17480         * elf/pldd-xx.c (find_maps): Likewise.
17481         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17482         <alloca.h>.
17483         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17484         scratch_buffer instead of extend_alloca.
17485         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17486         grp/compat-initgroups.c.
17487         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17488         Rewrite to use struct scratch_buffer instead of extend_alloca.
17489         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17490         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17492 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17494         * math/auto-libm-test-in: Add more tests of cbrt.
17495         * math/auto-libm-test-out: Regenerated.
17496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17498         * math/auto-libm-test-in: Add more tests of cabs.
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         [BZ #18210]
17504         [BZ #18211]
17505         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17506         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17507         computations.
17508         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17509         clog10.
17510         * math/auto-libm-test-out: Regenerated.
17511         * sysdeps/i386/fpu/libm-test-ulps: Update.
17512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17514         [BZ #18197]
17515         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17516         (atan): Set FE_TONEAREST mode for internal computations.
17517         * math/auto-libm-test-in: Add more tests of atan.
17518         * math/auto-libm-test-out: Regenerated.
17520 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17522         [BZ #17930]
17523         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17525 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17527         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17529 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17531         * include/scratch_buffer.h: New file.
17532         * malloc/scratch_buffer_grow.c: Likewise.
17533         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17534         * malloc/scratch_buffer_set_array_size.c: Likewise.
17535         * malloc/tst-scratch_buffer.c: Likewise.
17536         * malloc/Makefile (routines): Add scratch_buffer_grow.
17537         (tests): Add test case.
17538         * malloc/Versions (GLIBC_PRIVATE): Export
17539         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17540         __libc_scratch_buffer_set_array_size.
17542 2015-04-06  Richard Henderson  <rth@redhat.com>
17544         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17545         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17547         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17548         unsigned int before printing.
17550 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17552         [BZ #17596]
17553         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17554         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17556 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17558         * include/libc-internal.h (libc_max_align_t): Define.
17560 2015-04-02  Andreas Schwab  <schwab@suse.de>
17562         [BZ #16850]
17563         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17565 2015-04-02  Mel Gorman  <mgorman@suse.de>
17567         [BZ #17195]
17568         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17569         as well as the main arena.
17571 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17573         [BZ #18185]
17574         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17575         sharing L2 cache to 2 for Silvermont/Knights Landing.
17577 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17579         [BZ #17711]
17580         * config.make.in (have-protected-data): New.
17581         * configure.ac: Check linker support for protected data symbol.
17582         * configure: Regenerated.
17583         * elf/Makefile (modules-names): Add tst-protected1moda and
17584         tst-protected1modb if $(have-protected-data) is yes.
17585         (tests): Add tst-protected1a and tst-protected1b if
17586         $(have-protected-data) is yes.
17587         ($(objpfx)tst-protected1a): New.
17588         ($(objpfx)tst-protected1b): Likewise.
17589         (tst-protected1modb.so-no-z-defs): Likewise.
17590         * elf/tst-protected1a.c: New file.
17591         * elf/tst-protected1b.c: Likewise.
17592         * elf/tst-protected1mod.h: Likewise.
17593         * elf/tst-protected1moda.c: Likewise.
17594         * elf/tst-protected1modb.c: Likewise.
17596 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17598         [BZ #17711]
17599         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17600         indicates it is called from do_lookup_x on relocation against
17601         protected data, skip the data definion in the executable from
17602         copy reloc.
17603         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17604         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17605         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17606         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17607         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17608         otherwise to 0.
17609         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17610         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17611         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17612         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17613         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17614         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17616 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17618         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17619         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17621 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17623         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17624         THREAD_SETMEM_NC.
17625         * sysdeps/x86_64/nptl/tls.h: Ditto.
17627 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17629         * dlfcn/tststatic.c (main): Converted to ...
17630         (do_test): ... this.
17631         (TEST_FUNCTION): New macro.
17632         Include test-skeleton.c.
17634 2015-03-26  Alan Modra  <amodra@gmail.com>
17636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17637         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17638         zero for undefined weak.
17639         (elf_machine_plt_conflict): Similarly.
17641 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17643         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17644         atanh.
17645         * math/auto-libm-test-out: Regenerated.
17646         * sysdeps/i386/fpu/libm-test-ulps: Update.
17647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17649         * math/auto-libm-test-in: Add another test of asin.
17650         * math/auto-libm-test-out: Regenerated.
17651         * sysdeps/i386/fpu/libm-test-ulps: Update.
17652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17655         Remove macro.
17656         (LLL_EBX_REG): Likewise.
17657         (LLL_ENTER_KERNEL): Likewise.
17659         * math/auto-libm-test-in: Add more tests of asin.
17660         * math/auto-libm-test-out: Regenerated.
17661         * sysdeps/i386/fpu/libm-test-ulps: Update.
17662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17664         [BZ #18138]
17665         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17666         libc_do_syscall_args): New structure.
17667         (INTERNAL_SYSCALL_MAIN_0): New macro.
17668         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17669         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17670         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17671         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17672         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17673         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17674         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17675         Replace conditional definitions by conditional definitions of ....
17676         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17677         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17678         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17679         (libpthread-sysdep_routines): Add libc-do-syscall.
17680         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17682         to __NR_futex not 240.
17684 2015-03-25  Alan Modra  <amodra@gmail.com>
17686         * NEWS: Advertise TLS optimization.
17687         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17688         (DT_PPC_NUM): Increment.
17689         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17690         (CHECK_STATIC_TLS): Use here.
17691         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17692         TLS descriptors.
17693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17694         * sysdeps/powerpc/dl-tls.c: New file.
17695         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17696         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17697         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17698         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17703 2015-03-25  Alan Modra  <amodra@gmail.com>
17705         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17706         for overlapping .opd entries" to "support...".
17707         * sysdeps/powerpc/powerpc64/configure: Regenerate
17709 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17711         * math/auto-libm-test-in: Add more tests of acos.
17712         * math/auto-libm-test-out: Regenerated.
17713         * sysdeps/i386/fpu/libm-test-ulps: Update.
17714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17716         * math/auto-libm-test-in: Add more tests of expm1.
17717         * math/auto-libm-test-out: Regenerated.
17718         * sysdeps/i386/fpu/libm-test-ulps: Update.
17719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17723         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17724         * math/auto-libm-test-out: Regenerated.
17725         * sysdeps/i386/fpu/libm-test-ulps: Update.
17726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17728         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17731         * math/auto-libm-test-in: Add more tests of log2.
17732         * math/auto-libm-test-out: Regenerated.
17733         * sysdeps/i386/fpu/libm-test-ulps: Update.
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17736 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17738         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17739         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17740         _IO_IS_APPENDING bit in READ_WRITE instead.
17742 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17744         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17745         (__determine_cpumask_size): Replace extend_alloca with a
17746         variable-length array.  Do not treat res == 0 as an error.
17748 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17750         [BZ #18100]
17751         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17752         and integer overflow.
17753         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17754         (main): Add integer overflow tests.
17755         * manual/pattern.texi (Calling Wordexp): Document additional use
17756         for WRDE_SYNTAX.
17758 2015-03-23  Alan Modra  <amodra@gmail.com>
17760         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17761         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17762         and false branch of conditional.
17763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17764         Likewise.
17766 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17768         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17769         libc-modules.h
17770         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17771         unused declaration of _hurd_intr_rpc_msg_in_trap.
17772         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17773         defined instead of whether it is non-zero.
17774         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17775         input constraint instead of both input and output constraint.  Use ecx
17776         clobber instead of %ecx.
17777         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17778         mutex_unlock): Use a statement expression instead of an expression list.
17779         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17780         type to vm_size_t instead of vm_address_t.
17781         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17782         defined instead of whether it is non-zero.
17783         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17784         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17785         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17786         comparisons with mapaddr.
17787         * nscd/nscd-client.h: Include <time.h>.
17788         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17789         9th parameter to __vm_region instead of int.
17790         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17791         * scripts/check-local-headers.sh (exclude): Add device/,
17792         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17793         cthreads.h.
17795 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17797         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17798         to account for alignment padding.
17799         * sysdeps/arm/memmove.S: Likewise.
17801 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17803         * sysdeps/unix/sysv/linux/generic/README: New file.
17805 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17807         [BZ #18138]
17808         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17809         (futex_abstimed_wait)
17810         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17811         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17812         of lll_futex_timed_wait.
17814 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17816         [BZ #17542]
17817         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17819 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17821         [BZ #17090]
17822         [BZ #17620]
17823         [BZ #17621]
17824         [BZ #17628]
17825         * NEWS: Update.
17826         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17827         entries with Static TLS too.  Skip entries past the end of the
17828         allocated DTV, from Alan Modra.
17829         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17830         Static TLS DTV entry set up from...
17831         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17832         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17833         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17834         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17835         for Static TLS.
17836         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17837         that the slot we find is associated with the given map before
17838         using its generation count.
17839         * nptl_db/db_info.c: Include ldsodefs.h.
17840         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17841         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17842         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17843         (link_map::l_tls_offset): New struct field.
17844         (dtv_t::counter): Likewise.
17845         (rtld_global): New struct.
17846         (_rtld_global): New rtld variable.
17847         (dl_tls_dtv_slotinfo_list): New rtld global field.
17848         (dtv_slotinfo_list): New struct.
17849         (dtv_slotinfo): Likewise.
17850         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17851         (td_lookup): Rename to...
17852         (td_mod_lookup): ... this.  Use new mod parameter instead of
17853         LIBPTHREAD_SO.
17854         * nptl_db/td_thr_tlsbase.c: Include link.h.
17855         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17856         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17857         addresses even if the DTV is out of date or missing them.
17858         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17859         index zero-length arrays.
17860         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17861         (td_lookup): Make it a macro implemented in terms of...
17862         (td_mod_lookup): ... this declaration.
17863         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17864         (DB_MAIN_VARIABLE): Likewise.
17866 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17868         [BZ #18134]
17869         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17871 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17873         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17875 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17877         [BZ #18128]
17878         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17879         (atomic_add, atomic_increment_and_test)
17880         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17882 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17884         * stdlib/setenv.c (__add_to_environ):
17885         Dump core quickly if setenv (..., NULL, ...) is called.
17887 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17889         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17890         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17891         all the necessary asm magic in one place.
17892         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17893         using those.
17895 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17897         [BZ #14906]
17898         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17899         traced file mtime. Use consistent log message.
17900         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17901         (register_traced_file): Call install_watches. Always set mtime.
17902         (invalidate_cache): Iterate over all trace files. Call install_watches.
17903         (inotify_check_files): Don't inline. Handle watching parent
17904         directories and configuration file movement in and out.
17905         (handle_inotify_events): New function.
17906         (main_loop_poll): Call handle_inotify_events.
17907         (main_loop_epoll): Likewise.
17908         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17909         (struct traced_file): Use array of inotify fds. Add parent directory,
17910         and basename.
17911         (struct database_dyn): Remove unused file_mtime.
17912         (init_traced_file): New inline function.
17913         (define_traced_file): New macro.
17914         * nss/nss_db/db-init.c: Use define_traced_file.
17915         (_nss_db_init): Use init_traced_file.
17916         * nss/nss_files/files-init.c: Use define_traced_file.
17917         (_nss_files_init): Use init_traced_file.
17919 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17921         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17922         [_LIBC]: Do not include <stdlib.h>.
17923         [!_LIBC] (abort): Remove declaration.
17924         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17925         _FP_STATIC_ASSERT instead of conditionally calling abort.
17926         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17927         (_FP_EXTEND_CNAN): Likewise.
17928         (FP_TRUNC): Likewise.
17929         (__FP_CLZ): Likewise.
17930         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17932 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17934         * manual/string.texi (XPG basename): Fix prototype.
17936 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17938         [BZ #18080]
17939         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17940         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17941         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17942         (__setcontext): Likewise.
17943         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17944         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17945         Call rt_sigprocmask syscall one time to set new signal mask
17946         and retrieve the current signal mask instead of two calls.
17947         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17948         (__swapcontext): Likewise.
17949         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17950         * stdlib/tst-setcontext2.c: New file.
17952 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17954         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17956 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17958         [BZ #18093]
17959         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17960         the wrong size.
17962 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17964         [BZ #18043]
17965         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17967 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17969         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17970         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17971         Remove define.
17972         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17973         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17974         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17975         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17976         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17977         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17978         define.
17979         * nptl_db/td_symbol_list.c (td_lookup): Remove
17980         HAVE_ASM_GLOBAL_DOT_NAME code.
17981         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17982         HAVE_ASM_GLOBAL_DOT_NAME check.
17983         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17984         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17985         (DOT_LABEL): Remove define.
17986         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17987         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17988         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17989         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17990         (__TLS_GET_ADDR): Likewise.
17991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17992         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17994 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17996         [BZ #18111]
17997         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17998         (_FPU_SETCW): Initialize cw from fpsr before storing.
17999         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18000         (fesetexceptflag): Rewrite using fpu_control.h.
18001         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18003 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18005         [BZ #18110]
18006         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18007         asms.
18008         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18010 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18012         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18013         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18014         abort.
18015         (_FP_FMA): Likewise.
18016         (_FP_DIV): Likewise.
18018 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18020         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18021         with 0 in that case.
18022         * Makefile (summarize-tests): New canned sequence, factored out of
18023         commands for targets tests and xtests.  Display summary lines that
18024         don't start with PASS: or XFAIL: rather than ones that do start with
18025         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18026         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18027         do start with ERROR: or FAIL:.
18028         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18029         (except for [$(build-shared) = yes]).
18030         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18031         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18032         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18033         * nptl/Makefile: Revert 2015-03-04 changes.
18034         [$(CXX) empty] (tests-unsupported): New variable.
18035         * debug/Makefile: Likewise.
18037         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18038         gnulib file.  Replace __attribute with __attribute__ throughout.
18040 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18042         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18044 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18046         [BZ #18104]
18047         * math/auto-libm-test-in: Add another test of pow.
18048         * math/auto-libm-test-out: Regenerated.
18050 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18052         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18053         $(config-cflags-nofma).
18055 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18057         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18058         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18059         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18060         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18061         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18062         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18063         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18064         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18065         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18066         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18067         Add comment on closing #endif.
18069 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18071         * posix/wordexp.c (CHAR_IN_SET): New macro.
18072         (parse_param): Use it.
18074 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18076         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18078 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18080         [BZ #18043]
18081         * posix/wordexp.c (parse_param): Fix buffer overflow.
18082         * posix/wordexp-test.c (test_case): Add test case.
18084 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18086         [BZ #18042]
18087         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18088         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18090 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18092         [BZ #18043]
18093         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18094         (do_bz18043): Delete.
18095         (at_page_end): New.
18096         (testit): Refactor to have words at the edge of unreadable page.
18098 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18100         [BZ #16734]
18101         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18102         Cleanup read-only streams as well.
18103         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18105 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18107         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18108         <bits/libc-lockP.h>
18110 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18112         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18113         on [__KERNEL__].
18114         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18115         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18116         * soft-fp/op-common.h (_FP_DECL): Likewise.
18118 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18120         * elf/ifuncdep2.c (global): Replace
18121         __attribute__((visibility("protected"))) with
18122         asm (".protected global").
18123         * elf/ifuncmod1.c (global): Likewise.
18124         * elf/ifuncmod5.c (global): Likewise.
18126 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18128         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18129         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18131 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18133         * manual/install.texi (Configuring and compiling):
18134         Document test-wrapper-env-only.
18135         * INSTALL: Regenerated.
18137 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18139         [BZ #18043]
18140         * posix/wordexp.c (parse_param): Fix buffer overflow.
18141         * posix/wordexp-test.c (do_bz18043): Add test case.
18143 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18145         * time/tst-strptime2.c (do_test): Ensure failing tests are
18146         reported correctly.
18147         * time/tst-strptime3.c (do_test): Likewise.
18149 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18151         Fix aio_error thread-safety.
18152         * sysdeps/pthread/aio_error.c: New file
18153         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18154         synchronization.
18156 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18158         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18159         (group_number, vfprintf): Use it.
18160         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18161         (JUMP, REF): Use it.
18162         (WORK_BUFFER_SIZE): New enum constant.
18163         (process_arg, vfprintf): Use it.
18165 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18167         * manual/errno.texi (Error Messages): Complete example function
18168         by adding missing #define.
18169         (program_invocation_name): Add statement indicating GNU
18170         extension and reference which header file declares the variable.
18171         (program_invocation_short_name): Likewise.
18173 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18175         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18176         compatibility note.
18178 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18180         * Makeconfig (test-wrapper-env-only): New variable.
18181         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18182         then use that with $(test-wrapper-env-only) rather than using
18183         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18185 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18187         [BZ #18082]
18188         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18189         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18190         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18191         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18192         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18193         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18194         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18195         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18196         Likewise.
18197         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18198         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18199         Likewise.
18200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18201         Likewise.
18202         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18203         Likewise.
18204         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18205         Likewise.
18206         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18207         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18208         Likewise.
18209         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18210         Likewise.
18211         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18212         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18214 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18216         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18217         (ETH_ALEN): New macro.
18218         (struct ether_addr): Use it for length of ether_addr_octet.
18220         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18221         (setdb): Don't call __nss_configure_lookup for "rpc".
18222         (do_test): Don't call test_rpc.
18223         (output_rpcent, test_rpc): Functions moved ...
18224         * sunrpc/test-rpcent.c: ... to this new file.
18225         * sunrpc/Makefile (tests): Add it.
18227         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18228         __xpg_sigpause.
18229         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18230         * nptl/tst-signal6.c: Likewise.
18231         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18232         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18234         * configure.ac (libc_cv_cxx_link_ok): New check.
18235         Reset CXX to empty if it fails to link.
18236         * configure: Regenerated.
18237         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18238         bug-atexit3-lib only if $(CXX) is nonempty.
18239         * nptl/Makefile (tests): Likewise for tst-cancel24.
18240         (tests, tests-static): Likewise for tst-cancel24-static.
18241         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18242         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18243         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18244         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18246 2015-03-04  Andreas Schwab  <schwab@suse.de>
18248         [BZ #17631]
18249         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18250         for non-GCC compilers.
18251         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18252         Likewise.
18254 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18256         [BZ #17776]
18257         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18258         integer before bitwise and assembly operations.
18259         (feclearexcept): Likewise.
18260         * math/test-fenvinline.c: New file.
18261         * math/Makefile: Add test-fenvinline test.
18263 2015-03-03  Alan Modra  <amodra@gmail.com>
18265         [BZ #16512]
18266         * scripts/localplt.awk: Strip off symbol version.
18267         * NEWS: Mention bug fix.
18269 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18271         * sysdeps/pthread/timer_routines.c
18272         (timer_free_list, thread_free_list, thread_active_list): Make static.
18274 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18276         [BZ #17779]
18277         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18278         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18279         Undefine.
18280         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18281         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18282         Likewise.
18283         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18284         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18285         Likewise.
18287 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18289         [BZ #18036]
18290         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18291         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18293 2015-03-02  Andreas Schwab  <schwab@suse.de>
18295         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18296         variable name.
18298 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18300         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18301         Return error status.
18303 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18305         [BZ #15969]
18306         * locale/findlocale.c (_nl_find_locale): Introduce const
18307         version of loc_name and drop unsafe type casts.
18309 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18311         * dlfcn/tststatic2.c (main): Converted to ...
18312         (do_test): ... this.
18313         (TEST_FUNCTION): New macro.
18314         Include test-skeleton.c.
18316 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18318         [BZ #17711]
18319         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18320         (tests-pie): Add vismain.
18321         (CFLAGS-vismain.c): New.
18322         * elf/vismain.c: Add comments for PIE requirement.
18324 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18326         [BZ #18046]
18327         [BZ #18047]
18328         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18329         0x1p-56L as threshold for just returning the argument.
18330         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18331         0x1p-32L as threshold for just returning the argument.
18332         * math/auto-libm-test-in: Add more tests of atanh.
18333         * math/auto-libm-test-out: Regenerated.
18334         * sysdeps/i386/fpu/libm-test-ulps: Update.
18335         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18337 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18339         * string/bcopy.c (bcopy): Call memmove for performance.
18341 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18343         * string/bzero.c (__bzero): Call memset for performance.
18345 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18347         [BZ #18068]
18348         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18349         to 00100000.
18351 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18353         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18355 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18357         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18358         (__kernel_standard): Use CSTR macro when setting exc.name.
18359         * sysdeps/ieee754/Makefile [$(subdir) = math]
18360         (CFLAGS-k_standard.c): Remove variable.
18362         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18363         setting p and q from "else if" to "else".
18364         (qzero): Likewise.
18365         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18366         (qone): Likewise.
18367         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18368         (qzerof): Likewise.
18369         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18370         (qonef): Likewise.
18371         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18372         (qzero): Likewise.
18373         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18374         (qone): Likewise.
18376         [BZ #18038]
18377         [BZ #18039]
18378         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18379         return pi/2 for arguments below 0x1p-113L.
18380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18381         return pi/2 for arguments below 0x1p-106L.
18382         * math/auto-libm-test-in: Add more tests of acos.
18383         * math/auto-libm-test-out: Regenerated.
18385         [BZ #16351]
18386         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18387         (MO): New macro.
18388         (__ieee754_asin): Force underflow exception for results with small
18389         absolute value.
18390         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18391         (MO): New macro.
18392         (__ieee754_asinf): Force underflow exception for results with
18393         small absolute value.
18394         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18395         (__ieee754_asin): Force underflow exception for results with small
18396         absolute value.
18397         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18398         (__ieee754_asinf): Force underflow exception for results with
18399         small absolute value.
18400         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18401         (__ieee754_asinl): Force underflow exception for results with
18402         small absolute value.
18403         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18404         (__ieee754_asinl): Force underflow exception for results with
18405         small absolute value.
18406         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18407         (__ieee754_asinl): Force underflow exception for results with
18408         small absolute value.
18409         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18410         Include <math.h>.
18411         * math/auto-libm-test-in: Do not mark underflow exceptions as
18412         possibly missing for bug 16351.
18413         * math/auto-libm-test-out: Regenerated.
18415         [BZ #18030]
18416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18417         of power of 2 down when low part has opposite sign.
18418         * math/libm-test.inc (logb_test_data): Add more tests.
18420 2015-02-26  Andreas Schwab  <schwab@suse.de>
18422         [BZ #18032]
18423         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18424         over collating symbol inside a bracket expression.  Minor cleanup.
18425         * posix/tst-fnmatch3.c (do_test): Add test case.
18427 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18429         [BZ #18029]
18430         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18431         Adjust exponent of power of 2 down when low part has opposite
18432         sign.
18433         * math/libm-test.inc (ilogb_test_data): Add more tests.
18435 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18437         [BZ #15969]
18438         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18439         the previous change.
18441         [BZ #15969]
18442         * locale/findlocale.c (_nl_find_locale): Retry archive search
18443         after alias expansion.
18445 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18447         * iconv/tst-iconv3.c (main): Converted to ...
18448         (do_test): ... this.
18449         (TEST_FUNCTION): New macro.
18450         Include test-skeleton.c.
18452         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18453         (convert): Make function static.
18454         (test_unalign): Likewise.  Add const to argument pointee types.
18455         (main): Replace with static function do_test.
18456         Print "Succeeded." only if RET is zero.
18457         (TEST_FUNCTION): New macro.
18458         Include test-skeleton.c.
18460         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18461         returns a null pointer.
18463 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18465         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18466         to __memcpy_ppc only for static builds.
18468 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18470         [BZ #18020]
18471         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18472         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18473         * math/auto-libm-test-in: Add more tests of asinh.
18474         * math/auto-libm-test-out: Regenerated.
18475         * sysdeps/i386/fpu/libm-test-ulps: Update.
18476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18478 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18480         [BZ #15850]
18481         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18482         and ip6_mtuinfo definitions here.
18483         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18484         in this define too.  Update comment.
18486 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18488         * elf/sprof.c (load_shobj): Tweak error message to match others.
18490 2015-02-24  Kevin Easton  <kevin@guarana.org>
18492         [BZ #16145] (partial fix)
18493         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18494         to reduce lock contention.
18496 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18498         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18499         (struct timex): Update time comment.
18500         (ADJ_SETOFFSET): Define.
18502 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18504         [BZ #18019]
18505         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18506         2**56 not 2**28 as threshold for log (2x) formula.
18507         * math/auto-libm-test-in: Add more tests of acosh.
18508         * math/auto-libm-test-out: Regenerated.
18509         * sysdeps/i386/fpu/libm-test-ulps: Update.
18510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18514         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18515         parenthesis around the buf assignment.
18516         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18518 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18520         [BZ #16783]
18521         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18522         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18523         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18524         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18525         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18526         * math/libm-test.inc (scalb_test_data): Add more tests.
18528 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18530         [BZ #17916]
18531         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18532         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18534 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18536         [BZ #17523]
18537         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18538         * io/bits/fcntl2.h (open): Use it.
18539         (openat): Likewise.
18540         * io/open.c (__libc_open): Likewise.
18541         * io/open64.c (__libc_open64): Likewise.
18542         * io/open64_2.c (__open64_2): Likewise.
18543         * io/open_2.c (__open_2): Likewise.
18544         * io/openat.c (__openat): Likewise.
18545         * io/openat64.c (__openat64): Likewise.
18546         * io/openat64_2.c (__openat64_2): Likewise.
18547         * io/openat_2.c (__openat_2): Likewise.
18548         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18549         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18550         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18551         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18552         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18553         (__open_nocancel): Likewise.
18554         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18555         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18556         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18558 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18560         [BZ #14841]
18561         * resolv/gethnamaddr.c (getanswer): Skip logging if
18562         RES_USE_DNSSEC is set.
18563         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18565 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18567         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18569 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18571         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18572         201304L, for Unicode 7.
18574 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18576         [BZ #17836]
18577         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18578         shared library.  Add gmon-start.os otherwise.
18579         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18580         $(objpfx)gmon-start.os if builing shared library.
18581         ($(objpfx)g$(static-start-installed-name)): Likewise.
18583 2015-02-23  Andreas Schwab  <schwab@suse.de>
18585         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18587 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18589         [BZ #17269]
18590         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18591         (enlarge_userbuf): Likewise.
18593 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18595         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18596         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18597         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18598         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18600 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18602         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18603         expression inside statement expression.
18605 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18607         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18608         <sysdeps/nptl/lowlevellock.h> and remove macros and
18609         functions that are now defined there.
18610         (SYS_futex): Remove.
18611         (lll_compare_and_swap): Remove.
18612         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18614 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18616         [BZ #17999]
18617         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18618         instead of scandirat.
18619         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18620         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18621         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18622         __scandirat.
18623         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18624         (__scandirat): Declare.  Use libc_hidden_proto.
18625         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18626         Remove variable.
18627         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18629 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18631         [BZ #15319]
18632         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18633         (MO): New macro.
18634         (__ieee754_atan2): For results with small absolute value, force
18635         underflow exception and remove excess range and precision from
18636         return value.
18637         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18638         (MO): New macro.
18639         (__ieee754_atan2f): For results with small absolute value, force
18640         underflow exception and remove excess range and precision from
18641         return value.
18642         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18643         (MO): New macro.
18644         (__atan): For results with small absolute value, force underflow
18645         exception and remove excess range and precision from return value.
18646         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18647         (MO): New macro.
18648         (__atanf): For results with small absolute value, force underflow
18649         exception and remove excess range and precision from return value.
18650         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18651         <math.h>.
18652         (__ieee754_atan2): Force underflow exception for results with
18653         small absolute value.
18654         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18655         <math_private.h>.
18656         (atan): Force underflow exception for results with small absolute
18657         value.
18658         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18659         (__atanf): Force underflow exception for results with small
18660         absolute value.
18661         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18662         <math.h>.
18663         (__atanl): Force underflow exception for results with small
18664         absolute value.
18665         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18666         (__atanl): Force underflow exception for results with small
18667         absolute value.
18668         * sysdeps/x86/fpu/bits/mathinline.h
18669         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18670         (__ieee754_atan2): Only define inline for long double.
18671         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18672         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18673         * math/auto-libm-test-in: Do not mark underflow exceptions as
18674         possibly missing for bug 15319.  Add more tests of atan2.
18675         * math/auto-libm-test-out: Regenerated.
18676         * math/libm-test.inc (casin_test_data): Do not mark underflow
18677         exceptions as possibly missing for bug 15319.
18678         (casinh_test_data): Likewise.
18679         * sysdeps/i386/fpu/libm-test-ulps: Update.
18681 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18683         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18684         * sysdeps/mips/bits/endian.h: Fix comments.
18686 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18688         [BZ #17996]
18689         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18690         (hdestroy_r): Likewise.
18691         (hsearch_r): Likewise.
18692         (__hcreate_r): Declare and use libc_hidden_proto.
18693         (__hdestroy_r): Likewise.
18694         (__hsearch_r): Likewise.
18695         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18696         (hcreate): Call __hcreate_r instead of hcreate_r.
18697         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18698         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18699         as weak alias of __hcreate_r.
18700         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18701         __hdestroy_r.
18702         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18703         __hsearch_r.
18704         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18705         Remove variable.
18706         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18707         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18708         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18709         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18711 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18713         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18714         arena_lock into a single arena_get.
18716 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18718         * dl-reloc.c: Inlucde libc-internal.h.
18719         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18720         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18721         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18722         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18723         (grow_heap): Likewise.
18724         * malloc/malloc.c: Include libc-internal.h.
18725         (do_check_malloc): Call powerof2.
18726         (sysmalloc): Use pagesize. Call ALIGN_UP.
18727         (systrim): Use pagesize.
18728         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18729         (__libc_valloc): Use pagesize.
18730         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18732 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18734         [BZ #17991]
18735         * include/sys/resource.h (__getrlimit64): Declare.  Use
18736         libc_hidden_proto.
18737         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18738         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18739         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18740         getrlimit64.
18741         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18742         __getrlimit64.
18743         [!getrlimit64] (getrlimit64): Define as weak alias of
18744         __getrlimit64.  Use libc_hidden_weak.
18745         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18746         using __getrlimit64 not __new_getrlimit64.
18747         (__GI_getrlimit64): Likewise.
18748         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18749         Likewise.
18750         (__GI_getrlimit64): Likewise.
18751         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18753         (getrlimit): Add __getrlimit64 alias.
18754         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18755         Likewise.
18756         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18757         Remove variable.
18758         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18759         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18761 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18763         * libio/fileops.c: Add missing sys/mman.h
18764         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18766 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18768         * manual/math.texi (Errors in Math Functions): Clarify goals
18769         regarding inexact and underflow exceptions.
18771 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18773         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18774         * sysdeps/mips/memset.S: Ditto.
18776 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18778         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18780 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18782         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18783         (__v1longjmp): Remove versioned symbol.
18784         (__v1siglongjmp): Remove alias and versioned symbol.
18785         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18786         (__v2siglongjmp): Likewise.
18788 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18790         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18792 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18794         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18796 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18798         [BZ #17987]
18799         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18800         zero result does not depend on the sign resulting from
18801         subtraction.
18802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18803         Likewise.
18804         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18805         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18806         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18807         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18808         * math/libm-test.inc (remquo_test_data): Add more tests.
18810 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18812         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18813         Problem reported by J William Piggott.
18815 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18817         [BZ #17978]
18818         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18819         products 4 * y and 2 * y where those would overflow.
18820         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18821         Likewise.
18822         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18823         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18824         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18825         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18826         * math/libm-test.inc (remquo_test_data): Add more tests.
18828         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18830         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18831         [defined _COMPILING_NEWLIB].
18832         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18833         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18835         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18836         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18838 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18840         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18841         acquired.
18843 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18845         [BZ #17792]
18846         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18847         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18848         HOST_STACK_END_ADDR): Likewise.
18850 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18852         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18853         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18854         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18856 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18858         * sysdeps/generic/c++-types.data: New file.
18859         * sysdeps/generic/ld.abilist: New file.
18860         * sysdeps/generic/libBrokenLocale.abilist: New file.
18861         * sysdeps/generic/libanl.abilist: New file.
18862         * sysdeps/generic/libc.abilist: New file.
18863         * sysdeps/generic/libcrypt.abilist: New file.
18864         * sysdeps/generic/libdl.abilist: New file.
18865         * sysdeps/generic/libm.abilist: New file.
18866         * sysdeps/generic/libpthread.abilist: New file.
18867         * sysdeps/generic/libresolv.abilist: New file.
18868         * sysdeps/generic/librt.abilist: New file.
18870 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18872         [BZ #17569]
18873         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18874         Compute absolute value of x as modified by fmod, not original
18875         value of x.
18876         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18877         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18878         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18879         RUN_TEST_ffI_f1_mod8.
18880         (remquo_test_data): Add more tests.
18882 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18884         * sysdeps/init_array/pt-crti.S: New file.
18886 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18888         [BZ #17967]
18889         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18890         __builtin_fmaf instead of relying on contraction of a * b + c.
18892 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18894         [BZ #17969]
18895         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18896         node.
18898 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18900         [BZ #17964]
18901         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18902         __builtin_fma instead of relying on contraction of a * b + c.
18904 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18906         * Makeconfig (ASFLAGS): Add -Werror=undef.
18907         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18908         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18909         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18911         * Makeconfig (after-link): New variable.
18912         (+link-pie, +link-pie-tests): Use it.
18913         (+link-static, +link-static-tests): Likewise.
18914         (+link, +link-tests): Likewise.
18915         * Makerules (build-module, build-module-asneeded): Likewise.
18916         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18917         Likewise.
18918         * elf/Makefile ($(objpfx)ld.so): Likewise.
18920 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18922         [BZ #17965]
18923         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18924         both struct timeval and struct timespec.
18926 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18928         [BZ #16560]
18929         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18930         and redefine.
18931         (__ieee754_exp2l): Do not multiply small fractional parts by
18932         M_LN2l.
18933         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18934         small argument.
18935         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18936         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18937         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18938         * math/auto-libm-test-in: Add more tests of exp2.
18939         * math/auto-libm-test-out: Regenerated.
18941 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18943         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18944         unaligned path.
18946 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18948         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18949         little endian.
18951 2015-02-12  Andreas Schwab  <schwab@suse.de>
18953         [BZ #15790]
18954         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18955         Filter out elision flags from value returned in kind.
18956         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18957         * nptl/tst-pthread-mutexattr.c: New file.
18959 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18961         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18962         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18963         into gnu-gnu, and update comment to refer to abi-tags.
18965 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18967         [BZ #15467]
18968         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18969         (__sincos): Set errno to EDOM for infinite argument.
18970         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18971         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18972         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18973         (__sincosl): Set errno to EDOM for infinite argument.
18974         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18975         (__sincosl): Set errno to EDOM for infinite argument.
18976         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18977         (__sincosl): Set errno to EDOM for infinite argument.
18978         * math/libm-test.inc (sincos_test_data): Test errno setting.
18980 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18982         * string/strxfrm_l.c: Remove #define STRCMP.
18983         * string/strcoll_l.c: Remove #define STRLEN.
18984         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18985         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18987 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18989         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18990         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18991         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18992         * sysdeps/mips/mips64/Makefile: ... here.
18993         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18994         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18995         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18996         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18997         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18998         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18999         * sysdeps/mips/mips64/n64/Implies: Likewise.
19001 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19003         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19004         <sys/time.h>, <string.h>, and <errno.h>.
19005         (dest_offset, dest_address, value, zero): Remove unused variables.
19006         (ldouble): Remove typedef.
19007         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19008         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19009         1).  Fix code style.
19010         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19011         (check): Function removed.
19012         (CHECK): New macro.
19013         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19014         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19015         Don't call set_sigaction_FP and remove_sigaction_FP here.
19016         (ldouble_test): Just use 'long double' as macro argument, no need for
19017         the 'ldouble' typedef.
19018         (do_test): Set up SIGFPE handler at start, using plain signal rather
19019         than sigaction.  Fix code style.
19021 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19023         [BZ #17949]
19024         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19025         jump label.
19027 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19029         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19030         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19032         * sysdeps/powerpc/configure.ac: Remove file.
19033         * sysdeps/powerpc/configure: Likewise.
19035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19036         [sysdep_routines]: Remove wordcopy-power6 object.
19037         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19038         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19039         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19040         (__memmove_ppc32): Likewise.
19041         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19042         file.
19043         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19045         Remove preprocessor.
19047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19048         [sysdep_routines]: Remove wide chars objects.
19049         [wcsmbs]: New rule for wide char objects.
19051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19052         Remove wordcopy-power6 obejct.
19053         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19054         Use local call for wordcopy and memcpy symbols.
19055         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19056         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19057         implementation for loader.
19058         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19061         Remove wordcopy-power7 object.
19062         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19063         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19064         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19065         (_wordcopy_fwd_dest_aligned): Likewise.
19066         (_wordcopy_bwd_aligned): Likewise.
19067         (_wordcopy_bwd_dest_aligned): Likewise.
19069         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19070         Rewrite to call __memmove_ppc instead of include default
19071         implementation.
19073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19074         Remove wide chars objects.
19075         [wcsmbs]: New rule for wide char objects.
19077 2015-02-09  Andreas Schwab  <schwab@suse.de>
19079         [BZ #17912]
19080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19081         in terms of __O_DIRECTORY.
19083 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19085         * time/getdate.c: Include <stdbool.h>.
19086         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19087         call PTR_MANGLE.
19088         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19089         PTR_DEMANGLE.
19091 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19093         Add ersatz _Static_assert on older C hosts
19094         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19095         pre-C11 C platform that is not known to support _Static_assert.
19097 2015-02-07  Richard Braun  <rbraun@sceen.net>
19099         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19100         sigstate.
19101         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19103 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19105         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19106         priority against unexistent AIO_PRIO_DELTA_MAX.
19107         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19108         instead of int.
19109         * misc/fchflags.c (fchflags): Likewise.
19110         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19111         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19112         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19113         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19114         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19115         Declare macros.
19116         [__USE_MISC] (chflags, fchflags): Declare functions.
19117         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19118         EINVAL when nfds is greater than FD_SETSIZE.
19119         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19120         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19121         45.
19122         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19123         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19124         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19125         MACH_RCV_TIMED_OUT.
19126         * hurd/hurd/signal.h (_hurd_self_sigstate,
19127         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19128         Explicit casts from void *.
19129         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19130         * abi-tags: Rename gnu-gnu os into gnu.
19132         [BZ #4719]
19133         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19134         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19135         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19136         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19137         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19138         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19140         [BZ #17944]
19141         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19142         duplicates ADDR->sun_path with sockaddr LEN limitation.
19143         * sysdeps/mach/hurd/connect.c: Include <string.h>
19144         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19145         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19146         * sysdeps/mach/hurd/sendto.c: Likewise.
19147         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19148         implementing it by hand.
19150 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19152         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19153         Use sfi_breg on ldr.
19154         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19155         Likewise.
19157         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19158         it's defined.
19159         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19160         Test SIGSETXID only if it's defined.
19162         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19164         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19165         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19167         * nptl/tst-align2.c: Moved ...
19168         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19169         * nptl/Makefile (tests): Remove tst-align2.
19170         * sysdeps/unix/sysv/linux/Makefile
19171         [$(subdir) = nptl] (tests): Add tst-align-clone.
19172         * nptl/tst-getpid1.c: Moved ...
19173         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19174         * nptl/tst-getpid2.c: Moved ...
19175         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19176         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19177         * sysdeps/unix/sysv/linux/Makefile
19178         [$(subdir) = nptl] (tests): ... here.
19179         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19180         * sysdeps/unix/sysv/linux/Makefile
19181         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19183         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19184         Drop trailing \n from perror argument.  Use return rather than exit.
19186         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19187         on [SA_SIGINFO].
19188         * nptl/tst-cancel21.c (do_test): Likewise.
19189         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19190         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19191         [!SA_SIGINFO]: Make it a stub test.
19193         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19194         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19196         * posix/tst-getlogin.c: Move to ...
19197         * login/tst-getlogin.c: ... here.
19198         * posix/Makefile (tests): Move tst-getlogin to ...
19199         * login/Makefile (tests): ... here.
19201         * libio/tst-atime.c (do_test): Move local variables SV and E
19202         inside [ST_NOATIME] conditional.
19204         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19206         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19208         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19209         (wait_code): New function replaces macro.
19210         Call nanosleep rather than syscall.
19212         * nptl/pt-system.c: Rewritten.  Put everything under
19213         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19214         Use IFUNC to redirect when possible.
19216         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19217         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19218         Use IFUNC to redirect when possible.
19220         * nptl/pt-fork.c: Rewritten.  Put everything under
19221         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19222         Use IFUNC to redirect when possible.
19223         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19225         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19226         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19227         unconditionally nowadays.  This included the only reference to
19228         __vdso_clock_gettime that appears outside libc proper.
19229         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19230         Remove version set (containing only __vdso_clock_gettime).
19231         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19232         Add attribute_hidden.
19233         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19234         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19235         libc_hidden_data_def.
19236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19237         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19239         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19240         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19241         setrpcent, and getrpcport to ...
19242         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19243         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19244         getrpcbynumber_r, and getrpcent_r to ...
19245         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19246         * inet/getrpcbyname.c: Moved ...
19247         * sunrpc/getrpcbyname.c: ... here.
19248         * inet/getrpcbyname_r.c: Moved ...
19249         * sunrpc/getrpcbyname_r.c: ... here.
19250         * inet/getrpcbynumber.c: Moved ...
19251         * sunrpc/getrpcbynumber.c: ... here.
19252         * inet/getrpcbynumber_r.c: Moved ...
19253         * sunrpc/getrpcbynumber_r.c: ... here.
19254         * inet/getrpcent.c: Moved ...
19255         * sunrpc/getrpcent.c: ... here.
19256         * inet/getrpcent_r.c: Moved ...
19257         * sunrpc/getrpcent_r.c: ... here.
19258         * inet/Makefile (routines): Move those to ...
19259         * sunrpc/Makefile (routines): ... here.
19260         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19261         the $(subdirs) list.
19262         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19263         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19264         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19265         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19267         * elf/Makefile (routines): Include $(all-dl-routines), not just
19268         $(dl-routines).
19269         (rtld-routines): Likewise.  Use = rather than :=.
19270         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19271         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19272         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19273         * sysdeps/arm/Makefile: Likewise.
19274         * sysdeps/i386/Makefile: Likewise.
19275         * sysdeps/x86_64/Makefile: Likewise.
19276         * sysdeps/hppa/Makefile [$(subdir) = elf]
19277         (sysdep_routines, sysdep-rtld-routines): Don't add
19278         $(sysdep-dl-routines) to these.
19279         * sysdeps/ia64/Makefile: Likewise.
19280         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19281         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19282         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19283         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19284         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19285         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19286         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19287         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19288         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19289         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19290         these; sysdep-dl-routines alone is enough.
19292 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19294         [BZ #17932]
19295         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19296         where multiplication results in zero and third argument is finite
19297         and nonzero.
19298         * math/auto-libm-test-in: Add more tests of fma.
19299         * math/auto-libm-test-out: Regenerated.
19301         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19302         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19303         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19304         (_FP_CMP_EQ): Likewise.
19305         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19307         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19308         extra argument CHECK_NAN.  Redefine as wrapper around
19309         _FP_EXTEND_CNAN.
19311 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19313         * version.h (RELEASE): Set to "stable".
19314         (VERSION): Set to "2.21"
19315         * include/features.h (__GLIBC_MINOR__): Set to 21.
19317         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19319 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19320             Paul Eggert  <eggert@cs.ucla.edu>
19322         [BZ #16618]
19323         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19325         size in bytes. Store needed elements in wpmax. Use needed size
19326         in bytes for extend_alloca.
19328 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19330         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19331         binutls 2.25, and texinfo 5.2.
19332         * INSTALL: Regenerate.
19333         * sysdeps/nios2/configure: Regenerate.
19334         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19335         * manual/contrib.texi: Update.
19336         * po/be.po: Update.
19337         * po/bg.po: Update.
19338         * po/ca.po: Update.
19339         * po/cs.po: Update.
19340         * po/da.po: Update.
19341         * po/de.po: Update.
19342         * po/el.po: Update.
19343         * po/eo.po: Update.
19344         * po/es.po: Update.
19345         * po/fi.po: Update.
19346         * po/fr.po: Update.
19347         * po/gl.po: Update.
19348         * po/hr.po: Update.
19349         * po/hu.po: Update.
19350         * po/ia.po: Update.
19351         * po/id.po: Update.
19352         * po/it.po: Update.
19353         * po/ja.po: Update.
19354         * po/ko.po: Update.
19355         * po/lt.po: Update.
19356         * po/nb.po: Update.
19357         * po/nl.po: Update.
19358         * po/pl.po: Update.
19359         * po/pt_BR.po: Update.
19360         * po/ru.po: Update.
19361         * po/rw.po: Update.
19362         * po/sk.po: Update.
19363         * po/sl.po: Update.
19364         * po/sv.po: Update.
19365         * po/tr.po: Update.
19366         * po/uk.po: Update.
19367         * po/vi.po: Update.
19368         * po/zh_CN.po: Update.
19369         * po/zh_TW.po: Update.
19371         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19372         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19373         * sysdeps/hppa/dl-irel.h: Remove #warning.
19374         * sysdeps/hppa/entry.h: Provide prototype for
19375         __canonicalize_funcptr_for_compare and cast argument.
19376         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19377         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19378         * sysdeps/hppa/sotruss-lib.c: New file.
19379         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19380         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19381         (atomic_compare_and_exchange_bool_acq): Likewise.
19382         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19383         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19385         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19386         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19387         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19389 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19391         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19392         called function in non-PIC case.
19394 2015-01-31  David S. Miller  <davem@davemloft.net>
19396         * sysdeps/sparc/sparc32/bits/atomic.h
19397         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19398         unlock not after it.
19399         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19400         volatile register usage warnings from the compiler.
19402         * sysdeps/sparc/nptl/sem_init.c: Delete.
19403         * sysdeps/sparc/nptl/sem_post.c: Delete.
19404         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19405         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19406         * sysdeps/sparc/sparc32/sem_init.c: New file.
19407         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19408         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19409         padding explicitly initialized.
19410         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19411         padding for in-semaphore spinlock.
19412         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19413         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19414         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19415         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19416         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19417         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19418         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19419         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19420         version.
19421         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19422         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19424 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19426         [BZ #17801]
19427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19428         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19429         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19430         New.
19431         (index_AVX_Fast_Unaligned_Load): Likewise.
19432         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19433         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19434         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19435         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19436         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19437         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19438         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19439         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19440         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19442 2015-01-29  Andreas Schwab  <schwab@suse.de>
19444         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19446 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19448         [BZ #17892]
19449         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19451 2015-01-28  Martin Sebor  <msebor@redhat.com>
19453         * math/README.libm-test: Clarify. Add "How to read the test output."
19455 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19457         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19458         Define to 0.
19460 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19462         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19463         (__HAVE_64B_ATOMICS): Define to 0.
19465 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19467         [BZ #17885]
19468         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19469         value to set as new flag.
19471         [BZ #16576]
19472         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19473         and use _ARCH_PPCSQ instead.
19474         (__ieee754_sqrt): Likewise.
19475         (__ieee754_sqrtf): Likewise.
19476         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19477         _ARCH_PPCSQ is defined.
19478         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19479         fsqrt instruction.
19480         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19481         _ARCH_PPCSQ is defined.
19482         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19483         fsqrts instruction.
19484         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19486 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19488         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19489         bug (GCC BZ #64739).
19491 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19493         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19494         Mark _retval as used.
19495         (lll_futex_wake_unlock): Likewise.
19496         (lll_futex_timed_wait_requeue_pi): Likewise.
19498         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19499         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19500         register variables.
19502         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19503         libm_hidden_def.
19505         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19506         (__bswap_64): Mark as __always_inline.
19508 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19510         [BZ #15378]
19511         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19512         when none of the search directories exist.
19514 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19516         [BZ #17869]
19517         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19518         power8 in .machine directive.
19520         [BZ #17868]
19521         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19522         set dependency from opd value.
19524 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19527         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19528         architecture.
19530 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19532         [BZ #17870]
19533         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19534         with uint64_t.
19535         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19536         (uint64_t) 1.
19537         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19538         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19539         Replace 1UL with (uint64_t) 1.
19540         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19541         int with uint64_t.
19543 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19545         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19546         (if_freenameindex): Likewise.
19548         * resource/getrlimit64.c: Add missing libc_hidden_def.
19550 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19552         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19553         __label__.
19554         (_FP_FMA): Likewise.
19555         (_FP_TO_INT_ROUND): Likewise.
19556         (_FP_FROM_INT): Likewise.
19558 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19560         [BZ #16418]
19561         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19562         Make code racy and cancel safe.
19564 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19566         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19567         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19568         attribution.
19570         * pwd/tst-getpw.c: Rewrite.
19572         [BZ #17702]
19573         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19574         (modules-names): Add moddummy1 and moddummy2.
19575         ($(objpfx)tst-rec-dlopen): Define.
19576         * dlfcn/moddummy1.c: New file.
19577         * dlfcn/moddummy2.c: New file.
19578         * dlfcn/tst-rec-dlopen.c: New file.
19579         * elf/dl-cache.c (_dl_load_cache_lookup):
19580         Return char*. Copy result with alloca/strcpy/strdup.
19581         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19582         returns char*. Free cached. If not saving realname
19583         free cached.
19584         * elf/dl-open.c (dl_open_worker): Do not assert that
19585         _r_debug->r_state is RT_CONSISTENT.
19586         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19587         returns char*.
19589 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19590             Carlos O'Donell  <carlos@redhat.com>
19592         [BZ #12674]
19593         * nptl/sem_waitcommon.c: New file.
19594         * nptl/sem_wait.c: Include sem_waitcommon.c.
19595         (__sem_wait_cleanup, do_futex_wait): Remove.
19596         (__new_sem_wait): Adapt.
19597         (__new_sem_trywait): New function.
19598         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19599         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19600         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19601         (sem_timedwait): Adapt.
19602         * nptl/sem_post.c (__new_sem_post): Adapt.
19603         (futex_wake): New function.
19604         (__old_sem_post): Add release MO fence.
19605         * nptl/sem_open.c (sem_open): Adapt.
19606         * nptl/sem_init.c (__new_sem_init): Adapt.
19607         (futex_private_if_supported): New function.
19608         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19609         (__old_sem_getvalue): Add using previous code.
19610         * sysdeps/nptl/internaltypes.h: Adapt.
19611         * nptl/tst-sem13.c (do_test): Adapt.
19612         * nptl/tst-sem11.c (main): Adapt.
19613         * nptl/sem_trywait.c: Remove.
19614         * nptl/DESIGN-sem.txt: Remove.
19615         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19616         (gen-as-const-headers): Remove structsem.sym.
19617         * nptl/structsem.sym: Remove.
19618         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19619         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19620         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19621         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19622         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19623         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19624         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19625         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19626         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19627         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19628         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19629         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19630         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19631         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19632         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19633         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19634         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19635         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19636         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19637         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19638         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19639         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19641 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19643         * INSTALL: Regenerated.
19645         * po/libc.pot: Regenerated.
19647 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19648             Sandra Loosemore  <sandra@codesourcery.com>
19649             Andrew Jenner  <andrew@codesourcery.com>
19650             Joseph Myers  <joseph@codesourcery.com>
19651             Nathan Sidwell  <nathan@codesourcery.com>
19653         * NEWS: Mention new Nios II port.
19654         * sysdeps/nios2/Implies: New file.
19655         * sysdeps/nios2/Makefile: New file.
19656         * sysdeps/nios2/Subdirs: New file.
19657         * sysdeps/nios2/Versions: New file.
19658         * sysdeps/nios2/__longjmp.S: New file.
19659         * sysdeps/nios2/abort-instr.h: New file.
19660         * sysdeps/nios2/backtrace.c: New file.
19661         * sysdeps/nios2/bits/endian.h: New file.
19662         * sysdeps/nios2/bits/fenv.h: New file.
19663         * sysdeps/nios2/bits/link.h: New file.
19664         * sysdeps/nios2/bits/setjmp.h: New file.
19665         * sysdeps/nios2/bsd-_setjmp.S: New file.
19666         * sysdeps/nios2/bsd-setjmp.S: New file.
19667         * sysdeps/nios2/configure: New generated file.
19668         * sysdeps/nios2/configure.ac: New file.
19669         * sysdeps/nios2/crti.S: New file.
19670         * sysdeps/nios2/crtn.S: New file.
19671         * sysdeps/nios2/dl-init.c: New file.
19672         * sysdeps/nios2/dl-machine.h: New file.
19673         * sysdeps/nios2/dl-sysdep.h: New file.
19674         * sysdeps/nios2/dl-tls.h: New file.
19675         * sysdeps/nios2/dl-trampoline.S: New file.
19676         * sysdeps/nios2/gccframe.h: New file.
19677         * sysdeps/nios2/gmp-mparam.h: New file.
19678         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19679         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19680         * sysdeps/nios2/ldsodefs.h: New file.
19681         * sysdeps/nios2/libc-tls.c: New file.
19682         * sysdeps/nios2/libm-test-ulps: New file.
19683         * sysdeps/nios2/machine-gmon.h: New file.
19684         * sysdeps/nios2/math-tests.h: New file.
19685         * sysdeps/nios2/math_private.h: New file.
19686         * sysdeps/nios2/memusage.h: New file.
19687         * sysdeps/nios2/nptl/Makefile: New file.
19688         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19689         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19690         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19691         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19692         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19693         * sysdeps/nios2/nptl/tls.h: New file.
19694         * sysdeps/nios2/preconfigure: New file.
19695         * sysdeps/nios2/s_fma.c: New file.
19696         * sysdeps/nios2/s_fmaf.c: New file.
19697         * sysdeps/nios2/setjmp.S: New file.
19698         * sysdeps/nios2/sfp-machine.h: New file.
19699         * sysdeps/nios2/sotruss-lib.c: New file.
19700         * sysdeps/nios2/stackguard-macros.h: New file.
19701         * sysdeps/nios2/stackinfo.h: New file.
19702         * sysdeps/nios2/start.S: New file.
19703         * sysdeps/nios2/sysdep.h: New file.
19704         * sysdeps/nios2/tls-macros.h: New file.
19705         * sysdeps/nios2/tst-audit.h: New file.
19706         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19707         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19708         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19709         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19710         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19711         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19712         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19713         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19714         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19715         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19716         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19717         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19718         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19719         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19720         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19721         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19722         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19723         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19724         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19725         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19726         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19727         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19728         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19729         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19730         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19731         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19732         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19733         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19734         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19735         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19736         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19737         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19738         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19739         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19740         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19741         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19742         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19743         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19744         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19745         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19746         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19747         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19748         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19749         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19751 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19753         [BZ #17844]
19754         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19755         (getutent): Use weak_alias in non SHARED case
19756         and default_symbol_version in SHARED case.
19757         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19758         (getutent_r, pututline): Likewise.
19759         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19760         (getutid): Likewise.
19761         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19762         (getutid_r): Likewise.
19763         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19764         (getutline): Likewise.
19765         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19766         (getutline_r): Likewise.
19767         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19768         (updwtmp): Likewise.
19770 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19772         [BZ #17848]
19773         * sysdeps/s390/s390-32/memcmp.S
19774         (memcmp_g5): Rename to __memcmp_g5.
19775         * sysdeps/s390/s390-32/memcpy.S
19776         (memcpy_g5): Rename to __memcpy_g5.
19777         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19778         (memcpy_mvcle) Rename to __memcpy_mvcle.
19779         * sysdeps/s390/s390-32/memset.S
19780         (memset_g5): Rename to __memset_g5.
19781         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19782         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19783         and use prefixed functions.
19784         * sysdeps/s390/s390-32/multiarch/memcmp.S
19785         (memcmp_z196): Rename to __memcmp_z196.
19786         (memcmp_z10): Rename to __memcmp_z10.
19787         (memcmp): Set alias to __memcmp_g5.
19788         (bcmp): Set alias to __memcmp_g5.
19789         * sysdeps/s390/s390-32/multiarch/memcpy.S
19790         (memcpy_z196): Rename to __memcpy_z196.
19791         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19792         (memcpy_z10): Rename to __memcpy_z10.
19793         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19794         (memcpy): Set alias to __memcpy_g5.
19795         * sysdeps/s390/s390-32/multiarch/memset.S
19796         (memset_z196): Rename to __memset_z196.
19797         Jump to __memset_mvcle instead of memset_mvcle.
19798         (memset_z10): Rename to __memset_z10.
19799         Jump to __memset_mvcle instead of memset_mvcle.
19800         (memset_mvcle) Rename to __memset_mvcle.
19801         (memset): Set alias to __memset_g5.
19802         * sysdeps/s390/s390-64/memcmp.S
19803         (memcmp_z900): Rename to __memcmp_z900.
19804         * sysdeps/s390/s390-64/memcpy.S
19805         (memcpy_z900): Rename to __memcpy_z900.
19806         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19807         (memcpy_mvcle) Rename to __memcpy_mvcle.
19808         * sysdeps/s390/s390-64/memset.S
19809         (memset_z900): Rename to __memset_z900.
19810         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19811         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19812         and use prefixed functions.
19813         * sysdeps/s390/s390-64/multiarch/memcmp.S
19814         (memcmp_z196): Rename to __memcmp_z196.
19815         (memcmp_z10): Rename to __memcmp_z10.
19816         (memcmp): Set alias to __memcmp_z900.
19817         (bcmp): Set alias to __memcmp_z900.
19818         * sysdeps/s390/s390-64/multiarch/memcpy.S
19819         (memcpy_z196): Rename to __memcpy_z196.
19820         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19821         (memcpy_z10): Rename to __memcpy_z10.
19822         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19823         (memcpy): Set alias to __memcpy_z900.
19824         * sysdeps/s390/s390-64/multiarch/memset.S
19825         (memset_z196): Rename to __memset_z196.
19826         Jump to __memset_mvcle instead of memset_mvcle.
19827         (memset_z10): Rename to __memset_z10.
19828         Jump to __memset_mvcle instead of memset_mvcle.
19829         (memset_mvcle) Rename to __memset_mvcle.
19830         (memset): Set alias to __memset_z900.
19832 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19834         [BZ #17748]
19835         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19836         __fesetenv instead of fesetenv.
19838 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19840         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19841         macro.
19843 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19845         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19846         regression on LE.
19848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19849         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19851         strncmp-power8 object.
19852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19853         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19854         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19855         * NEWS: Update.
19857 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19858             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19860         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19861         trailing byte check.
19863 2015-01-13  David S. Miller  <davem@davemloft.net>
19865         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19867 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19869         * login/logout.c (logout): Use memset rather than bzero.
19870         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19871         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19872         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19873         (_gethtbyaddr): Likewise.
19874         * locale/programs/simple-hash.c (bcopy): Macro removed.
19876 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19879         Add strcmp-power8 object.
19880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19881         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19882         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19883         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19884         __strcmp_power8 implementation.
19885         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19886         * NEWS: Update.
19888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19889         Add strncpy-power8 and stpncpy-power8 objects.
19890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19891         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19892         implementations.
19893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19894         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19895         __stpncpy_power8 implementation.
19896         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19897         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19898         __strncpy_power8 implementation.
19899         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19900         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19901         * NEWS: Update.
19903         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19904         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19905         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19907         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19908         strncat-power8 object.
19909         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19910         __strcat_power8 implementation.
19911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19912         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19913         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19914         optimized strcat for power8.
19916         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19917         strcpy-power8 and stpcpy-power8 objects.
19918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19919         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19920         implementations.
19921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19922         multiarch stpcpy implementation for POWER8.
19923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19924         multiarch strcpy implementation for POWER8.
19925         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19926         __strcpy_power8 function.
19927         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19928         stpcpy for POWER8.
19929         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19930         strcpy for POWER8.
19931         * NEWS: Update.
19933 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19935         [BZ #16009]
19936         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19937         weights and rules. Use do_xfrm_cached if data fits in cache,
19938         do_xfrm otherwise.  Moved former main loop to...
19939         * (do_xfrm_cached): New function.
19940         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19941         find_idx, find_position and stack_push.
19942         * (find_idx): New function.
19943         * (find_position): Likewise.
19944         * localedata/sort-test.sh: Added test run for do_xfrm.
19945         * localedata/xfrm-test.c (main): Added command line option
19946         -nocache to run the test with strings that are too large for
19947         the STRXFRM cache.
19949 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19951         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19952         variable to lll_futex_wake call, not the value itself.
19954 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19956         [BZ #17803]
19957         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19958         twom64.  Adjust value to 0x1p-64L.
19959         (__scalblnl): Only return standard underflowing result for K <=
19960         -64 not K <= -63; adjust exponent for underflowing result by 64
19961         not 63.
19962         * math/libm-test.inc (scalbn_test_data): Add more tests.
19963         (scalbln_test_data): Likewise.
19965         [BZ #17834]
19966         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19967         0x1p63L.
19968         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19969         not HX.
19970         * math/libm-test.inc (scalbn_test_data): Add more tests.
19971         (scalbln_test_data): Likewise.
19973 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19974             Stefani Seibold  <stefani@seibold.net>
19976         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19977         (sysdep_routines): Add dl-vdso here, ...
19978         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19979         (sysdep_routines): ... not here.
19980         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19981         fallback when vDSO is not presented.
19982         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19983         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19984         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19985         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19986         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19987         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19988         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19989         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19990         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19991         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19992         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19993         fallback configurable symbol when vDSO is not available.
19994         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19995         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19996         be able to redefine fallback symbol when vDSO is not available.
19997         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19998         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20000 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20002         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20003         (TLS_INIT_TP): Add tm_capable initialization.
20004         (TLS_DEFINE_INIT_TP): Likewise.
20005         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20006         TCB.
20007         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20008         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20009         calculation.
20010         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20011         transactoion is lock elision is built and TCB tm_capable is set.
20012         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20014         (INTERNAL_SYSCALL_NCS): Likewise.
20015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20016         (INTERNAL_SYSCALL_NCS): Likewise.
20017         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20019         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20020         for powerpc.
20021         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20022         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20023         and remove it for 32 bits case.
20024         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20025         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20026         initialization.
20027         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20028         Disable lock elision with rdlocks if elision is not available.
20030         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20031         (sysdep_routines): Add lock elision objects.
20032         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20033         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20034         [pthread_mutex_t] (__elision): Add field.
20035         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20036         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20037         elision definitions for powerpc.
20038         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20039         implementation of lock elision for powerpc.
20040         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20041         implementation of timed lock elision for powerpc.
20042         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20043         implementation of trylock with lock elision for powerpc.
20044         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20045         implementaion of unlock for lock elision for powerpc.
20046         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20047         automatic enable lock elision for mutexes.
20048         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20049         transaction execution definitions for powerpc.
20050         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20051         definitions.
20052         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20053         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20054         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20055         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20056         * NEWS: Update.
20058 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20060         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20061         for #include of <shm-directory.h>.
20063 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20065         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20066         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20068 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20070         [BZ #17791]
20071         * NEWS: Mention bug fix.
20072         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20073         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20074         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20076 2015-01-09  Torvald Riegel <triegel@redhat.com>
20078         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20080 2015-01-09  Torvald Riegel <triegel@redhat.com>
20082         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20084 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20086         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20087         pointer and cast to uintptr_t.
20089 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20091         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20092         removed.
20093         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20095 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20097         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20098         of 0.
20100 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20102         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20103         <nptl/pthreadP.h> instead.
20104         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20106         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20107         already defined.
20108         [__SIGRTMIN] (init): Function removed.
20109         [__SIGRTMIN] (initialized): Variable removed.
20110         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20111         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20112         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20113         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20114         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20115         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20116         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20117         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20118         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20119         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20120         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20121         * sysdeps/nptl/allocrtsig.c: New file.
20122         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20123         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20124         * sysdeps/generic/testrtsig.h: File removed.
20126         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20127         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20129         * nptl/nptl-init.c (pthread_functions): Conditionalize
20130         .ptr__nptl_setxid initialization on [SIGSETXID].
20132         * sysdeps/nptl/sys/procfs.h: New file.
20133         * nptl_db/Makefile (headers): Add it.
20134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20136         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20137         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20138         * nptl/pthread_attr_setaffinity.c: Include it.
20139         * nptl/pthread_setattr_default_np.c: Likewise.
20140         * nptl/check-cpuset.h: New file.
20142 2015-01-08  Richard Henderson  <rth@redhat.com>
20144         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20145         (CFLAGS-tst-execstack-prog.c): Likewise.
20146         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20148 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20149             Sandra Loosemore  <sandra@codesourcery.com>
20150             Andrew Jenner  <andrew@codesourcery.com>
20151             Joseph Myers  <joseph@codesourcery.com>
20152             Nathan Sidwell  <nathan@codesourcery.com>
20154         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20155         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20156         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20157         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20158         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20159         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20160         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20161         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20162         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20163         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20164         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20165         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20166         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20167         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20168         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20169         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20170         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20172 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20174         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20175         timespec struct member in syscall macro.
20176         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20177         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20178         first timeval struct member in syscall macro.
20179         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20181 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20183         [BZ #17748]
20184         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20185         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20186         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20187         __feupdateenv and define as weak alias of __feupdateenv.  Use
20188         libm_hidden_weak.
20189         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20190         libm_hidden_def.
20191         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20192         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20193         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20194         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20195         libm_hidden_def.
20196         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20197         __feupdateenv and define as weak alias of __feupdateenv.  Use
20198         libm_hidden_weak.
20199         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20200         libm_hidden_def.
20201         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20202         __feupdateenv and define as weak alias of __feupdateenv.  Use
20203         libm_hidden_weak.
20204         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20205         libm_hidden_def.
20206         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20207         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20208         (__feupdateenv): Likewise.
20209         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20210         __feupdateenv and define as weak alias of __feupdateenv.  Use
20211         libm_hidden_weak.
20212         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20213         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20214         libm_hidden_def.
20215         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20216         function.
20217         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20218         libm_hidden_def.
20219         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20220         __feupdateenv instead of feupdateenv.
20221         (default_libc_feupdateenv_test): Likewise.
20222         (libc_feresetround_ctx): Likewise.
20224 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20226         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20227         prototype.
20229 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20231         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20232         COLL_SYM in a couple of places to avoid uninitialized variable
20233         wanings on tilegx gcc 4.8.2.
20235 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20237         * sysdeps/aarch64/strcpy.S: New file.
20238         * sysdeps/aarch64/stpcpy.S: New file.
20239         * NEWS: Updated.
20241 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20243         * sysdeps/aarch64/strrchr.S: New file.
20244         * NEWS: Updated.
20246 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20248         [BZ #17658]
20249         * stdlib/setenv.c: Fix memory leak when setting large,
20250         duplicate string.
20252 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20254         [BZ #17273]
20255         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20256         and tabs from buffer before parsing fstab entry.
20257         * misc/tst-mntent.c (main): Add test for mount entry with
20258         trailing spaces and tabs.
20260 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20262         [BZ #17748]
20263         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20264         * math/fesetround.c (fesetround): Rename to __fesetround and
20265         define as weak alias of __fesetround.  Use libm_hidden_weak.
20266         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20267         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20268         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20269         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20270         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20271         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20272         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20273         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20274         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20275         __fesetround_inline.
20276         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20277         __fesetround_inline instead of __fesetround.
20278         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20279         __fesetround and define as weak alias of __fesetround.  Use
20280         libm_hidden_weak.  Call __fesetround_inline instead of
20281         __fesetround.
20282         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20283         __fesetround and define as weak alias of __fesetround.  Use
20284         libm_hidden_weak.
20285         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20286         Likewise.
20287         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20288         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20289         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20290         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20291         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20292         __fesetround and define as weak alias of __fesetround.  Use
20293         libm_hidden_weak.
20294         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20295         __fesetround instead of fesetround.
20296         (default_libc_feholdexcept_setround): Likewise.
20297         (libc_feholdsetround_ctx): Likewise.
20298         (libc_feholdsetround_noex_ctx): Likewise.
20300         [BZ #17748]
20301         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20302         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20303         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20304         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20305         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20306         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20307         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20308         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20309         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20310         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20311         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20312         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20313         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20314         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20315         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20316         libm_hidden_def.
20317         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20318         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20319         Likewise.
20320         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20321         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20322         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20323         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20324         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20325         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20326         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20327         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20328         __fesetenv instead of fesetenv.
20329         (libc_feresetround_noex_ctx): Likewise.
20330         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20331         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20332         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20333         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20334         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20335         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20336         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20337         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20338         (__feupdateenv): Likewise.
20339         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20340         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20341         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20342         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20344 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20346         [BZ #17806]
20347         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20348         addresses have been freed.
20350 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20352         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20353         and nservall.
20355 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20357         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20358         Clean up check_pf allocation pattern. addresses
20360 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20362         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20363         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20364         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20365         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20366         * nptl/pthread_join.c (pthread_join): Likewise.
20367         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20368         * sysdeps/posix/waitid.c (__waitid): Likewise.
20369         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20370         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20371         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20372         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20373         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20374         Likewise.
20375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20376         (__libc_pread64): Likewise.
20377         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20378         (__libc_pwrite): Likewise.
20379         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20380         (__libc_pwrite64): Likewsie.
20381         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20382         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20383         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20384         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20385         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20386         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20387         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20389         Likewise.
20390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20391         (__libc_pread64): Likewise.
20392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20393         Likewise.
20394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20395         (__libc_pwrite64): Likewise.
20396         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20397         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20398         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20399         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20400         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20401         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20402         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20403         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20404         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20405         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20406         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20407         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20408         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20409         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20410         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20411         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20412         Likewise.
20414 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20416         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20417         (CFLAGS-test-double.c): Likewise.
20418         (CFLAGS-test-ldouble.c): Likewise.
20419         (CPPFLAGS-test-ifloat.c): Likewise.
20420         (CPPFLAGS-test-idouble.c): Likewise.
20421         (CPPFLAGS-test-ildoubl.c): Likewise.
20422         (CFLAGS-test-test-fenv.c): Remove variable.
20423         (CFLAGS-test-misc.c): Likewise.
20425 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20427         [BZ #17797]
20428         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20429         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20430         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20431         CLOCKS_PER_SEC == 1000000.
20432         * time/clocktest.c (main): Replace %ld with %jd and cast to
20433         intmax_t.
20435 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20437         * sysdeps/generic/unwind-resume.h: New file.
20438         * sysdeps/gnu/unwind-resume.c: Include it.
20439         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20440         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20441         argument list.
20442         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20443         global rather than static.
20444         (_Unwind_Resume): Update user.
20445         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20446         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20447         rather than static.  Add __attribute__ ((cold)).
20448         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20449         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20450         * sysdeps/arm/arm-unwind-resume.S: New file.
20451         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20452         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20453         * sysdeps/arm/Makefile [$(subdir) = csu]
20454         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20455         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20456         Add rt-arm-unwind-resume.
20457         [$(subdir) = nptl]
20458         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20459         Add pt-arm-unwind-resume.
20460         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20461         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20463 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20465         [BZ #17748]
20466         * include/fenv.h (__feholdexcept): Declare.  Use
20467         libm_hidden_proto.
20468         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20469         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20470         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20471         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20472         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20473         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20474         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20475         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20476         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20477         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20478         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20479         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20480         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20481         (feholdexcept): Likewise.
20482         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20483         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20484         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20485         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20486         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20487         __feholdexcept instead of feholdexcept.
20488         (default_libc_feholdexcept_setround): Likewise.
20490 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20492         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20493         to avoid using stl/str to align destination.
20495 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20497         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20499 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20501         [BZ #17796]
20502         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20503         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20504         Define as weak alias not strong alias.
20506 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20508         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20509         bltzal with addiupc.
20510         (RTLD_START): Ditto.
20512 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20514         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20515         for __vdso_* functions in declarations.
20516         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20517         definitions.
20518         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20519         INTERNAL_VSYSCALL): Use struct return types to check for error.
20521         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20522         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20523         function with cast from llround().
20524         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20525         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20526         Define.
20528 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20530         [BZ #17793]
20531         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20532         Define as weak alias not strong alias.
20534         [BZ #17635]
20535         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20536         ...
20537         * ctype/ctype-extn.c: ... here.
20538         (__isblank_l): Move to ...
20539         * ctype/ctype-c99_l.c: ... here.  New file.
20540         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20541         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20542         Remove variable.
20543         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20544         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20545         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20546         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20547         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20549         [BZ #17777]
20550         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20551         (posix_fadvise64): Define as weak alias not strong alias.
20552         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20553         (posix_fallocate64): Likewise.
20554         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20555         Remove variable.
20556         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20557         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20558         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20559         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20560         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20562 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20564         [BZ #16191]
20565         * NEWS: Mention bug fix.
20566         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20567         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20568         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20569         (HOST_STACK_END_ADDR): Likewise.
20571 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20573         [BZ #17748]
20574         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20575         * math/fegetround.c (fegetround): Rename to __fegetround and
20576         define as weak alias of __fegetround.  Use libm_hidden_weak.
20577         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20578         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20579         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20580         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20581         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20582         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20583         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20584         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20585         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20586         Undefine after rather than before function definition; use
20587         parentheses around function name in definition.
20588         (__fegetround): Also undefine macro after function definition.
20589         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20590         __fegetround and define as weak alias of __fegetround.  Use
20591         libm_hidden_weak.  Do not undefine as macro.
20592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20593         Likewise.
20594         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20595         __fegetround and define as weak alias of __fegetround.  Use
20596         libm_hidden_weak.
20597         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20598         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20599         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20600         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20601         __fegetround and define as weak alias of __fegetround.  Use
20602         libm_hidden_weak.
20603         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20604         __fegetround instead of fegetround.
20606         [BZ #17782]
20607         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20608         Condition macro definition on [__USE_MISC].
20610         [BZ #17781]
20611         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20612         (struct sigaction): Change type of sa_flags field to int.
20614         [BZ #17780]
20615         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20616         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20617         __glibc_reserved0.
20619         * nptl/version.c (banner): Use single year in copyright notice.
20621         * NEWS: Update copyright dates.
20622         * catgets/gencat.c (print_version): Likewise.
20623         * csu/version.c (banner): Likewise.
20624         * debug/catchsegv.sh: Likewise.
20625         * debug/pcprofiledump.c (print_version): Likewise.
20626         * debug/xtrace.sh (do_version): Likewise.
20627         * elf/ldconfig.c (print_version): Likewise.
20628         * elf/ldd.bash.in: Likewise.
20629         * elf/pldd.c (print_version): Likewise.
20630         * elf/sotruss.sh: Likewise.
20631         * elf/sprof.c (print_version): Likewise.
20632         * iconv/iconv_prog.c (print_version): Likewise.
20633         * iconv/iconvconfig.c (print_version): Likewise.
20634         * locale/programs/locale.c (print_version): Likewise.
20635         * locale/programs/localedef.c (print_version): Likewise.
20636         * login/programs/pt_chown.c (print_version): Likewise.
20637         * malloc/memusage.sh (do_version): Likewise.
20638         * malloc/memusagestat.c (print_version): Likewise.
20639         * malloc/mtrace.pl: Likewise.
20640         * manual/libc.texinfo: Likewise.
20641         * nptl/version.c (banner): Likewise.
20642         * nscd/nscd.c (print_version): Likewise.
20643         * nss/getent.c (print_version): Likewise.
20644         * nss/makedb.c (print_version): Likewise.
20645         * posix/getconf.c (main): Likewise.
20646         * scripts/test-installation.pl: Likewise.
20647         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20649 2015-01-02  Will Newton  <will.newton@linaro.org>
20651         * sysdeps/arm/armv7/configure: Removed.
20652         * sysdeps/arm/armv7/configure.ac: Likewise.
20654 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20656         * All files with FSF copyright notices: Update copyright dates
20657         using scripts/update-copyrights.
20658         * intl/plural.c: Regenerated.
20659         * locale/programs/charmap-kw.h: Likewise.
20660         * locale/programs/locfile-kw.h: Likewise.
20662 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20664         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20666 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20668         [BZ #17748]
20669         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20670         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20671         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20672         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20673         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20674         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20675         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20676         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20677         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20678         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20679         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20680         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20681         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20682         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20683         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20684         libm_hidden_def.
20685         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20686         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20687         Likewise.
20688         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20689         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20690         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20691         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20692         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20693         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20694         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20695         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20696         __fegetenv instead of fegetenv.
20697         (libc_feholdsetround_noex_ctx): Likewise.
20699 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20701         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20702         (Elf_MIPS_ABIFlags_v0): New structure.
20703         (EF_MIPS_FP64): Define.
20704         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20705         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20706         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20707         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20708         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20709         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20710         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20711         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20712         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20713         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20714         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20715         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20716         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20717         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20718         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20719         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20720         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20721         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20722         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20723         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20724         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20725         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20726         field.
20727         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20728         EF_MIPS_FP64.
20729         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20730         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20731         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20732         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20733         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20734         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20735         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20736         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20737         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20738         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20739         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20740         record the current FP ABI extension.
20741         (mips-mode-switch): Define to show if kernel headers support mode
20742         switching.
20743         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20744         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20745         supported SYSV ABI version to 3.
20746         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20747         feature.
20749 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20750             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20752         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20753         path.
20754         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20756 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20758         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20759         __fegetround and redefine to call __fegetround.  Remove condition
20760         on [!__NO_MATH_INLINES].
20761         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20762         function.
20763         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20764         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20765         Remove macro.
20766         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20767         instead of <fenv_libc.h>.
20768         (__llrintl): Call fegetround instead of __fegetround.
20769         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20770         instead of <fenv_libc.h>.
20771         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20772         (__lrintl): Call fegetround instead of __fegetround.
20773         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20774         instead of <fenv_libc.h>.
20775         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20776         (__rintl): Call fegetround instead of __fegetround.
20778 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20780         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20781         arrays.
20783 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20785         [BZ #17775]
20786         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20787         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20788         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20790 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20792         * sysdeps/i386/tls-macros.h: Include <features.h>.
20793         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20794         (TLS_IE): Likewise.
20795         (TLS_LD): Likewise.
20796         (TLS_GD): Likewise.
20797         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20798         define for GCC >= 5.0.
20800 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20802         * math/test-fenv.c (test_single_exception, set_single_exc,
20803         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20804         feexcp_mask_test, feenable_test, fe_single_test): Add
20805         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20806         case where they are not used.
20807         * math/libm-test.inc: Likewise.
20808         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20809         unused in the absence of FP rounding/exception support.
20810         * stdio-common/tst-printf-round.c: Likewise.
20811         * stdlib/tst-strtod-round.c: Likewise.
20812         * stdlib/tst-strtod-underflow.c: Likewise.
20814 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20816         [BZ #17723]
20817         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20818         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20819         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20820         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20821         libm_hidden_weak.
20822         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20823         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20824         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20825         libm_hidden_def.
20826         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20827         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20828         libm_hidden_weak.
20829         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20830         Likewise.
20831         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20832         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20833         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20834         libm_hidden_weak.
20835         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20836         libm_hidden_def.
20837         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20838         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20839         (__feraiseexcept): Likewise.
20840         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20841         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20842         libm_hidden_weak.
20843         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20844         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20845         libm_hidden_def.
20846         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20847         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20848         Use libm_hidden_def.
20849         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20850         libm_hidden_def.
20851         (feraiseexcept): Define as weak not strong alias.  Use
20852         libm_hidden_weak.
20853         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20854         New inline function.  Factored out of ...
20855         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20856         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20857         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20858         feraiseexcept.
20859         * math/w_acos.c (__acos): Likewise.
20860         * math/w_asin.c (__asin): Likewise.
20861         * math/w_ilogb.c (__ilogb): Likewise.
20862         * math/w_j0.c (y0): Likewise.
20863         * math/w_j1.c (y1): Likewise.
20864         * math/w_jn.c (yn): Likewise.
20865         * math/w_log.c (__log): Likewise.
20866         * math/w_log10.c (__log10): Likewise.
20867         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20868         * sysdeps/aarch64/fpu/math_private.h
20869         (libc_feupdateenv_test_aarch64): Likewise.
20870         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20871         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20872         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20873         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20874         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20875         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20876         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20877         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20878         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20879         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20881 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20883         [BZ #17732]
20884         * io/test-utime.c (main): Replace %ld with %jd and cast to
20885         intmax_t.
20886         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20887         * nptl/tst-mutex5.c: Include <stdint.h>.
20888         (do_test): Replace %ld with %jd and cast to intmax_t.
20889         * posix/tst-regex.c (run_test): Likewise.
20890         (run_test_backwards): Likewise.
20891         * rt/tst-clock.c: Include <stdint.h>.
20892         (clock_test): Replace %ld with %jd and cast to intmax_t.
20893         * rt/tst-cpuclock1.c: Include <stdint.h>.
20894         (do_test): Replace %lu with %ju and cast to uintmax_t.
20895         * rt/tst-cpuclock2.c: Include <stdint.h>.
20896         (do_test): Replace %lu with %ju and cast to uintmax_t.
20897         * rt/tst-mqueue1.c: Include <stdint.h>.
20898         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20899         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20900         intmax_t.
20901         * rt/tst-mqueue4.c (do_test): Likewise.
20902         * rt/tst-timer4.c: Include <stdint.h>.
20903         (check_ts): Replace %ld with %jd and cast to intmax_t.
20904         (do_test): Likewise.
20905         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20906         and cast to intmax_t.
20907         * sysdeps/pthread/tst-timer.c (main): Likewise.
20908         * time/clocktest.c (main): Likewise.
20909         * time/tst-posixtz.c (do_test): Likewise.
20910         * timezone/tst-timezone.c (main): Likewise.
20912 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20913             H.J. Lu  <hongjiu.lu@intel.com>
20915         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20916         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20917         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20918         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20919         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20920         version if bit_Fast_Unaligned_Load is set.
20921         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20922         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20923         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20924         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20925         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20926         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20927         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20928         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20929         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20930         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20931         to 4.
20932         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20933         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20934         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20935         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20937 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20939         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20940         instead of #if to avoid a Wundef warning.
20941         * stdlib/tst-limits.c (do_test): Likewise.
20943         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20944         parallel other exception macros.
20945         (fegetenv): Convert from macro to extern inline so that it applies
20946         retroactively to inline functions already seen by the compiler.
20947         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20949         * posix/Makefile (before-compile): Use $(objpfx) for
20950         posix-conf-vars-def.h.
20952 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20954         * posix/getconf.c (main): Use size_t for type of I.
20955         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20956         NSPEC.
20958         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20959         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20960         * posix/posix-envs.def: Likewise.
20961         * sysdeps/posix/sysconf.c: Likewise.
20962         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20963         (specs): Remove array.
20964         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20965         array.
20967         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20968         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20969         (__sysconf): Use CONF_IS_* macros.
20971         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20972         ($(objpfx)posix-conf-vars-def.h): New target.
20973         * posix/posix-conf-vars.list: New file.
20974         * posix/posix-conf-vars.h: New file.
20975         * posix/confstr.c: Include posix-conf-vars.h.
20976         (confstr): Use CONF_IS_* macros.
20977         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20978         CONF_IS_* macros.
20979         * scripts/gen-posix-conf-vars.awk: New file.
20981 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20983         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20984         fegetround): Add no-op macros to avoid linknamespace issues.
20986         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20987         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20989         * sysdeps/unix/sysv/linux/tile/sysdep.h
20990         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20991         assembly-specific section to avoid a redefinition warning.
20993         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20994         long before casting to pointer to avoid a cast warning.
20996 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20998         * sysdeps/tile/tilegx/Implies: New file.
21000 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21002         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21004 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21006         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21008 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21010         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21011         not define.
21012         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21013         <kernel-features.h>.
21014         (__utimes) [__NR_utimes]: Make code unconditional.
21015         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21016         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21017         (__ASSUME_UTIMES): Do not undefine.
21018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21019         (__ASSUME_UTIMES): Likewise.
21020         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21021         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21022         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21023         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21025 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21027         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21029 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21031         [BZ #17747]
21032         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21033         alias to weak alias for j0l, y0l.
21034         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21035         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21037         [BZ #17746]
21038         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21039         conversion.
21041 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21043         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21044         to zero if not already defined.
21046 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21048         [BZ #17724]
21049         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21050         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21051         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21052         (char *) casts added.
21053         * sysdeps/ieee754/k_standardf.c: New file.
21054         * sysdeps/ieee754/k_standardl.c: Likewise.
21055         * math/Makefile (libm-support): Remove k_standard.
21056         (libm-calls): Add k_standard.
21058 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21060         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21061         Optimize to avoid an unnecessary FPCR read.
21063 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21065         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21066         Optimize to reduce FPCR/FPSR accesses.
21068 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21070         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21071         Call libc_fetestexcept_aarch64.
21073 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21075         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21076         Call libc_fesetround_aarch64.
21078 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #17733]
21081         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21082         (__bind): Do not define as weak alias.
21083         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21084         define.
21085         (__getsockname): Do not define as weak alias.
21087 2014-12-22  Will Newton  <will.newton@linaro.org>
21089         * manual/install.texi: Document that we require bison 2.7
21090         or above.
21091         * INSTALL: Regenerate.
21092         * configure.ac: Use AC_CHECK_PROG_VER instead of
21093         AC_PATH_PROG when checking for bison and check for
21094         version 2.7 or above.
21095         * configure: Regenerate.
21097 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21099         [BZ #17745]
21100         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21101         * sysdeps/tile/ffsll.c (ffsll): To here.
21103         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21105 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21107         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21108         if not defined.
21109         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21110         definition.
21111         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21112         hidden ___tls_get_addr.
21113         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21114         hidden __tls_get_addr.
21115         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21116         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21117         Likewise.
21119 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21121         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21122         _dl_init call.
21124 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21126         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21127         from "call _dl_init@PLT".
21128         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21130 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21132         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21133         guarantees.
21135 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21137         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21139 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21141         [BZ #17744]
21142         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21143         strnlen.
21145 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21147         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21148         of multu on MIPSr6.
21149         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21150         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21151         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21152         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21153         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21155 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21157         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21158         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21159         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21160         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21161         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21162         mips32r6/mips64r6.
21163         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21165 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21167         * string/strncat.c (STRNCAT): Simplify implementation.
21169 2014-12-19  David S. Miller  <davem@davemloft.net>
21171         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21172         access the quad as both a long double and as a series of 4 words.
21174         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21175         link_map->l_info array access.
21177 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21179         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21181         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21182         * math/atest-exp2.c (TIMEOUT): Likewise.
21183         * math/atest-sincos.c (TIMEOUT): Likewise.
21185 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21187         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21188         -Wno-error with -fno-builtin-lround.
21190 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21192         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21193         Contains futex constants and functions moved over from ...
21194         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21195         <lowlevellock-futex.h>.
21196         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21197         (lll_timedwait_tid): Add comments and parentheses around macro
21198         arguments.
21200 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21203         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21204         (__lll_private_flag): Remove.
21205         (lll_futex_wait): Likewise.
21206         (lll_futex_timed_wait): Likewise.
21207         (lll_futex_wake): Likewise.
21208         (lll_futex_requeue): Likewise.
21209         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21210         (__lll_timedwait_tid): Spell out argument names.
21211         (lll_timedwait_tid): Add comments and parentheses around macro
21212         arguments.
21213         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21214         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21216 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21218         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21219         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21220         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21221         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21222         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21223         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21224         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21225         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21226         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21227         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21229         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21231         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21232         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21233         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21234         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21235         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21236         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21238 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21240         * sysdeps/x86_64/x32/Makefile: New file.
21242 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21244         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21245         1L with (mp_limb_t) 1.
21247 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21249         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21250         * nptl/libc_pthread_init.c: ... here.
21251         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21252         * nptl/register-atfork.c: ... here.
21254         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21255         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21256         Use assert_perror to check its return value.
21257         (__gai_create_helper_thread): Likewise.
21259         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21261         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21263 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21265         [BZ #17725]
21266         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21267         __profil_counter.
21268         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21271         Likewise.
21272         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21273         Likewise.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21275         (profil_counter): Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21277         (profil_counter): Likewise.
21278         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21279         Likewise.
21280         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21281         Likewise.
21282         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21283         (profil_counter): Likewise.
21284         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21285         Likewise.
21286         [!__profil_counter] (profil_counter): Define as weak alias of
21287         __profil_counter.
21288         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21289         (profil_counter): Rename to __profil_counter.
21290         [!__profil_counter] (profil_counter): Define as weak alias of
21291         __profil_counter.
21292         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21293         (profil_counter): Rename to __profil_counter.
21294         [!__profil_counter] (profil_counter): Define as weak alias of
21295         __profil_counter.
21296         * sysdeps/posix/profil.c: Update comment referring to
21297         profil_counter.
21298         (__profil): Use __profil_counter instead of profil_counter.
21299         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21300         __profil_counter.  Use __profil_counter_ushort and
21301         __profil_counter_uint in definitions.
21302         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21303         instead of profil_counter_uint and profil_counter_ushort.
21305         [BZ #17722]
21306         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21307         define as weak alias of __inet_makeaddr.
21308         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21309         as weak alias of __inet_addr.
21310         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21311         as weak alias of __inet_pton.  Use libc_hidden_weak.
21312         * include/arpa/inet.h (__inet_pton): Declare.  Use
21313         libc_hidden_proto.
21314         (inet_makeaddr): Don't use libc_hidden_proto.
21315         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21316         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21317         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21318         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21319         Remove variable.
21320         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21321         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21323 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21325         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21327 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21329         * stdio-common/bug-vfprintf-nargs.c (do_test):
21330         Cast value to intptr_t to avoid format warning
21331         for usage with PRIdPTR printing macro.
21333 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21335         * libio/tst-widetext.c (do_test):
21336         Use format type %td instead of %Zd for ptrdiff_t
21337         in order to avoid format warning.
21339 2014-12-17  Andreas Schwab  <schwab@suse.de>
21341         * nscd/mem.c (gc): Add size_t cast to match printf format.
21343 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21345         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21346         (init): Apply PTR_MANGLE to pointers before storing them.
21347         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21348         before using them.
21350 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21352         [BZ #17719]
21353         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21354         define as weak alias of __memrchr.
21355         (__memrchr): Do not define as strong alias of memrchr.
21356         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21357         Remove variable.
21358         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21359         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21360         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21362         [BZ #17717]
21363         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21364         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21365         (if_indextoname): Rename to __if_indextoname and define as weak
21366         alias of __if_indextoname.  Use libc_hidden_weak.
21367         (if_freenameindex): Rename to __if_freenameindex and define as
21368         weak alias of __if_freenameindex.
21369         (if_nameindex): Rename to __if_nameindex and define as weak alias
21370         of __if_nameindex.
21371         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21372         __if_nametoindex and define as weak alias of __if_nametoindex.
21373         Use libc_hidden_weak.
21374         (if_freenameindex): Rename to __if_freenameindex and define as
21375         weak alias of __if_freenameindex.
21376         (if_nameindex): Rename to __if_nameindex and define as weak alias
21377         of __if_nameindex.
21378         (if_indextoname): Rename to __if_indextoname and define as weak
21379         alias of __if_indextoname.  Use libc_hidden_weak.
21380         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21381         __if_nametoindex and define as weak alias of __if_nametoindex.
21382         Use libc_hidden_weak.
21383         (if_freenameindex): Rename to __if_freenameindex and define as
21384         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21385         (if_nameindex_netlink): Use __if_freenameindex instead of
21386         if_freenameindex.
21387         (if_nameindex): Rename to __if_nameindex and define as weak alias
21388         of __if_nameindex.  Use libc_hidden_weak.
21389         (if_indextoname): Rename to __if_indextoname and define as weak
21390         alias of __if_indextoname.  Use libc_hidden_weak.
21391         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21392         libc_hidden_proto.
21393         [!_ISOMAC] (__if_freenameindex): Likewise.
21394         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21395         if_nametoindex.
21396         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21397         variable.
21398         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21399         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21400         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21401         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21402         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21403         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21404         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21406         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21407         Remove variable.
21408         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21409         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21411 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21413         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21414         subscript above bounds'
21416         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21417         bounds.
21419 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21421         * libio/tst-fopenloc.c: Use test-skeleton.c.
21423         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21424         (entry): Rename to ITEM.
21425         (do_test, comp): Adjust.
21427         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21429 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21431         * string/tester.c: Include <libc-internal.h>.
21432         (test_memset): Ignore -Wmemset-transposed-args.
21434 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21436         * misc/tst-mntent2.c (do_test): Fix warning.
21438 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21440         * elf/tst-unique4lib.cc(a): Mark as used.
21442 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21444         [BZ #17630]
21445         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21446         names.
21448 2014-12-16  Allan McRae  <allan@archlinux.org>
21450         * stdio-common/Makefile (tests): Re-add bug26.
21452 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21454         [BZ #17657]
21455         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21456         static array.
21458 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21460         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21461         (__lll_lock_wait): Likewise.
21462         (__lll_timedlock_wait): Likewise.
21463         (__lll_timedwait_tid): Likewise.
21464         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21465         (__lll_robust_timedlock_wait): Likewise.
21466         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21467         (lll_cond_trylock): Likewise.
21468         (__lll_lock): Likewise.
21469         (__lll_robust_lock): Likewise.
21470         (__lll_cond_lock): Likewise.
21471         (lll_robust_cond_lock): Likewise.
21472         (__lll_timedlock): Likewise.
21473         (__lll_robust_timedlock): Likewise.
21474         (__lll_unlock): Likewise.
21475         (__lll_robust_unlock): Likewise.
21476         (lll_wait_tid): Likewise.
21477         (lll_timedwait_tid): Likewise.
21479 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21481         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21483 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21485         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21487 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21489         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21490         * stdio-common/tst-sprintf.c: Likewise.
21492 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21494         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21496 2014-12-15  Jeff Law  <law@redhat.com>
21498         [BZ #16617]
21499         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21500         on the heap.  (CVE-2012-3406)
21501         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21502         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21503         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21505 2014-12-15  Will Newton  <will.newton@linaro.org>
21507         * manual/install.texi: Bump required version of texinfo
21508         to 4.7 from 4.5.
21509         * INSTALL: Regenerated.
21510         * configure.ac: Check for makeinfo version 4.7 and above.
21511         * configure: Regenerated.
21513 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21515         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21516         PREFIX, string constant to insert between directory and name.
21517         * sysdeps/posix/shm_open.c: Update caller.
21518         * sysdeps/posix/shm_unlink.c: Likewise.
21519         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21520         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21521         (SEM_SHM_PREFIX): New macro.
21522         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21523         [$(have-thread-library) = no].
21524         * nptl/Makefile (libpthread-routines): Add shm-directory.
21525         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21526         * sysdeps/nptl/shm-directory.h: New file.
21527         * sysdeps/posix/shm-directory.c
21528         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21529         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21530         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21531         INTERNAL_SYSCALL.
21532         (__where_is_shmfs): Function removed.
21533         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21534         Variables removed.
21535         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21536         Use SHM_GET_NAME.
21537         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21539         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21540         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21541         unconditional for use inside libpthread.
21542         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21544 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21546         * nptl/pthread_getaffinity.c: New file.
21547         * nptl/pthread_setaffinity.c: New file.
21548         * nptl/pthread_getname.c: New file.
21549         * nptl/pthread_setname.c: New file.
21551         * nptl/pthread_create.c (START_THREAD_DEFN)
21552         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21554 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21555             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21557         * resolv/res_send.c (send_vc): Disable warning resplen may
21558         be used uninitialized.
21560 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21562         * nptl/tst-mutex6.c
21563         (ATTR_NULL): New define checks ATTR against NULL.
21564         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21565         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21567 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21569         [BZ #17581]
21570         * malloc/hooks.c
21571         (mem2mem_check): Revert my previous change.
21572         (malloc_check_get_size): Revert my previous change.
21573         (mem2chunk_check): Revert my previous change.
21575 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21577         * sysdeps/posix/shm-directory.c: New file.
21578         * sysdeps/posix/shm-directory.h: New file.
21579         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21580         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21581         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21582         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21583         Transmute EPERM to EACCES.
21584         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21585         from ...
21586         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21587         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21589 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21591         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21592         pointer and cast to uintptr_t.
21593         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21594         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21595         Add cast to avoid warning.
21596         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21598 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21600         * nptl/semaphore.h: Move to ...
21601         * sysdeps/pthread/semaphore.h: ... here.
21602         * Makefile (installed-headers): Change nptl/semaphore.h to
21603         sysdeps/pthread/semaphore.h.
21605 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21607         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21608         generated error format strings.
21610         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21611         -Wformat-extra-args warnings for scanf formats.
21612         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21613         test of zero-length format (duh).
21614         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21615         corner-case scanf format test.
21616         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21617         generated fprintf format string.
21618         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21619         corner-case sprintf format tests.
21620         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21621         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21622         -Wformat-extra-args warnings throughout.
21623         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21624         (CFLAGS-scanf4.c): Likewise.
21625         (CFLAGS-scanf7.c): Likewise.
21626         (CFLAGS-tst-sprintf.c): Likewise.
21627         (CFLAGS-tst-printf.c): Likewise.
21628         (CFLAGS-tst-printfsz.c): Likewise.
21630 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21632         * include/cpio.h: New file.
21633         * include/fmtmsg.h: Likewise.
21635         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21636         corresponding format argument to size_t.
21637         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21638         arguments.
21639         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21640         corresponding format argument to size_t.
21641         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21642         arguments.
21643         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21644         corresponding format argument to size_t.
21645         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21646         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21647         (CFLAGS-tst-mbswcs2.c): Likewise.
21648         (CFLAGS-tst-mbswcs3.c): Likewise.
21649         (CFLAGS-tst-mbswcs4.c): Likewise.
21650         (CFLAGS-tst-mbswcs5.c): Likewise.
21651         (CFLAGS-tst-trans.c): Likewise.
21653 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21655         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21656         rather than assuming they won't contain any '%'s.
21658 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21660         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21661         inhibit_loop_to_libcall to avoid recursive calls.
21662         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21663         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21665 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21667         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21668         prototype.
21670 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21672         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21673         integer value instead of boolean.
21675 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21677         * malloc/malloc.c: Fix powerof2 check.
21679 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21681         * locale/programs/locfile.h (maybe_swap_uint32):
21682         Remove inline and add unused attribute.
21684 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21686         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21687         Truncating assembler expression to a .long expression.
21689 2014-12-11  Andreas Schwab  <schwab@suse.de>
21691         * elf/rtld.c (struct map_args): Constify str member.
21692         (do_preload): Constify fname argument.
21694 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21697         constants definition.
21699 2014-12-11  Andreas Schwab  <schwab@suse.de>
21701         [BZ #16657]
21702         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21703         FORCE_ELISION instead of DO_ELISION.
21704         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21705         Remove.
21706         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21707         Likewise.
21709         * iconvdata/gconv-modules: Remove duplicate entry.
21711 2014-12-11  Will Newton  <will.newton@linaro.org>
21713         Merge gettext 0.19.3 into intl/.
21715         This involves a number of cosmetic changes to comments
21716         and ANSI function definitions and prototypes throughout
21717         all the files. The gettext copyright header is used but
21718         with the date ranges taken from the glibc copy.
21720         * NEWS: Add gettext merge to 2.21.
21721         * intl/bindtextdom.c: Switch to gettext copyright.
21722         Use ANSI definitions and prototypes.
21723         Use gl_* locking primitives rather than __libc_* ones.
21724         Use __builtin_expect rather than __glibc_likely/unlikely.
21725         * intl/dcgettext.c: Switch to gettext copyright.
21726         Use ANSI definitions and prototypes.
21727         * intl/dcigettext.c: Switch to gettext copyright.
21728         Use ANSI definitions and prototypes.
21729         (INTDIV0_RAISES_SIGFPE): New define.
21730         Use gl_* locking primitives rather than __libc_* ones.
21731         Include eval-plural.h instead of plural-eval.c.
21732         Use __builtin_expect rather than __glibc_likely/unlikely.
21733         * intl/dcngettext.c: Switch to gettext copyright.
21734         Use ANSI definitions and prototypes.
21735         * intl/dgettext.c: Likewise.
21736         * intl/dngettext.c: Likewise.
21737         * intl/plural-eval.c: Renamed to...
21738         * intl/eval-plural.h: ...this.
21739         * intl/explodename.c: Switch to gettext copyright.
21740         Use ANSI definitions and prototypes.
21741         (_nl_explode_name): Use strchr instead of __rawmemchr.
21742         * intl/finddomain.c: Switch to gettext copyright.
21743         Use ANSI definitions and prototypes.
21744         Use gl_* locking primitives rather than __libc_* ones.
21745         (_nl_find_domain): Use malloc rather than alloca for
21746         allocation of temporary locale name.
21747         * intl/gettext.c: Switch to gettext copyright.
21748         Use ANSI definitions and prototypes.
21749         * intl/gettextP.h: Switch to gettext copyright.
21750         Use ANSI definitions and prototypes.
21751         Use gl_* locking primitives rather than __libc_* ones.
21752         * intl/gmo.h: Switch to gettext copyright.
21753         (struct sysdep_string): Move struct segment_pair outside of
21754         struct definition.
21755         * intl/hash-string.c: Use ANSI definitions and prototypes.
21756         * intl/hash-string.h: Switch to gettext copyright.
21757         Use ANSI definitions and prototypes.
21758         * intl/l10nflist.c: Switch to gettext copyright.
21759         Use ANSI definitions and prototypes.
21760         (_nl_normalize_codeset): Avoid integer overflow.
21761         * intl/loadinfo.h: Switch to gettext copyright.
21762         Use ANSI definitions and prototypes.
21763         (LIBINTL_DLL_EXPORTED): New define.
21764         (PATH_SEPARATOR): New define.
21765         * intl/loadmsgcat.c: Switch to gettext copyright.
21766         * intl/localealias.c: Switch to gettext copyright.
21767         Use ANSI definitions and prototypes.
21768         (_nl_expand_alias): Use PATH_SEPARATOR.
21769         * intl/ngettext.c: Switch to gettext copyright.
21770         Use ANSI definitions and prototypes.
21771         * intl/plural-exp.c: Likewise.
21772         * intl/plural-exp.h: Switch to gettext copyright.
21773         Use ANSI definitions and prototypes.
21774         (struct expression): Move definition of enum operator outside
21775         of struct definition.
21776         * intl/plural.c: Regenerate.
21777         * intl/plural.y: Switch to gettext copyright.
21778         Use ANSI definitions and prototypes.
21779         Port to bison 3.0.
21780         * intl/textdomain.c: Switch to gettext copyright.
21781         Use ANSI definitions and prototypes.
21782         Use gl_* locking primitives rather than __libc_* ones.
21784 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21786         * debug/warning-nop.c: Add used atrribute.
21788 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21790         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21792         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21793         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21794         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21796 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21799         [BZ #17634]
21800         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21801         Undefine after defining function.  Define as weak alias of
21802         __wcschr.  Use libc_hidden_weak.
21803         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21804         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21805         (libc_hidden_def): Also define __GI___wcschr alias.
21806         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21807         __wcschr and define as weak alias of __wcschr.
21808         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21809         __wcschr.
21810         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21811         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21812         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21813         libc_hidden_weak.  Do not use libc_hidden_def.
21814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21815         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21816         __GI___wcschr alias.
21817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21818         [IS_IN (libc)] (wcschr): Define as macro expanding to
21819         __redirect_wcschr.
21820         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21821         [IS_IN (libc)] (__wcschr_power6): Likewise.
21822         [IS_IN (libc)] (__wcschr_power7): Likewise.
21823         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21824         instead of wcschr.
21825         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21826         __libc_wcschr.
21827         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21828         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21829         __wcschr and define as weak alias of __wcschr.  Use
21830         libc_hidden_builtin_def.
21831         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21832         as weak alias of __wcschr.  Use libc_hidden_weak.
21833         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21834         wcschr.
21835         * time/era.c (_nl_init_era_entries): Likewise.
21836         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21837         variable.
21838         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21839         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21841 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21843         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21844         format for long int variable.
21846 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21848         [BZ #10672]
21849         * manual/search.texi: (Array Sort Function): Remove claim how to make
21850         qsort stable.
21852 2014-12-10  Andreas Schwab  <schwab@suse.de>
21854         [BZ #12847]
21855         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21856         user-controlled locks.
21858 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21860         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21861         register.
21863 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21865         * configure.ac (--disable-werror): New configure option.
21866         (enable_werror): New AC_SUBST.
21867         * configure: Regenerated.
21868         * config.make.in (enable-werror): New variable.
21869         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21870         -Wno-error=undef.
21871         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21872         * manual/install.texi (Configuring and compiling): Document
21873         --disable-werror.
21874         * INSTALL: Regenerated.
21875         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21876         (CFLAGS-tst-chk2.c): Likewise.
21877         (CFLAGS-tst-chk3.c): Likewise.
21878         (CFLAGS-tst-chk4.cc): Likewise.
21879         (CFLAGS-tst-chk5.cc): Likewise.
21880         (CFLAGS-tst-chk6.cc): Likewise.
21881         (CFLAGS-tst-lfschk1.c): Likewise.
21882         (CFLAGS-tst-lfschk2.c): Likewise.
21883         (CFLAGS-tst-lfschk3.c): Likewise.
21884         (CFLAGS-tst-lfschk4.cc): Likewise.
21885         (CFLAGS-tst-lfschk5.cc): Likewise.
21886         (CFLAGS-tst-lfschk6.cc): Likewise.
21888         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21889         (main): Disable -Wdeprecated-declarations around calls to
21890         register_printf_function.
21892         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21893         (do_test): Disable -Wdiv-by-zero around some calls to
21894         fwrite_unlocked and fread_unlocked.
21896         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21897         (DIAG_POP_NEEDS_COMMENT): Likewise.
21898         (_DIAG_STR1): Likewise.
21899         (_DIAG_STR): Likewise.
21900         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21901         * stdio-common/bug21.c: Include <libc-internal.h>.
21902         (do_test): Disable -Wformat around call to sscanf.
21903         * stdio-common/scanf14.c: Include <libc-internal.h>.
21904         (main): Disable -Wformat around some calls to scanf functions.
21906 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21908         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21910 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21912         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21913         stack variable alignment.
21915 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21917         [BZ #17682]
21918         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21919         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21920         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21921         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21922         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21923         __getrlimit instead of getrlimit.
21924         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21925         __gettimeofday instead of gettimeofday.
21926         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21927         Likewise.
21928         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21929         Likewise.
21930         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21931         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21932         Remove variable.
21933         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21934         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21936 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21938         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21939         for wide-character tests.
21941 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21943         * io/openat64.c: #include <libc-internal.h>
21944         (__openat64): Prototypify.  Use ignore_value on MODE.
21945         * io/openat.c: Likewise.
21946         * misc/reboot.c: #include <libc-internal.h>
21947         (reboot): Prototypify.  Use ignore_value on HOWTO.
21948         * misc/ptrace.c: #include <libc-internal.h>
21949         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21951 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21953         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21954         XPG4, UNIX98 and XOPEN2K.
21955         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21956         Remove variable.
21957         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21959 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21961         * libio/fileops.c: Use ISO C style for function definitions.
21962         * libio/iofopen.c: Likewise.
21963         * libio/wfileops.c: Likewise.
21965         [BZ #17653]
21966         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21967         offset on EOF.
21968         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21969         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21970         (fgets_func): Function pointer to fgets and fgetws.
21971         (do_ftell_test): Add test to verify ftell value after read
21972         EOF.
21973         (do_test): Set fgets_func.
21975         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21976         O_TRUNC flag for w and w+ modes.
21977         (do_rewind_test): Likewise.
21978         (do_ftell_test): Likewise.
21979         (do_write_test): Likewise.
21981         [BZ #17647]
21982         * libio/fileops.c (do_ftell): Seek only when there are
21983         unflushed writes.
21984         * libio/wfileops.c (do_ftell_wide): Likewise.
21985         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21986         test case.
21987         (do_one_test): Call it.
21989 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21991         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21992         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21993         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21994         Remove variable.
21995         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21996         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21997         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21999 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22001         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22002         Remove variable.
22003         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22005         [BZ #17668]
22006         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22007         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22008         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22009         __freeifaddrs.  Use libc_hidden_weak.
22010         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22011         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22012         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22013         __freeifaddrs.  Use libc_hidden_weak.
22014         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22015         __getifaddrs and define as weak alias of __getifaddrs.  Use
22016         libc_hidden_weak.
22017         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22018         __freeifaddrs.  Use libc_hidden_weak.
22019         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22020         Remove variable.
22021         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22022         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22024 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22026         [BZ #17601]
22027         * sysdeps/mips/start.S (__start): Use indirect jump to call
22028         __libc_start_main.
22030 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22032         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22034         * nptl/tst-mutex1.c: Include <stdbool.h>.
22035         [!ATTR] (ATTR_NULL): New macro.
22036         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22037         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22038         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22040         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22041         to char *.
22043         [BZ #17665]
22044         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22045         Change conditional to [__USE_MISC].
22047         [BZ #17664]
22048         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22049         fgets_unlocked.
22050         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22051         __fgets_unlocked.
22052         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22053         fgets_unlocked.
22054         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22055         Remove variable.
22056         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22057         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22058         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22059         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22060         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22061         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22062         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22063         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22064         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22066         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22068 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22070         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22071         Remove strpbrk objects.
22072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22073         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22075         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22076         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22077         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22079         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22080         Remove strcspn objects.
22081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22082         (__libc_ifunc_impl_list): Remove strcspn implementation.
22083         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22084         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22085         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22086         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22088         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22089         Remove strspn objetcs.
22090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22091         (__libc_ifunc_impl_list): Remove strspn implementation.
22092         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22093         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22094         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22095         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22097 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22099         [BZ #17581]
22100         * malloc/hooks.c
22101         (mem2mem_check): Add a terminator to the chain of checking blocks.
22102         (malloc_check_get_size): Use it here.
22103         (mem2chunk_check): Ditto.
22105 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22107         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22108         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22110 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22112         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22114         * nptl/nptl-init.c: Include libc-internal.h.
22115         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22117         * elf/ldconfig.c (search_dir): Expand comment.
22119 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22121         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22122         variable.
22123         (linknamespace-symlist-stdlibs-tests): Likewise.
22124         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22125         instead of $(objpfx)symlist-stdlibs.
22126         (linknamespace-libs-isoc): New variable.
22127         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22128         (linknamespace-libs-ISO): New variable.
22129         (linknamespace-libs-ISO99): Likewise.
22130         (linknamespace-libs-ISO11): Likewise.
22131         (linknamespace-libs-XPG3): Likewise.
22132         (linknamespace-libs-XPG4): Likewise.
22133         (linknamespace-libs-POSIX): Likewise.
22134         (linknamespace-libs-UNIX98): Likewise.
22135         (linknamespace-libs-XOPEN2K): Likewise.
22136         (linknamespace-libs-POSIX2008): Likewise.
22137         (linknamespace-libs-XOPEN2K8): Likewise.
22138         ($(objpfx)symlist-stdlibs): Replace by
22139         $(linknamespace-symlist-stdlibs-tests).  Use
22140         $(linknamespace-libs-$*) as set of libraries.
22141         ($(linknamespace-header-tests)): Update dependencies.  Use
22142         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22143         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22144         * conform/linknamespace.pl: Remove comment about considering
22145         definitions of symbols from irrelevant libraries.
22147 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22149         [BZ #13862]
22150         * elf/dl-tls.c: Include <atomic.h>.
22151         (oom): Remove #ifdef SHARED/#endif.
22152         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22153         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22154         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22155         big enough.
22156         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22157         * nptl/Makefile (tests): Add tst-stack4.
22158         (modules-names): Add tst-stack4mod.
22159         ($(objpfx)tst-stack4): New.
22160         (tst-stack4mod.sos): Likewise.
22161         ($(objpfx)tst-stack4.out): Likewise.
22162         ($(tst-stack4mod.sos)): Likewise.
22163         (clean): Likewise.
22164         * nptl/tst-stack4.c: New file.
22165         * nptl/tst-stack4mod.c: Likewise.
22167 2014-11-27  J. Brown  <jb999@gmx.de>
22169         * sysdeps/x86/bits/string.h: Add recent CPUs.
22171 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22173         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22174         sigblock.
22176         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22177         feof.
22179         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22180         variable.
22182 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22184         * nscd/connections.c: Include libc-internal.h because of macro
22185         usage ignore_value.
22187 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22189         * string/bits/string3.h (__warn_memset_zero_len): Don't
22190         declare for gcc newer than 5.0.
22191         (memset): Don't test for zero-length __LEN for gcc newer than
22192         5.0.
22194 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22196         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22197         size_t for %zu format.
22199         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22200         difference, not %ju.
22202 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22204         * include/libc-internal.h (ignore_value): New macro.
22205         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22206         with ignore_value.
22208         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22209         definition.
22211         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22212         pthread_cleanup_push to void *.
22214         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22215         Undefine.
22217         [BZ #16619]
22218         [BZ #16740]
22219         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22220         instead of 1L << 52.
22222         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22223         * libio/bug-rewind2.c (do_test): Likewise.
22225         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22226         * debug/test-strcpy_chk-ifunc.c: Likewise.
22227         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22228         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22229         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22230         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22231         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22232         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22233         * Rules [$(multi-arch) = no] (tests): Do not filter out
22234         $(tests-ifunc).
22235         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22236         * debug/Makefile (tests-ifunc): Remove variable.
22237         (tests): Do not add $(tests-ifunc).
22238         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22239         (tests): Do not add $(tests-ifunc).
22240         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22241         [TEST_IFUNC]: Remove conditionals.
22242         * string/test-string.h (TEST_IFUNC): Remove macro.
22243         [TEST_IFUNC]: Remove conditionals.
22245         * string/test-strchr.c [!WIDE] (L): New macro.
22246         [WIDE] (L): Likewise.
22247         (check1): Use CHAR instead of char.  Use L on string and character
22248         constants.
22250 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22252         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22253         tests.
22254         * sysdeps/powerpc/bits/atomic.h
22255         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22256         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22257         (atomic_exchange_and_add_acq): Likewise.
22258         (atomic_exchange_and_add_rel): Likewise.
22259         * sysdeps/powerpc/powerpc32/bits/atomic.h
22260         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22261         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22262         * sysdeps/powerpc/powerpc64/bits/atomic.h
22263         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22264         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22266 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22268         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22269         Change synchronization of __sched_fifo_min_prio and
22270         __sched_fifo_max_prio.
22271         * nptl/pthread_mutexattr_getprioceiling.c
22272         (pthread_mutexattr_getprioceiling): Likewise.
22273         * nptl/pthread_mutexattr_setprioceiling.c
22274         (pthread_mutexattr_setprioceiling): Likewise.
22275         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22276         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22277         Likewise.
22279 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22281         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22282         void.
22284 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22286         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22287         third argument const.
22289 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22291         fnmatch: work around GCC compiler warning bug with uninit var
22292         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22293         This works around a bug with x86-64 GCC 4.9.2 and earlier
22294         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22295         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22296         used uninitialized in this function [-Wmaybe-uninitialized]".
22298 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22300         * posix/bug-regex31.c (main): Return RES not 0.
22302 2014-11-25  Anton Blanchard <anton@samba.org>
22304         * sysdeps/powerpc/bits/atomic.h
22305         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22307 2014-11-24  Sterling Augustine  <saugustine@google.com>
22309         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22311 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22313         [BZ #17608]
22314         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22316 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22318         [BZ #17633]
22319         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22320         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22321         variable.
22322         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22323         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22325 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22327         * string/strncpy.c (strncpy): Improve performance by using memset.
22329 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22331         * string/strcpy.c (strcpy):
22332         Improve performance by using strlen and memcpy.
22334 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22336         * string/strcoll_l.c (get_next_seq): __always_inline.
22337         * string/strcoll_l.c (do_compare): __always_inline.
22339 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22341         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22342         defined.
22343         * include/mqueue.h: Likewise.
22344         * include/stdlib.h: Likewise.
22346         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22347         (get_null_defines): Adjust.
22348         * sunrpc/Makefile: Adjust comment.
22349         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22350         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22351         (CFLAGS-interp.c): Likewise.
22352         (CFLAGS-ldconfig.c): Likewise.
22353         (CPPFLAGS-.os): Likewise.
22354         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22355         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22356         * extra-modules.mk (extra-modules.mk): Likewise.
22357         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22358         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22359         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22360         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22361         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22362         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22363         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22364         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22365         * iconvdata/Makefile (CPPFLAGS): Likewise.
22366         (cpp-srcs-left): Add libof for all iconvdata routines.
22367         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22368         * include/assert.h: Likewise.
22369         * include/ctype.h: Likewise.
22370         * include/errno.h: Likewise.
22371         * include/libc-symbols.h: Likewise.
22372         * include/math.h: Likewise.
22373         * include/netdb.h: Likewise.
22374         * include/resolv.h: Likewise.
22375         * include/stdio.h: Likewise.
22376         * include/stdlib.h: Likewise.
22377         * include/string.h: Likewise.
22378         * include/sys/stat.h: Likewise.
22379         * include/wctype.h: Likewise.
22380         * intl/l10nflist.c: Likewise.
22381         * libidn/idn-stub.c: Likewise.
22382         * libio/libioP.h: Likewise.
22383         * nptl/libc_multiple_threads.c: Likewise.
22384         * nptl/pthreadP.h: Likewise.
22385         * posix/regex_internal.h: Likewise.
22386         * resolv/res_hconf.c: Likewise.
22387         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22388         * sysdeps/arm/memmove.S: Likewise.
22389         * sysdeps/arm/sysdep.h: Likewise.
22390         * sysdeps/generic/_itoa.h: Likewise.
22391         * sysdeps/generic/symbol-hacks.h: Likewise.
22392         * sysdeps/gnu/errlist.awk: Likewise.
22393         * sysdeps/gnu/errlist.c: Likewise.
22394         * sysdeps/i386/i586/memcpy.S: Likewise.
22395         * sysdeps/i386/i586/memset.S: Likewise.
22396         * sysdeps/i386/i686/memcpy.S: Likewise.
22397         * sysdeps/i386/i686/memmove.S: Likewise.
22398         * sysdeps/i386/i686/mempcpy.S: Likewise.
22399         * sysdeps/i386/i686/memset.S: Likewise.
22400         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22401         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22402         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22403         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22404         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22405         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22406         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22407         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22408         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22410         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22411         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22412         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22413         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22414         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22415         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22416         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22417         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22418         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22419         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22420         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22421         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22422         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22423         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22424         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22425         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22426         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22427         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22428         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22429         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22430         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22431         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22433         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22434         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22435         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22436         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22437         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22438         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22439         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22440         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22441         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22442         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22443         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22444         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22445         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22446         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22447         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22448         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22449         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22450         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22451         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22452         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22453         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22454         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22455         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22456         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22457         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22458         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22459         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22460         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22461         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22462         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22463         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22464         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22465         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22466         * sysdeps/posix/closedir.c: Likewise.
22467         * sysdeps/posix/opendir.c: Likewise.
22468         * sysdeps/posix/readdir.c: Likewise.
22469         * sysdeps/posix/rewinddir.c: Likewise.
22470         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22471         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22472         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22473         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22474         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22475         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22476         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22481         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22482         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22483         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22486         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22487         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22489         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22490         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22491         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22492         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22494         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22495         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22497         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22498         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22499         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22505         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22506         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22507         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22508         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22509         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22510         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22511         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22512         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22513         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22514         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22515         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22516         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22517         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22518         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22519         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22520         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22521         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22524         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22526         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22527         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22528         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22529         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22530         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22531         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22532         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22533         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22534         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22535         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22536         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22537         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22538         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22539         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22540         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22541         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22542         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22543         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22544         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22546         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22547         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22548         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22549         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22550         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22551         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22554         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22555         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22556         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22557         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22558         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22559         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22560         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22561         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22562         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22563         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22566         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22568         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22569         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22570         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22571         * sysdeps/unix/alpha/sysdep.S: Likewise.
22572         * sysdeps/unix/alpha/sysdep.h: Likewise.
22573         * sysdeps/unix/make-syscalls.sh: Likewise.
22574         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22576         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22577         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22578         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22579         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22580         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22582         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22583         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22584         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22585         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22586         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22587         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22588         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22589         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22590         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22591         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22592         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22593         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22594         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22595         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22596         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22597         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22598         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22599         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22600         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22603         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22604         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22607         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22608         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22612         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22613         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22614         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22615         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22616         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22617         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22618         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22621         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22623         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22624         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22625         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22626         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22627         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22628         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22630         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22632         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22633         * sysdeps/x86_64/memcpy.S: Likewise.
22634         * sysdeps/x86_64/memmove.c: Likewise.
22635         * sysdeps/x86_64/memset.S: Likewise.
22636         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22637         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22638         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22639         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22640         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22641         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22642         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22643         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22644         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22645         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22646         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22647         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22648         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22649         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22651         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22652         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22653         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22654         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22655         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22656         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22657         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22658         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22660         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22661         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22662         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22663         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22664         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22665         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22666         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22667         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22668         * sysdeps/x86_64/strcmp.S: Likewise.
22670         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22672         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22673         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22674         * elf/rtld-Rules: Likewise.
22675         * elf/setup-vdso.h: Likewise.
22676         * include/assert.h: Likewise.
22677         * include/bits/stdlib-float.h: Likewise.
22678         * include/errno.h: Likewise.
22679         * include/sys/stat.h: Likewise.
22680         * include/unistd.h: Likewise.
22681         * sysdeps/aarch64/setjmp.S: Likewise.
22682         * sysdeps/alpha/setjmp.S: Likewise.
22683         * sysdeps/arm/__longjmp.S: Likewise.
22684         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22685         * sysdeps/arm/setjmp.S: Likewise.
22686         * sysdeps/arm/sysdep.h: Likewise.
22687         * sysdeps/generic/_itoa.h: Likewise.
22688         * sysdeps/generic/dl-sysdep.h: Likewise.
22689         * sysdeps/generic/ldsodefs.h: Likewise.
22690         * sysdeps/i386/dl-tls.h: Likewise.
22691         * sysdeps/i386/setjmp.S: Likewise.
22692         * sysdeps/m68k/setjmp.c: Likewise.
22693         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22694         * sysdeps/mach/hurd/opendir.c: Likewise.
22695         * sysdeps/posix/getcwd.c: Likewise.
22696         * sysdeps/posix/opendir.c: Likewise.
22697         * sysdeps/posix/profil.c: Likewise.
22698         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22700         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22701         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22702         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22703         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22704         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22705         * sysdeps/s390/dl-tls.h: Likewise.
22706         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22707         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22708         * sysdeps/sh/sh3/setjmp.S: Likewise.
22709         * sysdeps/sh/sh4/setjmp.S: Likewise.
22710         * sysdeps/unix/alpha/sysdep.h: Likewise.
22711         * sysdeps/unix/arm/sysdep.S: Likewise.
22712         * sysdeps/unix/i386/sysdep.S: Likewise.
22713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22714         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22715         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22716         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22717         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22718         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22719         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22720         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22721         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22722         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22723         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22724         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22725         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22728         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22729         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22731         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22732         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22733         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22736         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22737         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22738         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22740         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22741         * sysdeps/x86_64/setjmp.S: Likewise.
22743         * include/math.h: Use IS_IN instead of IS_IN_libm.
22744         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22745         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22746         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22747         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22748         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22749         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22750         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22751         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22752         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22753         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22754         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22755         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22756         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22757         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22758         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22759         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22760         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22761         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22762         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22763         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22764         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22765         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22766         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22767         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22768         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22769         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22770         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22771         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22772         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22773         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22774         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22775         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22776         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22778         Likewise.
22779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22780         Likewise.
22781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22782         Likewise.
22783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22784         Likewise.
22785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22786         Likewise.
22787         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22788         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22789         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22790         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22792         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22798         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22799         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22800         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22801         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22802         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22803         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22804         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22805         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22806         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22807         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22808         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22811         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22813         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22815         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22816         * nptl/pthreadP.h: Likewise.
22817         * nptl_db/structs.def: Likewise.
22818         * sysdeps/arm/sysdep.h: Likewise.
22819         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22820         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22821         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22822         * sysdeps/unix/alpha/sysdep.h: Likewise.
22823         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22825         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22826         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22827         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22828         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22830         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22831         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22832         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22833         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22834         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22835         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22836         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22839         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22840         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22841         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22842         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22844         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22845         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22846         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22847         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22848         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22850         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22851         * nptl/pthreadP.h: Likewise.
22852         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22853         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22854         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22855         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22856         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.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:
22865         Likewise.
22866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22867         Likewise.
22868         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22870         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22871         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22872         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22873         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22874         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22875         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22877         * dlfcn/dladdr.c: Use IS_IN.
22878         * dlfcn/dladdr1.c: Likewise.
22879         * dlfcn/dlclose.c: Likewise.
22880         * dlfcn/dlerror.c: Likewise.
22881         * dlfcn/dlinfo.c: Likewise.
22882         * dlfcn/dlmopen.c: Likewise.
22883         * dlfcn/dlopen.c: Likewise.
22884         * dlfcn/dlsym.c: Likewise.
22885         * dlfcn/dlvsym.c: Likewise.
22887         * include/ifaddrs.h: Use IS_IN.
22888         * inet/check_pf.c: Likewise.
22889         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22890         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22892         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22893         IS_IN_ldconfig.
22894         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22895         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22897         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22898         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22899         IS_IN (libc).
22901         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22903         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22904         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22905         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22906         * include/libc-symbols.h (IS_IN_LIB): New macro.
22907         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22908         * include/netdb.h: Likewise.
22909         * include/stap-probe.h: Remove all uses of IN_LIB.
22911         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22912         instead of IN_MODULE.
22913         * include/libc-symbols.h (IN_MODULE): Define using
22914         MODULE_NAME.
22915         (PASTE_NAME, PASTE_NAME1): New macros.
22916         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22917         of IN_LIB.
22918         (STAP_PROBE_ASM): Likewise.
22920 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22922         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22923         __mach_init in dlopened libc.
22925 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22927         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22928         * sysdeps/arm/preconfigure: Regenerate.
22930 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22932         * nptl/pthread_create.c (__pthread_create_2_1): Set
22933         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22934         when copying values from IATTR into PD.
22936 2014-11-21  Will Newton  <will.newton@linaro.org>
22937             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22939         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22940         Refactor inline-asm.  Also add comment.
22942         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22943         ElfW macro instead of hardcoded Elf64 types.
22944         (la_aarch64_gnu_pltenter): Likewise.
22945         * sysdeps/aarch64/dl-machine.h
22946         (elf_machine_runtime_setup): Use ElfW(Addr).
22948         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22949         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22950         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22951         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22952         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22953         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22954         (R_AARCH64_TLS_DTPMOD): This.
22955         (R_AARCH64_TLS_DTPREL64): Rename to ...
22956         (R_AARCH64_TLS_DTPREL): This.
22957         (R_AARCH64_TLS_TPREL64): Rename to ...
22958         (R_AARCH64_TLS_TPREL): This.
22959         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22960         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22961         R_AARCH64_TLS_TPREL64.
22962         (elf_machine_rela): Likewise.
22964 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22966         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22967         by setting it to 0.  64b atomics are not supported currently.
22969 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22971         [BZ #16469]
22972         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22973         search domain names.
22975 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22977         [BZ #16469]
22978         * NEWS: Update.
22979         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22980         trailing dot.
22981         * posix/tst-getaddrinfo5.c: New.
22982         * posix/Makefile (tests): Add it.
22984 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22986         [BZ #14498]
22987         * NEWS: Fixed.
22988         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22989         after parsing line but before break_if_match.
22990         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22991         if there is a protocol mismatch.
22993 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22995         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22996         because the potential race is on the user-supplied stream.
22998 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23000         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23001         string literal if not passed a buffer.
23002         * manual/job.texi (ctermid): Update reasoning, note deviation
23003         from posix, suggest mtasurace when not passed a buffer, for
23004         future non-preliminary safety notes.
23006 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23008         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23009         of not passing it a buffer.
23010         Reported by Peng Haitao.
23012 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23014         * manual/Makefile ($(objpfx)stamp-summary): Require
23015         check-safety.sh to pass.
23016         * manual/check-safety.sh: Wish for verification that every
23017         @deftypefn and @deftypefun is followed by a @safety remark.
23019 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23021         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23023         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23024         PTHREAD_CANCEL_ASYNCHRONOUS.
23025         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23026         send SIGCANCEL.
23028         * nptl/default-sched.h: New file.
23029         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23030         * nptl/pthread_create.c: Include it.
23031         (__pthread_create_2_1): Use collect_default_sched instead of making
23032         Linux syscalls here directly.
23034 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23036         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23037         __pthread_once): Use C11 atomics.
23039 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23041         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23043 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23045         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23046         atomic_thread_fence_acquire, atomic_thread_fence_release,
23047         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23048         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23049         atomic_compare_exchange_weak_relaxed,
23050         atomic_compare_exchange_weak_acquire,
23051         atomic_compare_exchange_weak_release,
23052         atomic_exchange_acquire, atomic_exchange_release,
23053         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23054         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23055         atomic_fetch_and_acquire,
23056         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23058 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23060         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23061         USE_ATOMIC_COMPILER_BUILTINS): Define.
23062         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23064         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23065         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23066         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23067         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23068         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23069         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23070         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23071         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23072         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23073         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23074         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23075         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23076         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23077         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23078         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23079         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23080         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23081         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23082         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23083         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23084         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23085         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23086         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23087         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23088         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23089         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23090         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23091         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23092         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23093         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23094         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23095         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23096         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23097         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23098         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23099         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23100         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23101         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23103 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23105         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23106         the sched_priority value here.  It was already checked when the user
23107         called pthread_attr_setschedparam.
23109         * nptl/tst-bad-schedattr.c: New file.
23110         * nptl/Makefile (tests): Add it.
23112 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23113             Florian Weimer  <fweimer@redhat.com>
23114             Joseph Myers  <joseph@codesourcery.com>
23115             Adam Conrad  <adconrad@0c3.net>
23116             Andreas Schwab  <schwab@suse.de>
23117             Brooks  <bmoses@google.com>
23119         [BZ #17625]
23120         * wordexp-test.c (__dso_handle): Add prototype.
23121         (__register_atfork): Likewise.
23122         (__app_register_atfork): New function.
23123         (registered_forks): New global.
23124         (register_fork): New function.
23125         (test_case): Add 3 new tests for WRDE_CMDSUB.
23126         (main): Call __app_register_atfork.
23127         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23128         fork count is non-zero fail the test.
23129         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23130         is set.
23131         (parse_dollars): Remove check for WRDE_NOCMD.
23132         (parse_dquote): Likewise.
23134 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23136         * Makeconfig (built-modules): List non-library modules to be
23137         built.
23138         (module-cppflags): Include libc-modules.h for
23139         everything except shlib-versions.v.i.
23140         (CPPFLAGS): Use it.
23141         (before-compile): Add libc-modules.h.
23142         ($(common-objpfx)libc-modules.h,
23143         $(common-objpfx)libc-modules.stmp): New targets.
23144         (common-generated): Add libc-modules.h and libc-modules.stmp.
23145         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23146         * include/libc-symbols.h: Don't include libc-modules.h.
23147         * include/libc-modules.h: Remove file.
23148         * scripts/gen-libc-modules.awk: New script to generate
23149         libc-modules.h.
23150         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23151         Depend on libc-modules.stmp.
23153         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23155         * Makeconfig (in-module): Get value of libof set for the
23156         translation unit.
23157         (CPPFLAGS): Use $(in-module).
23158         * Makerules: Don't suffix routine names for nonlib.
23159         * include/libc-modules.h: New file.
23160         * include/libc-symbols.h: Include libc-modules.h
23161         (IS_IN): New macro to replace IS_IN_* macros.
23162         * elf/Makefile: Set libof-* for each routine.
23163         * elf/rtld-Rules: Likewise.
23164         * extra-modules.mk: Likewise.
23165         * iconv/Makefile: Likewise.
23166         * iconvdata/Makefile: Likewise.
23167         * locale/Makefile: Likewise.
23168         * malloc/Makefile: Likewise.
23169         * nss/Makefile: Likewise.
23170         * sysdeps/gnu/Makefile: Likewise.
23171         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23172         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23173         * sysdeps/s390/s390-64/Makefile: Likewise.
23174         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23175         CPPFLAGS for nscd instead of nonlib.
23177 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23179         * nptl/createthread.c: New file.
23181         * nptl/createthread.c: Moved ...
23182         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23184         * nptl/createthread.c: Add proper top-line comment.
23185         (do_clone): Folded into ...
23186         (create_thread): ... here.  Take new arguments STOPPED_START and
23187         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23188         increment __nptl_threads, do event-reporting logic, do
23189         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23190         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23191         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23192         just send SIGCANCEL.
23193         * nptl/pthread_create.c: Forward-declare create_thread before
23194         including createthread.c.
23195         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23196         declaration, and new macro START_THREAD_SELF to replace argument.
23197         Remove return statement.
23198         (report_thread_creation): New function.
23199         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23200         synchronization logic, and __nptl_nthreads increment here, around
23201         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23202         PD->parent_cancelhandling here, before create_thread.  When
23203         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23204         __deallocate_stack, and ENOMEM translation here.
23206 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23208         [BZ #17616]
23209         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23210         (mptwo): Rename to __mptwo.
23211         (__inv): Use __mptwo instead of mptwo.
23212         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23213         (mptwo): Rename to __mptwo.
23214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23215         of mpone and __mptwo instead of mptwo.
23216         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23217         instead of mpone.
23218         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23219         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23220         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23221         of mpone and __mptwo instead of mptwo.
23222         (__mpranred): Use __mpone instead of mpone.
23223         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23224         variable.
23225         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23226         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23227         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23228         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23229         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23230         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23231         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23232         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23233         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23234         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23235         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23236         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23237         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23238         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23239         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23240         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23241         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23242         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23243         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23245 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23247         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23248         replace BSD Handler xref with BSD Signal Handling.
23250 2014-11-17  Richard Henderson  <rth@redhat.com>
23252         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23253         (_FP_PACK_RAW_2): Remove.
23254         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23255         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23256         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23257         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23258         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23259         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23260         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23261         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23262         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23263         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23264         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23265         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23266         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23267         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23268         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23269         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23271 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23273         * signal/signal.h [__USE_MISC]
23274         (struct sigvec): Remove type.
23275         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23276         (sigvec): Remove declaration.
23277         * sysdeps/posix/sigvec.c: Moved ...
23278         * signal/sigvec.c: ... here, replacing old file.
23279         (struct sigvec): New type, copied from old signal.h definition.
23280         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23281         (__sigvec): Convert definition to prototype.
23282         (sigvec): Replace weak_alias with compat_symbol.
23283         * signal/Versions (libc: GLIBC_2.21): New version set.
23284         * include/signal.h: Remove __sigvec declaration.
23285         * sysdeps/unix/bsd/sigvec.c: Remove file.
23286         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23287         * manual/signal.texi (BSD Handler): Remove subsection.
23288         Move siginterrupt up to ...
23289         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23290         (Blocking in BSD): Fold subsection into its parent.
23291         * NEWS: Mention sigvec removal.
23293 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23295         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23296         (DLA_FMS): Make definition conditional only on [__FMA4__].
23297         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23298         definition.
23300         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23301         Make definition conditional only on [PROF].
23302         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23303         definition.
23304         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23305         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23307         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23308         !__GNUC__].
23309         * include/signal.h (__sigpause): Move declaration above call to
23310         libc_hidden_proto.
23311         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23312         variable.
23313         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23314         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23316 2014-11-14  David S. Miller  <davem@davemloft.net>
23318         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23319         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23321 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23323         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23324         * configure: Regenerated.
23325         * manual/install.texi (Tools for Compilation): Document a
23326         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23327         compiler verified to work.
23328         * INSTALL: Regenerated.
23330         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23331         redeclare with asm name.
23332         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23333         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23334         including <string.h>.
23335         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23336         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23337         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23338         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23339         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23340         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23341         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23343 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23345         * stdlib/strtol.c (__strtol): Use prototype definition.
23347         [BZ #17594]
23348         * stdlib/strtol.c (SYM__): New macro.
23349         (SYM__1): Likewise.
23350         (__strtol): Likewise.
23351         (strtol): Rename to __strtol and define as weak alias of
23352         __strtol.  Use libc_hidden_weak.
23354 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23356         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23357         Use numbered labels in inline assembly.
23359 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23361         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23362         Add setjmp LIBC_PROBE.
23363         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23364         Likewise.
23365         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23366         Add longjmp, longjmp_target LIBC_PROBE.
23367         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23368         Likewise.
23370 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23373         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23374         to get rid of unused variable warning.
23376 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23378         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23379         Check for unwind_backtrace ==  NULL only in SHARED case.
23380         (__backchain_backtrace): Compile only in SHARED case.
23381         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23382         Likewise.
23383         (__backchain_backtrace): Declare as static.
23385 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23387         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23388         (__libc_multiple_threads_ptr): Variable moved ...
23389         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23391 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23393         * conform/GlibcConform.pm: New file.
23394         * conform/conformtest.pl: Use GlibcConform module.
23395         * conform/linknamespace.pl: New file.
23396         * conform/list-header-symbols.pl: Likewise.
23397         * conform/Makefile (linknamespace-symlists-base): New variable.
23398         (linknamespace-symlists-tests): Likewise.
23399         (linknamespace-header-base): Likewise.
23400         (linknamespace-header-tests): Likewise.
23401         (tests-special): Add new tests.
23402         ($(linknamespace-symlists-tests)): New rule.
23403         (linknamespace-libs): New variable.
23404         ($(objpfx)symlist-stdlibs): New rule.
23405         ($(linknamespace-header-tests)): Likewise.
23406         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23407         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23408         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23409         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23410         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23411         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23412         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23413         (test-xfail-ISO/math.h/linknamespace): Likewise.
23414         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23415         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23416         (test-xfail-ISO/time.h/linknamespace): Likewise.
23417         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23418         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23419         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23420         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23421         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23422         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23423         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23424         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23425         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23426         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23427         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23428         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23429         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23430         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23431         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23432         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23433         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23434         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23435         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23436         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23437         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23438         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23439         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23440         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23441         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23442         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23443         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23444         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23445         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23446         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23447         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23448         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23449         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23450         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23451         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23452         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23453         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23454         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23455         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23456         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23457         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23458         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23459         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23460         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23461         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23462         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23463         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23464         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23465         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23466         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23467         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23468         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23469         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23470         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23471         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23472         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23473         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23474         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23475         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23476         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23477         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23478         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23479         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23480         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23481         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23482         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23483         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23484         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23485         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23486         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23487         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23488         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23489         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23490         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23491         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23492         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23493         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23494         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23495         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23496         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23497         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23498         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23499         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23500         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23501         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23502         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23503         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23504         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23505         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23506         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23507         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23508         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23509         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23510         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23511         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23512         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23513         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23514         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23515         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23516         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23517         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23518         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23519         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23520         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23521         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23522         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23523         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23524         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23525         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23526         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23527         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23528         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23529         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23530         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23531         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23532         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23533         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23534         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23535         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23536         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23537         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23538         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23539         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23540         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23541         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23542         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23543         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23544         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23545         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23546         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23547         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23548         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23549         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23550         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23551         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23552         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23553         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23554         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23555         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23556         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23557         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23558         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23559         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23560         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23561         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23562         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23563         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23564         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23565         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23566         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23568         [BZ #17589]
23569         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23570         of fgets_unlocked.
23572         [BZ #17585]
23573         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23574         (memmem): Rename to __memmem and define as weak alias of
23575         __memmem.  Use libc_hidden_weak.
23576         (__memmem): Use libc_hidden_def.
23577         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23578         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23579         memmem.
23581         [BZ #17582]
23582         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23583         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23584         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23585         and define as weak alias of __fgets_unlocked.  Use
23586         libc_hidden_weak.
23587         (__fgets_unlocked): Use libc_hidden_def.
23588         * include/stdio.h (__fgets_unlocked): Declare.  Use
23589         libc_hidden_proto.
23590         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23591         __fgets_unlocked instead of fgets_unlocked.
23592         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23593         (GET_NPROCS_CONF_PARSER): Likewise.
23594         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23595         (GET_NPROCS_CONF_PARSER): Likewise.
23597         [BZ #17574]
23598         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23599         weak alias of __wmemset.  Use libc_hidden_weak.
23600         (__wmemset): Use libc_hidden_def.
23601         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23602         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23603         of wmemset.
23605         [BZ #17573]
23606         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23607         with asm name __mempcpy.
23608         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23610         [BZ #17572]
23611         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23612         and define as weak alias of __rawmemchr.
23613         (__rawmemchr): Do not define as strong alias of rawmemchr.
23615         [BZ #17571]
23616         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23617         alias of __qsort_r.
23618         (qsort): Call __qsort_r instead of qsort_r.
23619         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23620         (__qsort_r): Declare.  Call libc_hidden_proto.
23621         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23622         instead of qsort_r.
23623         * nscd/gai.c (__qsort_r): Define to qsort_r.
23624         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23625         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23626         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23628         [BZ #17570]
23629         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23630         define as weak alias of __malloc_info.
23632         [BZ #17584]
23633         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23634         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23635         (__rewinddir): Use libc_hidden_def.
23636         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23637         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23638         (__rewinddir): Use libc_hidden_def.
23639         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23640         weak alias of __rewinddir.  Don't use libc_hidden_def.
23641         (__rewinddir): Use libc_hidden_def.
23642         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23643         (__rewinddir): Use libc_hidden_proto.
23644         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23645         rewinddir.
23646         (__getcwd): Use __rewinddir instead of rewinddir.
23648         [BZ #17583]
23649         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23650         alias of __fileno.  Use libc_hidden_weak.
23651         (__fileno): Use libc_hidden_def.
23652         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23653         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23654         alias of __ftello.
23655         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23656         __ftello.
23657         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23658         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23659         libc_hidden_def.
23660         (fread_unlocked): Don't use libc_hidden_ver.
23661         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23662         and define as weak alias of __fread_unlocked.  Don't use
23663         libc_hidden_def.
23664         (__fread_unlocked): Use libc_hidden_def.
23665         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23666         (ftello): Don't use libc_hidden_proto.
23667         (__ftello): Declare.  Use libc_hidden_proto.
23668         (fread_unlocked): Don't use libc_hidden_proto.
23669         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23670         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23671         and __ftello instead of fileno, fread_unlocked and ftello.
23673 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23675         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23676         GOT12.
23677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23678         Likewise.
23679         (_dl_start_user): Likewise.
23680         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23682 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23683             Siddhesh Poyarekar  <siddhesh@redhat.com>
23685         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23686         Move argv and envp down instead of moving argc up.
23687         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23689 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23691         [BZ #17506]
23692         * test-skeleton.c (main): Return successful if one of
23693         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23694         * string/tst-strcoll-overflow.c: Define expected status.
23696 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23698         [BZ #17475]
23699         * locale/iso-639.def: Define Bhili and Tulu language codes.
23701 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23703         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23705 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23707         [BZ #17555]
23708         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23710 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23712         * configure.ac: Updated check of minimal required version to
23713         2.22.
23714         * manual/install.texi (Tools for Compilation): Updated version
23715         number.
23716         * configure: Regenerated.
23717         * INSTALL: Likewise.
23719 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23721         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23722         __tls_get_addr.
23724 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23726         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23727         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23728         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23729         libc_hidden_weak.
23730         (waitpid): Define as alias of __waitpid.
23731         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23732         __waitpid.
23733         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23734         libc_hidden_weak.
23735         (waitpid): Define as alias of __waitpid.
23736         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23737         __libc_waitpid alias.
23738         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23739         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23740         Likewise.
23741         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23742         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23743         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23744         alias.
23745         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23746         __waitpid.
23747         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23748         libc_hidden_weak.
23749         (waitpid): Define as alias of __waitpid.
23751 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23753         * manual/llio.texi: Add comment that write safety has been
23754         fixed in Linux.
23756         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23757         (localplt-build-dso): Add elf/ld.so.
23758         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23759         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23760         and free for ld.so.
23761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23762         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23764         Likewise.
23765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23766         Likewise.
23767         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23768         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23769         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23770         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23771         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23772         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23773         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23774         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23775         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23776         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23777         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23779 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23781         [BZ #14132]
23782         * include/libc-symbols.h (INTUSE): Remove macro.
23783         (INTDEF): Likewise.
23784         (INTVARDEF): Likewise.
23785         (_INTVARDEF): Likewise.
23786         (INTDEF2): Likewise.
23787         (INTVARDEF2): Likewise.
23788         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23789         rtld_hidden_def instead of INTVARDEF.
23790         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23791         (_dl_starting_up_internal): Remove declaration.
23792         (_dl_starting_up): Use rtld_hidden_proto.
23793         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23794         declaration.
23795         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23796         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23797         _dl_starting_up.
23798         * elf/dl-writev.h (_dl_writev): Likewise.
23799         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23800         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23801         _dl_starting_up_internal.
23803 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23805         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23806         test-skeleton.c.
23808 2014-11-05  Will Newton  <will.newton@linaro.org>
23810         * benchtests/Makefile: (bench-malloc): Add malloc thread
23811         scalability benchmark.
23812         * benchtests/bench-malloc-threads.c: New file.
23814 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23816         * sysdeps/aarch64/strchrnul.S: New file.
23818 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23820         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23821         definition.
23822         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23823         Likwise.
23824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23825         Likewise.
23826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23827         Likewise.
23828         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23829         Likewise.
23830         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23831         Likewise.
23833 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23835         * catgets/test-gencat.c: Use test-skeleton.c.
23836         * catgets/tst-catgets.c: Likewise.
23837         * csu/tst-empty.c: Likewise.
23838         * elf/tst-audit2.c: Likewise.
23839         * elf/tst-global1.c: Likewise.
23840         * elf/tst-pathopt.c: Likewise.
23841         * elf/tst-piemod1.c: Likewise.
23842         * elf/tst-tls10.c: Likewise.
23843         * elf/tst-tls11.c: Likewise.
23844         * elf/tst-tls12.c: Likewise.
23845         * gnulib/tst-gcc.c: Likewise.
23846         * iconvdata/tst-e2big.c: Likewise.
23847         * iconvdata/tst-loading.c: Likewise.
23848         * iconv/tst-iconv1.c: Likewise.
23849         * iconv/tst-iconv2.c: Likewise.
23850         * inet/test-inet6_opt.c: Likewise.
23851         * inet/tst-gethnm.c: Likewise.
23852         * inet/tst-network.c: Likewise.
23853         * inet/tst-ntoa.c: Likewise.
23854         * intl/tst-codeset.c: Likewise.
23855         * intl/tst-gettext2.c: Likewise.
23856         * intl/tst-gettext3.c: Likewise.
23857         * intl/tst-ngettext.c: Likewise.
23858         * intl/tst-translit.c: Likewise.
23859         * io/test-stat.c: Likewise.
23860         * libio/test-fmemopen.c: Likewise.
23861         * libio/tst-freopen.c: Likewise.
23862         * libio/tst-sscanf.c: Likewise.
23863         * libio/tst-ungetwc1.c: Likewise.
23864         * libio/tst-ungetwc2.c: Likewise.
23865         * libio/tst-widetext.c: Likewise.
23866         * localedata/tst-ctype.c: Likewise.
23867         * localedata/tst-digits.c: Likewise.
23868         * localedata/tst-leaks.c: Likewise.
23869         * localedata/tst-mbswcs1.c: Likewise.
23870         * localedata/tst-mbswcs2.c: Likewise.
23871         * localedata/tst-mbswcs3.c: Likewise.
23872         * localedata/tst-mbswcs4.c: Likewise.
23873         * localedata/tst-mbswcs5.c: Likewise.
23874         * localedata/tst-setlocale.c: Likewise.
23875         * localedata/tst-trans.c: Likewise.
23876         * localedata/tst-wctype.c: Likewise.
23877         * localedata/tst-xlocale1.c: Likewise.
23878         * login/tst-grantpt.c: Likewise.
23879         * malloc/tst-calloc.c: Likewise.
23880         * malloc/tst-malloc.c: Likewise.
23881         * malloc/tst-mallocstate.c: Likewise.
23882         * malloc/tst-mcheck.c: Likewise.
23883         * malloc/tst-mtrace.c: Likewise.
23884         * malloc/tst-obstack.c: Likewise.
23885         * math/atest-exp2.c: Likewise.
23886         * math/atest-exp.c: Likewise.
23887         * math/atest-sincos.c: Likewise.
23888         * math/test-matherr.c: Likewise.
23889         * math/test-misc.c: Likewise.
23890         * math/test-powl.c: Likewise.
23891         * math/tst-definitions.c: Likewise.
23892         * misc/tst-dirname.c: Likewise.
23893         * misc/tst-efgcvt.c: Likewise.
23894         * misc/tst-fdset.c: Likewise.
23895         * misc/tst-hsearch.c: Likewise.
23896         * misc/tst-mntent2.c: Likewise.
23897         * nptl/tst-sem7.c: Likewise.
23898         * nptl/tst-sem8.c: Likewise.
23899         * nptl/tst-sem9.c: Likewise.
23900         * nss/test-netdb.c: Likewise.
23901         * posix/tst-fnmatch.c: Likewise.
23902         * posix/tst-getlogin.c: Likewise.
23903         * posix/tst-gnuglob.c: Likewise.
23904         * posix/tst-mmap.c: Likewise.
23905         * pwd/tst-getpw.c: Likewise.
23906         * resolv/tst-inet_ntop.c: Likewise.
23907         * rt/tst-timer.c: Likewise.
23908         * stdio-common/test-fseek.c: Likewise.
23909         * stdio-common/test-popen.c: Likewise.
23910         * stdio-common/test-vfprintf.c: Likewise.
23911         * stdio-common/tst-cookie.c: Likewise.
23912         * stdio-common/tst-fileno.c: Likewise.
23913         * stdio-common/tst-gets.c: Likewise.
23914         * stdio-common/tst-obprintf.c: Likewise.
23915         * stdio-common/tst-perror.c: Likewise.
23916         * stdio-common/tst-sprintf2.c: Likewise.
23917         * stdio-common/tst-sprintf3.c: Likewise.
23918         * stdio-common/tst-sprintf.c: Likewise.
23919         * stdio-common/tst-swprintf.c: Likewise.
23920         * stdio-common/tst-tmpnam.c: Likewise.
23921         * stdio-common/tst-unbputc.c: Likewise.
23922         * stdio-common/tst-wc-printf.c: Likewise.
23923         * stdlib/tst-environ.c: Likewise.
23924         * stdlib/tst-fmtmsg.c: Likewise.
23925         * stdlib/tst-limits.c: Likewise.
23926         * stdlib/tst-rand48-2.c: Likewise.
23927         * stdlib/tst-rand48.c: Likewise.
23928         * stdlib/tst-random2.c: Likewise.
23929         * stdlib/tst-random.c: Likewise.
23930         * stdlib/tst-strtol.c: Likewise.
23931         * stdlib/tst-strtoll.c: Likewise.
23932         * stdlib/tst-tls-atexit.c: Likewise.
23933         * stdlib/tst-xpg-basename.c: Likewise.
23934         * string/test-ffs.c: Likewise.
23935         * string/tst-bswap.c: Likewise.
23936         * string/tst-inlcall.c: Likewise.
23937         * string/tst-strtok.c: Likewise.
23938         * string/tst-strxfrm.c: Likewise.
23939         * sysdeps/x86_64/tst-audit10.c: Likewise.
23940         * sysdeps/x86_64/tst-audit3.c: Likewise.
23941         * sysdeps/x86_64/tst-audit4.c: Likewise.
23942         * sysdeps/x86_64/tst-audit5.c: Likewise.
23943         * time/tst-ftime_l.c: Likewise.
23944         * time/tst-getdate.c: Likewise.
23945         * time/tst-mktime3.c: Likewise.
23946         * time/tst-mktime.c: Likewise.
23947         * time/tst-posixtz.c: Likewise.
23948         * time/tst-strptime2.c: Likewise.
23949         * time/tst-strptime3.c: Likewise.
23950         * wcsmbs/tst-btowc.c: Likewise.
23951         * wcsmbs/tst-mbrtowc.c: Likewise.
23952         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23953         * wcsmbs/tst-wchar-h.c: Likewise.
23954         * wcsmbs/tst-wcpncpy.c: Likewise.
23955         * wcsmbs/tst-wcrtomb.c: Likewise.
23956         * wcsmbs/tst-wcsnlen.c: Likewise.
23957         * wcsmbs/tst-wcstof.c: Likewise.
23959 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23961         [BZ #14132]
23962         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23963         INTDEF.
23964         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23965         declaration.
23966         (_dl_mcount): Use rtld_hidden_proto.
23967         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23968         _dl_mcount.
23969         * elf/rtld.c (_rtld_global_ro): Likewise.
23971         [BZ #14132]
23972         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23973         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23974         of _dl_init_internal.
23975         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23976         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23977         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23978         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23979         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23980         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23981         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23982         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23983         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23984         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23985         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23986         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23987         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23988         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23989         * sysdeps/tile/dl-start.S (_start): Likewise.
23990         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23991         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23993         [BZ #14132]
23994         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23995         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23996         (rtld_progname): Make macro definition unconditional.
23997         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23998         INTDEF.
23999         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24000         (dl_main): Likewise.
24001         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24002         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24003         instead of _dl_argv_internal.
24004         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24005         __GI__dl_argv instead of INTUSE(_dl_argv).
24006         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24007         __GI__dl_argv instead of _dl_argv_internal.
24009         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24010         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24011         macro.
24012         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24013         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24014         New macro.
24015         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24016         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24017         macro.
24018         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24019         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24021 2014-11-04  Andreas Schwab  <schwab@suse.de>
24023         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24025 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24027         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24028         mtvsrd instruction in binary form.
24030 2014-11-03  Andreas Schwab  <schwab@suse.de>
24032         [BZ #17522]
24033         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24034         for less than MB_LEN_MAX use a local buffer of that size.
24035         * libio/tst-fputws.c: New file.
24036         * libio/Makefile (tests): Add tst-fputws.
24038 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24040         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24041         the size of the fpu_fr.fpu_dregs[] array.
24043 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24045         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24046         (__nanosleep): Do not define as alias.
24047         (nanosleep): Define as alias of __nanosleep.
24048         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24049         __libc_nanosleep name.
24051 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24053         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24054         install.texi in comment.
24056 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24058         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24059         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24060         ... add here and use lwsync or sync ...
24061         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24062         ... and add here using lwsync.
24064 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24066         * elf/dl-machine-reject-phdr.h: New file.
24067         * elf/dl-load.c: #include that.
24068         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24069         if that returned true.
24071 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24073         [BZ #17496]
24074         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24075         gen-as-const-headers chunk.  Add a big scare comment after the last
24076         safe place to touch before-compile.
24078 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24080         * manual/install.texi (Tools for Compilation): Update autoconf
24081         version requirements.
24082         * INSTALL: Regenerated.
24084         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24085         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24086         (__libc_pselect): Likewise.
24088         [BZ #14138]
24089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24094 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24096         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24097         correct barrier instruction.
24098         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24099         Likewise.
24100         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24101         Likewise.
24103 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24105         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24106         after defining inlines.  Instead, just use parens to defeat macro
24107         expansion of __isctype in its declaration.
24109 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24111         * include/sys/uio.h (__libc_readv): Remove declaration.
24112         (__libc_writev): Likewise.
24113         * misc/readv.c (__libc_readv): Rename to __readv.
24114         (__readv): Do not define as alias.
24115         (readv): Define as alias of __readv.
24116         * misc/writev.c (__libc_writev): Rename to __writev.
24117         (__writev): Do not define as alias.
24118         (writev): Define as alias of __writev.
24119         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24120         (__readv): Do not define as alias.
24121         (readv): Define unconditionally as alias of __readv.
24122         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24123         (__writev): Do not define as alias.
24124         (writev): Define unconditionally as alias of __writev.
24125         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24126         name.
24127         (writev): Do not define __libc_writev name.
24129 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24131         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24132         (convert_charseq): New function, broken out of ...
24133         (use_from_charmap): ... here.  Call it.
24134         (use_to_charmap): Use convert_charseq and free instead of duplicating
24135         its code with a variable-length stack struct.
24137 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24139         * include/fcntl.h (__libc_creat): Remove declaration.
24140         * io/creat.c (__libc_creat): Rename to creat.
24141         (creat): Do not define as alias.
24142         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24143         of creat instead of __libc_creat.
24144         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24145         to creat.
24146         (creat): Do not define as alias.
24147         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24148         __libc_creat.
24149         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24150         __libc_creat name.
24151         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24152         Likewise.
24154 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24156         * manual/llio.texi: Add comments discussing why write() may be
24157         considered MT-unsafe on Linux.
24159 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24161         * dl-load.c (local_strdup): Remove.
24162         (expand_dynamic_string_token): Use __strdup.
24163         (decompose_rpath): Likewise.
24164         (_dl_map_object): Likewise.
24166 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24168         [BZ #14132]
24169         * sysdeps/generic/unwind-dw2-fde.c
24170         (__register_frame_info_bases_internal): Do not declare.
24171         (__register_frame_info_table_bases_internal): Likewise.
24172         (__deregister_frame_info_bases_internal): Likewise.
24173         (__register_frame_info_bases): Declare and use hidden_proto before
24174         definition.  Use hidden_def instead of INTDEF.
24175         (__register_frame_info_table_bases): Likewise.
24176         (__deregister_frame_info_bases): Likewise.
24177         (__register_frame_info): Do not use INTUSE.
24178         (__register_frame): Likewise.
24179         (__register_frame_info_table): Likewise.
24180         (__register_frame_table): Likewise.
24181         (__deregister_frame_info): Likewise.
24182         (__deregister_frame): Likewise.
24184 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24186         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24187         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24188         not undefine.
24189         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24190         Likewise.
24191         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24192         Likewise.
24194 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24196         [BZ #14138]
24197         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24198         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24199         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24200         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24201         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24202         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24203         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24204         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24205         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24206         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24207         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24208         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24209         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24210         syscall.
24211         (setfsuid): Likewise.
24212         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24213         (setfsuid): Likewise.
24214         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24215         (setfsuid): Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24217         Likewise.
24218         (setfsuid): Likewise.
24219         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24220         (setfsuid): Likewise.
24221         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24222         Likewise.
24223         (setfsuid): Likewise.
24225 2014-10-27  Andreas Schwab  <schwab@suse.de>
24227         [BZ #17501]
24228         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24229         check for Slow_SSE4_2 feature bit.
24230         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24231         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24232         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24233         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24235 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24237         * configure.ac: Validate compiler version with a empirical test of
24238         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24239         $CC -v output.
24240         * configure: Regenerated.
24242         * inet/htons.c (htons): Prototypify.
24243         * inet/htonl.c (htonl): Likewise.
24245 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24247         * string/strncat.c (strncat): Improve performance by using strlen.
24249 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24251         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24253 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24255         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24256         Call libc_fetestexcept_aarch64.
24258 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24260         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24261         Call libc_feholdexcept_aarch64.
24263 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24265         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24266         Call get_rounding_mode.
24268 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24270         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24271         Simplify logic.
24273 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24275         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24276         Simplify logic.
24278 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24280         [BZ #14138]
24281         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24282         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24283         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24284         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24285         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24286         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24287         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24288         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24289         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24290         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24291         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24292         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24293         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24294         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24295         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24296         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24297         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24298         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24299         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24300         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24301         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24302         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24303         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24304         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24305         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24306         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24307         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24308         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24309         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24310         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24311         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24312         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24313         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24314         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24315         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24316         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24317         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24318         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24319         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24320         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24321         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24322         syscall.
24323         (geteuid): Likewise.
24324         (getgid): Likewise.
24325         (getuid): Likewise.
24326         (getresgid): Likewise.
24327         (getresuid): Likewise.
24328         (getgroups): Likewise.
24329         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24330         (geteuid): Likewise.
24331         (getgid): Likewise.
24332         (getuid): Likewise.
24333         (getresgid): Likewise.
24334         (getresuid): Likewise.
24335         (getgroups): Likewise.
24336         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24337         (geteuid): Likewise.
24338         (getgid): Likewise.
24339         (getuid): Likewise.
24340         (getresgid): Likewise.
24341         (getresuid): Likewise.
24342         (getgroups): Likewise.
24343         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24344         Likewise.
24345         (geteuid): Likewise.
24346         (getgid): Likewise.
24347         (getuid): Likewise.
24348         (getresgid): Likewise.
24349         (getresuid): Likewise.
24350         (getgroups): Likewise.
24351         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24352         (geteuid): Likewise.
24353         (getgid): Likewise.
24354         (getuid): Likewise.
24355         (getresgid): Likewise.
24356         (getresuid): Likewise.
24357         (getgroups): Likewise.
24358         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24359         Likewise.
24360         (geteuid): Likewise.
24361         (getgid): Likewise.
24362         (getuid): Likewise.
24363         (getgroups): Likewise.
24365         [BZ #14138]
24366         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24367         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24368         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24369         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24370         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24371         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24372         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24373         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24374         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24375         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24376         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24377         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24378         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24379         __chown.
24380         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24381         (lchown): Likewise.
24382         (fchown): Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24384         Likewise.
24385         (lchown): Likewise.
24386         (fchown): Likewise.
24387         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24388         (lchown): Likewise.
24389         (fchown): Likewise.
24390         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24391         Likewise.
24392         (lchown): Likewise.
24393         (fchown): Likewise.
24395 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24397         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24398         Simplify logic.
24400 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24402         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24403         Cleanup logic.
24405 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24407         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24408         Remove unused include.
24410 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24412         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24413         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24414         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24415         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24417 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24418             Helge Deller <deller@gmx.de>
24420         [BZ #17508]
24421         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24422         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24423         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24425 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24427         [BZ #14132]
24428         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24429         Remove macro definition.
24430         (__ashrdi3_v_glibc20): Likewise.
24431         (__lshrdi3_v_glibc20): Likewise.
24432         (__cmpdi2_v_glibc20): Likewise.
24433         (__ucmpdi2_v_glibc20): Likewise.
24434         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24435         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24436         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24437         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24438         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24439         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24441 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24443         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24444         old GNU extension [0] syntax.
24445         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24446         alloca rather than an array member with variable length.
24447         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24448         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24449         (parse_opt): ... here.  Likewise use alloca there.
24450         Validate the -i argument before checking for rootness.
24451         (send_shutdown): New function, broken out of ...
24452         (parse_opt): ... here.
24454 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24456         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24457         macro to get at the _rt_local_ro field.
24458         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24459         ([PIC] case) or _dl_hwcap ([!PIC] case).
24460         * sysdeps/arm/setjmp.S: Likewise.
24462         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24463         * sysdeps/arm/configure.ac: New check to define it.
24464         * sysdeps/arm/configure: Regenerated.
24465         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24466         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24467         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24468         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24469         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24470         Use move/movt pair instead of a load.
24471         (LDST_GLOBAL): Macro removed.
24472         (LDR_GLOBAL): New macro replaces it.
24473         (LDR_HIDDEN): New macro.
24474         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24475         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24477         * setjmp/tst-setjmp-static.c: New file.
24478         * setjmp/Makefile (tests): Add it.
24479         (tests-static): New variable.
24481 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24483         [BZ #17485]
24484         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24486 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24488         [BZ #14132]
24489         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24491 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24493         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24495 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24497         * io/fts.c (dirent_not_directory): New function.
24498         (fts_build): Call it.
24500 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24502         * nptl/version.c (__nptl_main): Use normal __write rather than
24503         INTERNAL_SYSCALL.
24504         (banner): Update copyright years.
24506         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24507         gettimeofday.
24508         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24509         * nptl/pthread_cond_timedwait.c: Likewise.
24510         * nptl/pthread_mutex_timedlock.c: Likewise.
24511         * nptl/sem_timedwait.c: Likewise.
24513         * sysdeps/nptl/bits/libc-lock.h
24514         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24515         (__libc_lock_init_recursive): Return void, not 0.
24516         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24517         (__libc_rwlock_init): Likewise.
24518         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24520 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24522         [BZ #15215]
24523         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24524         (__pthread_once_slow): ... here.
24525         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24526         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24528 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24530         [BZ #15215]
24531         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24532         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24533         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24534         * nptl/pthread_once.c (__pthread_once): Likewise.
24535         Update comments.
24537 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24539         [BZ #14138]
24540         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24541         name.
24542         (writev): Use __libc_writev as strong name.
24543         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24544         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24546 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24548         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24550         * sysdeps/i386/nptl/tls.h
24551         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24552         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24553         New macros.
24554         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24555         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24556         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24557         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24558         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24559         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24561         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24562         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24563         on [__NR_futex].
24564         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24565         broken out of ...
24566         (__pthread_mutex_init): ... here.  Call it.
24567         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24568         Conditionalize PI cases on [__NR_futex].
24569         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24570         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24571         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24573         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24574         conditional on [SIGSETXID].
24575         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24576         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24577         is defined.  Likewise for SIGSETXID.
24578         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24579         Conditionalize definitions on [SIGSETXID].
24580         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24581         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24582         unblocking on [SIGCANCEL].
24584         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24585         [__NR_set_robust_list].
24587 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24589         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24590         (do_compare): Likewise.
24592 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24594         [BZ #15884]
24595         * string/strcoll_l.c: Don't include stdio.h.
24596         (coll_seq): Remove members idxarr and rulearr.
24597         (get_next_seq_cached): Remove function.
24598         (get_next_seq): Likewise.
24599         (get_next_seq_nocache): Rename to get_next_seq.
24600         (do_compare): Remove function.
24601         (do_compare_nocache): Rename to do_compare.
24602         (STRCOLL): Remove weight and rules cache.
24604 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24606         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24607         * sysdeps/arm/sfp-machine.h: ... to here.
24608         * sysdeps/arm/Implies: Remove arm/soft-fp.
24610 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24612         * conform/data/sys/utsname.h-data (*_t): Allow.
24613         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24614         [POSIX] (WEXITED): Do not expect constant.
24615         [POSIX] (WSTOPPED): Likewise.
24616         [POSIX] (WNOHANG): Likewise.
24617         [POSIX] (WNOWAIT): Likewise.
24618         [POSIX] (siginfo_t): Do not expect type or elements.
24619         [POSIX] (pid_t): Do not expect type.
24620         [POSIX] (signal.h): Do not allow header.
24621         [POSIX] (sys/resource.h): Likewise.
24622         [POSIX] (si_*): Do not allow pattern.
24623         [POSIX] (W*): Likewise.
24624         [POSIX] (P_*): Likewise.
24625         [POSIX] (BUS_*): Likewise.
24626         [POSIX] (CLD_*): Likewise.
24627         [POSIX] (FPE_*): Likewise.
24628         [POSIX] (ILL_*): Likewise.
24629         [POSIX] (POLL_*): Likewise.
24630         [POSIX] (SEGV_*): Likewise.
24631         [POSIX] (SI_*): Likewise.
24632         [POSIX] (TRAP_*): Likewise.
24633         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24634         variable.
24636 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24638         [BZ #12926]
24639         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24640         infinite loop when __recvmsg returns 0.
24642 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24644         * CANCEL-FCT-WAIVE: Remove file.
24645         * CANCEL-FILE-WAIVE: Likewise.
24647         [BZ #14132]
24648         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24649         instead of INTVARDEF.
24650         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24651         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24652         rtld_hidden_data_def instead of INTVARDEF.
24653         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24654         * elf/dl-deps.c (expand_dst): Likewise.
24655         * elf/dl-load.c (_dl_dst_count): Likewise.
24656         (_dl_dst_substitute): Likewise.
24657         (decompose_rpath): Likewise.
24658         (_dl_init_paths): Likewise.
24659         (open_path): Likewise.
24660         (_dl_map_object): Likewise.
24661         * elf/rtld.c (dl_main): Likewise.
24662         (process_dl_audit): Likewise.
24663         (process_envvars): Likewise.
24664         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24665         Remove declaration.
24666         (__libc_enable_secure): Use rtld_hidden_proto.
24668 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24670         * elf/dl-load.c
24671         (add_path): New function broken out of _dl_rtld_di_serinfo.
24672         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24674 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24676         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24677         parentheses around macro arguments.
24678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24684         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24688         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24689         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24690         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24691         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24692         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24693         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24694         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24702         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24706         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24707         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24710         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24711         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24712         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24713         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24714         Likewise.
24715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24722         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24723         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24724         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24725         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24726         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24727         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24730         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24735         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24736         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24737         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24738         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24739         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24740         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24741         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24742         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24743         (_FP_FRAC_SRS_1): Likewise.
24744         (_FP_FRAC_CLZ_1): Likewise.
24745         (_FP_MUL_MEAT_1_imm): Likewise.
24746         (_FP_MUL_MEAT_1_wide): Likewise.
24747         (_FP_MUL_MEAT_1_hard): Likewise.
24748         (_FP_SQRT_MEAT_1): Likewise.
24749         (_FP_FRAC_ASSEMBLE_1): Likewise.
24750         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24751         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24752         (__FP_CLZ_2): Likewise.
24753         (_FP_MUL_MEAT_2_wide): Likewise.
24754         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24755         (_FP_MUL_MEAT_2_gmp): Likewise.
24756         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24757         (_FP_SQRT_MEAT_2): Likewise.
24758         (_FP_FRAC_ASSEMBLE_2): Likewise.
24759         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24760         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24761         (_FP_FRAC_CLZ_4): Likewise.
24762         (_FP_MUL_MEAT_4_wide): Likewise.
24763         (_FP_MUL_MEAT_4_gmp): Likewise.
24764         (_FP_SQRT_MEAT_4): Likewise.
24765         (_FP_FRAC_ASSEMBLE_4): Likewise.
24766         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24767         * soft-fp/op-common.h (_FP_CMP): Likewise.
24768         (_FP_CMP_EQ): Likewise.
24769         (_FP_CMP_UNORD): Likewise.
24770         (_FP_TO_INT): Likewise.
24771         (_FP_FROM_INT): Likewise.
24772         [!__FP_CLZ] (__FP_CLZ): Likewise.
24773         (_FP_DIV_HELP_imm): Likewise.
24774         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24775         Likewise.
24776         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24778         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24782         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24785         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24786         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24787         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24789         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24790         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24791         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24792         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24794         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24796         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24800         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24804         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24805         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24807         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24808         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24809         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24810         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24811         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24812         (FP_UNPACK_RAW_SP): Likewise.
24813         (FP_PACK_RAW_S): Likewise.
24814         (FP_PACK_RAW_SP): Likewise.
24815         (FP_UNPACK_S): Likewise.
24816         (FP_UNPACK_SP): Likewise.
24817         (FP_UNPACK_SEMIRAW_S): Likewise.
24818         (FP_UNPACK_SEMIRAW_SP): Likewise.
24819         (FP_PACK_S): Likewise.
24820         (FP_PACK_SP): Likewise.
24821         (FP_PACK_SEMIRAW_S): Likewise.
24822         (FP_PACK_SEMIRAW_SP): Likewise.
24823         (_FP_SQRT_MEAT_S): Likewise.
24824         (FP_CMP_S): Likewise.
24825         (FP_CMP_EQ_S): Likewise.
24826         (FP_CMP_UNORD_S): Likewise.
24827         (FP_TO_INT_S): Likewise.
24828         (FP_FROM_INT_S): Likewise.
24830         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24832         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24833         (FP_EX_INVALID_IMZ): Likewise.
24834         (FP_EX_INVALID_IMZ_FMA): Likewise.
24835         (FP_EX_INVALID_ISI): Likewise.
24836         (FP_EX_INVALID_ZDZ): Likewise.
24837         (FP_EX_INVALID_IDI): Likewise.
24838         (FP_EX_INVALID_SQRT): Likewise.
24839         (FP_EX_INVALID_CVI): Likewise.
24840         (FP_EX_INVALID_VC): Likewise.
24841         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24842         "invalid" exceptions.
24843         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24844         (_FP_ADD_INTERNAL): Likewise.
24845         (_FP_MUL): Likewise.
24846         (_FP_FMA): Likewise.
24847         (_FP_DIV): Likewise.
24848         (_FP_CMP_CHECK_NAN): Likewise.
24849         (_FP_SQRT): Likewise.
24850         (_FP_TO_INT): Likewise.
24851         (FP_EXTEND): Likewise.
24853 2014-10-09  Allan McRae  <allan@archlinux.org>
24855         * po/fr.po: Update French translation from translation project.
24857 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24859         [BZ #14132]
24860         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24861         of INTDEF.
24862         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24863         (__cxa_atexit): Use libc_hidden_proto.
24864         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24866         [BZ #14132]
24867         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24868         declaration.
24869         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24870         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24871         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24872         [!_ISOMAC] (__iswctype_internal): Likewise.
24873         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24874         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24875         alias.
24876         (fcntl): Remove __fcntl_internal alias.
24877         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24878         __connect_internal alias.
24879         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24880         Likewise.
24882         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24883         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24884         FP_DENORM_ZERO.
24885         (_FP_CHECK_FLUSH_ZERO): New macro.
24886         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24887         (_FP_CMP): Likewise.
24888         (_FP_CMP_EQ): Likewise.
24889         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24890         FP_DENORM_ZERO.
24891         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24892         (FP_TRUNC): Likewise.
24894         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24895         treated as invalid conversion, not as normal exponent.
24897         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24898         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24899         (_FP_CMP_EQ): Likewise.
24900         (_FP_CMP_UNORD): Likewise.
24901         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24902         (FP_CMP_EQ_D): Likewise.
24903         (FP_CMP_UNORD_D): Likewise.
24904         * soft-fp/extended.h (FP_CMP_E): Likewise.
24905         (FP_CMP_EQ_E): Likewise.
24906         (FP_CMP_UNORD_E): Likewise.
24907         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24908         (FP_CMP_EQ_Q): Likewise.
24909         (FP_CMP_UNORD_Q): Likewise.
24910         * soft-fp/single.h (FP_CMP_S): Likewise.
24911         (FP_CMP_EQ_S): Likewise.
24912         (FP_CMP_UNORD_S): Likewise.
24913         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24914         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24915         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24916         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24917         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24918         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24919         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24920         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24921         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24922         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24923         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24924         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24925         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24926         to FP_CMP_Q.
24927         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24928         FP_CMP_Q.
24929         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24930         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24931         FP_CMP_EQ_Q.
24932         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24933         FP_CMP_Q.
24934         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24935         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24936         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24937         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24938         FP_CMP_EQ_Q.
24939         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24940         FP_CMP_Q.
24941         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24942         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24943         FP_CMP_EQ_Q.
24944         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24945         FP_CMP_Q.
24946         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24947         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24948         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24949         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24950         FP_CMP_EQ_Q.
24952         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24953         a subnormal result, set the underflow exception if trapping on
24954         underflow is enabled.
24955         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24956         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24957         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24958         redefine to 0.
24959         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24960         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24961         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24962         * soft-fp/extendxftf2.c (__extendxftf2): Use
24963         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24965         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24966         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24967         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24968         FP_HANDLE_EXCEPTIONS.
24969         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24970         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24971         FP_HANDLE_EXCEPTIONS.
24972         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24973         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24974         FP_HANDLE_EXCEPTIONS.
24975         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24976         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24977         FP_HANDLE_EXCEPTIONS.
24979 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24981         [BZ #14132]
24982         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24983         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24984         use INTUSE.
24985         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24986         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24987         Remove alias.
24988         (__adjtimex): Define using libc_hidden_ver.
24989         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24990         Remove declaration.
24991         (ntp_gettime): Call __adjtimex directly.
24992         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24993         Remove declaration.
24994         (ntp_gettimex): Call __adjtimex directly.
24995         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24996         __adjtimex_internal alias.
24998 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25000         [BZ #17460]
25001         * nscd/nscd.c (more_help): Rewrite list of tables collection
25002         using xstrdup and asprintf.
25004         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25006 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25007             Roland McGrath  <roland@hack.frob.com>
25009         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25010         (do_lookup_unique): ... local function 'enter' here; update callers.
25012 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25014         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25015         compat_symbol calls on [SHARED].
25016         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25017         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25018         Remove.
25019         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25020         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25021         (oldsetrlimit): Remove.
25022         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25024         (lchown): New syscall entry.
25025         (oldsetrlimit): Remove.
25026         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25027         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25028         (oldsetrlimit): Remove.
25029         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25031         [BZ #14138]
25032         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25033         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25034         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25035         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25036         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25037         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25038         (fchown): Likewise.
25039         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25040         (fchown): Likewise.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25042         Likewise.
25044 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25047         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25048         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25049         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25050         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25051         Likewise.
25052         (__old_sem_post): Likewise.
25054 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25056         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25057         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25058         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25059         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25060         Use INLINE_VSYSCALL macro.
25061         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25062         __vdso_clock_gettime.
25063         * sysdeps/unix/sysv/linux/tile/init-first.c
25064         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25065         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25066         __vdso_clock_gettime.
25068         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25069         to set up frame more cleanly.
25071         * sysdeps/tile/memcmp.c: New file.
25073         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25075         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25076         * sysdeps/tile/tilegx/strcasestr.c: New file.
25077         * sysdeps/tile/tilegx/strnlen.c: New file.
25078         * sysdeps/tile/tilegx/strstr.c: New file.
25080         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25082 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25084         * nptl/tst-setuid3.c: Write errors to stdout.
25086 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25088         * elf/dl-deps.c
25089         (preload): New functions broken out of _dl_map_object_deps.
25090         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25092 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25094         [BZ #14138]
25095         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25096         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25098 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25100         * sysdeps/mips/strcmp.S: New.
25102 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #14138]
25105         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25106         (linkat): Likewise.
25107         (mkdirat): Likewise.
25108         (readlinkat): Likewise.
25109         (renameat): Likewise.
25110         (symlinkat): Likewise.
25111         (unlinkat): Likewise.
25112         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25113         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25114         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25115         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25116         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25117         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25118         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25120 2014-09-30  Will Newton  <will.newton@linaro.org>
25122         * math/math.h: Define long double math functions if
25123         _LIBC_TEST is defined.
25124         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25126         * localedata/Makefile: Move assignment to tests-special
25127         into an ifdef testing run-built-tests.
25128         * timezone/Makefile: Likewise.
25130 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25132         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25133         with $(BASH) not $(SHELL).
25135 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25136             Matthew LeGendre  <legendre1@llnl.gov>
25138         [BZ #17411]
25139         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25140         l_reloc_result.
25142 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25144         * stdio-common/printf_fp.c
25145         (hack_digit): New function, broken out of ...
25146         (__printf_fp): ... local function here.  Update call sites.
25147         hack_digit now takes an additional parameter that is a pointer
25148         to a struct of the referenced locals.  Those locals moved inside
25149         the struct and references updated.
25151 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25153         * aclocal.m4: Require autoconf 2.69.
25154         * configure: Regenerated.
25155         * sysdeps/aarch64/configure: Likewise.
25156         * sysdeps/alpha/configure: Likewise.
25157         * sysdeps/arm/armv7/configure: Likewise.
25158         * sysdeps/arm/configure: Likewise.
25159         * sysdeps/ia64/configure: Likewise.
25160         * sysdeps/mach/configure: Likewise.
25161         * sysdeps/mips/configure: Likewise.
25162         * sysdeps/s390/configure: Likewise.
25163         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25166         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25167         file.
25168         * sysdeps/ia64/configure.ac: Likewise.
25170 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25173         specify symbol version for ld.so.  Do not include entry for
25174         libpthread.
25175         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25176         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25177         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25179         [BZ #14171]
25180         * Makeconfig [$(build-shared) = yes]
25181         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25182         makefiles.
25183         [$(build-shared) = yes && $(soversions.mk-done) = t]
25184         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25185         [$(build-shared) = yes && $(soversions.mk-done) = t]
25186         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25187         to Makerules.
25188         [$(build-shared) = yes && $(soversions.mk-done) = t]
25189         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25190         here.
25191         [$(build-shared) = yes && $(soversions.mk-done) = t]
25192         (common-generated): Don't append gnu/lib-names.h and
25193         gnu/lib-names.stmp here.
25194         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25195         (lib-names-h-abi): New variable.
25196         [$(build-shared) = yes && $(soversions.mk-done) = t]
25197         (lib-names-stmp-abi): Likewise.
25198         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25199         abi-variants] (before-compile): Append
25200         $(common-objpfx)$(lib-names-h-abi).
25201         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25202         abi-variants] (common-generated): Append gnu/lib-names.h.
25203         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25204         abi-variants] (install-others-nosubdir): Depend on
25205         $(inst_includedir)/$(lib-names-h-abi).
25206         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25207         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25208         [$(build-shared) = yes && $(soversions.mk-done) = t]
25209         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25210         [$(build-shared) = yes && $(soversions.mk-done) = t]
25211         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25212         [$(build-shared) = yes && $(soversions.mk-done) = t]
25213         (common-generated): Append $(lib-names-h-abi) and
25214         $(lib-names-stmp-abi).
25215         * scripts/lib-names.awk: Do not handle multi being set.
25216         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25217         Remove variable.
25218         (abi-lp64_be-ld-soname): Likewise.
25219         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25220         Likewise.
25221         (abi-hard-ld-soname): Likewise.
25222         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25223         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25224         Remove variable.
25225         (abi-o32_hard-ld-soname): Likewise.
25226         (abi-o32_soft_2008-ld-soname): Likewise.
25227         (abi-o32_hard_2008-ld-soname): Likewise.
25228         (abi-n32_soft-ld-soname): Likewise.
25229         (abi-n32_hard-ld-soname): Likewise.
25230         (abi-n32_soft_2008-ld-soname): Likewise.
25231         (abi-n32_hard_2008-ld-soname): Likewise.
25232         (abi-n64_soft-ld-soname): Likewise.
25233         (abi-n64_hard-ld-soname): Likewise.
25234         (abi-n64_soft_2008-ld-soname): Likewise.
25235         (abi-n64_hard_2008-ld-soname): Likewise.
25236         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25237         Likewise.
25238         (abi-64-v2-ld-soname): Likewise.
25239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25240         ld.so entries.
25241         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25242         variable.
25243         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25244         entry.
25245         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25246         variable.
25247         (abi-64-ld-soname): Likewise.
25248         (abi-x32-ld-soname): Likewise.
25249         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25250         entry.
25251         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25253 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25255         [BZ #14138]
25256         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25257         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25258         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25259         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25260         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25261         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25262         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25263         syscall entry for GLIBC_2.2 symbol version.
25264         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25265         Likewise.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25267         (setrlimit): Likewise.
25268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25269         Likewise.
25271 2014-09-23  Will Newton  <will.newton@linaro.org>
25273         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25274         _LINUX_ARM_SYSDEP_H include guard too.
25275         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25276         define.
25278 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25280         * sysdeps/unix/sysv/linux/eventfd.c:
25281         Make first argument unsigned.
25282         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25283         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25285 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25287         [BZ #16852]
25288         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25289         * socket/sys/socket.h: Likewise.
25290         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25292 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25294         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25296 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25298         * time/tst-ftime.c: New test.
25299         * time/Makefile (tests): Add tst-ftime.
25301 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25303         * soft-fp/extended.h: Fix comment formatting.
25304         * soft-fp/op-1.h: Likewise.
25305         * soft-fp/op-2.h: Likewise.
25306         * soft-fp/op-4.h: Likewise.
25307         * soft-fp/op-8.h: Likewise.
25308         * soft-fp/op-common.h: Likewise.
25309         * soft-fp/soft-fp.h: Likewise.
25311         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25313 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25315         [BZ #6652]
25316         * Makeconfig (soversions-default-setname): Remove variable.
25317         ($(common-objpfx)soversions.i): Don't pass default_setname to
25318         soversions.awk.
25319         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25320         oldest_abi to abi-versions.awk.
25321         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25322         * config.make.in (oldest-abi): Remove variable.
25323         * configure.ac (--enable-oldest-abi): Remove configure option.
25324         * configure: Regenerated.
25325         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25326         text.
25327         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25328         * scripts/soversions.awk: Do not handle default_setname variable.
25329         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25330         variable.
25331         * sysdeps/mach/hurd/configure: Regenerated.
25332         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25333         variable.
25334         * sysdeps/unix/sysv/linux/configure: Regenerated.
25336 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25338         * elf/Makefile (CFLAGS-interp.c): Remove.
25339         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25340         path string.
25341         * elf/interp.c: Include generated runtime-linker.h
25343         * Makerules (lib%.so): Don't include $(+interp) in
25344         prerequisites.
25345         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25346         * dlfcn/eval.c: Remove file.
25348         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25349         macros.
25351         [BZ #17266]
25352         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25353         4.2 and newer.
25355         [BZ #17370]
25356         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25358 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25359             Jakub Jelinek  <jakub@redhat.com>
25361         [BZ #17266]
25362         * libio/stdio.h: Check definition of __fortify_function
25363         instead of __extern_always_inline to include bits/stdio2.h.
25364         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25365         check if __extern_always_inline is defined.
25366         [__USE_MISC || __USE_XOPEN]: Likewise.
25367         [__USE_ISOC99] Likewise.
25368         * misc/sys/cdefs.h (__fortify_function): Define only if
25369         __extern_always_inline is defined.
25370         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25371         __extern_always_inline and __extern_inline only for g++-4.3
25372         and newer or a compatible gcc.
25374 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25376         [BZ #17371]
25377         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25378         last change to handle zero prefix length.
25380 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25382         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25383         _SC_REGEX_VERSION.
25385         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25386         _POSIX_RAW_SOCKETS.
25388 2014-09-13  Allan McRae  <allan@archlinux.org>
25390         * po/ru.po: Update Russian translation from translation project.
25392 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25394         * locale/programs/locale.c (show_locale_vars): Inline local function
25395         into its sole call site.  Clean up some style nits.
25396         (print_item): New function, broken out of ...
25397         (show_info): ... local function here.  Clean up style nits.
25399         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25400         out of ...
25401         (set_class_defaults): ... local function set_default here.
25402         Define set_default as a macro locally to pass constant parameters.
25403         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25404         rather than a shared local.
25406         * stdlib/rpmatch.c (try): New function, broken out of ...
25407         (rpmatch): ... local function here.  Also, prototypify definition.
25409 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25411         * scripts/soversions.awk: Do not handle configuration names.
25412         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25413         vendor and os variables to soversions.awk.
25414         * configure.ac: Do not modify gnu-* host_os.
25415         * configure: Regenerated
25416         * shlib-versions: Remove first column with configuration names.
25417         * nptl/shlib-versions: Likewise.
25418         * nptl_db/shlib-versions: Likewise.
25419         * sysdeps/hppa/shlib-versions: Likewise.
25420         * sysdeps/m68k/shlib-versions: Likewise.
25421         * sysdeps/mach/hurd/shlib-versions: Likewise.
25422         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25423         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25424         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25425         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25426         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25427         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25428         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25429         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25431         Likewise.
25432         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25433         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25434         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25435         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25436         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25437         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25438         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25439         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25442         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25444         Regenerated.
25445         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25447         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25449         * shlib-versions: Remove OS-specific entries.  Moved to files in
25450         sysdeps.
25451         * sysdeps/mach/hurd/shlib-versions: New file.
25452         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25454         * nptl/shlib-versions: Remove architecture-specific entries.
25455         Moved to files in sysdeps.
25456         * shlib-versions: Likewise.
25457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25458         file.
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/sparc/sparc32/shlib-versions: Likewise.
25462         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25464         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25465         (UDP_NO_CHECK6_RX): Likewise.
25467 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25469         * sysdeps/posix/sysconf.c (__sysconf): Spell
25470         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25472 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25474         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25475         loading.
25476         * iconv/Versions (__gconv_transliterate): Export for use from
25477         gconv modules.
25478         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25479         (struct __gconv_trans_data, __gconv_trans_fct,
25480         __gconv_trans_context_fct, __gconv_trans_query_fct,
25481         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25482         definitions.
25483         (struct __gconv_step_data): Remove __trans member.
25484         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25485         longer hidden.  Remove unused trans_data argument.
25486         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25487         (__gconv_translit_find): Remove declaration.
25488         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25489         prototype.
25490         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25491         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25492         trans_data argument.  Add hidden definition.
25493         (__gconv_translit_find): Remove.
25494         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25495         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25496         * iconv/skeleton.c: Remove transliteration initialization.
25497         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25498         __gconv_step_data initialization.
25499         * libio/iofwide.c (__libio_translit_): Remove.
25500         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25501         * wcsmbs/btowc.c (__btowc): Likewise.
25502         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25503         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25504         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25505         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25506         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25507         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25508         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25509         * wcsmbs/wctob.c (wctob): Likewise.
25511 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25513         [BZ #16194]
25514         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25515         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25516         register usage.
25517         * sysdeps/x86/Makefile: Adjust.
25519 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25520             Roland McGrath  <roland@hack.frob.com>
25522         * locale/weight.h: Add include guard.
25523         (findidx): Make static rather than auto; take new parameters
25524         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25525         * locale/weightwc.h: Likewise.
25526         * posix/fnmatch_loop.c
25527         (FCT): Change type of EXTRA from int32_t to wint_t.
25528         Don't include either header inside the function.
25529         Call FINDIDX rather than findidx, and pass new arguments.
25530         #undef FINDIDX at the end of the file.
25531         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25532         FINDIDX before including fnmatch_loop.c for the non-wide version.
25533         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25534         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25535         for the wide version.
25536         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25537         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25538         Pass new arguments to findidx.
25539         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25540         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25541         Don't #include it inside the function.  Pass new arguments to findidx.
25542         * posix/regex_internal.h
25543         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25544         (re_string_elem_size_at): Don't #include it inside the function.
25545         Pass new arguments to findidx.
25546         * string/strcoll_l.c: #include WEIGHT_H at top level.
25547         (get_next_seq): Don't #include it inside the function.
25548         Pass new arguments to findidx.
25549         (get_next_seq_nocache): Likewise.
25550         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25551         (STRXFRM): Don't #include it inside the function.
25552         Pass new arguments to findidx.
25554 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25556         [BZ #17344]
25557         * malloc/malloc.c (unlink): Turn asserts into a call to
25558         malloc_printerr.
25560 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25562         [BZ #17370]
25563         * libio/wfileops (do_ftell_wide): Free OUT.
25565 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25567         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25569 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25571         [BZ #17363]
25572         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25573         group if the current group is empty.
25575 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25577         * benchtests/bench-memset.c (test_main): Add more test from size
25578         from 32 to 512 bytes.
25579         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25580         Add POWER8 memset object.
25581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25582         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25583         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25584         implementation.
25585         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25586         Likewise.
25587         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25588         multiarch POWER8 memset optimization.
25589         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25590         POWER8 memset optimization.
25592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25593         Remove bzero multiarch objects.
25594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25595         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25596         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25597         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25598         Remove define.
25599         [__bzero]: Redefine to specific name.
25600         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25602         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25603         define.
25604         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25605         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25607 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25609         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25610         warnings into errors.
25612         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25613         __cxa_thread_atexit_impl prototype.
25615 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25617         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25618         Fix capitalization of error message.
25620 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25622         * sysdeps/mips/preconfigure: Modify ABI tests.
25624 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25626         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25628 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25629             Carlos O'Donell  <carlos@systemhalted.org>
25631         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25632         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25633         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25634         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25635         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25636         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25637         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25638         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25639         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25640         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25644         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25646         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25648         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25649         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25650         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25651         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25652         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25653         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25654         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25655         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25656         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25657         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25658         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25659         Deconditionalize the code that was previously under [RESET_PID].
25660         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25661         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25662         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25663         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25664         include sysdep.h.
25666 2014-09-08  Allan McRae  <allan@archlinux.org>
25668         * version.h (RELEASE): Set to "development".
25669         (VERSION): Set to "2.20.90"
25671 2014-09-07  Allan McRae  <allan@archlinux.org
25673         * version.h (RELEASE): Set to "stable".
25674         (VERSION): Set to "2.20"
25675         * include/features.h (__GLIBC_MINOR__): Set to 20.
25677         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25678         Liebler.
25680         * po/ko.po: Update Korean translation from translation project.
25682 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25684         [BZ #17354]
25685         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25686         macro for handling signed relocations.
25688 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25690         [BZ #17325]
25691         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25692         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25693         assert.
25694         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25695         * iconvdata/ibm935.c (BODY): Likewise.
25696         * iconvdata/ibm937.c (BODY): Likewise.
25697         * iconvdata/ibm939.c (BODY): Likewise.
25698         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25699         assert.
25700         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25701         script.
25702         * iconvdata/run-iconv-test.sh: New test loop for checking for
25703         decoder crashers.
25705 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25708         libm_hidden_ver.
25710 2014-09-01  Allan McRae  <allan@archlinux.org>
25712         * po/eo.po: Update Esperanto translation from translation project.
25714         * po/ca.po: Update Catalan translation from translation project.
25716 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25718         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25719         __proc_dostop call.
25721 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25723         [BZ #17319]
25724         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25725         to call set_thread_area instead of hand written asm.
25726         (__NR_set_thread_area): Removed define.
25727         (TLS_FLAG_WRITABLE): Likewise.
25728         (__ASSUME_SET_THREAD_AREA): Remove check.
25729         (TLS_EBX_ARG): Remove define.
25730         (TLS_LOAD_EBX): Likewise.
25732 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25734         Simplify atomicity of socket creation in bind.
25736         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25737         looking up the name after linking the file.
25739 2014-08-27  Allan McRae  <allan@archlinux.org>
25741         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25743 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25745         [BZ #17187]
25746         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25747         trans_compare, open_translit, __gconv_translit_find):
25748         Remove module loading code.
25750 2014-08-26  Allan McRae  <allan@archlinux.org>
25752         * po/vi.po: Update Vietnamese translation from translation project.
25754         * po/uk.po: Update Ukrainian translation from translation project.
25756         * po/fr.po: Update French translation from translation project.
25758         * po/ru.po: Update Russian translation from translation project.
25760         * po/pl.po: Update Polish translation from translation project.
25762         * po/cs.po: Update Czech translation from translation project.
25764         * po/de.po: Update German translation from translation project.
25766         * po/bg.po: Update Bulgarian translation from translation project.
25768         * po/sv.po: Update Sweedish translation from translation project.
25770         * po/nl.po: Update Dutch translation from translation project.
25772         * po/es.po: Update Spanish translation from translation project.
25774 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25776         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25778         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25779         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25780         (CPPFLAGS-iconvconfig): Likewise.
25781         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25783         * include/libc-symbols.h: Remove unnecessary check for
25784         NOT_IN_libc.
25785         * nptl/pthreadP.h: Likewise.
25786         * sysdeps/aarch64/setjmp.S: Likewise.
25787         * sysdeps/alpha/setjmp.S: Likewise.
25788         * sysdeps/arm/sysdep.h: Likewise.
25789         * sysdeps/i386/setjmp.S: Likewise.
25790         * sysdeps/m68k/setjmp.c: Likewise.
25791         * sysdeps/posix/getcwd.c: Likewise.
25792         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25793         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25794         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25795         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25796         * sysdeps/sh/sh3/setjmp.S: Likewise.
25797         * sysdeps/sh/sh4/setjmp.S: Likewise.
25798         * sysdeps/unix/alpha/sysdep.h: Likewise.
25799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25800         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25801         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25802         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25807         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25808         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25810         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25812         * sysdeps/x86_64/setjmp.S: Likewise.
25814 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25816         [BZ #17263]
25817         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25818         <stdint.h>.
25819         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25820         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25822 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25824         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25826         [BZ #17262]
25827         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25828         and __x86_64__ when disabling x87 inline functions.
25830 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25832         [BZ #17259]
25833         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25834         asm statement with __cpuid_count.
25836 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25838         * configure.ac: Change __ehdr_start code to dereference the struct.
25839         Run readelf on the output to look for relocations.
25840         * configure: Regenerated.
25842 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25844         [BZ #17261]
25845         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25846         value to 0.
25847         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25849 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25851         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25853 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25855         [BZ #16892]
25856         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25857         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25859 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25861         * malloc/malloc.c: Fix typo in comment.
25863 2014-08-09  Allan McRae  <allan@archlinux.org>
25865         * Regenerate libc.po.
25867 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25869         * intl/tst-gettext2.sh: Check every lang file for creation.
25871 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25873         * sysdeps/aarch64/fpu/math_private.h
25874         (libc_feholdsetround_noex_aarch64_ctx): New function.
25876 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25878         * sysdeps/arm/armv6/strcpy.S (strcpy):
25879         Fix performance issue in misaligned cases.
25881 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25883         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25884         Move definition from termios.h.
25885         (struct termio): Likewise.
25886         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25887         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25888         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25889         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25890         Likewise.
25891         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25892         Move definition to ioctl-types.h
25893         (struct termio): Likewise.
25894         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25895         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25896         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25897         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25898         Likewise.
25900 2014-08-05  Richard Henderson  <rth@redhat.com>
25902         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25903         exceptions.
25904         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25905         Add fraiseexcpt.
25906         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25907         Use __feraiseexcept.
25908         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25909         Protect libm symbols with IS_IN_libm.
25911         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25913 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25915         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25917 2014-08-04  Will Newton  <will.newton@linaro.org>
25919         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25920         file.
25922 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25924         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25925         variants for each function.
25927 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25929         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25930         appended ...
25931         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25932         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25933         appended ...
25934         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25935         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25936         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25937         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25938         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25939         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25940         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25941         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25942         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25943         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25944         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25945         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25948         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25949         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25950         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25951         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25954         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25956         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25957         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25958         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25959         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25960         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25961         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25962         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25963         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25964         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25965         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25966         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25967         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25968         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25970         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25971         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25972         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25973         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25974         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25976         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25978         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25979         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25980         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25981         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25982         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25983         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25984         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25985         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25986         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25987         Update #include.
25988         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25989         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25991 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25993         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25994         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25995         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25996         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25997         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25998         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26000 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26002         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26003         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26004         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26005         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26007 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26009         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26010         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26011         (__libc_vfork): Define function under this name.
26012         (__vfork): Define as an alias.
26013         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26014         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26016 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26018         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26019         that was previously under [RESET_PID].
26020         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26022 2014-08-04  Andreas Schwab  <schwab@suse.de>
26024         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26026 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26028         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26029         (main): Likewise.
26031 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26033         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26035 2014-08-01  Richard Henderon  <rth@redhat.com>
26037         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26038         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26039         typo in exact zero test.
26040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26041         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26044 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26046         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26047         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26048         * sysdeps/arm/sysdep.h: ... here.
26049         [!__ASSEMBLER__]: Include <stdint.h>.
26051 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26053         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26054         (HAVE_WCTYPE_H): Likewise.
26055         (HAVE_ISWCTYPE): Likewise.
26056         (ENABLE_NLS): Likewise.
26057         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26058         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26060         * posix/regex_internal.c: Check if DEBUG is defined and is
26061         set.
26063         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26064         (HAVE_MBSRTOWCS): Likewise.
26065         * posix/fnmatch.c: Include string.h unconditionally.
26067 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26069         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26070         reversal.
26072 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26074         * sysdeps/generic/safe-fatal.h: New file.
26075         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26076         * nptl/forward.c: Include it.
26077         (__pthread_unwind): Use __safe_fatal as default action, rather
26078         than a bogus use of INTERNAL_SYSCALL that could never work.
26080         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26081         * configure.ac (libc_cv_builtin_trap): New test.
26082         * configure: Regenerated.
26083         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26084         (ABORT_INSTRUCTION): Define using __builtin_trap.
26086         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26087         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26088         * sysdeps/nptl/nptl-signals.h: New file.
26089         * nptl/pthreadP.h: Include <nptl-signals.h>.
26091 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26093         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26094         (ONE_DIRECTION): Define.
26095         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26096         (ONE_DIRECTION): Define.
26097         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26098         (ONE_DIRECTION): Define.
26100 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26102         * sysdeps/s390/Makefile: Delete file.
26103         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26104         * sysdeps/s390/__longjmp.c: Delete file.
26105         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26106         Remove fields __flags and __reserved.
26107         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26108         and add versioning.
26109         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26110         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26111         * sysdeps/s390/rtld-setjmp.S: Likewise.
26112         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26113         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26114         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26115         * sysdeps/s390/s390-32/setjmp.S: ... here.
26116         Add versioning.
26117         (__sigsetjmp): Remove setting __flags field.
26118         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26119         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26120         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26121         * sysdeps/s390/s390-64/setjmp.S: ... here.
26122         Add versioning.
26123         (__sigsetjmp): Remove setting __flags field.
26124         * sysdeps/s390/setjmp.S: Delete file.
26125         * sysdeps/s390/sigjmp.c: Likewise.
26126         * sysdeps/s390/v1-longjmp.c: Likewise.
26127         * sysdeps/s390/v1-setjmp.h: Likewise.
26128         * sysdeps/s390/v1-sigjmp.c: Likewise.
26129         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26130         Remove v1-longjmp_chk.
26131         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26132         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26133         Include debug/longjmp_chk.c and add versioning.
26134         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26135         Include nptl/pt-longjmp.c and add versioning.
26136         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26137         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26138         Include __longjmp.c.
26139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26140         Move to ...
26141         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26142         (__getcontext): Remove setting __flags field.
26143         Add versioning.
26144         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26145         Don't restore upper high grps.
26146         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26147         Likewise.
26148         (__swapcontext): Remove setting uc_flags field.
26149         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26150         Delete file.
26151         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26152         Include __longjmp.c.
26153         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26154         Move to ...
26155         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26156         (__getcontext): Remove setting __flags field.
26157         Add versioning.
26158         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26159         (__swapcontext): Remove setting uc_flags field.
26160         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26161         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26162         Remove fields uc_high_gprs and __reserved.
26163         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26164         New file with reverted content.
26165         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26166         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26167         Regenerated.
26168         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26169         Regenerated.
26171 2014-07-31  Andreas Schwab  <schwab@suse.de>
26173         * config.h.in (HAVE_IFUNC): Define to 0.
26174         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26175         definedness.
26177 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26180         memmove-avx-unaligned, memcpy-avx-unaligned and
26181         mempcpy-avx-unaligned.
26182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26183         Add tests for AVX memcpy functions.
26184         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26185         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26186         memcpy_chk.
26187         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26188         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26189         memmove_chk.
26190         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26191         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26192         mempcpy_chk.
26193         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26194         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26195         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26197 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26199         [BZ #17213]
26200         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26201         powerpc64le.
26203 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26205         [BZ #16839]
26206         * manual/llio.texi: Add section about open file description locks.
26207         * manual/examples/ofdlocks.c: Example of open file description
26208         lock usage.
26209         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26210         F_OFD_SETLK, and F_OFD_SETLKW.
26212 2014-07-23  Allan McRae  <allan@archlinux.org>
26214         * po/es.po: Update Spanish translation from translation project.
26216 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26218         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26220 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26222         [BZ #17078]
26223         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26224         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26225         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26227 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26229         [BZ #17088]
26230         * math/fesetenv.c (__fesetenv)
26231         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26232         * math/feupdateenv.c (__feupdateenv)
26233         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26235         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26236         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26237         (__ASSUME_SOCKETCALL): Do not define.
26239         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26240         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26241         (__ASSUME_SOCKETCALL): Do not define.
26242         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26243         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26244         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26245         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26246         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26247         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26248         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26249         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26251         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26252         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26253         (__ASSUME_SOCKETCALL): Do not define.
26254         (__ASSUME_IPC64): Define unconditionally.
26255         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26256         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26257         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26258         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26259         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26260         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26261         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26262         Likewise.
26264         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26265         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26266         (__ASSUME_SOCKETCALL): Do not define.
26267         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26268         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26269         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26270         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26271         (__ASSUME_REQUEUE_PI): Define unconditionally.
26272         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26273         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26274         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26275         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26276         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26277         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26279         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26280         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26281         (__ASSUME_SOCKETCALL): Do not define.
26282         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26284         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26285         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26286         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26287         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26289         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26290         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26291         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26292         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26293         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26294         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26295         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26296         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26297         (__ASSUME_GETCPU_SYSCALL): Likewise.
26299         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26300         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26301         cases for individual architectures.
26302         * sysdeps/gnu/configure: Regenerated.
26303         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26304         LIBC_SLIBDIR_RTLDDIR.
26305         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26306         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26307         LIBC_SLIBDIR_RTLDDIR.
26308         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26310         LIBC_SLIBDIR_RTLDDIR.
26311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26312         Regenerated.
26313         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26314         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26315         file.
26316         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26317         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26318         file.
26319         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26320         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26321         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26322         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26324         * sysdeps/aarch64/shlib-versions: Move to ...
26325         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26326         * sysdeps/alpha/shlib-versions: Move to ...
26327         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26328         * sysdeps/arm/shlib-versions: Move to ...
26329         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26330         * sysdeps/hppa/shlib-versions: Move all contents except for
26331         libgcc_s entry to ...
26332         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26333         entry from ...
26334         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26335         * sysdeps/ia64/shlib-versions: Move to ...
26336         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26337         entry from ...
26338         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26339         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26340         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26341         * sysdeps/microblaze/shlib-versions: Move to ...
26342         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26343         * sysdeps/mips/shlib-versions: Move to ...
26344         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26345         entry from ...
26346         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26347         * sysdeps/tile/shlib-versions: Move to ...
26348         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26349         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26350         from ...
26351         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26352         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26353         entry from ...
26354         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26356 2014-07-17  Will Newton  <will.newton@linaro.org>
26358         * sysdeps/arm/bits/atomic.h
26359         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26360         (__arch_compare_and_exchange_bool_16_int): Likewise.
26361         (__arch_compare_and_exchange_bool_64_int): Likewise.
26363         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26364         into an #else block.
26366 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26368         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26369         just Linux configurations.  Test empirically that the compiler sets
26370         __ARM_EABI__, rather than using the tuple to decide.
26371         * sysdeps/arm/preconfigure: Regenerated.
26372         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26373         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26374         contents appended ...
26375         * sysdeps/arm/configure.ac: ... here.
26376         * sysdeps/arm/configure: Regenerated.
26378 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26380         * nptl/pthread_kill.c: New file.
26381         * nptl/pthread_sigmask.c: New file.
26382         * nptl/pthread_sigqueue.c: New file.
26384         * sysdeps/nptl/lowlevellock.h: New file.
26385         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26386         * sysdeps/nptl/lowlevellock-futex.h: New file.
26388         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26389         Remove dead declarations.
26391 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26393         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26394         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26395         config-cflags-avx2.
26396         * sysdeps/x86_64/configure.ac: Likewise.
26397         * sysdeps/i386/configure: Regenerated.
26398         * sysdeps/x86_64/configure: Likewise.
26399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26400         memset-avx2 only if config-cflags-avx2 is yes.
26401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26402         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26403         defined.
26404         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26405         only if HAVE_AVX2_SUPPORT is defined.
26406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26408 2014-07-14  Alan Modra  <amodra@gmail.com>
26410         [BZ #17153]
26411         * elf/elf.h (DT_PPC64_NUM): Correct value.
26412         * NEWS: Add to fixed bug list.
26414 2014-07-13  Jim Meyering  <meyering@fb.com>
26416         [BZ 17150]
26417         regex: don't deref NULL upon heap allocation failure
26418         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26419         failure in one more place.
26420         To trigger the segfault, configure grep -with-included-regex,
26421         build it, and run these commands:
26422         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26424 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26426         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26428 2014-07-11  Richard Henderson  <rth@redhat.com>
26430         * sysdeps/aarch64/libm-test-ulps: Update.
26432 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26434         [BZ #17135]
26435         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26436         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26437         (__nptl_setxid): Initialize error member.  Call
26438         __nptl_setxid_error.
26439         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26440         * nptl/descr.h (struct xid_command): Add error member.
26441         * nptl/tst-setuid3.c: New file.
26442         * nptl/Makefile (tests): Add it.
26444 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26446         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26447         New define.
26448         (__lll_trylock): Use __lll_base_trylock.
26449         (__lll_cond_trylock): Likewise.
26451 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26453         * nptl/pthread_create.c (start_thread): Use atomic_or and
26454         lll_futex_wake directly rather than lll_robust_dead.
26455         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26456         (lll_robust_dead): Macro removed.
26457         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26458         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26459         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26460         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26461         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26462         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26463         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26464         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26465         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26466         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26467         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26468         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26470         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26471         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26473         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26474         Use atomic_compare_and_exchange_val_acq directly rather than
26475         lll_robust_trylock.
26476         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26477         (__lll_robust_trylock, lll_robust_trylock): Removed.
26478         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26479         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26480         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26482         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26483         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26484         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26485         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26487         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26488         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26489         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26490         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26491         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26493 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26495         * manual/locale.texi (Locale Names): New section documenting
26496         locale name syntax.  Adjust menu and node chaining accordingly.
26497         (Choosing Locale): Reference Locale Names, Locale Categories.
26498         Mention setting LC_ALL=C.  Reflect that name syntax is now
26499         documented.
26500         (Locale Categories): New section title.  Reference Locale Names.
26501         LC_ALL is an environment variable, but not a category.
26502         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26503         description, now in Locale Name.  Reference that section.  Locale
26504         name syntax is now documented.
26506 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26508         [BZ #17137]
26509         * locale/findlocale.c (name_present, valid_locale_name): New
26510         functions.
26511         (_nl_find_locale): Use the loc_name variable to store name
26512         candidates.  Call name_present and valid_locale_name to check and
26513         validate locale names.  Return an error if the locale is invalid.
26515 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26517         * locale/setlocale.c (setlocale): Use strdup for allocating
26518         composite name copy.
26520 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26522         Sync up with gnulib.
26523         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26524         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26525         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26526         and _GL_ARG_NONNULL.
26527         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26528         [!_LIBC]: Include code for Windows and Cygwin.
26529         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26530         Include prototype for int strerror_r.
26531         [!_LIBC] (is_open): New function.
26532         (flush_stdout): New function.
26533         (print_errno_message): Use it.
26534         (error): Likewise.
26535         (error_at_line): Likewise.
26536         (error_tail) Add function attribute macros.  Use
26537         __builtin_expect.
26539         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26541         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26543         * io/ftw.c: Include sys/param.h unconditionally.
26545         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26547         [BZ #17125]
26548         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26549         libc_freeres_ptr.
26550         (freecache): New function to free CACHE on exit.
26552         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26553         initialization.
26555 2014-07-09  David S. Miller  <davem@davemloft.net>
26557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26559         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26560         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26561         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26562         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26563         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26564         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26565         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26566         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26567         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26568         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26569         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26570         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26571         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26573 2014-07-09  Andreas Schwab  <schwab@suse.de>
26575         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26576         output.
26577         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26578         (do_test): Likewise.
26580         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26582 2014-07-09  Will Newton  <will.newton@linaro.org>
26584         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26585         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26586         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26587         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26588         * sysdeps/hppa/start.S (_start): Likewise.
26590 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26592         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26594         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26595         defined.
26597 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26599         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26600         after checking that it is non-NULL.
26602         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26604 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26606         * sysdeps/powerpc/memmove.c: Remove file.
26607         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26608         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26610         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26612         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26613         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26614         string memmove instead of removed powerpc one.
26616         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26617         [weak_alias]: Fix compiler warning due trailing data.
26618         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26619         [weak_alias]: Likewise.
26620         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26621         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26624         (__libc_ifunc_impl_list): Add memmove functions.
26626 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26628         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26629         Remove code.
26630         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26631         Likewise.
26632         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26633         Likewise.
26634         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26635         Likewise.
26636         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26637         Likewise.
26638         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26639         Likewise.
26640         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26641         Likewise.
26642         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26643         Likewise.
26644         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26645         Likewise.
26646         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26647         Likewise.
26648         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26649         Likewise.
26650         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26651         Likewise.
26652         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26653         Likewise.
26654         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26655         Likewise.
26656         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26657         Likewise.
26658         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26659         Likewise.
26660         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26661         Likewise.
26663 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26665         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26666         to avoid alignment traps in non-cacheable memory.
26667         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26670         multiarch objects.
26671         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26672         file: multiarch power7 memmove.
26673         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26674         multiarch default memmove.
26675         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26676         multiarch memove for powerpc32/power4.
26678         * string/bcopy.c: Use full path to include memmove.c.
26679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26680         multiarch objects.
26681         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26682         bcopy for powerpc64.
26683         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26684         bcopy for powerpc64.
26685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26686         and memmove implementations.
26687         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26688         optimized multiarch memmove for POWER7/powerpc64.
26689         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26690         default multiarch memmove for powerpc64.
26691         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26692         multiarch for powerpc64.
26693         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26694         for POWER7/powerpc64.
26695         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26696         memmove for POWER7/powerpc64.
26698         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26699         glibc default one.
26701         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26702         __ELF_NATIVE_CLASS equal to 64.
26704 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26706         * sysdeps/nptl/lowlevellock.h: File removed.
26708         * NEWS: NPTL is no longer an add-on!
26709         * nptl/internaltypes.h: Moved ...
26710         * sysdeps/nptl/internaltypes.h: ... here.
26711         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26712         * sysdeps/nptl/fork.c: Likewise.
26713         * sysdeps/nptl/gai_misc.h: Likewise.
26714         * sysdeps/nptl/librt-cancellation.c: Likewise.
26715         * sysdeps/nptl/jmp-unwind.c: Likewise.
26716         * sysdeps/nptl/setxid.h: Likewise.
26717         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26718         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26719         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26720         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26721         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26722         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26723         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26724         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26725         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26726         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26727         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26728         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26729         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26730         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26731         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26732         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26733         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26734         * nptl/Makeconfig: Moved ...
26735         * sysdeps/nptl/Makeconfig: ... here.
26736         * nptl/configure: File removed.
26737         * nptl/ANNOUNCE: File removed.
26738         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26739         * sysdeps/unix/sysv/linux/configure: Regenerated.
26741         * nptl/Makefile (routines): Add libc_pthread_init,
26742         libc_multiple_threads, register-atfork and unregister-atfork.
26743         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26744         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26745         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26746         pthread-pi-defines.sym, structsem.sym.
26747         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26748         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26749         [$(subdir) = nptl] (tests): Add tst-setgetname.
26750         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26751         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26752         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26753         [!LIBC_SIGACTION]: Remove aliases.
26754         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26755         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26756         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26757         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26758         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26759         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26760         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26761         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26762         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26763         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26764         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26765         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26766         __libc_allocate_rtsig_private.
26767         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26768         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26769         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26770         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26771         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26772         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26773         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26774         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26775         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26776         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26777         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26778         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26779         * nptl/internaltypes.h: ... here.
26780         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26781         * sysdeps/nptl/jmp-unwind.c: ... here.
26782         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26783         * nptl/libc-lowlevellock.c: ... here.
26784         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26785         * nptl/libc_multiple_threads.c: ... here.
26786         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26787         * nptl/libc_pthread_init.c: ... here.
26788         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26789         * nptl/lowlevelbarrier.sym: ... here.
26790         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26791         * nptl/lowlevelcond.sym: ... here.
26792         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26793         * nptl/lowlevellock.c: ... here.
26794         * nptl/lowlevellock.h: Moved ...
26795         * sysdeps/nptl/lowlevellock.h: ... here.
26796         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26797         * nptl/lowlevelrobustlock.c: ... here.
26798         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26799         * nptl/lowlevelrobustlock.sym: ... here.
26800         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26801         * nptl/lowlevelrwlock.sym: ... here.
26802         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26803         * nptl/pt-fork.c: ... here.
26804         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26805         * nptl/pthread-pi-defines.sym: ... here.
26806         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26807         * nptl/pthread_attr_getaffinity.c: ... here.
26808         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26809         * nptl/pthread_attr_setaffinity.c: ... here.
26810         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26811         * nptl/pthread_mutex_cond_lock.c: ... here.
26812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26813         Update #include.
26814         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26815         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26816         * nptl/pthread_once.c: ... here, replacing old file.
26817         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26818         * nptl/pthread_yield.c: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26820         * nptl/register-atfork.c: ... here.
26821         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26822         * nptl/sem_post.c: ... here.
26823         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26824         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26825         * nptl/sem_timedwait.c: ... here.
26826         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26827         * nptl/sem_trywait.c: ... here.
26828         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26829         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26830         * nptl/sem_wait.c: ... here.
26831         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26832         * nptl/structsem.sym: ... here.
26833         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26834         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26835         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26836         * nptl/unregister-atfork.c: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26838         * nptl/unwindbuf.sym: ... here.
26839         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26840         * sysdeps/nptl/fork.c: ... here.
26841         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26842         * sysdeps/nptl/fork.h: ... here.
26843         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26844         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26845         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26846         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26847         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26848         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26849         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26850         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26851         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26852         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26853         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26854         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26855         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26856         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26857         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26858         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26859         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26860         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26861         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26862         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26863         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26865         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26866         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26867         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26868         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26869         * sysdeps/unix/sysv/linux/raise.c: ... here.
26870         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26871         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26872         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26873         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26874         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26875         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26876         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26877         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26878         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26879         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26880         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26881         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26882         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26883         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26884         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26886 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26888         * sysdeps/generic/memcopy.h: Add comment for
26889         MEMCPY_OK_FOR_FWD_MEMMOVE.
26891 2014-07-04  Will Newton  <will.newton@linaro.org>
26893         * string/memchr.c: Merge from gnulib.
26894         [_LIBC]: Remove conditionals.
26895         (__ptr_t): Remove define.
26896         (LONG_MAX_32_BITS): Likewise.
26897         (LONG_MAX): Likewise.
26898         (MEMCHR): Use ANSI prototype and optimize algorithm.
26900         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26902 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26904         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26905         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26907         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26908         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26909         in a bare environment with no <stdlib.h> installed.
26910         * sysdeps/nptl/configure: Regenerated.
26912         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26914         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26915         AC_EGREP_CPP for kernel header checks, so they only succeed if
26916         including <linux/version.h> actually works right.
26917         * sysdeps/unix/sysv/linux/configure: Regenerated.
26919         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26920         value so it's not diagnosed as unused.
26922         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26923         thing) with "ifeq ($(subdir),rt)".
26925 2014-07-03  Richard Henderson  <rth@redhat.com>
26927         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26928         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26929         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26931         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26932         (math_force_eval): New.
26934         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26935         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26937         * sysdeps/alpha/fpu/s_round.c: Remove file.
26938         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26940         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26941         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26942         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26943         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26944         (_dl_start, print_statistics): Likewise.
26945         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26946         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26948         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26949         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26950         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26951         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26952         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26953         (HP_SMALL_TIMING_AVAIL): Define.
26954         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26956         (HP_SMALL_TIMING_AVAIL): Define.
26957         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26958         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26960         * sysdeps/aarch64/hp-timing.h: New file.
26962         * sysdeps/generic/hp-timing.h: Remove dead comment.
26963         * sysdeps/generic/hp-timing-common.h: New file.
26964         * sysdeps/alpha/hp-timing.h: Include it.
26965         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26966         * sysdeps/i386/i686/hp-timing.h: Likewise.
26967         * sysdeps/ia64/hp-timing.h: Likewise.
26968         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26969         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26970         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26971         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26972         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26973         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26974         (hp_timing_t): New.
26976         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26977         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26978         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26979         * elf/rtld.c (_dl_start_final): Likewise.
26980         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26981         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26982         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26983         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26984         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26985         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26986         (HP_TIMING_DIFF_INIT): Remove.
26987         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26988         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26989         (HP_TIMING_DIFF_INIT): Remove.
26990         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26991         * sysdeps/i386/i686/hp-timing.c: Remove file.
26992         * sysdeps/x86_64/hp-timing.c: Remove file.
26993         * sysdeps/ia64/hp-timing.c: Remove file.
26994         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26995         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26996         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26997         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26999         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27000         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27001         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27002         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27003         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27004         (HP_TIMING_ACCUM): Remove.
27005         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27006         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27007         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27009         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27010         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27011         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27012         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27013         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27014         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27015         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27016         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27018         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27020 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27022         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27024 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27026         Sync up with gettext.
27027         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27028         [_MSC_VER]: Include malloc.h
27029         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27030         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27031         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27032         TEMP_FAILURE_RETRY.  Cast return of alloca.
27033         [!_LIBC] Call gl_rwlock_init.
27034         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27036 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27038         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27039         before checking its value.
27041 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27043         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27045         * debug/memcpy_chk.c: Don't include pagecopy.h.
27046         * debug/mempcpy_chk.c: Likewise.
27047         * string/memcpy.c: Likewise.
27048         * string/memmove.c: Likewise.
27049         * sysdeps/powerpc/memmove.c: Likewise.
27050         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27051         definition of PAGE_COPY_FWD_MAYBE here...
27052         * sysdeps/generic/pagecopy.h: ... from here.
27053         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27055 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27058         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27060         optimizations.
27061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27062         (__libc_ifunc_impl_list): Likewise.
27063         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27064         multiarch strcat for PPC64.
27065         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27066         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27068 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27070         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27072 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27074         * intl/loadmsgcat.c: Remove declaration of
27075         get_sysdep_segment_value.
27076         (get_sysdep_segment_value): Use ISO C style.
27077         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27078         semicolon.  Fix typo and formatting in comment.
27079         (_nl_unload_domain): Use ISO C style.
27081         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27083 2014-07-02  Will Newton  <will.newton@linaro.org>
27085         * malloc/obstack.c: Merge from gnulib master.
27086         [HAVE_CONFIG_H]: Remove conditional code.
27087         [!_LIBC]: Include config.h.
27088         [!ELIDE_CODE]: Don't include inttypes.h, include
27089         stdint.h unconditionally.
27090         (print_and_abort): Mark as _Noreturn.
27091         (_obstack_allocated_p): Mark as __attribute_pure__.
27092         (obstack_free): Rename to __obstack_free.
27093         [!__attribute__]: Remove conditional code.
27094         * malloc/obstack.h: Merge from gnulib master.
27095         [__cplusplus]: Move conditional down.
27096         [!__attribute_pure__]: Define __attribute_pure__ here
27097         if it is not already defined.
27098         (_obstack_memory_used): Mark as __attribute_pure__.
27099         [!__obstack_free]: Define as obstack_free.
27100         [__GNUC__]: Remove check for ancient NeXT gcc.
27102 2014-07-02  Will Newton  <will.newton@linaro.org>
27103             Paul Eggert  <eggert@cs.ucla.edu>
27105         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27107 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27109         * resolv/gethnamaddr.c: Add comment warning that the file is
27110         not maintained.
27112 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27114         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27115         entries.
27117         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27118         entry for aio_cancel and aio_cancel64.
27119         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27120         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27121         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27122         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27123         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27124         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27125         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27126         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27127         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27128         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27129         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27130         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27131         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27133 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27135         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27136         * nptl/pthread_mutex_lock.c: Likewise.
27137         * nptl/pthread_mutex_timedlock.c: Likewise.
27138         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27140 2014-07-01  Richard henderson  <rth@redhat.com>
27142         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27143         (__isnan, __isnanl): Remove.
27144         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27146         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27148 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27150         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27152 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27154         * resolv/nss_dns/dns-host.c (getanswer_r)
27155         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27157 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27159         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27160         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27161         undefine.
27162         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27163         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27165 2014-07-01  Roland McGrath <roland@hack.frob.com>
27167         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27168         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27170         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27171         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27173         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27174         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27175         ... here.
27176         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27177         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27179         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27180         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27181         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27182         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27184         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27185         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27186         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27187         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27189         Moved ...
27190         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27191         ... here.
27192         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27193         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27195         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27196         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27197         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27198         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27199         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27201         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27202         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27203         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27204         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27205         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27206         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27207         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27208         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27209         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27210         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27211         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27212         ... here.
27213         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27214         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27215         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27216         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27217         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27218         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27219         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27220         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27222 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27224         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27225         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27226         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27227         Add sysdep.
27229 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27233 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27235         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27236         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27238         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27240         * sysdeps/arm/libm-test-ulps: Regenerated.
27242 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27243             Roland McGrath <roland@hack.frob.com>
27245         * test-skeleton.c (signal_handler): Kill the whole process group
27246         before killing the child individually.
27247         (main): Report any failure on `setpgid'.
27249 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27251         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27252         from _TLS_H to _ARM_NPTL_TLS_H.
27253         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27254         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27256 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27258         [BZ #16539]
27259         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27260         (__expm1l): Return argument unchanged when small but not
27261         subnormal.
27263         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27264         include macro name.
27265         (_FP_UNPACK_RAW_1_P): Likewise.
27266         (_FP_PACK_RAW_1): Likewise.
27267         (_FP_PACK_RAW_1_P): Likewise.
27268         (_FP_MUL_MEAT_1_wide): Likewise.
27269         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27270         (_FP_MUL_MEAT_1_hard): Likewise.
27271         (_FP_DIV_MEAT_1_imm): Likewise.
27272         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27273         (_FP_DIV_MEAT_1_udiv): Likewise.
27274         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27275         (_FP_UNPACK_RAW_2): Likewise.
27276         (_FP_UNPACK_RAW_2_P): Likewise.
27277         (_FP_PACK_RAW_2): Likewise.
27278         (_FP_PACK_RAW_2_P): Likewise.
27279         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27280         (_FP_MUL_MEAT_2_wide): Likewise.
27281         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27282         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27283         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27284         (_FP_MUL_MEAT_2_gmp): Likewise.
27285         (_FP_DIV_MEAT_2_udiv): Likewise.
27286         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27287         (_FP_FRAC_SRL_4): Likewise.
27288         (_FP_FRAC_SRST_4): Likewise.
27289         (_FP_FRAC_SRS_4): Likewise.
27290         (_FP_UNPACK_RAW_4): Likewise.
27291         (_FP_UNPACK_RAW_4_P): Likewise.
27292         (_FP_PACK_RAW_4): Likewise.
27293         (_FP_PACK_RAW_4_P): Likewise.
27294         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27295         (_FP_MUL_MEAT_4_wide): Likewise.
27296         (_FP_MUL_MEAT_4_gmp): Likewise.
27297         (umul_ppppmnnn): Likewise.
27298         (_FP_DIV_MEAT_4_udiv): Likewise.
27299         (__FP_FRAC_ADD_4): Likewise.
27300         (__FP_FRAC_SUB_3): Likewise.
27301         (__FP_FRAC_SUB_4): Likewise.
27302         (__FP_FRAC_DEC_3): Likewise.
27303         (__FP_FRAC_DEC_4): Likewise.
27304         (__FP_FRAC_ADDI_4): Likewise.
27305         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27306         (_FP_FRAC_SRL_8): Likewise.
27307         (_FP_FRAC_SRS_8): Likewise.
27309         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27310         include macro name.
27311         (FP_UNPACK_RAW_EP): Likewise.
27312         (FP_PACK_RAW_E): Likewise.
27313         (FP_PACK_RAW_EP): Likewise.
27314         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27315         (_FP_ISSIGNAN): Likewise.
27316         (_FP_ADD_INTERNAL): Likewise.
27317         (_FP_FMA): Likewise.
27318         (_FP_CMP): Likewise.
27319         (_FP_SQRT): Likewise.
27320         (_FP_TO_INT): Likewise.
27321         (_FP_FROM_INT): Likewise.
27322         (FP_EXTEND): Likewise.
27323         (_FP_DIV_MEAT_N_loop): Likewise.
27325 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27327         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27328         throughout.
27330 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27332         [BZ #17097]
27333         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27334         result with correct sign in case of exponents that produce
27335         overflow except for X very close to 1.
27337 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27339         mktime: merge #if/#ifdef usage from glibc
27340         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27341         as that works with both Glibc's and Gnulib's style.
27342         See thread starting at Siddhesh Poyarekar's bug report at:
27343         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27345 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27347         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27348         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27349         * sysdeps/tile/tilegx/memmove.c: Remove file.
27351 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27353         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27354         abi-name definition.
27355         * scripts/soversions.awk: Do not handle or generate ABI lines.
27356         * shlib-versions: Remove ABI entries.
27357         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27358         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27360 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27363         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27364         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27365         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27367         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27369         Moved ...
27370         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27371         ... here.
27372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27373         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27375         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27377         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27379         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27381         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27383         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27384         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27385         Moved ...
27386         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27392         Moved ...
27393         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27395         Moved ...
27396         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27398         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27399         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27400         Moved ...
27401         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27403         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27405         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27406         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27407         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27408         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27409         Moved ...
27410         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27412         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27413         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27414         Moved ...
27415         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27417         Moved ...
27418         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27419         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27420         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27422         Moved ...
27423         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27424         ... here.
27425         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27426         Identical file removed.
27427         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27428         Moved ...
27429         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27431         Identical file removed.
27432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27433         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27435         Moved ...
27436         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27438         Identical file removed.
27439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27442         Identical file removed.
27443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27444         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27446         Identical file removed.
27447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27450         Identical file removed.
27451         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27452         Moved ...
27453         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27454         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27455         Identical file removed.
27456         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27457         Moved ...
27458         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27462         Identical file removed.
27463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27464         Moved ...
27465         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27466         ... here.
27467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27468         Identical file removed.
27469         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27470         Moved ...
27471         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27473         Identical file removed.
27474         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27475         Moved ...
27476         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27477         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27478         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27480         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27481         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27482         Moved ...
27483         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27484         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27485         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27487         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27488         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27489         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27490         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27491         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27493 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27495         [BZ #17092]
27496         * nscd/nscd.c (monitor_child): Return exit status of child
27497         instead of return value from wait syscall.
27499 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27501         * configure.ac (libc_commonpagesize): Remove variable.
27502         (libc_relro_required): Likewise.
27503         (libc_cv_z_relro): Remove configure test.
27504         * configure: Regenerated.
27505         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27506         variable.
27507         (libc_relro_required): Likewise.
27508         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27509         (libc_relro_required): Likewise.
27510         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27511         (libc_relro_required): Likewise.
27512         * sysdeps/arm/preconfigure: Regenerated.
27513         * sysdeps/ia64/preconfigure: Remove file.
27514         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27515         variable.
27516         (libc_relro_required): Likewise.
27518         [BZ #16561]
27519         [BZ #16562]
27520         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27521         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27522         recompute overflowing results in original rounding mode.
27523         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27524         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27525         recompute overflowing results in original rounding mode.
27526         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27527         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27528         recompute overflowing results in original rounding mode.
27529         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27530         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27531         recompute overflowing results in original rounding mode.
27532         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27533         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27534         recompute overflowing results in original rounding mode.
27535         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27536         (libc_feholdsetround_ctx): New macro.
27537         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27538         * sysdeps/i386/fpu/libm-test-ulps: Update.
27539         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27541 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27543         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27544         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27545         corresponding .cpsetup call.
27547 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27549         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27550         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27551         * sysdeps/arm/Makefile [$(subdir) = csu]
27552         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27553         (static-only-routines): Add aeabi_read_tp here.
27554         (shared-only-routines): Add libc-aeabi_read_tp here.
27555         (CFLAGS-libc-start.c): Add -fexceptions here.
27556         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27557         (sysdep_routines, static-only-routines, shared-only-routines):
27558         Don't add to these here.
27559         (CFLAGS-libc-start.c): Likewise.
27561         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27562         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27563         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27564         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27565         * sysdeps/arm/Makefile [$(subdir) = rt]
27566         (librt-sysdep_routines, librt-shared-only-routines):
27567         Append rt-aeabi_unwind_cpp_pr1 here.
27568         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27569         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27570         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27571         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27572         Append nptl-aeabi_unwind_cpp_pr1 here.
27573         (tests): Filter out tst-cleanupx4 here.
27574         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27575         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27576         Don't do those here.
27578 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27580         * scripts/list-sources.sh: Do not handle ports specially.
27582 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27584         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27585         * sysdeps/arm/feupdateenv.c: Likewise.
27587         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27589 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27591         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27592         trailing whitespace removed.
27593         * scripts/config.guess: Update to version 2014-03-23.
27594         * scripts/config.sub: Update to version 2014-05-01
27595         * scripts/install-sh: Update to version 2013-12-25.23.
27596         * scripts/move-if-change: Update from gnulib.
27598 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27600         * debug/memmove_chk.c: Remove pagecopy.h include.
27602 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27604         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27605         identical to gnulib mktime.
27607 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27609         * configure.ac: Do not test for machine being rs6000.  Do not test
27610         for powerpc*-*soft.
27611         * configure: Regenerated.
27613         [BZ #11505]
27614         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27615         test.
27616         * configure: Regenerated.
27617         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27618         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27619         Remove configure test.
27620         * sysdeps/arm/configure: Regenerated.
27621         * sysdeps/nptl/configure.ac: Do not check
27622         libc_cv_asm_cfi_directives.
27623         * sysdeps/nptl/configure: Regenerated.
27624         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27625         * sysdeps/x86_64/nptl/configure: Remove generated file.
27626         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27627         unconditional.
27628         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27630 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27632         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27633         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27634         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27635         it is defined.
27637         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27638         instead of whether it is defined.
27639         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27640         * sysdeps/hppa/dl-machine.h: Likewise.
27641         * sysdeps/ia64/dl-machine.h: Likewise.
27642         * sysdeps/m68k/dl-machine.h: Likewise.
27643         * sysdeps/microblaze/dl-machine.h: Likewise.
27644         * sysdeps/mips/dl-machine.: Likewise.
27645         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27647         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27648         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27649         * sysdeps/sh/dl-machine.h: Likewise.
27650         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27651         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27652         * sysdeps/tile/dl-machine.h: Likewise.
27653         * sysdeps/x86_64/dl-machine.h: Likewise.
27655         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27656         code.
27657         (verify_persistent_db): Likewise.
27659 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27662         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27664         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27666         Moved ...
27667         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27668         ... here.
27669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27670         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27672         Identical file removed.
27673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27674         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27676         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27678         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27680         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27682         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27684         Moved ...
27685         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27687         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27689         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27691         Moved ...
27692         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27694         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27696         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27698         Identical file removed.
27699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27700         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27702         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27704         Moved ...
27705         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27706         ... here.
27707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27708         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27710         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27712         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27714         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27716         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27718         Moved ...
27719         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27721         Moved ...
27722         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27724         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27726         Moved ...
27727         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27729         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27731         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27732         folded into ...
27733         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27734         * sysdeps/unix/sysv/linux/s390/Versions
27735         (libpthread: GLIBC_2.19): New version set.
27736         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27737         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27738         (librt: GLIBC_2.3.3): New version set.
27739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27740         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27741         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27742         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27743         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27744         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27745         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27746         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27747         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27748         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27749         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27750         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27751         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27752         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27753         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27754         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27755         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27756         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27757         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27758         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27759         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27760         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27761         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27763         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27764         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27765         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27766         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27767         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27768         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27769         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27770         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27775         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27777         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27779         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27781         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27783         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27786         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27787         (__libc_vfork): Define the function under this name.
27788         [!NOT_IN_libc] (__vfork): Make this an alias.
27789         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27791         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27792         (__libc_vfork): Define the function under this name.
27793         [!NOT_IN_libc] (__vfork): Make this an alias.
27794         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27795         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27796         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27797         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27798         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27799         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27801         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27802         code that was previously under [RESET_PID].
27803         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27804         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27807         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27808         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27809         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27810         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27811         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27812         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27813         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27814         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27815         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27816         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27817         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27818         Moved ...
27819         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27820         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27821         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27822         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27824         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27825         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27826         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27827         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27828         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27829         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27830         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27831         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27832         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27833         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27834         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27835         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27836         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27837         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27838         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27839         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27840         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27841         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27842         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27843         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27844         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27845         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27847         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27849 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27851         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27852         that was previously under [RESET_PID].
27853         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27855 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27857         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27858         not undefine and redefine.
27859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27860         [O_CLOEXEC]: Make code unconditional.
27861         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27862         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27863         <kernel-features.h>.
27864         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27865         conditional variable definition.
27866         (shm_open) [O_CLOEXEC]: Make code unconditional.
27867         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27868         code.
27870         * configure.ac (USE_REGPARMS): Don't define here.
27871         * configure: Regenerated.
27872         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27873         * sysdeps/i386/configure: Regenerated.
27875         * nptl/createthread.c: Don't include kernel-features.h.
27876         * nptl/pthread_cancel.c: Likewise.
27877         * nptl/pthread_condattr_setclock.c: Likewise.
27878         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27879         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27880         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27881         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27882         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27883         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27884         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27886         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27887         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27888         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27889         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27890         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27891         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27892         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27893         * nscd/gai.c: Likewise.
27894         * nss/nss_db/db-open.c: Likewise.
27895         * sysdeps/generic/ldsodefs.h: Likewise.
27896         * sysdeps/sh/nptl/tls.h: Likewise.
27897         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27898         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27899         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27900         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27901         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27902         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27903         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27904         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27906         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27907         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27908         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27909         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27910         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27911         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27912         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27913         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27914         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27915         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27916         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27918         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27919         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27920         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27925         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27926         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27927         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27928         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27929         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27930         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27931         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27932         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27933         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27934         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27935         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27936         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27937         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27938         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27939         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27940         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27941         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27942         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27943         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27944         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27945         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27946         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27947         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27948         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27949         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27950         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27951         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27952         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27953         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27977         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27978         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27979         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27980         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27981         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27982         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27983         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27984         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27985         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27986         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27987         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27988         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27989         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27990         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27991         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27992         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27993         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27994         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27995         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27996         * sysdeps/unix/sysv/linux/system.c: Likewise.
27997         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27998         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27999         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28000         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28001         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28002         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28003         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28005         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28006         * configure: Regenerated.
28007         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28009         * configure.ac (base_machine): Do not set specially for particular
28010         machines here.
28011         * configure: Regenerated.
28012         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28013         settings from configure.ac.
28014         * sysdeps/i386/preconfigure: New file.
28015         * sysdeps/s390/preconfigure: Likewise.
28016         * sysdeps/sh/preconfigure: Likewise.
28017         * sysdeps/sparc/preconfigure: Likewise.
28019 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28021         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28022         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28023         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28024         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28025         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28026         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28027         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28028         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28029         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28030         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28031         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28032         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28033         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28034         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28035         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28036         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28037         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28038         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28039         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28041         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28042         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28043         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28044         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28045         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28046         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28047         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28048         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28049         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28050         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28051         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28052         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28053         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28054         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28055         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28056         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28057         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28058         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28059         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28060         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28061         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28062         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28063         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28064         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28066         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28070         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28071         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28072         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28073         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28074         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28075         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28076         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28077         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28078         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28081         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28083         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28085         Moved ...
28086         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28087         ... here.
28088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28089         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28091         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28093         Moved ...
28094         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28098         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28102         Moved ...
28103         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28105         Moved ...
28106         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28108         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28110         Moved ...
28111         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28113         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28115         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28117         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28119         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28121         Moved ...
28122         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28123         ... here.
28124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28125         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28127         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28132         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28134         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28136         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28138         Moved ...
28139         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28144         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28146         Moved ...
28147         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28149         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28151         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28153 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28155         * timezone/checktab.awk: Update from tzcode 2014e.
28156         * timezone/private.h: Likewise.
28157         * timezone/tzfile.h: Likewise.
28158         * timezone/zdump.c: Likewise.
28159         * timezone/zic.c: Likewise.
28161         * sysdeps/unix/sysv/linux/kernel-features.h
28162         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28163         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28164         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28165         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28166         Remove conditional code.
28168 2014-06-25  Will Newton  <will.newton@linaro.org>
28170         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28171         (_dl_arm_cap_flags): Add HWCAP2 values.
28172         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28173         (_DL_HWCAP_COUNT): Increase to 37.
28174         (_DL_HWCAP_LAST): New define.
28175         (_DL_HWCAP2_LAST): New define.
28176         (_dl_procinfo): Add support for printing
28177         AT_HWCAP2 entries.
28178         (_dl_string_hwcap): Use _dl_hwcap_string.
28180 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28184 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28186         * README: Do not mention ports directory.
28188         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28189         Remove macro.
28190         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28191         <kernel-features.h>.
28192         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28193         conditional variable definition.
28194         (__futimes): Update comment.
28195         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28196         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28198         [BZ #16560]
28199         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28200         arguments close to 0.
28201         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28202         Likewise.
28203         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28204         Likewise.
28205         * math/auto-libm-test-in: Add more tests of exp10.
28206         * math/auto-libm-test-out: Regenerated.
28207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28209         * sysdeps/unix/sysv/linux/kernel-features.h
28210         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28211         * sysdeps/unix/sysv/linux/readv.c: Do not include
28212         <kernel-features.h>.
28213         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28214         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28215         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28216         unconditional.
28217         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28218         conditional code.
28219         * sysdeps/unix/sysv/linux/writev.c: Do not include
28220         <kernel-features.h>.
28221         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28222         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28223         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28224         unconditional.
28225         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28226         conditional code.
28228 2014-06-25  Will Newton  <will.newton@linaro.org>
28230         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28231         comment changes throughout the file.  Remove checks
28232         for HAVE_*_H definitions that are not required.
28233         (__gen_tempname): Call abort if an unknown kind value is
28234         passed.
28236 2014-06-25  Andreas Schwab  <schwab@suse.de>
28238         [BZ #17086]
28239         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28240         scalbln, scalblnf, scalblnl in libc.
28242 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28244         [BZ #17086]
28245         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28246         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28247         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28249 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28251         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28252         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28253         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28254         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28255         Update #include.
28256         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28257         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28258         Update #include.
28259         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28260         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28261         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28262         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28263         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28264         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28265         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28266         * sysdeps/x86/bits/semaphore.h: ... here.
28267         * sysdeps/x86/nptl/elide.h: Moved ...
28268         * sysdeps/x86/elide.h: ... here.
28269         * sysdeps/x86_64/nptl/Implies: File removed.
28270         * sysdeps/i386/nptl/Implies: File removed.
28272 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28274         [BZ #16539]
28275         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28276         return the argument for normal arguments with exponent below -64.
28277         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28278         Likewise.
28279         * math/auto-libm-test-in: Add another test of expm1.
28280         * math/auto-libm-test-out: Regenerated.
28282         [BZ #16287]
28283         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28284         calling __erfcl for arguments at least 16.
28285         * math/auto-libm-test-in: Add more tests of erf.
28286         * math/auto-libm-test-out: Regenerated.
28288         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28289         individual architectures.
28290         * sysdeps/unix/sysv/linux/configure: Regenerated.
28291         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28292         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28293         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28294         (ldd_rewrite_script): Define variable.
28295         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28297         file.
28298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28299         generated file.
28300         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28301         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28302         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28303         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28304         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28305         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28306         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28307         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28309 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28311         [BZ #17084]
28312         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28313         Rename member __data.d to __data.__elision_data.
28315 2014-06-24  Wilco  <wdijkstr@arm.com>
28317         * NEWS: Add 16918 to fixed bug list.
28319 2014-06-24  Wilco  <wdijkstr@arm.com>
28321         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28323 2014-06-24  Wilco  <wdijkstr@arm.com>
28325         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28326         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28327         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28328         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28329         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28330         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28331         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28332         Use _FPU_MASK_RM.
28334 2014-06-24  Wilco  <wdijkstr@arm.com>
28336         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28338 2014-06-24  Wilco  <wdijkstr@arm.com>
28340         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28341         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28342         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28343         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28345 2014-06-24  Wilco  <wdijkstr@arm.com>
28347         [BZ #16918]
28348         * sysdeps/arm/feupdateenv.c (feupdateenv):
28349         Rewrite to reduce FPSCR accesses and fix return value.
28351 2014-06-24  Wilco  <wdijkstr@arm.com>
28353         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28354         Optimize to avoid unnecessary FPSCR writes.
28355         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28356         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28357         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28358         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28360 2014-06-24  Wilco  <wdijkstr@arm.com>
28362         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28363         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28364         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28365         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28366         Call libc_fetestexcept_vfp.
28367         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28368         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28369         __SOFTFP__ ifdef so that they can be built for softfp.
28371 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28373         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28374         argument type signed char.
28376         * Makerules (check-abi): Dump diff of symlist if the test
28377         fails.
28379 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28381         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28382         using abort.
28384         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28385         Remove unused variable ST.
28387 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28389         [BZ #16354]
28390         [BZ #17061]
28391         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28392         small arguments before calling __expm1.
28393         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28394         small arguments before calling __expm1f.
28395         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28396         small arguments before calling __expm1l.
28397         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28398         Likewise.
28399         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28400         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28401         spurious underflow for some cosh tests.
28402         * math/auto-libm-test-out: Regenerated.
28403         * sysdeps/i386/fpu/libm-test-ulps: Update.
28405         [BZ #17050]
28406         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28407         (__ieee754_y1): Set errno if return value overflows.
28408         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28409         (__ieee754_y1f): Set errno if return value overflows.
28410         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28411         (__ieee754_y1l): Set errno if return value overflows.
28412         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28413         (__ieee754_y1l): Set errno if return value overflows.
28414         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28415         * math/auto-libm-test-out: Regenerated.
28417         * math/gen-auto-libm-tests.c: Document use of
28418         ignore-zero-inf-sign.
28419         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28420         (input_flags): Add ignore-zero-inf-sign.
28421         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28422         * math/gen-libm-test.pl (generate_testfile): Handle
28423         ignore-zero-inf-sign.
28424         * math/auto-libm-test-in: Mark some cpow tests with
28425         ignore-zero-inf-sign and some with xfail-rounding.
28426         * math/auto-libm-test-out: Regenerated.
28427         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28428         * sysdeps/i386/fpu/libm-test-ulps: Update.
28429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28431         [BZ #16315]
28432         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28433         overflowing or underflowing operations take place with sign of
28434         result.
28435         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28436         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28437         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28438         (__ieee754_pow): Recompute overflowing and underflowing results in
28439         original rounding mode.
28440         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28441         (__powl_helper): Allow negative argument X and scale negated value
28442         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28443         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28444         overflowing or underflowing operations take place with sign of
28445         result.
28446         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28447         Include <math.h>.
28448         * math/auto-libm-test-in: Add more tests of pow.
28449         * math/auto-libm-test-out: Regenerated.
28450         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28451         (pow_tonearest_test_data): Remove.
28452         (pow_test_tonearest): Likewise.
28453         (pow_towardzero_test_data): Likewise.
28454         (pow_test_towardzero): Likewise.
28455         (pow_downward_test_data): Likewise.
28456         (pow_test_downward): Likewise.
28457         (pow_upward_test_data): Likewise.
28458         (pow_test_upward): Likewise.
28459         (main): Don't call removed functions.
28460         * sysdeps/i386/fpu/libm-test-ulps: Update.
28461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28463 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28466         Moved ...
28467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28469         Moved ...
28470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28472         Moved ...
28473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28475         Moved ...
28476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28478         File removed.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28480         File removed.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28482         File removed.
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28484         File removed.
28485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28486         File removed.
28487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28488         File removed.
28489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28490         File removed.
28491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28492         File removed.
28493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28494         File removed.
28495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28496         File removed.
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28498         File removed.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28500         File removed.
28501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28502         Moved ...
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28505         Moved ...
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28507         ... here.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28509         Moved ...
28510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28512         Moved ...
28513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28515         Moved ...
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28518         Moved ...
28519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28521         Moved ...
28522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28524         Moved ...
28525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28527         Moved ...
28528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28531         ... here.
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28533         Moved ...
28534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28536         Moved ...
28537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28538         ... here.
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28540         Moved ...
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28542         ... here.
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28544         Moved ...
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28546         ... here.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28548         Moved ...
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28551         Moved ...
28552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28556         Moved ...
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28558         ... here.
28559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28560         Moved ...
28561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28562         ... here.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28564         Moved ...
28565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28567         Moved ...
28568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28570         Moved ...
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28573         Moved ...
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28576         Moved ...
28577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28578         ... here.
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28580         Moved ...
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28583         Moved ...
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28586         Moved ...
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28589         Moved ...
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28594         Moved ...
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28600         Moved ...
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28602         ... here.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28604         Moved ...
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28606         ... here.
28607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28608         Moved ...
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28610         ... here.
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28612         Moved ...
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28615         Moved ...
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28618         Moved ...
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28621         Moved ...
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28623         ... here.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28625         Moved ...
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28627         ... here.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28629         Moved ...
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28631         ... here.
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28633         Moved ...
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28636         Moved ...
28637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28639 2014-06-23  Will Newton  <will.newton@linaro.org>
28640             Wilco  <wdijkstr@arm.com>
28642         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28643         implementation.  Include get-rounding-mode.h.
28644         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28645         [!libc_feholdsetround_noex_ctx]: Define
28646         libc_feholdsetround_noex_ctx.
28647         [!libc_feholdsetround_noexf_ctx]: Define
28648         libc_feholdsetround_noexf_ctx.
28649         [!libc_feholdsetround_noexl_ctx]: Define
28650         libc_feholdsetround_noexl_ctx.
28651         (libc_feholdsetround_ctx): New function.
28652         (libc_feresetround_ctx): New function.
28653         (libc_feholdsetround_noex_ctx): New function.
28654         (libc_feresetround_noex_ctx): New function.
28656 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28658         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28659         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28660         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28661         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28662         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28663         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28665         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28666         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28667         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28668         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28669         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28670         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28672         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28674         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28676         Moved ...
28677         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28678         ... here.
28679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28680         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28682         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28684         Moved ...
28685         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28687         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28689         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28690         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28691         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28692         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28693         Moved ...
28694         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28695         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28696         Moved ...
28697         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28698         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28699         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28700         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28701         Moved ...
28702         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28703         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28704         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28705         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28706         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28707         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28708         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28710         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28712         Moved ...
28713         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28714         ... here.
28715         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28716         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28722         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28728         Moved ...
28729         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28733         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28734         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28735         Moved ...
28736         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28738         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28739         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28740         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28742         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28743         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28744         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28745         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28746         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28747         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28748         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28749         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28751         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28755         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28756         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28757         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28758         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28759         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28760         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28761         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28762         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28763         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28764         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28765         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28766         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28767         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28769         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28771 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28773         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28774         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28775         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28776         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28777         (IPV6_PMTUDISC_INTERFACE): Likewise.
28778         (IPV6_PMTUDISC_OMIT): Likewise.
28780 2014-06-23  Andreas Schwab  <schwab@suse.de>
28782         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28783         Remove unused errout label.
28785 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28787         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28788         macro: hardware supports Vector Crypto instructions.
28790 2014-06-23  Will Newton  <will.newton@linaro.org>
28792         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28793         rather than __builtin_expect.
28795         * elf/dl-lookup.c (undefined_msg): Remove variable.
28796         (_dl_lookup_symbol_x): Replace undefined_msg with string
28797         literal.
28799         * elf/dl-lookup.c (do_lookup_unique): New function.
28800         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28801         to a separate function.
28803 2014-06-23  Andreas Schwab  <schwab@suse.de>
28805         [BZ #17079]
28806         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28807         before reading the next line.
28809 2014-06-23  Will Newton  <will.newton@linaro.org>
28811         * test-skeleton.c (signal_handler): Use printf and %m
28812         rather than perror.  Use printf rather than fprintf to
28813         stderr.  Use puts rather than fputs to stderr.
28814         (main): Likewise.
28816 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28818         * nscd/nscd.c (thread_info_t): Remove typedef.
28819         (thread_info): Remove variable.
28821 2014-06-21  Allan McRae  <allan@archlinux.org>
28823         * NEWS: Mention CVE-2014-4043.
28825 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28827         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28828         * nptl/smp.h: ... here.
28830         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28832         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28833         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28834         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28835         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28837         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28838         * nptl/stack-aliasing.h: New file.
28839         * sysdeps/i386/i686/stack-aliasing.h: New file.
28840         * sysdeps/i386/i686/nptl/Makefile: File removed.
28841         * sysdeps/x86_64/stack-aliasing.h: New file.
28842         * sysdeps/x86_64/nptl/Makefile
28843         (CFLAGS-pthread_create.c): Variable removed.
28845         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28846         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28847         old file.
28848         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28849         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28850         old file.
28852 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28854         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28855         (__ASSUME_SIGFRAME_V2): Remove macro.
28856         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28857         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28858         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28859         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28860         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28861         Declare as function.  Remove conditional macro definitions.
28862         (__default_rt_sa_restorer): Likewise.
28863         (__default_sa_restorer_v1): Remove declaration.
28864         (__default_sa_restorer_v2): Likewise.
28865         (__default_rt_sa_restorer_v1): Likewise.
28866         (__default_rt_sa_restorer_v2): Likewise.
28867         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28868         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28869         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28871 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28873         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28874         (libpthread-routines): Add sysdep.
28875         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28876         * sysdeps/unix/sysv/linux/sparc/Versions
28877         (libpthread: GLIBC_2.3.3): New version set.
28878         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28879         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28880         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28881         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28882         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28883         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28884         Moved ...
28885         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28886         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28887         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28888         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28889         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28890         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28891         * sysdeps/sparc/nptl/sem_init.c: ... here.
28892         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28893         * sysdeps/sparc/nptl/sem_post.c: ... here.
28894         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28895         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28896         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28897         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28898         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28899         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28900         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28901         (libpthread-routines): Add cpu_relax.
28902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28903         File removed.
28904         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28905         (librt: GLIBC_2.3.3): New version set.
28906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28907         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28908         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28909         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28912         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28914         Moved ...
28915         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28917         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28919         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28921         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28923         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28925         Moved ...
28926         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28927         Update #include.
28928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28929         Moved ...
28930         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28931         Update #include.
28932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28933         Moved ...
28934         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28935         Update #include.
28936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28937         Moved ...
28938         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28939         Update #include.
28940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28941         Moved ...
28942         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28943         Update #include.
28944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28945         Moved ...
28946         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28947         Update #include.
28948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28949         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28955         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28957         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28959         Moved ...
28960         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28962         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28964         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28966 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28968         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28969         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28970         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28971         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28972         * nscd/nscd.c: Likewise.
28973         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28974         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28975         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28976         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28978         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28979         <kernel-features.h>.
28980         (init_mq_netlink): Remove conditional have_sock_cloexec
28981         definitions.  Remove code conditional on have_sock_cloexec < 0.
28982         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28983         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28984         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28985         <kernel-features.h>.
28986         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28987         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28989 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28992         Add tests for memset_chk and memset.
28994         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28995         with AVX2_Usable.
28997 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28999         [BZ #16046]
29000         * elf/tst-dl-iter-static.c: New file.
29001         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29003         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29004         error.
29006 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29008         * sysdeps/unix/sysv/linux/kernel-features.h
29009         (__ASSUME_F_GETOWN_EX): Remove macro.
29010         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29011         <kernel-features.h>.
29012         (miss_F_GETOWN_EX): Remove variable or macro.
29013         (do_fcntl): Do not check miss_F_GETOWN_EX.
29014         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29016         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29017         Remove macro.
29018         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29019         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29020         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29022         * sysdeps/unix/sysv/linux/kernel-features.h
29023         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29024         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29025         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29026         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29028 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29030         [BZ #17075]
29031         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29032         Fix calculation of the symbol's value.
29033         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29034         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29035         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29036         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29037         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29038         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29039         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29040         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29041         (modules-names): Add `tst-armtlsdescmod',
29042         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29043         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29044         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29045         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29046         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29047         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29048         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29049         ($(objpfx)tst-armtlsdescloc): New dependency.
29050         ($(objpfx)tst-armtlsdescextnow): Likewise.
29051         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29052         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29053         TLS scheme support.
29054         * sysdeps/arm/configure: Regenerate.
29056 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29058         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29059         (__atfct_seterrno_2): Likewise.
29060         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29061         <kernel-features.h>.
29062         (__ASSUME_ATFCTS): Do not undefine and redefine.
29063         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29064         (__have_atfcts): Remove conditional definition.
29065         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29066         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29067         unreachable if [__ASSUME_ATFCTS].
29068         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29069         not undefine and redefine.
29070         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29071         <kernel-features.h>.
29072         (faccessat) [__NR_faccessat]: Make code unconditional.
29073         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29074         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29075         <kernel-features.h>.
29076         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29077         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29078         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29079         <kernel-features.h>.
29080         (fchownat) [__NR_fchownat]: Make code unconditional.
29081         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29082         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29083         <kernel-features.h>.
29084         (futimesat) [__NR_futimesat]: Make code unconditional.
29085         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29086         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29087         <kernel-features.h>.
29088         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29089         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29090         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29091         <kernel-features.h>.
29092         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29093         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29094         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29095         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29096         <kernel-features.h>.
29097         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29098         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29099         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29100         <kernel-features.h>.
29101         (linkat) [__NR_linkat]: Make code unconditional.
29102         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29103         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29104         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29105         <kernel-features.h>.
29106         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29107         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29108         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29109         <kernel-features.h>.
29110         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29111         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29112         * sysdeps/unix/sysv/linux/openat.c: Do not include
29113         <kernel-features.h>.
29114         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29115         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29116         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29117         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29118         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29119         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29120         <kernel-features.h>.
29121         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29122         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29123         result of INLINE_SYSCALL directly, not via int variable.
29124         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29125         <kernel-features.h>.
29126         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29127         (renameat) [__NR_renameat]: Make code unconditional.
29128         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29129         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29130         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29131         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29132         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29133         (__ASSUME_ATFCTS): Do not undefine and redefine.
29134         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29135         <kernel-features.h>.
29136         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29137         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29138         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29139         <kernel-features.h>.
29140         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29141         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29142         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29143         (__ASSUME_ATFCTS): Do not undefine and redefine.
29144         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29145         <kernel-features.h>.
29146         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29147         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29148         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29149         <kernel-features.h>.
29150         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29151         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29153 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29155         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29157 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29159         [BZ #17069]
29160         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29161         constructed tree before returning error.
29162         * posix/bug-regexp36.c: Expand test case.
29164 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29166         [BZ #6803]
29167         * math/libm-test.inc (scalbln_test_date):
29168         Add errno expectations.
29169         * math/w_scalblnf.c: New File.
29170         Add wrapper which checks for setting errno to ERANGE.
29171         Add weak_alias for corresponding scalbln function.
29172         * math/w_scalbln.c: Likewise.
29173         * math/w_scalblnl.c: Likewise.
29174         * math/Makefile (libm-calls): Add w_scalbln.
29175         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29176         Remove weak_alias for corresponding scalbln function.
29177         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29178         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29179         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29180         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29181         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29182         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29183         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29184         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29185         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29186         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29187         Remove long_double_symbol for scalblnl function in libm, libc.
29188         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29189         Add wrapper which checks for setting errno to ERANGE.
29190         Add long_double_symbol for scalblnl function in libm, libc.
29191         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29192         Remove long_double_symbol for scalblnl in libm.
29193         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29194         Add wrapper which checks for setting errno to ERANGE.
29195         Add long_double_symbol for scalblnl function in libm.
29196         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29197         Do not use wrapper because of own implementation.
29199 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29201         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29202         3 bytes for __pad1 for x32.
29203         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29205 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29206             H.J. Lu  <hongjiu.lu@intel.com>
29208         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29209         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29210         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29211         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29212         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29214 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29216         [BZ #17069]
29217         * posix/regcomp.c (parse_expression): Deallocate partially
29218         constructed tree before returning error.
29219         * posix/Makefile.c (tests): Add bug-regex36.
29220         (generated): Add bug-regex36.mtrace.
29221         (tests-special): Add $(objpfx)bug-regex36-mem.out
29222         (bug-regex36-ENV): New variable.
29223         ($(objpfx)bug-regex36-mem.out): New rule.
29224         * posix/bug-regex36.c: New file.
29226 2014-06-19  Will Newton  <will.newton@linaro.org>
29228         * malloc/malloc.c (systrim): If extra is zero then return
29229         early.
29231 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29233         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29235 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29237         * sysdeps/aarch64/strchr.S: New file.
29239 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29241         [BZ #17022]
29242         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29243         from arguments -2 or below.
29244         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29245         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29247 2014-06-18  Andreas Schwab  <schwab@suse.de>
29249         [BZ #17062]
29250         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29251         of a bracket expr not to run off the end of the string.
29252         * posix/Makefile (tests): Add tst-fnmatch3.
29253         * posix/tst-fnmatch3.c: New file.
29255 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29257         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29258         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29259         [$(cross-compiling) = no]: Likewise.
29260         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29261         [$(cross-compiling) = no]: Likewise.
29263 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29265         [BZ #17031]
29266         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29267         double, adjusted for any remainder from the high double.
29268         * math/libm-test.inc (nearbyint): Add tests.
29269         (rint): Likewise.
29271 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29273         * nptl/sysdeps/powerpc/Makefile: Moved ...
29274         * sysdeps/powerpc/nptl/Makefile: ... here.
29275         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29276         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29277         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29278         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29279         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29280         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29281         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29282         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29283         * nptl/sysdeps/powerpc/tls.h: Moved ...
29284         * sysdeps/powerpc/nptl/tls.h: ... here.
29286 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29288         [BZ #16681]
29289         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29290         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29291         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29292         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29293         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29294         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29295         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29296         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29297         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29299 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29301         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29303 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29305         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29306         defined operator.
29308         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29309         $TIMEOUTFACTOR.
29311 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29313         [BZ #17058]
29314         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29315         non-executed part of the test.
29317 2014-06-16  Andreas Schwab  <schwab@suse.de>
29319         * string/bits/string2.h (strdup, strndup): Update feature guard.
29321 2014-06-14  David S. Miller  <davem@davemloft.net>
29323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29325 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29327         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29328         that was previously under [RESET_PID].
29329         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29331         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29332         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29333         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29334         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29335         (__libc_vfork): New strong alias.
29336         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29338 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29340         * sysdeps/generic/elide.h: New file.
29342 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29344         * Makefile (installed-headers): Adjust path of pthread.h header.
29346 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29348         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29349         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29350         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29351         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29353         * nptl/sysdeps/s390/Makefile: Moved ...
29354         * sysdeps/s390/nptl/Makefile: ... here.
29355         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29356         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29357         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29358         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29359         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29360         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29361         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29362         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29363         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29364         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29365         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29366         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29367         * nptl/sysdeps/s390/tls.h: Moved ...
29368         * sysdeps/s390/nptl/tls.h: ... here.
29370         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29371         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29373 2014-06-13  David S. Miller  <davem@davemloft.net>
29375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29378         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29382         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29383         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29384         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29385         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29386         Remove RESET_PID cpp guards.
29387         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29388         Remove RESET_PID cpp guards.
29389         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29391 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29393         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29394         __sp to uintptr_t.
29396 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29398         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29399         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29401         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29403         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29404         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29406         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29407         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29408         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29410         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29411         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29412         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29413         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29415         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29416         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29419         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29420         (pthread_rwlock_rdlock): Add elision.
29421         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29422         (pthread_rwlock_wrlock): Add elision.
29423         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29424         (pthread_rwlock_trywrlock): Add elision.
29425         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29426         (pthread_rwlock_tryrdlock): Add elision.
29427         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29428         (pthread_rwlock_tryrdlock): Add elision unlock.
29429         * nptl/sysdeps/pthread/pthread.h:
29430         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29431         (PTHREAD_RWLOCK_INITIALIZER,
29432         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29433         Handle new elision field.
29434         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29435         * sysdeps/arm/nptl/bits/pthreadtypes.h
29436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29437         * sysdeps/sh/nptl/bits/pthreadtypes.h
29438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29439         * sysdeps/tile/nptl/bits/pthreadtypes.h
29440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29441         * sysdeps/a/nptl/bits/pthreadtypes.h
29442         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29443         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29445         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29447         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29448         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29449         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29450         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29451         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29452         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29453         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29454         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29455         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29457         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29458         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29459         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29460         (elision_init): Set try_xbegin to zero when no RTM.
29461         * sysdeps/x86/nptl/bits/pthreadtypes.h
29462         (pthread_rwlock_t): Change __pad1 to __rwelision.
29463         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29465 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29467         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29468         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29469         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29470         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29472 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29474         [BZ #16996]
29475         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29476         that the cached result has been set before returning it.
29478 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29480         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29481         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29482         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29483         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29484         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29485         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29487         * nptl/sysdeps/sparc/Makefile: Moved ...
29488         * sysdeps/sparc/nptl/Makefile: ... here.
29489         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29490         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29491         * nptl/sysdeps/sparc/tls.h: Moved ...
29492         * sysdeps/sparc/nptl/tls.h: ... here.
29493         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29494         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29495         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29496         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29497         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29498         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29499         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29500         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29501         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29502         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29503         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29504         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29505         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29506         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29507         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29508         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29509         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29511         Update #include.
29512         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29513         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29514         Update #include.
29515         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29516         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29517         Update #include.
29518         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29519         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29520         Update #include.
29522         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29524         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29525         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29527         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29528         (struct list_links): Type removed.
29529         (struct thread_node, struct timer_node): Replace struct list_links
29530         with struct list_head.
29531         (list_unlink_ip): Likewise.
29532         * sysdeps/pthread/timer_routines.c
29533         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29534         (list_append, list_insbefore): Likewise.
29535         (list_init): Function removed.
29536         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29537         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29538         * sysdeps/pthread/Makefile: ... here, new file.
29540         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29541         * sysdeps/nptl/Implies: ... here.
29542         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29543         * nptl/sysdeps/pthread/list.h: Moved ...
29544         * include/list.h: ... here.
29545         * nptl/sysdeps/pthread/createthread.c: Moved ...
29546         * nptl/createthread.c: ... here.
29547         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29548         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29549         * nptl/pt-longjmp.c: ... here.
29550         * nptl/sysdeps/pthread/Makefile: Moved ...
29551         * sysdeps/nptl/Makefile: ... here.
29552         * nptl/sysdeps/pthread/Subdirs: Moved ...
29553         * sysdeps/nptl/Subdirs: ... here.
29554         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29555         * sysdeps/nptl/aio_misc.h: ... here.
29556         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29557         * sysdeps/nptl/bits/libc-lock.h: ... here.
29558         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29559         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29560         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29561         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29562         * nptl/sysdeps/pthread/configure: Moved ...
29563         * sysdeps/nptl/configure: ... here.
29564         * nptl/sysdeps/pthread/configure.ac: Moved ...
29565         * sysdeps/nptl/configure.ac: ... here.
29566         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29567         * sysdeps/nptl/gai_misc.h: ... here.
29568         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29569         * sysdeps/nptl/librt-cancellation.c: ... here.
29570         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29571         * sysdeps/nptl/malloc-machine.h: ... here.
29572         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29573         * sysdeps/nptl/pthread-functions.h: ... here.
29574         * nptl/sysdeps/pthread/pthread.h: Moved ...
29575         * sysdeps/nptl/pthread.h: ... here.
29576         * nptl/sysdeps/pthread/setxid.h: Moved ...
29577         * sysdeps/nptl/setxid.h: ... here.
29578         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29579         * sysdeps/nptl/sigfillset.c: ... here.
29580         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29581         * sysdeps/nptl/tcb-offsets.h: ... here.
29582         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29583         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29584         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29585         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29586         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29587         * sysdeps/pthread/allocalim.h: ... here.
29588         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29589         * sysdeps/pthread/bits/sigthread.h: ... here.
29590         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29591         * sysdeps/pthread/flockfile.c: ... here.
29592         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29593         * sysdeps/pthread/ftrylockfile.c: ... here.
29594         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29595         * sysdeps/pthread/funlockfile.c: ... here.
29596         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29597         * sysdeps/pthread/posix-timer.h: ... here.
29598         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29599         * sysdeps/pthread/timer_create.c: ... here.
29600         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29601         * sysdeps/pthread/timer_delete.c: ... here.
29602         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29603         * sysdeps/pthread/timer_getoverr.c: ... here.
29604         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29605         * sysdeps/pthread/timer_gettime.c: ... here.
29606         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29607         * sysdeps/pthread/timer_routines.c: ... here.
29608         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29609         * sysdeps/pthread/timer_settime.c: ... here.
29610         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29611         * sysdeps/pthread/tst-timer.c: ... here.
29612         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29613         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29615         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29616         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29618         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29619         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29620         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29621         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29622         Update #include target.
29623         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29624         * sysdeps/i386/i686/nptl/Makefile: ... here.
29625         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29626         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29627         Update #include target.
29628         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29629         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29630         * nptl/sysdeps/i386/Makefile: Moved ...
29631         * sysdeps/i386/nptl/Makefile: ... here.
29632         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29633         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29634         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29635         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29636         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29637         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29638         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29639         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29640         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29641         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29642         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29643         * nptl/sysdeps/i386/tls.h: Moved ...
29644         * sysdeps/i386/nptl/tls.h: ... here.
29646         * sysdeps/sh/Makefile [$(subdir) = csu]
29647         (gen-as-const-headers): Add tcb-offsets.sym.
29648         * nptl/sysdeps/sh/Makefile: File removed.
29649         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29650         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29651         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29652         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29653         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29654         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29655         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29656         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29657         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29658         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29659         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29660         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29661         * nptl/sysdeps/sh/tls.h: Moved ...
29662         * sysdeps/sh/nptl/tls.h: ... here.
29663         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29664         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29665         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29666         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29667         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29668         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29669         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29670         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29671         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29672         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29674         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29676         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29677         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29678         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29680         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29681         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29682         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29683         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29684         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29685         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29686         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29687         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29688         Moved ...
29689         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29691         Moved ...
29692         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29693         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29694         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29695         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29696         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29697         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29698         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29699         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29700         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29701         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29702         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29703         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29704         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29705         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29706         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29707         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29708         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29709         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29710         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29712 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29714         * posix/spawn_faction_addopen.c: Include string.h.
29716 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29718         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29719         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29720         * nptl/sysdeps/x86_64/Makefile: Moved ...
29721         * sysdeps/x86_64/nptl/Makefile: ... here.
29722         * nptl/sysdeps/x86_64/configure: Moved ...
29723         * sysdeps/x86_64/nptl/configure: ... here.
29724         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29725         * sysdeps/x86_64/nptl/configure.ac: ... here.
29726         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29727         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29728         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29729         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29730         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29731         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29732         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29733         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29734         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29735         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29736         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29737         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29738         * nptl/sysdeps/x86_64/tls.h: Moved ...
29739         * sysdeps/x86_64/nptl/tls.h: ... here.
29740         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29741         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29742         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29743         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29745         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29747 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29751 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29753         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29754         type.
29755         [POSIX] (off_t): Likewise.
29756         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29757         [POSIX] (S_ISBLK): Require macro.
29758         [POSIX] (S_ISCHR): Likewise.
29759         [POSIX] (S_ISDIR): Likewise.
29760         [POSIX] (S_ISFIFO): Likewise.
29761         [POSIX] (S_ISREG): Likewise.
29762         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29763         optional-macro.
29764         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29765         type.
29766         [POSIX] (time_t): Likewise.
29767         [POSIX] (timer_t): Likewise.
29769 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29771         [BZ #17048]
29772         * posix/spawn_int.h (struct __spawn_action): Make the path string
29773         non-const to support deallocation.
29774         * posix/spawn_faction_addopen.c
29775         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29776         * posix/spawn_faction_destroy.c
29777         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29778         path in all spawn_do_open actions.
29779         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29780         posix_spawn_file_actions_addopen.
29782 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29784         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29785         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29786         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29787         conditional code always true.
29788         (__libc_vfork): New alias.
29790 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29792         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29793         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29795         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29797         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29798         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29800         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29801         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29803         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29804         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29806 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29808         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29809         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29810         multiarch strcmp for PPC64.
29811         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29812         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29814         multiarch optimizations.
29815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29816         (__libc_ifunc_impl_list): Likewise.
29818 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29820         * benchtests/scripts/validate_benchout.py: New script.
29821         * benchtests/Makefile (bench-func): Call it.
29822         * benchtests/scripts/benchout.schema.json: New file.
29824 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29826         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29827         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29828         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29829         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29830         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29831         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29832         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29833         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29834         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29835         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29836         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29837         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29838         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29839         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29840         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29841         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29843         Moved ...
29844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29845         ... here.
29846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29847         Moved ...
29848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29850         Moved ...
29851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29852         ... here.
29853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29854         Moved ...
29855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29856         ... here.
29857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29858         Moved ...
29859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29861         Moved ...
29862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29863         ... here.
29864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29865         Moved ...
29866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29867         ... here.
29868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29869         Moved ...
29870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29872         Moved ...
29873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29874         ... here.
29875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29876         Moved ...
29877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29878         ... here.
29879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29880         Moved ...
29881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29882         ... here.
29883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29884         Moved ...
29885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29887         Moved ...
29888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29889         ... here.
29890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29891         Moved ...
29892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29893         ... here.
29894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29895         Moved ...
29896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29897         ... here.
29898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29899         Moved ...
29900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29902         Moved ...
29903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29904         ... here.
29905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29906         Moved ...
29907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29908         ... here.
29909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29910         Moved ...
29911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29913         Moved ...
29914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29915         ... here.
29916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29917         Moved ...
29918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29920         Moved ...
29921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29923         Moved ...
29924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29925         ... here.
29926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29927         Moved ...
29928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29929         ... here.
29930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29931         Moved ...
29932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29933         ... here.
29934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29935         Moved ...
29936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29938         Moved ...
29939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29940         ... here.
29941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29942         Moved ...
29943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29944         ... here.
29945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29946         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29948         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29949         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29950         Moved ...
29951         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29952         ... here.
29953         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29954         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29955         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29956         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29958         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29960         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29961         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29962         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29963         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29964         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29965         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29966         Moved ...
29967         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29968         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29969         Moved ...
29970         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29971         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29972         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29973         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29974         Moved ...
29975         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29976         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29977         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29978         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29979         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29980         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29981         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29983 2014-06-10  Wilco  <wdijkstr@arm.com>
29985         * math/test-fenv-return.c: New file.
29986         * math/Makefile: Add new test test-fenv-return.
29988 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29990         [BZ #17042]
29991         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29992         when x - 1 is zero.
29993         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29994         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29995         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29996         0.0L for an argument of 1.0L.
29997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29998         Likewise.
29999         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30000         value when x - 1 is zero.
30001         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30002         * sysdeps/i386/fpu/libm-test-ulps: Update.
30003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30005 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30007         [BZ #15119]
30008         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30010 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30012         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30013         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30015 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30017         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30018         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30020         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30021         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30023         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30024         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30026         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30027         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30029         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30030         if not already defined.
30031         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30032         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30033         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30034         (TLS_INIT_TP): Use it.
30035         (TLS_DEFINE_INIT_TP): New macro.
30036         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30038 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30040         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30041         constant.
30042         [POSIX] (IXANY): Likewise.
30043         [POSIX] (OLCUC): Likewise.
30044         [POSIX || POSIX2008] (CBAUD): Do not allow.
30045         [POSIX || POSIX2008] (DEFECHO): Likewise.
30046         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30047         [POSIX || POSIX2008] (ECHOKE): Likewise.
30048         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30049         [POSIX || POSIX2008] (EXTA): Likewise.
30050         [POSIX || POSIX2008] (EXTB): Likewise.
30051         [POSIX || POSIX2008] (FLUSHO): Likewise.
30052         [POSIX || POSIX2008] (LOBLK): Likewise.
30053         [POSIX || POSIX2008] (PENDIN): Likewise.
30054         [POSIX || POSIX2008] (SWTCH): Likewise.
30055         [POSIX || POSIX2008] (VDISCARD): Likewise.
30056         [POSIX || POSIX2008] (VDSUSP): Likewise.
30057         [POSIX || POSIX2008] (VLNEXT): Likewise.
30058         [POSIX || POSIX2008] (VREPRINT): Likewise.
30059         [POSIX || POSIX2008] (VSTATUS): Likewise.
30060         [POSIX || POSIX2008] (VWERASE): Likewise.
30061         (B*): Change to B[0123456789]*.
30062         * conform/data/time.h-data [POSIX || UNIX98]
30063         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30064         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30065         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30066         [POSIX] (tm_*): Do not allow.
30068 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30070         * Makefile (install): Don't set LANGUAGE.
30071         * Makefile.in (install): Likewise.
30072         * assert/Makefile (test-assert-ENV): Remove variable.
30073         (test-assert-perr-ENV): Likewise.
30074         * elf/Makefile (neededtest4-ENV): Likewise.
30075         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30076         [$(cross-compiling) = no]: Don't set LANGUAGE.
30077         * io/ftwtest-sh (LANG): Remove variable.
30078         * libio/Makefile (tst-widetext-ENV): Likewise.
30079         * manual/install.texi (Running make install): Don't refer to
30080         environment settings for make install.
30081         * INSTALL: Regenerated.
30082         * nptl/tst-tls6.sh: Don't set LANG.
30083         * posix/globtest.sh (LANG): Remove variable.
30084         * string/Makefile (tester-ENV): Likewise.
30085         (inl-tester-ENV): Likewise.
30086         (noinl-tester-ENV): Likewise.
30087         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30088         [$(cross-compiling) = no]: Don't set LANGUAGE.
30089         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30090         without explicit environment settings.
30092 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30094         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30095         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30096         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30097         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30099 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30101         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30102         other files in the crypt directory.
30103         * crypt/crypt.c: Remove duplicate includes.
30104         * crypt/crypt-entry.c: Likewise.
30105         * crypt/crypt_util.c: Likewise.
30107 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30109         * Makeconfig (run-program-env): New variable.
30110         (run-program-prefix-before-env): Likewise.
30111         (run-program-prefix-after-env): Likewise.
30112         (run-program-prefix): Define in terms of new variables.
30113         (built-program-cmd-before-env): New variable.
30114         (built-program-cmd-after-env): Likewise.
30115         (built-program-cmd): Define in terms of new variables.
30116         (test-program-prefix-before-env): New variable.
30117         (test-program-prefix-after-env): Likewise.
30118         (test-program-prefix): Define in terms of new variables.
30119         (test-program-cmd-before-env): New variable.
30120         (test-program-cmd-after-env): Likewise.
30121         (test-program-cmd): Define in terms of new variables.
30122         * Rules (make-test-out): Use $(run-program-env).
30123         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30124         (help): Do not mention environment variables.  Mention
30125         --timeoutfactor option.
30126         (timeoutfactor): New variable.
30127         (blacklist_exports): Remove function.
30128         (exports): Remove variable.
30129         (command): Do not include ${exports}.
30130         * manual/install.texi (Configuring and compiling): Do not mention
30131         test wrappers preserving environment variables.  Mention that last
30132         assignment to a variable must take precedence.
30133         * INSTALL: Regenerated.
30134         * benchtests/Makefile (run-bench): Use $(run-program-env).
30135         * catgets/Makefile ($(objpfx)test1.cat): Use
30136         $(built-program-cmd-before-env), $(run-program-env) and
30137         $(built-program-cmd-after-env).
30138         ($(objpfx)test2.cat): Do not specify environment variables
30139         explicitly.
30140         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30141         $(run-program-env) and $(built-program-cmd-after-env).
30142         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30143         $(run-program-env) and $(test-program-cmd-after-env).
30144         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30145         explicitly.
30146         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30147         run_program_env and test_program_cmd_after_env arguments.
30148         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30149         * elf/tst-pathopt.sh: Use run_program_env argument.
30150         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30151         $(test-wrapper-env) and $(run-program-env).
30152         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30153         run_program_env arguments.
30154         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30155         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30156         $(test-program-prefix-before-env), $(run-program-env) and
30157         $(test-program-prefix-after-env).
30158         ($(objpfx)tst-gettext2.out): Likewise.
30159         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30160         run_program_env and test_program_prefix_after_env arguments.
30161         * intl/tst-gettext2.sh: Likewise.
30162         * intl/tst-gettext4.sh: Do not set environment variables
30163         explicitly.
30164         * intl/tst-gettext6.sh: Likewise.
30165         * intl/tst-translit.sh: Likewise.
30166         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30167         $(test-program-prefix-before-env), $(run-program-env) and
30168         $(test-program-prefix-after-env).
30169         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30170         run_program_env and test_program_prefix_after_env arguments.
30171         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30172         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30173         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30174         explicitly with each use of ${test_wrapper_env}.
30175         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30176         $(test-program-prefix-before-env), $(run-program-env) and
30177         $(test-program-prefix-after-env).
30178         * posix/tst-getconf.sh: Do not set environment variables
30179         explicitly.
30180         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30181         run_program_env and test_program_prefix_after_env arguments.
30182         * stdio-common/tst-printf.sh: Do not set environment variables
30183         explicitly.
30184         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30185         $(test-program-prefix-before-env), $(run-program-env) and
30186         $(test-program-prefix-after-env).
30187         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30188         run_program_env and test_program_prefix_after_env arguments.
30189         Split $test calls into $test_pre and $test.
30190         * timezone/Makefile (build-testdata): Use
30191         $(built-program-cmd-before-env), $(run-program-env) and
30192         $(built-program-cmd-after-env).
30194 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30196         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30197         strlen for non SHARED builds.
30199 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30201         * nptl/allocatestack.c (check_list): Inlined function...
30202         (__reclaim_stacks): ... here.
30204 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30206         [BZ #15698]
30207         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30208         memory overrun.
30210 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30212         * Rules (make-test-out): Include
30213         LOCPATH=$(common-objpfx)localedata in default environment.
30214         * debug/Makefile (tst-chk1-ENV): Remove variable.
30215         (tst-chk2-ENV): Likewise.
30216         (tst-chk3-ENV): Likewise.
30217         (tst-chk4-ENV): Likewise.
30218         (tst-chk5-ENV): Likewise.
30219         (tst-chk6-ENV): Likewise.
30220         (tst-lfschk1-ENV): Likewise.
30221         (tst-lfschk2-ENV): Likewise.
30222         (tst-lfschk3-ENV): Likewise.
30223         (tst-lfschk4-ENV): Likewise.
30224         (tst-lfschk5-ENV): Likewise.
30225         (tst-lfschk6-ENV): Likewise.
30226         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30227         (tst-iconv7-ENV): Likewise.
30228         * intl/Makefile (LOCPATH-ENV): Likewise.
30229         (tst-codeset-ENV): Likewise.
30230         (tst-gettext3-ENV): Likewise.
30231         (tst-gettext5-ENV): Likewise.
30232         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30233         (tst-fopenloc-ENV): Likewise.
30234         (tst-fgetws-ENV): Remove variable.
30235         (tst-ungetwc1-ENV): Likewise.
30236         (tst-ungetwc2-ENV): Likewise.
30237         (bug-ungetwc2-ENV): Likewise.
30238         (tst-swscanf-ENV): Likewise.
30239         (bug-ftell-ENV): Likewise.
30240         (tst-fgetwc-ENV): Likewise.
30241         (tst-fseek-ENV): Likewise.
30242         (tst-ftell-partial-wide-ENV): Likewise.
30243         (tst-ftell-active-handler-ENV): Likewise.
30244         (tst-ftell-append-ENV): Likewise.
30245         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30246         (tst-regexloc-ENV): Likewise.
30247         (bug-regex1-ENV): Likewise.
30248         (tst-regex-ENV): Likewise.
30249         (tst-regex2-ENV): Likewise.
30250         (bug-regex5-ENV): Likewise.
30251         (bug-regex6-ENV): Likewise.
30252         (bug-regex17-ENV): Likewise.
30253         (bug-regex18-ENV): Likewise.
30254         (bug-regex19-ENV): Likewise.
30255         (bug-regex20-ENV): Likewise.
30256         (bug-regex22-ENV): Likewise.
30257         (bug-regex23-ENV): Likewise.
30258         (bug-regex25-ENV): Likewise.
30259         (bug-regex26-ENV): Likewise.
30260         (bug-regex30-ENV): Likewise.
30261         (bug-regex32-ENV): Likewise.
30262         (bug-regex33-ENV): Likewise.
30263         (bug-regex34-ENV): Likewise.
30264         (bug-regex35-ENV): Likewise.
30265         (tst-rxspencer-ENV): Likewise.
30266         (tst-rxspencer-no-utf8-ENV): Likewise.
30267         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30268         (tst-sscanf-ENV): Likewise.
30269         (tst-swprintf-ENV): Likewise.
30270         (tst-swscanf-ENV): Likewise.
30271         (test-vfprintf-ENV): Likewise.
30272         (scanf13-ENV): Likewise.
30273         (bug14-ENV): Likewise.
30274         (tst-grouping-ENV): Likewise.
30275         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30276         (tst-strtod3-ENV): Likewise.
30277         (tst-strtod4-ENV): Likewise.
30278         (tst-strtod5-ENV): Likewise.
30279         (testmb2-ENV): Likewise./
30280         * string/Makefile (tst-strxfrm-ENV): Likewise.
30281         (tst-strxfrm2-ENV): Likewise.
30282         (bug-strcoll1-ENV): Likewise.
30283         (test-strcasecmp-ENV): Likewise.
30284         (test-strncasecmp-ENV): Likewise.
30285         * time/Makefile (tst-strptime-ENV): Likewise.
30286         (tst-ftime_l-ENV): Likewise.
30287         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30288         (tst-mbrtowc-ENV): Likewise.
30289         (tst-wcrtomb-ENV): Likewise.
30290         (tst-mbrtowc2-ENV): Likewise.
30291         (tst-c16c32-1-ENV): Likewise.
30292         (tst-mbsnrtowcs-ENV): Likewise.
30294 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30296         * manual/resource.texi (How to get information about the memory
30297         subsystem?): Fix typo.
30298         Reported by Peon de la Parra Ivan <peon@keba.com>
30300 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30302         [BZ #16882]
30303         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30304         (pthread_spin_lock): Branch out of spin loop to proper location.
30305         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30306         (pthread_spin_lock): Likewise.
30308         * nptl/tst-spin4.c: New test.
30309         * nptl/Makefile (tests): Add tst-spin4.
30311 2014-06-03  Andreas Schwab  <schwab@suse.de>
30313         [BZ #15946]
30314         * resolv/res_send.c (send_dg): Reload file descriptor after
30315         calling reopen.
30317 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30319         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30321 2014-06-03  Richard Henderson  <rth@redhat.com>
30323         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30324         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30325         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30326         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30327         in the SAVE_PID block.
30328         (__libc_vfork): New alias.
30329         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30331         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30332         child in registers, not on the stack.  Remove RESET_PID conditionals.
30333         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30335 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30337         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30339 2014-06-03  Wilco  <wdijkstr@arm.com>
30341         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30342         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30343         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30344         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30345         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30346         Likewise.
30348 2014-06-03  Wilco  <wdijkstr@arm.com>
30350         * sysdeps/aarch64/fpu/math_private.h
30351         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30352         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30353         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30354         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30355         Fix declarations.
30357 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30359         * crypt/crypt-private.h: Include ufc-crypt.h.
30360         (__b64_from_24bit): Declare extern.
30361         * crypt/crypt_util.c(__b64_from_24bit): New function.
30362         (b64t): New static const variable.
30363         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30364         (b64t): Remove variable.
30365         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30366         * crypt/sha256-crypt.c: Include crypt-private.h.
30367         (b64t): Remove variable.
30368         (__sha256_crypt_r): Remove b64_from_24bit and replace
30369         with __b64_from_24bit.
30370         * crypt/sha512-crypt.c: Likewise.
30372 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30374         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30375         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30376         Label the code __libc_vfork rather than __vfork.
30377         [!NOT_IN_libc] (vfork): Define as weak alias.
30378         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30379         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30380         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30382 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30384         * malloc/malloc.c (malloc_info): Fix format specifier for
30385         n_mmaps.
30387 2014-06-02  Wilco  <wdijkstr@arm.com>
30389         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30390         FPCR write.
30392 2014-06-02  Wilco  <wdijkstr@arm.com>
30394         [BZ #17009]
30395         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30396         Rewrite to reduce FPCR/FPSR accesses.
30398 2014-06-01  David S. Miller  <davem@davemloft.net>
30400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30402 2014-05-31  David S. Miller  <davem@davemloft.net>
30404         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30405         to occur in round to nearest mode when |x| >= 2.0
30407 2014-05-30  Richard Henderson  <rth@twiddle.net>
30409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30410         (PSEUDO_RET_NOERRNO): Remove.
30411         (ret): Don't redefine.
30412         (ret_NOERRNO): Define in terms of ret.
30413         (ret_ERRVAL): Likewise.
30415         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30416         use of PSEUDO_RET; perform the error check directly.
30418 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30420         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30421         with __int128_t.
30423 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30425         * malloc/malloc (malloc_info): Fix formatting.
30427 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30428             Roland McGrath  <roland@hack.frob.com>
30430         * malloc/malloc (malloc_info): Also print mmapped statistics.
30432 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30434         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30435         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30437 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30439         * malloc/malloc.c (malloc_info): Inline mi_arena.
30441 2014-05-29  Richard Henderson  <rth@twiddle.net>
30443         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30444         Remove comma before expanding ASM_ARGS_##nr.
30445         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30446         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30447         of ASM_ARGS_##nr.
30448         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30449         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30450         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30451         (ASM_ARGS_1): Add leading comma.
30453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30454         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30455         to __errno_location.
30456         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30457         Remove the expected plt for __errno_location.
30459         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30460         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30461         call to __read_tp.
30463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30464         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30465         it and break it down.
30466         (DOCARGS_0, DOCARGS_1): Do nothing.
30467         (DOCARGS_2): Update to store into the new stack frame.
30468         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30469         (UNDOCARGS_1): Update to restore from the new stack frame.
30470         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30471         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30473         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30474         (SINGLE_THREAD_P): New parameter for result regno.
30475         (PSEUDO): Update to match; use cbz instead of beq.
30477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30478         Use ENTRY to define the _nocancel entry point.  Share the syscall
30479         and syscall error check paths with the cancel path.
30480         (PSEUDO_END): New.
30482         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30483         whitespace; tabs before and after asm mnemonics.
30485 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30487         [BZ #15132]
30488         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30489         Call fstat64 or stat64 internally, depending on arguments passed.
30490         Replace stat buffer argument with file descriptor argument.
30491         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30492         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30493         Pass fd to __internal_statvfs instead of calling fstat64.
30494         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30495         Pass fd to __internal_statvfs64 instead of calling fstat64.
30496         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30497         Pass -1 to __internal_statvfs instead of calling stat64.
30498         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30499         Pass -1 to __internal_statvfs64 instead of calling stat64.
30501 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30503         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30504         that was previously under [RESET_PID].
30505         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30507         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30508         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30510 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30512         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30514         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30515         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30517 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30519         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30521 2014-05-27  Andreas Schwab  <schwab@suse.de>
30523         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30524         TLS_INIT_TP macro.
30525         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30526         * elf/rtld.c (init_tls, dl_main): Likewise.
30527         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30528         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30529         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30530         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30531         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30532         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30533         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30534         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30535         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30536         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30537         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30538         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30539         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30540         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30541         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30542         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30543         * sysdeps/generic/tls.h: Update description.
30545 2014-05-27  Will Newton  <will.newton@linaro.org>
30547         [BZ #16990]
30548         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30549         and restore r2 rather than just restoring.
30551 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30553         [BZ #16724]
30554         * libio/tst-ftell-append.c: New test case.
30555         * libio/Makefile (tests): Add test case.
30556         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30557         append mode.
30558         * libio/wfileops.c (do_ftell_wide): Likewise.
30560 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30564         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30565         ...
30566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30568         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30569         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30571         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30573         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30575         Moved ...
30576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30578         Moved ...
30579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30581         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30583         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30585         ...
30586         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30588         Moved ...
30589         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30590         here.
30591         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30592         ...
30593         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30595         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30598         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30600         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30603         merge into ...
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30606         ...
30607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30609         ...
30610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30612         Moved ...
30613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30614         here.
30615         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30616         Moved ...
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30619         Moved ...
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30623         conditional [RESET_PID].
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30626         removed.
30627         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30628         removed.
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30631         <tcb-offsets.h>.
30632         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30633         (__libc_vfork): New strong alias.
30634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30635         removed.
30636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30637         Removed.
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30640         <tcb-offsets.h>.
30641         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30642         (__libc_vfork): New strong alias.
30643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30644         removed.
30645         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30646         removed.
30648 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30650         * malloc/malloc.c (mi_arena): New function.
30651         (malloc_info): Remove nested function mi_arena. Call non-nosted
30652         function mi_arena.
30654 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30656         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30657         by insrwi.
30658         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30659         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30660         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30661         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30662         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30663         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30664         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30666 2014-05-26  Andreas Schwab  <schwab@suse.de>
30668         [BZ #16984]
30669         * locale/programs/repertoire.c (repertoire_read): Add slash
30670         between I18NPATH element and file name.
30671         * locale/programs/locfile.c (locfile_read): Likewise.
30673 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30675         * nptl/pthread_mutexattr_settype.c
30676         (__pthread_mutexattr_settype):
30677         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30679 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30681         * nptl/tst-mutex5 (do_test):
30682         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30684 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30686         * benchtests/README: Document 'init' directive.
30687         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30688         BENCH_INIT.
30689         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30690         (parse_file): Recognize 'init' directive.
30692 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30694         [BZ #16796]
30695         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30696         alignment of struct pthread.
30698 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30700         [BZ #16878]
30701         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30702         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30703         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30704         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30706 2014-05-25  Richard Henderson  <rth@twiddle.net>
30708         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30709         (SINGLE_THREAD_P_PIC): Remove.
30710         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30711         (SINGLE_THREAD_P_PIC): Remove.
30713         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30714         branch to syscall error ...
30715         (PSEUDO): ... here.
30716         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30717         from __local_syscall_error to .Lsyscall_error.
30718         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30719         (SYSCALL_ERROR): Update label name.
30721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30722         Do not use DOARGS/UNDOARGS.
30723         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30724         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30725         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30726         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30727         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30729         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30730         block comment.
30732         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30733         define if !NOT_IN_libc.
30734         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30735         define with non-default symbol versions.
30737 2014-05-23  Richard Henderson  <rth@twiddle.net>
30739         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30740         (vfork, __vfork): Define via compat_symbol.
30742         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30743         [!HAVE_IFUNC] (vfork_compat): Remove.
30744         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30746 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30748         [BZ #16978]
30749         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30750         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30751         variable.
30753 2014-05-23  Richard Henderson  <rth@twiddle.net>
30755         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30756         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30757         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30758         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30760         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30761         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30762         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30763         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30764         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30765         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30766         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30767         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30768         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30769         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30770         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30771         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30772         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30773         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30774         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30775         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30776         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30777         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30778         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30779         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30780         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30781         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30782         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30783         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30784         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30785         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30786         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30787         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30788         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30789         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30790         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30791         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30792         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30793         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30794         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30795         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30796         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30797         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30798         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30799         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30800         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30801         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30802         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30803         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30804         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30805         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30806         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30807         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30808         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30809         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30810         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30811         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30812         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30813         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30814         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30815         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30817         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30818         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30819         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30820         before exiting on error.
30821         (__libc_vfork): New strong alias.
30822         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30823         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30825         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30826         that was previously under [RESET_PID].
30827         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30829         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30831 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30833         [BZ #16977]
30834         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30835         value when x - 1 is zero.
30836         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30837         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30838         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30839         0.0L for an argument of 1.0L.
30840         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30841         Likewise.
30842         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30843         value when x - 1 is zero.
30844         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30845         * sysdeps/i386/fpu/libm-test-ulps: Update.
30846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30848 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30850         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30851         alphasort and versionsort.
30853 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30855         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30856         macro.
30857         [copysignf]: Likewise.
30859 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30861         * crypt/md5-crypt.c: Fix formatting.
30863 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30865         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30866         (b64_from_24bit): New function.
30868 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30870         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30871         libc_hidden_builtin_def to ifunc.
30872         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30873         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30875 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30877         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30878         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30880 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30882         * nscd/Depend (linuxthreads): Remove.
30883         (nptl): Add.
30884         * resolv/Depend (linuxthreads): Remove.
30885         * rt/Depend (linuxthreads): Remove.
30887         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30888         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30889         $(common-objpfx)elf/.
30890         (link-libc-before-gnulib): Likewise.
30891         (elfobjdir): Remove variable.
30892         * Makefile (install): Use $(elf-objpfx) instead of
30893         $(common-objpfx)elf/.
30894         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30895         $(elfobjdir)/.
30896         (link-libc-deps): Likewise.
30897         ($(common-objpfx)libc.so): Likewise.
30898         ($(common-objpfx)linkobj/libc.so): Likewise.
30899         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30900         instead of $(common-objpfx)elf/.
30901         (symbolic-link-list): Likewise.
30902         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30903         [$(cross-compiling) = no]: Likewise.
30904         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30905         $(elfobjdir)/.
30906         (static-gnulib-arch): Likewise.
30907         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30908         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30909         $(common-objpfx)elf/.
30911 2014-05-21  Richard Henderson  <rth@redhat.com>
30913         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30914         (SINGLE_THREAD_P): Use the correct width load.  Fold
30915         into the ldr offset.
30917         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30918         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30920 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30922         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30923         (libgcc_s_resume): Use __attribute_used__.
30924         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30925         Likewise.
30927 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30929         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30930         optimization when used with float constants.
30932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30934 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30936         [BZ #16915]
30937         * locale/nl_langinfo_l.c: Make direct reference to every
30938         _nl_current_CATEGORY symbol.
30939         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30940         (tests-static): Add tst-langinfo-static.
30941         (tests-special): Add tst-langinfo-static.out.
30942         ($(objpfx)tst-langinfo.out): Redirect output.
30943         ($(objpfx)tst-langinfo-static.out): New.
30944         * localedata/tst-langinfo.sh: Send output to stdout.
30945         * localedata/tst-langinfo-static.c: New file.
30947         [BZ #16965]
30948         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30949         when the shift amount is modulo the limb size.
30951 2014-05-20  Richard Henderson  <rth@redhat.com>
30953         [BZ #16967]
30954         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30955         Change type of sa_flags from unsigned int to int.
30957         [BZ #16966]
30958         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30960         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30962 2014-05-20  Will Newton  <will.newton@linaro.org>
30964         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30965         Test the return value of the system call in the nocancel case.
30967 2014-05-20  Will Newton  <will.newton@linaro.org>
30968             Yvan Roux  <yvan.roux@linaro.org>
30970         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30971         #include of asm/ptrace.h.
30972         (PTRACE_GET_THREAD_AREA): Remove #undef.
30973         (PTRACE_GETHBPREGS): Likewise.
30974         (PTRACE_SETHBPREGS): Likewise.
30975         (struct user_regs_struct): New structure.
30976         (struct user_fpsimd_struct): New structure.
30977         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30978         #include of asm/ptrace.h and second #include of sys/user.h.
30979         (PTRACE_GET_THREAD_AREA): Remove #undef.
30980         (PTRACE_GETHBPREGS): Likewise.
30981         (PTRACE_SETHBPREGS): Likewise.
30982         (ELF_NGREG): Use new struct user_regs_struct.
30983         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30985 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30987         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30990 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30992         [BZ #16958]
30993         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30994         membar to avoid block loads/stores to overlap previous stores.
30996 2014-05-17  Richard Henderson  <rth@redhat.com>
30998         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30999         Create the __##syscall_name##_nocancel entry point.
31000         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31001         Remove; let the sysdep-cancel.h code create it.
31003 2014-05-17  David S. Miller  <davem@davemloft.net>
31005         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31006         Protect with __USE_GNU.
31007         (TIOCSET_TEMPT): Likewise.
31008         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31009         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31010         these are already provided in bits/ioctl-types.h
31012 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31014         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31015         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31017         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31018         Use wait4 regardless of [__NR_waitpid].
31020 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31022         PR libgcc/60166
31023         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31024         (_FP_NANSIGN_Q): Set the quiet bit.
31026 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31028         * benchtests/Makefile
31029         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31030         not $(common-objpfx)math/libm.so.
31031         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31032         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31033         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31034         $(common-objpfx)dlfcn/libdl.so.
31035         ($(objpfx)tst-audit8): Depend on $(libm), not
31036         $(common-objpfx)math/libm.so.
31037         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31038         not $(common-objpfx)dlfcn/libdl.so.
31039         * math/Makefile
31040         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31041         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31042         [$(build-shared) = yes].
31043         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31044         $(common-objpfx)nptl/libpthread.so.
31045         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31046         $(common-objpfx)math/libm.so$(libm.so-version) or
31047         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31048         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31049         $(common-objpfx)dlfcn/libdl.so.
31050         * setjmp/Makefile (link-libm): Remove variable.
31051         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31052         * stdio-common/Makefile (link-libm): Remove variable.
31053         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31054         * stdlib/Makefile (link-libm): Remove variable.
31055         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31056         ($(objpfx)tst-strtod-round): Likewise.
31057         ($(objpfx)tst-tininess): Likewise.
31058         ($(objpfx)tst-strtod-underflow): Likewise.
31059         ($(objpfx)tst-strtod6): Likewise.
31060         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31061         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31062         $(common-objpfx)dlfcn/libdl.so.
31064 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31066         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31067         BSD terminal modes definitions.
31069 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31071         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31072         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31074         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31075         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31076         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31077         Don't do #include_next.
31078         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31079         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31080         Don't do #include_next.
31081         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31082         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31083         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31084         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31086 2014-05-16  Allan McRae  <allan@archlinux.org>
31088         * po/sv.po: Update Swedish translation from translation project.
31090         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31091         in sed expression.
31093 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31095         [BZ #16917]
31096         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31097         errno if the TIOCGPTN ioctl fails with an error different than
31098         EINVAL.
31099         * login/tst-ptsname.c: New file.
31100         * login/Makefile (tests): Add tst-ptsname.
31102         [BZ #16943]
31103         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31104         and prlimit64.
31106 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31108         [BZ #16849]
31109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31110         herrno to return EAI_AGAIN.
31112 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31114         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31115         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31116         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31117         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31118         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31119         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31121         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31122         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31123         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31125         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31126         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31127         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31128         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31129         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31130         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31131         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31133         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31135         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31136         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31137         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31138         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31139         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31140         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31141         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31142         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31143         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31145         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31147         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31149         Moved ...
31150         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31162         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31164         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31166         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31168         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31172         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31174         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31176         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31178         Moved ...
31179         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31187         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31199         Moved ...
31200         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31202         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31204         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31205         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31206         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31207         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31208         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31209         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31210         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31211         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31212         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31213         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31214         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31215         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31216         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31217         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31218         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31219         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31220         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31221         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31222         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31223         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31224         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31225         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31226         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31227         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31228         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31229         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31230         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31231         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31232         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31233         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31234         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31236         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31237         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31239         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31240         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31241         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31243         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31245         Moved ...
31246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31248         Moved ...
31249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31254         Moved ...
31255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31256         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31257         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31258         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31259         Moved ...
31260         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31261         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31262         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31263         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31264         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31265         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31266         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31267         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31268         Moved ...
31269         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31270         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31271         Moved ...
31272         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31273         ... here.
31274         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31275         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31277         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31278         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31279         Moved ...
31280         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31281         ... here.
31282         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31283         Moved ...
31284         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31285         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31286         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31287         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31288         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31289         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31290         Moved ...
31291         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31292         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31293         Moved ...
31294         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31296         Moved ...
31297         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31299         Moved ...
31300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31301         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31302         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31303         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31304         Moved ...
31305         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31306         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31307         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31308         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31309         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31310         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31311         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31312         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31313         Moved ...
31314         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31316         Moved ...
31317         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31318         ... here.
31319         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31320         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31322         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31324         Moved ...
31325         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31326         ... here.
31327         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31328         Moved ...
31329         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31330         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31331         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31333         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31335         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31337         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31339         Moved ...
31340         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31341         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31342         Moved ...
31343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31345         Moved ...
31346         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31348         Moved ...
31349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31350         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31351         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31353         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31357         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31358         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31359         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31360         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31361         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31362         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31363         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31364         Moved ...
31365         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31366         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31367         Moved ...
31368         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31369         ... here.
31370         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31371         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31372         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31373         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31375         Moved ...
31376         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31377         ... here.
31378         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31379         Moved ...
31380         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31382         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31385         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31386         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31388         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31390         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31392         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31393         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31395         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31396         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31398         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31399         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31400         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31401         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31402         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31404         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31405         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31406         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31407         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31408         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31410         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31412         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31414         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31416         Moved ...
31417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31419         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31421         Moved ...
31422         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31424         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31426         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31428         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31429         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31432         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31433         Moved ...
31434         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31435         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31437         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31438         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31439         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31440         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31441         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31442         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31443         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31444         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31446         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31448         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31450         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31453         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31454         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31455         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31456         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31458         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31459         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31461         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31462         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31463         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31464         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31465         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31466         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31467         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31470         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31472         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31473         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31475         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31477         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31478         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31479         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31480         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31481         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31482         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31483         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31484         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31485         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31487         Update #include.
31488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31489         Likewise.
31490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31491         Likewise.
31492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31493         Likewise.
31494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31495         Likewise.
31496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31497         Likewise.
31498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31499         Likewise.
31500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31501         Likewise.
31502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31503         Likewise.
31504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31505         Likewise.
31506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31510         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31512         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31514         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31515         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31517         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31519         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31520         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31522         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31523         that was previously under [RESET_PID].
31524         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31525         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31526         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31528         * sysdeps/i386/nptl/Implies: New file.
31529         * sysdeps/x86_64/nptl/Implies: New file.
31530         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31531         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31532         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31533         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31535         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31536         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31537         (__libc_vfork): New strong alias.
31538         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31539         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31541         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31542         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31543         (__libc_vfork): New strong alias.
31544         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31545         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31547         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31548         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31549         (__libc_vfork): New strong alias.
31550         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31551         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31552         * nptl/pt-vfork.c: New file.
31553         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31554         (libpthread: GLIBC_2.20): New version set (empty).
31556 2014-05-14  Will Newton  <will.newton@linaro.org>
31558         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31559         rather than #if.
31561 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31563         [BZ #16564]
31564         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31565         arguments with exponent 65 or above.
31566         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31567         arguments 0x1p113L or above.
31568         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31569         to arguments 0x1p107L or above.
31570         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31571         positive arguments with exponent 65 or above.
31572         * math/auto-libm-test-in: Add more tests of log1p.
31573         * math/auto-libm-test-out: Regenerated.
31575         [BZ #16928]
31576         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31577         non-finite arguments is +0.
31578         * math/s_cacosf.c (__cacosf): Likewise.
31579         * math/s_cacosl.c (__cacosl): Likewise.
31580         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31581         * sysdeps/i386/fpu/libm-test-ulps: Update.
31582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31584         [BZ #16927]
31585         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31586         value.
31587         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31588         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31589         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31590         for explicit high bit of mantissa when testing for argument equal
31591         to 1.
31592         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31593         * sysdeps/i386/fpu/libm-test-ulps: Update.
31594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31596         [BZ #16516]
31597         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31598         (__erf): Scale by 16 instead of 8 in potentially underflowing
31599         case.  Ensure exception if result actually underflows.
31600         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31601         (__erff): Scale by 16 instead of 8 in potentially underflowing
31602         case.  Ensure exception if result actually underflows.
31603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31604         (efx8): Remove variable.
31605         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31606         case.  Ensure exception if result actually underflows.
31607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31608         (efx8): Remove variable.
31609         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31610         case.  Ensure exception if result actually underflows.
31611         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31612         (efx8): Remove variable.
31613         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31614         case.  Ensure exception if result actually underflows.
31615         * math/auto-libm-test-in: Add more tests of erf.
31616         * math/auto-libm-test-out: Regenerated.
31618 2014-05-14  Andreas Schwab  <schwab@suse.de>
31620         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31621         Remove code conditionalized on USE___THREAD.
31623         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31624         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31625         not definedness.
31627 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31630         Define unconditionally.
31631         (__ASSUME_O_CLOEXEC): Likewise.
31632         (__ASSUME_SOCK_CLOEXEC): Likewise.
31633         (__ASSUME_IN_NONBLOCK): Likewise.
31634         (__ASSUME_PIPE2): Likewise.
31635         (__ASSUME_EVENTFD2): Likewise.
31636         (__ASSUME_SIGNALFD4): Likewise.
31637         (__ASSUME_DUP3): Likewise.
31638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31639         (__ASSUME_DUP3): Do not define.
31640         (__ASSUME_EVENTFD2): Likewise.
31641         (__ASSUME_IN_NONBLOCK): Likewise.
31642         (__ASSUME_O_CLOEXEC): Likewise.
31643         (__ASSUME_PIPE2): Likewise.
31644         (__ASSUME_SIGNALFD4): Likewise.
31645         (__ASSUME_SOCK_CLOEXEC): Likewise.
31646         (__ASSUME_UTIMES): Undefine.
31647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31648         (__ASSUME_UTIMES): Do not define.
31649         (__ASSUME_O_CLOEXEC): Likewise.
31650         (__ASSUME_SOCK_CLOEXEC): Likewise.
31651         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31652         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31653         0x020621].
31654         (__ASSUME_PIPE2): Likewise.
31655         (__ASSUME_EVENTFD2): Likewise.
31656         (__ASSUME_SIGNALFD4): Likewise.
31657         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31658         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31659         Do not define.
31660         (__ASSUME_EVENTFD2): Likewise.
31661         (__ASSUME_SIGNALFD4): Likewise.
31662         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31663         (__ASSUME_32BITUIDS): Likewise.
31664         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31665         (__ASSUME_IPC64): Likewise.
31666         (__ASSUME_ST_INO_64_BIT): Likewise.
31667         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31668         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31669         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31670         (__ASSUME_UTIMES): Do not define.
31671         (__ASSUME_PSELECT): Likewise.
31672         (__ASSUME_PPOLL): Likewise.
31673         (__ASSUME_O_CLOEXEC): Likewise.
31674         (__ASSUME_SOCK_CLOEXEC): Likewise.
31675         (__ASSUME_IN_NONBLOCK): Likewise.
31676         (__ASSUME_PIPE2): Likewise.
31677         (__ASSUME_EVENTFD2): Likewise.
31678         (__ASSUME_SIGNALFD4): Likewise.
31679         (__ASSUME_DUP3): Likewise.
31680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31681         (__ASSUME_UTIMES): Likewise.
31682         (__ASSUME_O_CLOEXEC): Likewise.
31683         (__ASSUME_SOCK_CLOEXEC): Likewise.
31684         (__ASSUME_IN_NONBLOCK): Likewise.
31685         (__ASSUME_PIPE2): Likewise.
31686         (__ASSUME_EVENTFD2): Likewise.
31687         (__ASSUME_SIGNALFD4): Likewise.
31688         (__ASSUME_DUP3): Likewise.
31689         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31690         (__ASSUME_UTIMES): Likewise.
31691         (__ASSUME_O_CLOEXEC): Likewise.
31692         (__ASSUME_SOCK_CLOEXEC): Likewise.
31693         (__ASSUME_IN_NONBLOCK): Likewise.
31694         (__ASSUME_PIPE2): Likewise.
31695         (__ASSUME_EVENTFD2): Likewise.
31696         (__ASSUME_SIGNALFD4): Likewise.
31697         (__ASSUME_DUP3): Likewise.
31698         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31699         Likewise.
31700         (__ASSUME_UTIMES): Likewise.
31701         (__ASSUME_EVENTFD2): Likewise.
31702         (__ASSUME_SIGNALFD4): Likewise.
31703         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31704         (__ASSUME_O_CLOEXEC): Likewise.
31705         (__ASSUME_SOCK_CLOEXEC): Likewise.
31706         (__ASSUME_IN_NONBLOCK): Likewise.
31707         (__ASSUME_PIPE2): Likewise.
31708         (__ASSUME_EVENTFD2): Likewise.
31709         (__ASSUME_SIGNALFD4): Likewise.
31710         (__ASSUME_DUP3): Likewise.
31711         (__ASSUME_UTIMES): Undefine.
31713         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31714         feclearexcept.  Remove symbol versioning code.
31715         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31716         symbol versioning code.
31717         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31718         symbol versioning code.
31719         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31720         feupdateenv.  Remove symbol versioning code.
31721         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31722         fegetexceptflag.  Remove symbol versioning code.
31723         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31724         fesetexceptflag.  Remove symbol versioning code.
31725         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31726         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31727         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31728         (__posix_fadvise64_l32): Remove prototype.
31729         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31730         code.
31732 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31734         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31735         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31736         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31737         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31739 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31741         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31742         current working directory
31744 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31746         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31747         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31748         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31749         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31750         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31751         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31752         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31753         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31754         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31755         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31756         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31757         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31758         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31759         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31761         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31762         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31763         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31764         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31765         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31766         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31767         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31768         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31769         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31770         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31771         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31772         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31773         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31774         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31775         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31776         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31777         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31778         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31779         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31780         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31781         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31782         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31783         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31784         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31785         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31786         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31787         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31789         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31790         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31792         * sysdeps/unix/sysv/linux/arm/Makefile
31793         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31794         Add rt-aeabi_unwind_cpp_pr1.
31795         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31796         Add nptl-aeabi_unwind_cpp_pr1.
31797         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31798         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31799         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31800         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31801         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31802         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31804         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31805         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31806         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31807         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31809         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31810         Deconditionalize the code that was previously under [RESET_PID].
31811         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31813         * sysdeps/generic/exit-thread.h: New file.
31814         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31815         * include/unistd.h (__exit_thread): Remove declaration.
31816         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31817         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31818         * csu/libc-start.c: Include <exit-thread.h>.
31819         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31820         * nptl/pthread_create.c: Include <exit-thread.h>.
31821         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31822         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31823         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31824         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31825         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31826         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31827         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31828         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31829         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31830         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31831         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31832         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31833         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31834         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31835         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31836         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31837         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31839 2014-05-13  Andreas Schwab  <schwab@suse.de>
31841         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31843 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31845         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31846         (__ASSUME_UTIMES): Do not condition on kernel version.
31847         (__ASSUME_PSELECT): Define unconditionally.
31848         (__ASSUME_PPOLL): Likewise.
31849         (__ASSUME_ATFCTS): Likewise.
31850         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31851         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31852         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31853         (__ASSUME_UTIMENSAT): Define unconditionally.
31854         (__ASSUME_PRIVATE_FUTEX): Likewise.
31855         (__ASSUME_FALLOCATE): Likewise.
31856         (__ASSUME_O_CLOEXEC): Likewise.
31857         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31858         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31859         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31860         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31861         (__ASSUME_IN_NONBLOCK): Likewise.
31862         (__ASSUME_PIPE2): Likewise.
31863         (__ASSUME_EVENTFD2): Likewise.
31864         (__ASSUME_SIGNALFD4): Likewise.
31865         (__ASSUME_DUP3): Likewise.
31866         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31867         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31868         (__ASSUME_AT_RANDOM): Likewise.
31869         (__ASSUME_PREADV): Likewise.
31870         (__ASSUME_PWRITEV): Likewise.
31871         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31872         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31873         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31874         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31875         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31876         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31877         (__ASSUME_O_CLOEXEC): Define unconditionally.
31878         (__ASSUME_PSELECT): Do not undefine conditionally.
31879         (__ASSUME_PPOLL): Likewise.
31880         (__ASSUME_ATFCTS): Likewise.
31881         (__ASSUME_SET_ROBUST_LIST): Likewise.
31882         (__ASSUME_UTIMENSAT): Likewise.
31883         (__ASSUME_FDATASYNC): Define unconditionally.
31884         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31885         (__ASSUME_SIGFRAME_V2): Likewise.
31886         )__ASSUME_EVENTFD2): Likewise.
31887         (__ASSUME_SIGNALFD4): Likewise.
31888         (__ASSUME_PSELECT): Do not undefine conditionally.
31889         (__ASSUME_PPOLL): Likewise.
31890         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31891         (__ASSUME_PSELECT): Define unconditionally.
31892         (__ASSUME_PPOLL): Likewise.
31893         (__ASSUME_O_CLOEXEC): Likewise.
31894         (__ASSUME_SOCK_CLOEXEC): Likewise.
31895         (__ASSUME_IN_NONBLOCK): Likewise.
31896         (__ASSUME_PIPE2): Likewise.
31897         (__ASSUME_EVENTFD2): Likewise.
31898         (__ASSUME_SIGNALFD4): Likewise.
31899         (__ASSUME_DUP3): Likewise.
31900         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31901         (__ASSUME_O_CLOEXEC): Likewise.
31902         (__ASSUME_SOCK_CLOEXEC): Likewise.
31903         (__ASSUME_IN_NONBLOCK): Likewise.
31904         (__ASSUME_PIPE2): Likewise.
31905         (__ASSUME_EVENTFD2): Likewise.
31906         (__ASSUME_SIGNALFD4): Likewise.
31907         (__ASSUME_DUP3): Likewise.
31908         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31909         (__ASSUME_EVENTFD2): Likewise.
31910         (__ASSUME_SIGNALFD4): Likewise.
31911         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31913 2014-05-12  Andreas Schwab  <schwab@suse.de>
31915         [BZ #16932]
31916         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31917         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31918         than maximum RPC packet size.
31919         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31920         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31921         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31922         (_nss_nis_getservbyport_r): Likewise.
31924 2014-05-12  Will Newton  <will.newton@linaro.org>
31926         * malloc/Makefile (tests): Add tst-mallopt.
31927         * malloc/tst-mallopt.c: New file.
31929 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31931         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31932         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31934 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31936         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31937         (tst-tlsmod6.so): Likewise.
31939 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31941         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31943 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #16064]
31946         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31947         and <dl-procinfo.h>.
31948         (__fegetenv): Save SSE state in envp->__eip if supported.
31949         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31950         envp->__eip if supported.
31951         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31952         and <dl-procinfo.h>.
31953         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31954         __data_offset and __data_selector in environment to 0.  Set SSE
31955         state if supported.
31956         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31957         test-fenv-sse.
31958         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31959         -mfpmath=sse.
31960         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31962 2014-05-09  Will Newton  <will.newton@linaro.org>
31964         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31965         and libc_relro_required for ARM.
31966         * sysdeps/arm/preconfigure: Regenerate.
31968 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31969             Stefan Liebler  <stli@linux.vnet.ibm.com>
31971         * config.make.in (enable-lock-elision): New Makefile variable.
31972         * configure.ac: Likewise.
31973         * configure: Regenerate.
31974         * sysdeps/s390/configure.ac:
31975         Add check for gcc transactions support.
31976         * sysdeps/s390/configure: Regenerate.
31977         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31978         Build elision files if enabled.
31979         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31980         Add lock elision support for s390.
31981         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31982         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31983         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31984         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31985         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31986         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31988         Likewise.
31989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31990         Likewise.
31991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31992         Likewise.
31993         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31994         Likewise.
31995         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31996         (__lll_timedlock_elision, __lll_lock_elision)
31997         (__lll_unlock_elision, __lll_trylock_elision)
31998         (lll_timedlock_elision, lll_lock_elision)
31999         (lll_unlock_elision, lll_trylock_elision): Add.
32000         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32001         (pthread_mutex_t): Add lock elision support for s390.
32003 2014-05-14  Wilco  <wdijkstr@arm.com>
32005         * sysdeps/arm/fclrexcpt.c: Cleanup.
32006         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32007         * sysdeps/arm/feenablxcpt.c: Cleanup.
32008         * sysdeps/arm/fegetenv.c: Cleanup.
32009         * sysdeps/arm/fegetexcept.c: Cleanup.
32010         * sysdeps/arm/fegetround.c: Cleanup.
32011         * sysdeps/arm/feholdexcpt.c: Cleanup.
32012         * sysdeps/arm/fesetenv.c: Cleanup.
32013         * sysdeps/arm/fesetround.c: Cleanup.
32014         * sysdeps/arm/feupdateenv.c: Cleanup.
32015         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32016         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32017         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32018         * sysdeps/arm/ftestexcept.c: Cleanup.
32019         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32020         * sysdeps/arm/setfpucw.c: Cleanup.
32022 2014-05-09  Will Newton  <will.newton@linaro.org>
32024         * sysdeps/arm/armv7/strcmp.S: New file.
32025         * NEWS: Mention addition of ARMv7 optimized strcmp.
32027 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32029         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32030         look for %.ac rather than %.in.
32032         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32033         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32034         * sysdeps/mach/hurd/configure: Regenerated.
32035         * sysdeps/unix/sysv/linux/configure: Regenerated.
32037         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32039 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32041         [BZ# 16922]
32042         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32043         (LONG_SUB): Ditto.
32044         (PTR_SUB): Ditto.
32046 2014-05-07  Andreas Schwab  <schwab@suse.de>
32048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32049         when skipping over non-matching result from nscd.
32051 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32053         [BZ #16876]
32054         * nptl/sockperf.c (client): Check socket return value.
32056         [BZ #16877]
32057         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32058         nscd security class.
32060 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32062         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32063         * sysdeps/arm/unwind.h: ... here.
32065 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32067         [BZ# 16916]
32068         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32069         Define.
32071 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32073         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32074         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32075         multiarch strncpy for PPC64.
32076         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32077         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32079         multiarch optimizations.
32080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32081         (__libc_ifunc_impl_list): Likewise.
32082         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32083         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32084         multiarch stpncpy for PPC64.
32085         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32086         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32088 2014-05-06  Andreas Schwab  <schwab@suse.de>
32090         [BZ #16912]
32091         * gmon/mcount.c (_MCOUNT_DECL): Use
32092         atomic_compare_and_exchange_bool_acq instead of
32093         catomic_compare_and_exchange_bool_acq.
32095 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32097         * elf/Makefile (others, install-bin): Remove pldd.
32098         (pldd-modules): Variable removed.
32099         ($(objpfx)pldd): Target removed.
32100         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32101         (others, install-bin): Append pldd here.
32102         ($(objpfx)pldd): New target.
32104         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32105         to 0, so the first #if test emitted later doesn't see it undefined.
32106         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32107         * sysdeps/gnu/errlist.c: Regenerated.
32109 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32111         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32112         [libc_hidden_builtin_def]: Define to empty value.
32113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32114         [libc_hidden_builtin_def]: Likewise.
32115         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32116         [libc_hidden_builtin_def]: Likewise.
32117         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32118         [libc_hidden_builtin_def]: Likewise.
32119         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32120         __redirect_memcpy and define ifunc as default hidden symbol.
32121         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32122         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32124 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32126         * locale/iso-4217.def: Reintroduce XDR currency.
32128 2014-05-04  Allan McRae  <allan@archlinux.org>
32130         * po/eo.po: Update Esperanto translation from translation project.
32132 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32134         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32135         and FEATURE_INDEX_MAX to 1.
32136         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32138 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32140         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32141         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32142         * iconvdata/big5.c (ONE_DIRECTION): Define.
32143         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32144         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32145         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32146         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32147         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32148         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32149         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32150         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32151         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32152         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32153         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32154         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32155         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32156         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32157         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32158         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32159         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32160         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32161         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32162         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32163         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32164         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32165         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32166         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32167         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32168         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32169         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32170         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32171         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32172         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32173         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32174         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32175         * iconvdata/johab.c (ONE_DIRECTION): Define.
32176         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32177         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32178         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32179         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32180         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32181         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32182         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32183         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32184         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32185         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32187 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32189         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32190         (_IO_JUMPS_OFFSET): Define to 0.
32192         * nptl/sysdeps/pthread/bits/libc-lock.h
32193         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32194         (__libc_lock_define_initialized_recursive): Always define using
32195         initializer.  Modern compilers treat uninitialized (implicit zero) and
32196         explicit zero initializers the same (i.e. put the datum in bss).
32198 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32200         * nscd/nscd-client.h: Include <string.h>.
32202 2014-05-01  David S. Miller  <davem@davemloft.net>
32204         [BZ #16885]
32205         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32206         multiple zero bytes exist at the end of a string.
32207         Reported by Aurelien Jarno <aurelien@aurel32.net>
32209         * string/test-strcmp.c (check): Add explicit test for situations where
32210         there are multiple zero bytes after the first.
32212 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32214         [BZ #16890]
32215         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32216         when compiling wprintf.
32217         * stdio-common/tstdiomisc.c (t3): New function.
32218         (main): Call it.
32220 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32222         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32223         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32224         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32225         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32227 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32229         * stdlib/longlong.h: Updated from GCC.
32231 2014-05-01  Will Newton  <will.newton@linaro.org>
32232             Bernard Ogden  <bernie.ogden@linaro.org>
32234         * NEWS: Update fixed bug list.
32236         [BZ #15119]
32237         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32239 2014-04-30  David S. Miller  <davem@davemloft.net>
32241         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32242         (libc_feholdexcept_setround_sparc_ctx): New function.
32243         (libc_fesetenv_sparc_ctx): Likewise.
32244         (libc_feupdateenv_sparc_ctx): Likewise.
32245         (libc_feholdsetround_sparc_ctx): Likewise.
32246         (libc_feholdexcept_setround_ctx): Define.
32247         (libc_feholdexcept_setroundf_ctx): Likewise.
32248         (libc_feholdexcept_setroundl_ctx): Likewise.
32249         (libc_fesetenv_ctx): Likewise.
32250         (libc_fesetenvf_ctx): Likewise.
32251         (libc_fesetenvl_ctx): Likewise.
32252         (libc_feupdateenv_ctx): Likewise.
32253         (libc_feupdateenvf_ctx): Likewise.
32254         (libc_feupdateenvl_ctx): Likewise.
32255         (libc_feresetround_ctx): Likewise.
32256         (libc_feresetroundf_ctx): Likewise.
32257         (libc_feresetroundl_ctx): Likewise.
32258         (libc_feholdsetround_ctx): Likewise.
32259         (libc_feholdsetroundf_ctx): Likewise.
32260         (libc_feholdsetroundl_ctx): Likewise.
32262         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32263         with __USE_GNU instead of XOPEN cpp guards.
32265         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32266         0.
32268         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32269         with XOPEN cpp guards.
32271 2014-04-30  Julian Brown  <julian@codesourcery.com>
32273         [BZ #16888]
32274         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32275         handling.
32277 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32279         [BZ #9894]
32280         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32281         Change to 2.6.32.
32282         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32283         * sysdeps/unix/sysv/linux/configure: Regenerated.
32284         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32285         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32286         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32287         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32288         * README: Update reference to required Linux kernel version.
32289         * manual/install.texi (Linux): Update reference to required Linux
32290         kernel headers version.
32291         * INSTALL: Regenerated.
32293         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32294         header inclusion.
32295         [POSIX] (limits.h): Likewise.
32296         [POSIX] (math.h): Likewise.
32297         [POSIX] (sys/wait.h): Likewise.
32298         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32299         function.
32300         [POSIX] (stddef.h): Do not allow header inclusion.
32302 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32304         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32306 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32308         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32309         Return immediately after lll_futex_wake.
32311 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313         [BZ #16791]
32314         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32315         structure.
32316         (datahead_init_pos): Call datahead_init_common early.
32317         (datahead_init_neg): Likewise.
32319         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32320         datahead_init_neg): New functions.
32321         * nscd/aicache.c (addhstaiX): Use them.
32322         * nscd/grpcache.c (cache_addgr): Likewise.
32323         * nscd/hstcache.c (cache_addhst): Likewise.
32324         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32325         * nscd/netgroupcache.c (do_notfound): Likewise.
32326         (addgetnetgrentX): Likewise.
32327         (addinnetgrX): Likewise.
32328         * nscd/pwdcache.c (cache_addpw): Likewise.
32329         * nscd/servicescache.c (cache_addserv): Likewise.
32331 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32332             Atsushi Onoe  <atsushi@onoe.org>
32334         [BZ #14308]
32335         [BZ #12994]
32336         [BZ #13651]
32337         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32338         one response is valid.
32339         * resolv/res_send.c (send_dg): Check for validity of other
32340         response if the current response is a referral.
32342 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32344         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32346 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32348         [BZ #16823]
32349         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32350         Always divide by positive zero when computing -Inf result.
32351         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32352         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32354 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32356         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32357         FPSCR if value do not change.
32358         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32359         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32360         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32361         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32362         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32363         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32364         function.
32366 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32368         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32369         * sysdeps/unix/sysv/linux/hppa: Move directory from
32370         ports/systeps/unix/sysv/linux/hppa.
32371         * README: Update listing for hppa-*-linux-gnu.
32373 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32375         [BZ #16754]
32376         * manual/stdio.texi (Hook functions): Fix types of stream hook
32377         functions.
32378         [BZ #16854]
32379         * socket/sys/socket.h: Fix typo in comment.
32381 2014-04-28  Wilco  <wdijkstr@arm.com>
32383         * sysdeps/arm/fenv_private.h: New file.
32384         * sysdeps/arm/math_private.h: New file.
32385         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32387 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32389         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32390         with __int128_t.
32391         (La_x86_64_retval): Likewise.
32393 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32395         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32396         fpsr if value didn't change.
32397         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32398         to fpcr if value didn't change.
32399         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32400         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32401         fpsr or fpcr if value didn't change.
32402         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32403         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32404         fpcr if value didn't change.
32405         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32406         to fpsr if value didn't change.
32408 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32410         * nptl/tst-sem3.c: Use test-skeleton.c
32411         (main): Rename to do_test.  Use return instead of
32412         exit.
32413         * nptl/tst-sem4.c: Use test-skeleton.c
32414         (main): Rename to do_test.
32416 2014-04-22  David S. Miller  <davem@davemloft.net>
32418         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32419         (struct sigaction): New struct member __glibc_reserved0, change
32420         type of sa_flags to int.
32422 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32424         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32425         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32427 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32429         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32430         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32432 2014-04-22  Will Newton  <will.newton@linaro.org>
32433             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32435         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32436         (__longjmp): Add longjmp and longjmp_target SystemTap
32437         probes.
32438         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32439         (__sigsetjmp): Add setjmp SystemTap probe.
32441 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32443         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32444         match manual order.
32446 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32448         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32450         * sysdeps/powerpc/fpu/fenv_private.h
32451         (libc_feholdexcept_setroundl_ctx): Define to
32452         libc_feholdexcept_setround_ppc_ctx.
32453         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32454         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32455         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32456         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32458 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32460         * sysdeps/aarch64/math-tests.h: New file.
32462 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32464         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32465         New.
32466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32467         Check and set bit_AVX2_Usable.
32468         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32469         macro.
32470         (bit_AVX2): Likewise.
32471         (index_AVX2_Usable): Likewise.
32472         (CPUID_AVX2): Likewise.
32473         (HAS_AVX2): Likewise.
32475 2014-04-17  Will Newton  <will.newton@linaro.org>
32477         * manual/setjmp.texi (System V contexts): Add note that
32478         calling setcontext on a context created by a call to a
32479         signal handler is undefined.  Update text to note that
32480         setcontext from a signal handler is possible but not
32481         recommended.
32483         [BZ #16629]
32484         * stdlib/tst-setcontext.c: Include signal.h.
32485         (main): Check that the signal stack before and
32486         after swapcontext is the same.
32488         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32489         Re-implement to restore registers in user code and avoid
32490         rt_sigreturn system call.
32492 2014-04-17  Wilco  <wdijkstr@arm.com>
32494         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32495         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32496         * math/test-fenv.c: Skip exception trap tests on targets which only
32497         support non-stop mode.
32499 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32500             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32502         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32503         (libc_feholdsetround_aarch64_ctx)
32504         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32505         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32506         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32507         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32508         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32509         (libc_feresetround_noexl_ctx): Define.
32511 2014-04-16  Richard Henderson  <rth@redhat.com>
32513         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32515         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32516         unwind tables.
32518         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32519         const from the non-libc, non-ldso copy.
32521         * sysdeps/alpha/libm-test-ulps: Regenerate.
32523 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32524             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32526         * sysdeps/aarch64/fpu/math_private.h: New file.
32528 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32530         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32532 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32534         [BZ #16275]
32535         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32536         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32538         Intel MPX bound registers before _dl_profile_fixup.
32539         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32540         registers after _dl_profile_fixup.  Save and restore bound
32541         registers bnd0/bnd1 when calling _dl_call_pltexit.
32542         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32543         (LR_BND_OFFSET): Likewise.
32544         (LRV_BND0_OFFSET): Likewise.
32545         (LRV_BND1_OFFSET): Likewise.
32547 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32549         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32550         to...
32551         * sysdeps/mach/hurd/i386/tls.h: ... here.
32552         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32553         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32554         fields.
32556 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32558         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32560 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32562         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32564 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32566         [BZ #14770]
32567         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32568         * sysdeps/s390/configure: Regenerate.
32570         [BZ #16824]
32571         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32572         Set round-to-nearest internally to reduce error accumulation.
32574 2014-04-16  Alan Modra  <amodra@gmail.com>
32576         [BZ #16740]
32577         [BZ #16619]
32578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32579         * math/libm-test.inc (frexp_test_data): Add tests.
32580         * NEWS: Update fixed bug list.
32582 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32584         * benchtests/Makefile: Depend on libraries in build directory.
32585         (bench-math): Separate out math tests.
32586         (bench-pthread): Separate out pthread tests.
32587         (bench): Include math and pthread tests.
32589 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32591         [BZ #16831]
32592         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32593         _dl_debug_initialize.
32595         * configure.ac: Remove SELinux header check.
32596         * configure: Regenerate.
32597         * nscd/selinux.c (perms): Array of const char* to permission names.
32598         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32599         default policy. Call string_to_security_class and string_to_av_perm to
32600         translate strings. Enforce default policy and call avs_has_perm with
32601         results of translated strings.
32603 2014-04-13  David S. Miller  <davem@davemloft.net>
32605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32607 2014-04-12  Allan McRae  <allan@archlinux.org>
32609         [BZ #16838]
32610         * manual/string.texi (Collation Functions): Fix qsort argument
32611         order in example.
32612         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32614 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32616         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32617         Make the test a no-op if there are no exceptions defined.
32619 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32621         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32622         enable-hardcoded-path-in-tests
32624 2014-04-11  Will Newton  <will.newton@linaro.org>
32626         * benchtests/Makefile (extra-objs): Add json-lib.o.
32627         (bench-func): Tidy up JSON output.
32628         * benchtests/bench-skeleton.c: Include json-lib.h.
32629         (main): Use JSON library functions to do output of
32630         benchmark results.
32631         * benchtests/bench-timing-type.c (main): Output the
32632         timing type simply, leaving formatting to the user.
32633         * benchtests/json-lib.c: New file.
32634         * benchtests/json-lib.h: Likewise.
32636 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32638         [BZ #15215]
32639         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32640         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32641         memory barriers.  Add comments.
32642         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32643         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32644         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32645         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32646         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32647         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32649 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32651         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32652         * sysdeps/s390/s390-64/configure.ac: ... this ...
32653         * sysdeps/s390/configure.ac: ... to here.
32654         * sysdeps/s390/s390-32/configure: Delete file.
32655         * sysdeps/s390/s390-64/configure: Delete file.
32656         * sysdeps/s390/configure: Regenerate.
32658 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32660         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32662 2014-04-11  Will Newton  <will.newton@linaro.org>
32664         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32665         to zero if it is not defined elsewhere.  (mtrim): Test
32666         the value of MALLOC_DEBUG with #if rather than #ifdef.
32668 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32670         * benchtests/pthread_once-inputs: New file.
32671         * benchtests/pthread_once-source.c: New file.
32672         * benchtests/README: Update documentation.
32674 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32675             H.J. Lu  <hongjiu.lu@intel.com>
32677         [BZ #16275]
32678         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32679         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32680         * sysdeps/x86_64/configure: Regenerated.
32681         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32682         macro.
32683         (REGISTER_SAVE_RAX): Likewise.
32684         (REGISTER_SAVE_RCX): Likewise.
32685         (REGISTER_SAVE_RDX): Likewise.
32686         (REGISTER_SAVE_RSI): Likewise.
32687         (REGISTER_SAVE_RDI): Likewise.
32688         (REGISTER_SAVE_R8): Likewise.
32689         (REGISTER_SAVE_R9): Likewise.
32690         (REGISTER_SAVE_BND0): Likewise.
32691         (REGISTER_SAVE_BND1): Likewise.
32692         (REGISTER_SAVE_BND2): Likewise.
32693         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32694         bound registers when calling _dl_fixup.
32696 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32698         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32699         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32700         of its definition.
32701         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32702         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32703         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32704         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32705         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32706         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32707         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32709 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32711         [BZ #15514]
32712         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32713         pathconf(_PC_NAME_MAX).
32715 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32717         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32718         Remove macro usage.
32719         (__PTHREAD_SPINS): Move definition to ...
32720         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32721         (__PTHREAD_SPINS): ... here.
32722         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32723         (__PTHREAD_SPIN): Likewise.
32724         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32725         (__PTHREAD_SPIN): Likewise.
32726         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32727         (__PTHREAD_SPIN): Likewise.
32728         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32729         (__PTHREAD_SPIN): Likewise.
32730         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32731         (__PTHREAD_SPIN): Likewise.
32732         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32733         (__PTHREAD_SPIN): Likewise.
32734         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32735         (__PTHREAD_SPIN): Likewise.
32736         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32737         (__PTHREAD_SPIN): Likewise.
32738         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32739         (__PTHREAD_SPIN): Likewise.
32740         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32741         (__PTHREAD_SPIN): Likewise.
32742         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32743         (__PTHREAD_SPIN): Likewise.
32744         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32745         (__PTHREAD_SPIN): Likewise.
32747         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32748         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32749         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32750         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32751         imply folder.
32752         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32753         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32754         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32755         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32756         correct imply path.
32757         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32758         strlen symbol for non multi-arch builds.
32759         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32760         missing hidden_def and weak_alias.
32762 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32764         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32766 2014-04-07  Will Newton  <will.newton@linaro.org>
32768         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32769         and contents.  [!_LIBC] Remove #ifndef and contents.
32770         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32771         * string/memccpy.c (__memccpy): Use ANSI prototype.
32772         * string/memfrob.c (memfrob): Likewise.
32773         * string/strcoll.c (STRCOLL): Likewise.
32774         * string/strlen.c (strlen): Likewise.
32775         * string/strtok.c (STRTOK): Likewise.
32776         * string/strcat.c: Remove unused #include of memcopy.h.
32777         (strcat): Use ANSI prototype.
32778         * string/strchr.c: Remove unused #include of memcopy.h.
32779         (strchr): Use ANSI prototype.
32780         * string/strcmp.c: Remove unused #include of memcopy.h.
32781         (strcmp): Use ANSI prototype.
32782         * string/strcpy.c: Remove unused #include of memcopy.h.
32783         (strcpy): Use ANSI prototype.
32785 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32787         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32788         * config.make.in (config-extra-cppflags): Set it from
32789         libc_extra_cppflags.
32790         * configure.ac (libc_extra_cflags): Make it accumulate over
32791         configure fragments.
32792         (libc_extra_cppflags): New flag.
32793         * configure. Regenerate.
32794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32795         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32796         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32799         [BZ #16815]
32800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32801         result for FE_DOWNWARD rounding mode.
32802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32803         Likewise.
32804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32806 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32808         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32809         in function argument name.
32811 2014-04-03  David Svoboda  <svoboda@cert.org>
32813         [BZ #5666]
32814         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32815         explicitly.
32817 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32819         * elf/dl-unmap-segments.h: New file.
32820         * sysdeps/generic/ldsodefs.h
32821         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32822         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32823         * elf/dl-fptr.c: Likewise.
32824         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32825         * sysdeps/aarch64/tlsdesc.c: Likewise.
32826         * sysdeps/arm/tlsdesc.c: Likewise.
32827         * sysdeps/i386/tlsdesc.c: Likewise.
32828         * sysdeps/tile/dl-runtime.c: Likewise.
32829         * sysdeps/x86_64/tlsdesc.c: Likewise.
32830         * elf/dl-load.h: New file.
32831         * elf/dl-load.c: Include it.
32832         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32833         Macros moved to dl-load.h.
32834         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32835         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32836         Use _dl_unmap_segments in place of __munmap.
32837         Break out segment-mapping loop into ...
32838         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32840 2014-04-03  Will Newton  <will.newton@linaro.org>
32842         * elf/dl-lookup.c (do_lookup_x): Remove comment
32843         referring to nested function and move variable
32844         declarations down to before first use.
32846 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32848         [BZ #16799]
32849         [BZ #16800]
32850         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32851         with 0 numerator.
32852         * math/s_catanf.c (__catanf): Likewise.
32853         * math/s_catanh.c (__catanh): Likewise.
32854         * math/s_catanhf.c (__catanhf): Likewise.
32855         * math/s_catanhl.c (__catanhl): Likewise.
32856         * math/s_catanl.c (__catanl): Likewise.
32857         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32858         by positive zero when computing -Inf result.
32859         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32860         (catanh_test): Likewise.
32861         * sysdeps/i386/fpu/libm-test-ulps: Update.
32862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32864         [BZ #16789]
32865         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32866         instead of using underflowing value in computing result.
32867         * math/s_clog10.c (__clog10): Likewise.
32868         * math/s_clog10f.c (__clog10f): Likewise.
32869         * math/s_clog10l.c (__clog10l): Likewise.
32870         * math/s_clogf.c (__clogf): Likewise.
32871         * math/s_clogl.c (__clogl): Likewise.
32872         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32873         (clog10_test): Likewise.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877 2014-04-02  Alan Modra  <amodra@gmail.com>
32879         [BZ #16739]
32880         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32881         output when value is near a power of two.  Use int64_t for lx and
32882         remove casts.  Use decimal rather than hex exponent constants.
32883         Don't use long double multiplication when double will suffice.
32884         * math/libm-test.inc (nextafter_test_data): Add tests.
32885         * NEWS: Add 16739 and 16786 to bug list.
32887         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32889         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32891 2014-04-01  Will Newton  <will.newton@linaro.org>
32893         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32894         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32896 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32898         [BZ #13347]
32899         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32900         * nptl/tst-setuid2.c: New file.
32901         * nptl/Makefile (xtests): Add tst-setuid2.
32903 2014-04-01  Alan Modra  <amodra@gmail.com>
32905         [BZ #16786]
32906         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32908 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32910         [BZ #6803]
32911         [BZ #6804]
32912         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32913         set errno as appropriate.
32914         * math/w_scalbf.c (__scalbf): Likewise.
32915         * math/w_scalbl.c (__scalbl): Likewise.
32916         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32917         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32918         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32919         Add more NaN tests.
32921         [BZ #16349]
32922         * math/w_atan2.c: Include <errno.h>.
32923         (__atan2): Set errno for result underflowing to zero.
32924         * math/w_atan2f.c: Include <errno.h>.
32925         (__atan2f): Set errno for result underflowing to zero.
32926         * math/w_atan2l.c: Include <errno.h>.
32927         (__atan2l): Set errno for result underflowing to zero.
32928         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32929         tests.
32930         * math/auto-libm-test-out: Regenerated.
32932 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32934         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32935         Encode instruction correctly in little endian.
32936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32937         Likewise.
32938         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32939         Likewise.
32940         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32941         Likewise.
32942         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32943         Likewise.
32945 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32947         [BZ #9894]
32948         * sysdeps/unix/sysv/linux/kernel-features.h
32949         [__sparc__ && !__arch64__ && !__sparc_v9__]
32950         (__ASSUME_SET_ROBUST_LIST): Do not define.
32951         [__sparc__ && !__arch64__ && !__sparc_v9__]
32952         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32953         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32954         Likewise.
32955         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32956         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32957         (__ASSUME_REQUEUE_PI): Likewise.
32958         (__ASSUME_SET_ROBUST_LIST): Likewise.
32959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32960         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32961         Undefine.
32962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32963         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32964         Likewise.
32965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32966         Likewise.
32967         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32968         Likewise.
32969         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32970         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32971         Undefine.
32972         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32973         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32974         Likewise.
32976         [BZ #16648]
32977         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32978         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32979         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32981 2014-03-31  Will Newton  <will.newton@linaro.org>
32983         * benchtests/Makefile (bench): Add ffs and ffsll to list
32984         of tests.
32985         * benchtests/ffs-inputs: New file.
32986         * benchtests/ffsll-inputs: Likewise.
32988 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32990         [BZ #16770]
32991         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32992         too large before casting to int.
32993         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32994         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32995         * math/libm-test.inc (scalb_test_data): Add more tests.
32997 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32999         * benchtests/Makefile (DETAILED_OPT): New make option.
33000         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33001         set.
33002         * benchtests/bench-skeleton.c: Include stdbool.h.
33003         (main): Store and print timings per input.
33004         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33005         member to each argument value.
33006         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33007         (_print_arg_data): Initialize per-input timing to 0.
33009         * benchtests/Makefile (timing-type): New binary.
33010         (bench-clean): Also remove bench-timing-type.
33011         (bench): New target for timing-type.
33012         (bench-func): Print output in JSON format.
33013         * benchtests/bench-skeleton.c (main): Print output in JSON
33014         format.
33015         * benchtests/bench-timing-type.c: New file.
33016         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33017         (TIMING_PRINT_STATS): Remove.
33018         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33019         name separately.
33021         * benchtests/bench-modf.c: Remove.
33022         * benchtests/modf-inputs: New inputs file.
33024 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33026         [BZ #16362]
33027         * math/s_clog10.c (M_PI_LOG10E): New macro.
33028         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33029         imaginary parts are 0.
33030         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33031         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33032         imaginary parts are 0.
33033         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33034         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33035         imaginary parts are 0.
33036         * math/libm-test.inc (clog10_test_data): Update expected results
33037         for when real and imaginary parts are 0.
33039 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33041         * elf/dl-load.c: Finish conversion of __builtin_expect into
33042         __glibc_{un}likely.
33044 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33046         [BZ #16348]
33047         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33048         1+x for argument with exponent below -67.
33049         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33050         Likewise.
33051         * math/auto-libm-test-in: Add more tests of exp.
33052         * math/auto-libm-test-out: Regenerated.
33054 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33056         [BZ #16759]
33057         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33058         (nscd_getnetgrent): Use it.
33060         [BZ #16760]
33061         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33062         of stpcpy.
33064 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33066         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33067         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33068         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33069         (lll_robust_unlock): Remove out of line section. Use cfi
33070         intrinsics.
33071         (LLL_STUB_UNWIND_INFO*): Remove.
33072         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33073         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33074         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33075         (lll_robust_unlock): Remove out of line section. Use cfi
33076         intrinsics.
33077         (LLL_STUB_UNWIND_INFO*): Remove.
33079 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33081         [BZ #16758]
33082         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33083         blank values.
33085 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33087         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33089 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33091         [BZ #16198]
33092         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33093         fnstenv.
33094         * math/test-fenv-preserve.c: New file.
33095         * math/Makefile (tests): Add test-fenv-preserve.
33097 2014-03-26  Will Newton <will.newton@linaro.org>
33099         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33101 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33103         * scripts/versionlist.awk: Partition the version sets and emit all
33104         GLIBC_* (sorted) before all others (sorted).
33106 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33108         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33109         GLIBC_2.2.5 version.
33111 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33113         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33114         calls.
33116         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33117         previous change.
33119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33121 2014-03-25  Andreas Schwab  <schwab@suse.de>
33123         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33124         label to be used after in6ailist is initialized.
33126 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33128         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33129         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33131 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33133         [BZ #16357]
33134         [BZ #16599]
33135         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33136         min_plus_half.
33137         (fp_formats): Update initializers.
33138         (init_fp_formats): Initialize new field.
33139         (output_for_one_input_case): Allow underflow for results up to
33140         min_plus_half.
33141         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33142         * math/auto-libm-test-in: Don't mark some underflows from asin and
33143         atanh as spurious.
33144         * math/auto-libm-test-out: Regenerated.
33145         * sysdeps/i386/fpu/libm-test-ulps: Update.
33146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33148 2014-03-25  Andreas Schwab  <schwab@suse.de>
33150         * libio/Makefile (tst-ftell-partial-wide-ENV)
33151         (tst-ftell-active-handler-ENV): Define.
33153 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33155         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33157 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33159         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33161 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33163         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33164         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33165         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33167 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33169         [BZ #16634]
33170         * elf/dl-load.c (open_verify): Add mode parameter.
33171         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33172         (open_path): Change from boolean 'secure' to complete flag 'mode'
33173         (_dl_map_object): Adjust.
33174         * elf/Makefile (tests): Add tst-dlopen-aout.
33175         * elf/tst-dlopen-aout.c: New test.
33177 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33179         [BZ #16714]
33180         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33181         (struct stat): Rename member pad0 to __glibc_reserved0.
33183         [BZ #16712]
33184         * sysdeps/s390/s390-32/bits/wordsize.h
33185         (__WORDSIZE32_SIZE_ULONG): New define.
33186         * sysdeps/s390/s390-64/bits/wordsize.h
33187         (__WORDSIZE32_SIZE_ULONG): Likewise.
33188         * sysdeps/generic/stdint.h (SIZE_MAX):
33189         Define as UL if __WORDSIZE32_SIZE_ULONG.
33191         [BZ #16713]
33192         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33193         (__glibc_reserved0): New variable.
33194         (sa_flags): Change type to int.
33196         * posix/Makefile (before-compile): Use += before-compile instead
33197         of a :=.
33199         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33200         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33202 2014-03-20  Andreas Schwab  <schwab@suse.de>
33204         [BZ #16743]
33205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33206         non-matching result from nscd.
33208 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33210         * scripts/bench.py: Moved to ...
33211         * benchtests/scripts/bench.py: ... here.
33212         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33214 2014-03-24  Andreas Schwab  <schwab@suse.de>
33216         [BZ #16002]
33217         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33218         alloca_account and account alloca use for struct in6ailist.
33220 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33222         [BZ #16284]
33223         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33224         rounding mode to recompute results that overflow to infinity or
33225         underflow to zero.
33226         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33227         bug 16284.
33228         * math/auto-libm-test-out: Regenerated.
33229         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33230         (ccosh_test): Likewise.
33231         (csin_test_data): Use plus_oflow.
33232         (csin_test): Use ALL_RM_TEST.
33233         (csinh_test_data): Use plus_oflow.
33234         (csinh_test): Use ALL_RM_TEST.
33235         * sysdeps/i386/fpu/libm-test-ulps: Update.
33236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33238 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33240         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33241         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33242         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33244         [BZ #16731]
33245         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33246         when x - 1 is zero.
33247         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33248         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33249         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33251         argument is 1.
33252         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33253         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33254         zero.
33255         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33256         * sysdeps/i386/fpu/libm-test-ulps: Update.
33257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33259 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33261         * scripts/bench.pl: Remove file.
33262         * scripts/bench.py: New benchmark script.
33263         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33264         * benchtests/README: Mention python dependency.
33265         * scripts/pylintrc: New file.
33266         * scripts/pylint: New file.
33268         * bits/mathdef.h: Use #ifdef instead of #if.
33269         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33270         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33271         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33272         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33273         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33274         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33276 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33277             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33279         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33281         and strpbrk-ppc64 objects.
33282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33283         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33284         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33285         multiarch strpbrk for POWER7.
33286         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33287         multiarch strpbrk for PPC64.
33288         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33289         ifunc selector.
33290         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33291         strpbrk for POWER7.
33293 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33295         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33296         (atan_test): Likewise.
33297         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33298         (atanh_test): Use ALL_RM_TEST.
33299         (atan2_test_data): Likewise.
33300         (cabs_test): Likewise.
33301         (cacosh_test): Likewise.
33302         (carg_test): Likewise.
33303         (casin_test): Likewise.
33304         (casinh_test): Likewise.
33305         (cbrt_test): Likewise.
33306         (csqrt_test): Likewise.
33307         (erf_test): Likewise.
33308         (erfc_test): Likewise.
33309         (pow10_test): Likewise.
33310         (exp2_test): Likewise.
33311         (hypot_test): Likewise.
33312         (j0_test): Likewise.
33313         (j1_test): Likewise.
33314         (lgamma_test): Likewise.
33315         (gamma_test): Likewise.
33316         (sincos_test): Likewise.
33317         (tanh_test): Likewise.
33318         (y0_test): Likewise.
33319         (y1_test): Likewise.
33320         * sysdeps/i386/fpu/libm-test-ulps: Update.
33321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33323 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33325         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33327         and strcspn-ppc64 objects.
33328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33329         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33330         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33331         multiarch strcspn for POWER7.
33332         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33333         multiarch strcspn for PPC64.
33334         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33335         ifunc selector.
33336         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33337         strcspn for POWER7.
33339 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33341         * math/gen-libm-test.pl (generate_testfile): Expect only function
33342         name as argument to AUTO_TESTS_* and pass results for all rounding
33343         modes to parse_args.
33344         (parse_auto_input): Separate inputs of automatic tests from
33345         outputs before storing in %auto_tests.
33346         * math/libm-test.inc (acos_test_data): Update call to
33347         AUTO_TESTS_f_f.
33348         (acos_test): Use ALL_RM_TEST.
33349         (acos_tonearest_test_data): Remove.
33350         (acos_test_tonearest): Likewise.
33351         (acos_towardzero_test_data): Likewise.
33352         (acos_test_towardzero): Likewise.
33353         (acos_downward_test_data): Likewise.
33354         (acos_test_downward): Likewise.
33355         (acos_upward_test_data): Likewise.
33356         (acos_test_upward): Likewise.
33357         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33358         (asin_test_data): Likewise.
33359         (asin_test): Use ALL_RM_TEST.
33360         (asin_tonearest_test_data): Remove.
33361         (asin_test_tonearest): Likewise.
33362         (asin_towardzero_test_data): Likewise.
33363         (asin_test_towardzero): Likewise.
33364         (asin_downward_test_data): Likewise.
33365         (asin_test_downward): Likewise.
33366         (asin_upward_test_data): Likewise.
33367         (asin_test_upward): Likewise.
33368         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33369         (atan_test_data): Likewise.
33370         (atanh_test_data): Likewise.
33371         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33372         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33373         (carg_test_data): Likewise.
33374         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33375         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33376         (ccosh_test_data): Likewise.
33377         (cexp_test_data): Likewise.
33378         (clog_test_data): Likewise.
33379         (clog10_test_data): Likewise.
33380         (cos_test_data): Update call to AUTO_TESTS_f_f.
33381         (cos_test): Use ALL_RM_TEST.
33382         (cos_tonearest_test_data): Remove.
33383         (cos_test_tonearest): Likewise.
33384         (cos_towardzero_test_data): Likewise.
33385         (cos_test_towardzero): Likewise.
33386         (cos_downward_test_data): Likewise.
33387         (cos_test_downward): Likewise.
33388         (cos_upward_test_data): Likewise.
33389         (cos_test_upward): Likewise.
33390         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33391         (cosh_test): Use ALL_RM_TEST.
33392         (cosh_tonearest_test_data): Remove.
33393         (cosh_test_tonearest): Likewise.
33394         (cosh_towardzero_test_data): Likewise.
33395         (cosh_test_towardzero): Likewise.
33396         (cosh_downward_test_data): Likewise.
33397         (cosh_test_downward): Likewise.
33398         (cosh_upward_test_data): Likewise.
33399         (cosh_test_upward): Likewise.
33400         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33401         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33402         (ctan_test_data): Likewise.
33403         (ctan_test): Use ALL_RM_TEST.
33404         (ctan_tonearest_test_data): Remove.
33405         (ctan_test_tonearest): Likewise.
33406         (ctan_towardzero_test_data): Likewise.
33407         (ctan_test_towardzero): Likewise.
33408         (ctan_downward_test_data): Likewise.
33409         (ctan_test_downward): Likewise.
33410         (ctan_upward_test_data): Likewise.
33411         (ctan_test_upward): Likewise.
33412         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33413         (ctanh_test): Use ALL_RM_TEST.
33414         (ctanh_tonearest_test_data): Remove.
33415         (ctanh_test_tonearest): Likewise.
33416         (ctanh_towardzero_test_data): Likewise.
33417         (ctanh_test_towardzero): Likewise.
33418         (ctanh_downward_test_data): Likewise.
33419         (ctanh_test_downward): Likewise.
33420         (ctanh_upward_test_data): Likewise.
33421         (ctanh_test_upward): Likewise.
33422         (erf_test_data): Update call to AUTO_TESTS_f_f.
33423         (erfc_test_data): Likewise.
33424         (exp_test_data): Likewise.
33425         (exp_test): Use ALL_RM_TEST.
33426         (exp_tonearest_test_data): Remove.
33427         (exp_test_tonearest): Likewise.
33428         (exp_towardzero_test_data): Likewise.
33429         (exp_test_towardzero): Likewise.
33430         (exp_downward_test_data): Likewise.
33431         (exp_test_downward): Likewise.
33432         (exp_upward_test_data): Likewise.
33433         (exp_test_upward): Likewise.
33434         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33435         (exp10_test): Use ALL_RM_TEST.
33436         (exp10_tonearest_test_data): Remove.
33437         (exp10_test_tonearest): Likewise.
33438         (exp10_towardzero_test_data): Likewise.
33439         (exp10_test_towardzero): Likewise.
33440         (exp10_downward_test_data): Likewise.
33441         (exp10_test_downward): Likewise.
33442         (exp10_upward_test_data): Likewise.
33443         (exp10_test_upward): Likewise.
33444         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33445         (expm1_test_data): Likewise.
33446         (expm1_test): Use ALL_RM_TEST.
33447         (expm1_tonearest_test_data): Remove.
33448         (expm1_test_tonearest): Likewise.
33449         (expm1_towardzero_test_data): Likewise.
33450         (expm1_test_towardzero): Likewise.
33451         (expm1_downward_test_data): Likewise.
33452         (expm1_test_downward): Likewise.
33453         (expm1_upward_test_data): Likewise.
33454         (expm1_test_upward): Likewise.
33455         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33456         (fma_test): Use ALL_RM_TEST.
33457         (fma_towardzero_test_data): Remove.
33458         (fma_test_towardzero): Likewise.
33459         (fma_downward_test_data): Likewise.
33460         (fma_test_downward): Likewise.
33461         (fma_upward_test_data): Likewise.
33462         (fma_test_upward): Likewise.
33463         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33464         (j0_test_data): Update call to AUTO_TESTS_f_f.
33465         (j1_test_data): Likewise.
33466         (jn_test_data): Update call to AUTO_TESTS_if_f.
33467         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33468         (log_test_data): Update call to AUTO_TESTS_f_f.
33469         (log10_test_data): Likewise.
33470         (log1p_test_data): Likewise.
33471         (log2_test_data): Likewise.
33472         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33473         (pow_tonearest_test_data): Likewise.
33474         (sin_test_data): Update call to AUTO_TESTS_f_f.
33475         (sin_test): Use ALL_RM_TEST.
33476         (sin_tonearest_test_data): Remove.
33477         (sin_test_tonearest): Likewise.
33478         (sin_towardzero_test_data): Likewise.
33479         (sin_test_towardzero): Likewise.
33480         (sin_downward_test_data): Likewise.
33481         (sin_test_downward): Likewise.
33482         (sin_upward_test_data): Likewise.
33483         (sin_test_upward): Likewise.
33484         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33485         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33486         (sinh_test): Use ALL_RM_TEST.
33487         (sinh_tonearest_test_data): Remove.
33488         (sinh_test_tonearest): Likewise.
33489         (sinh_towardzero_test_data): Likewise.
33490         (sinh_test_towardzero): Likewise.
33491         (sinh_downward_test_data): Likewise.
33492         (sinh_test_downward): Likewise.
33493         (sinh_upward_test_data): Likewise.
33494         (sinh_test_upward): Likewise.
33495         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33496         (sqrt_test): Use ALL_RM_TEST.
33497         (sqrt_tonearest_test_data): Remove.
33498         (sqrt_test_tonearest): Likewise.
33499         (sqrt_towardzero_test_data): Likewise.
33500         (sqrt_test_towardzero): Likewise.
33501         (sqrt_downward_test_data): Likewise.
33502         (sqrt_test_downward): Likewise.
33503         (sqrt_upward_test_data): Likewise.
33504         (sqrt_test_upward): Likewise.
33505         (tan_test_data): Update call to AUTO_TESTS_f_f.
33506         (tan_test): Use ALL_RM_TEST.
33507         (tan_tonearest_test_data): Remove.
33508         (tan_test_tonearest): Likewise.
33509         (tan_towardzero_test_data): Likewise.
33510         (tan_test_towardzero): Likewise.
33511         (tan_downward_test_data): Likewise.
33512         (tan_test_downward): Likewise.
33513         (tan_upward_test_data): Likewise.
33514         (tan_test_upward): Likewise.
33515         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33516         (tgamma_test_data): Likewise.
33517         (y0_test_data): Likewise.
33518         (y1_test_data): Likewise.
33519         (yn_test_data): Update call to AUTO_TESTS_if_f.
33520         (main): Do not call removed functions.
33522 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33524         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33525         (ldexp_test_data): Remove.
33526         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33527         scalbn_test_data.
33528         (scalb_test): Use ALL_RM_TEST.
33530 2014-03-19  Andreas Schwab  <schwab@suse.de>
33532         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33534 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33536         [BZ #16649]
33537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33538         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33539         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33541         (__ASSUME_PREADV): Undefine.
33542         (__ASSUME_PWRITEV): Likewise.
33544 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33546         * bits/mman-linux.h: Add comment about non-Linux use.
33547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33548         bits/mman-linux.h resting place.
33550         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33551         * bits/mman-linux.h: ... here.
33553 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33555         * conform/conformtest.pl: Add standard definition when calling C
33556         preprocessor on data files.
33557         (checknamespace): Remove unused variable.
33559 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33561         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33562         minus_oflow, plus_uflow and minus_uflow in expected results.
33563         * math/libm-test.inc (scalbn_test_data): Add more tests of
33564         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33565         minus_uflow.
33566         (scalbn_test): Use ALL_RM_TEST.
33567         (scalbln_test_data): Add more tests of negative arguments.  Use
33568         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33569         (scalbln_test): Use ALL_RM_TEST.
33571 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33573         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33575 2014-03-18  Will Newton  <will.newton@linaro.org>
33577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33578         inaccurate comment.
33580 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33582         * Makerules [!subdir] (check-abi): Exit with error status if a
33583         test failed.
33585 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33587         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33588         for rint.  Include results for all rounding modes.
33589         (nearbyint_test): Use ALL_RM_TEST.
33590         (rint_test_data): Include all tests used for nearbyint.
33592 2014-03-17  Will Newton  <will.newton@linaro.org>
33594         * nptl/sysdeps/pthread/pthread.h: Revert previous
33595         change.
33597         * sysdeps/generic/ldsodefs.h: Revert previous
33598         change.
33600         * libio/genops.c: Revert previous change.
33601         * libio/libioP.h: Likewise.
33602         * stdio-common/vfprintf.c: Likewise.
33604         * sysdeps/generic/math_private.h: Revert previous
33605         change.
33607         * sysdeps/generic/math_private.h: Check whether
33608         HAVE_RM_CTX is defined with #ifdef rather
33609         than #if.
33611         * argp/argp-fmtstream.h: Check whether
33612         __STRICT_ANSI__ is defined with #ifdef rather
33613         than #if.
33614         * argp/argp.h: Likewise.
33616         * libio/genops.c: Check whether
33617         _IO_JUMPS_OFFSET is defined with #ifdef rather
33618         than #if.
33619         * libio/libioP.h: Likewise.
33620         * stdio-common/vfprintf.c: Likewise.
33622         * sysdeps/generic/ldsodefs.h: Check whether
33623         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33624         than #if.
33626         * nptl/sysdeps/pthread/pthread.h: Check
33627         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33628         its value.
33630 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33632         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33633         setting O_APPEND.
33634         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33635         test case.
33637         [BZ #16680]
33638         * libio/fileops.c (_IO_file_open): Seek to end of file but
33639         don't cache the offset.
33640         (get_file_offset): Remove function.
33641         (do_ftell): Use cached offset when available.
33642         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33643         don't cache the offset.
33644         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33645         case.
33646         (do_one_test): Call it.
33647         (do_ftell_test): Fix up expected old offset for a+ mode.
33648         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33649         available.
33651         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33652         up test status with function return status.
33653         (do_write_test): Likewise.
33654         (do_append_test): Likewise.
33656         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33657         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33658         Remove.
33660 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33662         * math/gen-libm-test.pl (parse_args): Handle results specified for
33663         each rounding mode separately.
33664         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33665         tests and results from lrint_tonearest_test_data,
33666         lrint_towardzero_test_data, lrint_downward_test_data and
33667         lrint_upward_test_data.
33668         (lrint_test): Use ALL_RM_TEST.
33669         (lrint_tonearest_test_data): Remove.
33670         (lrint_test_tonearest): Likewise.
33671         (lrint_towardzero_test_data): Likewise.
33672         (lrint_test_towardzero): Likewise.
33673         (lrint_downward_test_data): Likewise.
33674         (lrint_test_downward): Likewise.
33675         (lrint_upward_test_data): Likewise.
33676         (lrint_test_upward): Likewise.
33677         (llrint_test_data): Merge in per-rounding-mode tests and results
33678         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33679         llrint_downward_test_data and llrint_upward_test_data.
33680         (llrint_test): Use ALL_RM_TEST.
33681         (llrint_tonearest_test_data): Remove.
33682         (llrint_test_tonearest): Likewise.
33683         (llrint_towardzero_test_data): Likewise.
33684         (llrint_test_towardzero): Likewise.
33685         (llrint_downward_test_data): Likewise.
33686         (llrint_test_downward): Likewise.
33687         (llrint_upward_test_data): Likewise.
33688         (llrint_test_upward): Likewise.
33689         (rint_test_data): Merge in per-rounding-mode tests and results
33690         from rint_tonearest_test_data, rint_towardzero_test_data,
33691         rint_downward_test_data and rint_upward_test_data.  Add
33692         per-rounding-mode results for tests not in those arrays.
33693         (rint_test): Use ALL_RM_TEST.
33694         (rint_tonearest_test_data): Remove.
33695         (rint_test_tonearest): Likewise.
33696         (rint_towardzero_test_data): Likewise.
33697         (rint_test_towardzero): Likewise.
33698         (rint_downward_test_data): Likewise.
33699         (rint_test_downward): Likewise.
33700         (rint_upward_test_data): Likewise.
33701         (rint_test_upward): Likewise.
33702         (main): Don't call removed functions.
33704 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33706         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33707         "Compiled on ..." crapola.  It is anti-useful.
33709 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33711         * scripts/evaluate-test.sh: Handle fourth argument to determine
33712         whether test run should stop on failure.
33713         * Makeconfig (stop-on-test-failure): New variable.
33714         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33715         $(stop-on-test-failure).
33716         * Makefile (tests): Give a summary of results from testing and
33717         exit with failure status if they include an ERROR or FAIL.
33718         (xtests): Likewise.
33719         * manual/install.texi (Configuring and compiling): Mention
33720         stop-on-test-failure=y.
33721         * INSTALL: Regenerated.
33723 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33725         * scripts/versionlist.awk: New file.
33726         * Makerules [$(build-shared) = yes]
33727         (postclean-generated): Add Versions.def, not Versions.def.v and
33728         Versions.def.v.i.
33729         ($(common-objpfx)Versions.def.v.i): Target removed.
33730         ($(common-objpfx)Versions.def): New target.
33731         ($(common-objpfx)Versions.all): Depend on that rather that
33732         $(common-objpfx)Versions.def.v.
33733         * Versions.def: File removed.
33735         * Makeconfig (+gccwarn): Add -Wundef.
33736         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33737         a dl-sysdep.h breaking its contract.
33738         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33739         * include/stackinfo.h: New file.
33740         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33741         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33742         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33743         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33744         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33745         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33746         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33747         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33748         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33749         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33750         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33751         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33752         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33753         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33754         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33756 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33758         [BZ #16707]
33759         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33760         implementation.
33761         * math/libm-test.inc (round_test_data): Add more tests.
33763         [BZ #16706]
33764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33765         implementation.
33766         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33768         [BZ #16701]
33769         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33770         implementation.
33771         * math/libm-test.inc (ceil_test_data): Add more tests.
33773         * math/libm-test.inc (trunc_test_data): Add more tests related to
33774         BZ#16414.
33776 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33778         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33779         with #if rather than #ifdef.
33780         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33782 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33784         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33785         first.  Disable AVX-512 GCC support if assembler doesn't support
33786         it.
33787         * sysdeps/x86_64/configure: Regenerated.
33789 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33791         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33792         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33793         (__old_pthread_attr_setstack): Likewise.
33794         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33795         [!_STACK_GROWS_DOWN]: Likewise.
33797 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33799         * config.make.in (have-bash2): Delete.
33800         * configure.ac (libc_cv_have_bash2): Delete.
33801         * configure: Regenerate.
33802         * elf/Makefile (common-ldd-rewrite): Rename to ...
33803         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33804         (sh-ldd-rewrite): Delete.
33805         (bash-ldd-rewrite): Delete.
33806         (have-bash2): Delete checks.
33807         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33808         ldd-rewrite.
33810         * config.make.in (have-ksh): Delete.
33811         (KSH): Delete.
33812         * configure.ac (libc_cv_have_ksh): Delete.
33813         * configure: Regenerate.
33815         * elf/Makefile: Delete $(have-ksh) check.
33816         ($(objpfx)sotruss): Change KSH to BASH.
33817         * elf/sotruss.ksh: Rename to ...
33818         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33819         function style to match POSIX.  Drop ksh vim mode setting.
33821         * manual/time.texi (Specifying the Time Zone with TZ): Change
33822         Tuesday to Thursday.
33824         * debug/tst-longjmp_chk2.c: Update header comment.
33825         (stackoverflow_handler): Add comment.  Call assert on pass value.
33827 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33829         [BZ #16194]
33830         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33831         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33832         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33833         (La_x86_64_vector): Add zmm.
33834         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33835         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33836         ($(objpfx)tst-audit10): New target.
33837         ($(objpfx)tst-audit10.out): Likewise.
33838         (tst-audit10-ENV): New.
33839         (AVX512-CFLAGS): Likewise.
33840         (CFLAGS-tst-audit10.c): Likewise.
33841         (CFLAGS-tst-auditmod10a.c): Likewise.
33842         (CFLAGS-tst-auditmod10b.c): Likewise.
33843         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33844         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33845         * sysdeps/x86_64/configure: Regenerated.
33846         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33847         AVX-512 zmm register support.
33848         (_dl_x86_64_save_sse): Likewise.
33849         (_dl_x86_64_restore_sse): Likewise.
33850         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33851         size vector registers.
33852         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33853         (ZMM_SIZE): Likewise.
33854         * sysdeps/x86_64/tst-audit10.c: New file.
33855         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33856         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33858 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33860         * configure.ac (HAVE_EHDR_START): New check.
33861         * configure: Regenerated.
33862         * config.h.in (HAVE_EHDR_START): New #undef.
33863         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33864         assuming the lowest-addressed segment maps the start of the file.
33866 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33868         * INSTALL: Regenerated.
33870 2014-03-13  Will Newton  <will.newton@linaro.org>
33872         * manual/setjmp.texi (System V contexts): Improve
33873         clarity and grammar of documentation.
33875 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33877         [BZ #16381]
33878         * elf/Makefile (tests): Add tst-pie2.
33879         (tests-pie): Add tst-pie2.
33880         * elf/tst-pie2.c: New file.
33881         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33882         for ET_EXEC.
33883         * elf/rtld.c (map_doit): Load executable as lt_executable.
33884         (dl_main): Likewise.
33886 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33888         [BZ #16642]
33889         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33890         (__ASSUME_PSELECT): Undefine.
33892 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33894         [BZ #16689]
33895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33896         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33897         static build.
33898         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33899         selector for static builds.
33901 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33903         [BZ #16695]
33904         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33905         key in the buffer.
33907 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33909         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33910         IFUNC selector for static builds.
33912 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33914         * sysdeps/mips/math_private.h [__mips_hard_float]
33915         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33916         libc_feresetround_mips_ctx.
33917         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33918         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33919         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33921         [BZ #16677]
33922         * math/s_nextafter.c (__nextafter): Do not return value from
33923         overflowing computation.
33924         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33925         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33926         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33927         Likewise.
33928         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33929         Likewise.
33930         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33931         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33933 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33935         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33936         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33937         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33938         the new mov targetting sp.
33940 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33942         [BZ #16683]
33943         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33944         Define it for static builds as well.
33945         (NO_BZERO_IMPL): Likewise.
33947 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33949         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33950         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33951         multiarch strspn for PPC64.
33952         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33953         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33955         (__libc_ifunc_impl_list): Likewise.
33956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33957         multiarch optimizations
33958         * string/strspn.c (strspn): Using macro to redefine symbol name.
33960 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33961             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33963         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33964         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33965         multiarch strncat for PPC64.
33966         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33967         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33969         (__libc_ifunc_impl_list): Likewise.
33970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33971         multiarch optimizations
33973 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33975         [BZ #16639]
33976         * nscd/nscd.service: Make service type forking.
33978 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33980         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33981         sign in non default rounding modes.
33982         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33984 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33986         * math/libm-test.inc (ALL_RM_TEST): New macro.
33987         (ceil_test): Use ALL_RM_TEST.
33988         (cimag_test): Likewise.
33989         (conj_test): Likewise.
33990         (copysign_test): Likewise.
33991         (cproj_test): Likewise.
33992         (creal_test): Likewise.
33993         (fabs_test): Likewise.
33994         (floor_test): Likewise.
33995         (fmax_test): Likewise.
33996         (fmin_test): Likewise.
33997         (fmod_test): Likewise.
33998         (fpclassify_test): Likewise.
33999         (frexp_test): Likewise.
34000         (ilogb_test): Likewise.
34001         (isfinite_test): Likewise.
34002         (finite_test): Likewise.
34003         (isgreater_test): Likewise.
34004         (isgreaterequal_test): Likewise.
34005         (isinf_test): Likewise.
34006         (isless_test): Likewise.
34007         (islessequal_test): Likewise.
34008         (islessgreater_test): Likewise.
34009         (isnan_test): Likewise.
34010         (isnormal_test): Likewise.
34011         (issignaling_test): Likewise.
34012         (isunordered_test): Likewise.
34013         (logb_test): Likewise.
34014         (logb_downward_test_data): Remove.
34015         (logb_test_downward): Likewise.
34016         (lround_test): Use ALL_RM_TEST.
34017         (llround_test): Likewise.
34018         (modf_test): Likewise.
34019         (nexttoward_test): Likewise.
34020         (remainder_test): Likewise.
34021         (drem_test): Likewise.
34022         (remainder_tonearest_test_data): Likewise.
34023         (remainder_test_tonearest): Likewise.
34024         (drem_test_tonearest): Likewise.
34025         (remainder_towardzero_test_data): Likewise.
34026         (remainder_test_towardzero): Likewise.
34027         (drem_test_towardzero): Likewise.
34028         (remainder_downward_test_data): Likewise.
34029         (remainder_test_downward): Likewise.
34030         (drem_test_downward): Likewise.
34031         (remainder_upward_test_data): Likewise.
34032         (remainder_test_upward): Likewise.
34033         (drem_test_upward): Likewise.
34034         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34035         (round_test): Use ALL_RM_TEST.
34036         (signbit_test): Likewise.
34037         (trunc_test): Likewise.
34038         (significand_test): Likewise.
34039         (main): Don't call removed functions.
34041 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34043         [BZ #16674]
34044         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34045         || __USE_XOPEN2K8].
34046         (ILL_ILLOPN): Likewise.
34047         (ILL_ILLADR): Likewise.
34048         (ILL_ILLTRP): Likewise.
34049         (ILL_PRVOPC): Likewise.
34050         (ILL_PRVREG): Likewise.
34051         (ILL_COPROC): Likewise.
34052         (ILL_BADSTK): Likewise.
34053         (FPE_INTDIV): Likewise.
34054         (FPE_INTOVF): Likewise.
34055         (FPE_FLTDIV): Likewise.
34056         (FPE_FLTOVF): Likewise.
34057         (FPE_FLTUND): Likewise.
34058         (FPE_FLTRES): Likewise.
34059         (FPE_FLTINV): Likewise.
34060         (FPE_FLTSUB): Likewise.
34061         (SEGV_MAPERR): Likewise.
34062         (SEGV_ACCERR): Likewise.
34063         (BUS_ADRALN): Likewise.
34064         (BUS_ADRERR): Likewise.
34065         (BUS_OBJERR): Likewise.
34066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34067         (TRAP_TRACE): Likewise.
34068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34069         __USE_XOPEN2K8].
34070         (CLD_KILLED): Likewise.
34071         (CLD_DUMPED): Likewise.
34072         (CLD_TRAPPED): Likewise.
34073         (CLD_STOPPED): Likewise.
34074         (CLD_CONTINUED): Likewise.
34075         (POLL_IN): Likewise.
34076         (POLL_OUT): Likewise.
34077         (POLL_MSG): Likewise.
34078         (POLL_ERR): Likewise.
34079         (POLL_PRI): Likewise.
34080         (POLL_HUP): Likewise.
34081         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34082         Likewise.
34083         (ILL_ILLOPN): Likewise.
34084         (ILL_ILLADR): Likewise.
34085         (ILL_ILLTRP): Likewise.
34086         (ILL_PRVOPC): Likewise.
34087         (ILL_PRVREG): Likewise.
34088         (ILL_COPROC): Likewise.
34089         (ILL_BADSTK): Likewise.
34090         (FPE_INTDIV): Likewise.
34091         (FPE_INTOVF): Likewise.
34092         (FPE_FLTDIV): Likewise.
34093         (FPE_FLTOVF): Likewise.
34094         (FPE_FLTUND): Likewise.
34095         (FPE_FLTRES): Likewise.
34096         (FPE_FLTINV): Likewise.
34097         (FPE_FLTSUB): Likewise.
34098         (SEGV_MAPERR): Likewise.
34099         (SEGV_ACCERR): Likewise.
34100         (BUS_ADRALN): Likewise.
34101         (BUS_ADRERR): Likewise.
34102         (BUS_OBJERR): Likewise.
34103         (BUS_MCEERR_AR): Likewise.
34104         (BUS_MCEERR_AO): Likewise.
34105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34106         (TRAP_TRACE): Likewise.
34107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34108         __USE_XOPEN2K8].
34109         (CLD_KILLED): Likewise.
34110         (CLD_DUMPED): Likewise.
34111         (CLD_TRAPPED): Likewise.
34112         (CLD_STOPPED): Likewise.
34113         (CLD_CONTINUED): Likewise.
34114         (POLL_IN): Likewise.
34115         (POLL_OUT): Likewise.
34116         (POLL_MSG): Likewise.
34117         (POLL_ERR): Likewise.
34118         (POLL_PRI): Likewise.
34119         (POLL_HUP): Likewise.
34120         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34121         (ILL_ILLOPN): Likewise.
34122         (ILL_ILLADR): Likewise.
34123         (ILL_ILLTRP): Likewise.
34124         (ILL_PRVOPC): Likewise.
34125         (ILL_PRVREG): Likewise.
34126         (ILL_COPROC): Likewise.
34127         (ILL_BADSTK): Likewise.
34128         (FPE_INTDIV): Likewise.
34129         (FPE_INTOVF): Likewise.
34130         (FPE_FLTDIV): Likewise.
34131         (FPE_FLTOVF): Likewise.
34132         (FPE_FLTUND): Likewise.
34133         (FPE_FLTRES): Likewise.
34134         (FPE_FLTINV): Likewise.
34135         (FPE_FLTSUB): Likewise.
34136         (SEGV_MAPERR): Likewise.
34137         (SEGV_ACCERR): Likewise.
34138         (BUS_ADRALN): Likewise.
34139         (BUS_ADRERR): Likewise.
34140         (BUS_OBJERR): Likewise.
34141         (BUS_MCEERR_AR): Likewise.
34142         (BUS_MCEERR_AO): Likewise.
34143         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34144         (TRAP_TRACE): Likewise.
34145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34146         __USE_XOPEN2K8].
34147         (CLD_KILLED): Likewise.
34148         (CLD_DUMPED): Likewise.
34149         (CLD_TRAPPED): Likewise.
34150         (CLD_STOPPED): Likewise.
34151         (CLD_CONTINUED): Likewise.
34152         (POLL_IN): Likewise.
34153         (POLL_OUT): Likewise.
34154         (POLL_MSG): Likewise.
34155         (POLL_ERR): Likewise.
34156         (POLL_PRI): Likewise.
34157         (POLL_HUP): Likewise.
34158         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34159         Likewise.
34160         (ILL_ILLOPN): Likewise.
34161         (ILL_ILLADR): Likewise.
34162         (ILL_ILLTRP): Likewise.
34163         (ILL_PRVOPC): Likewise.
34164         (ILL_PRVREG): Likewise.
34165         (ILL_COPROC): Likewise.
34166         (ILL_BADSTK): Likewise.
34167         (ILL_BADIADDR): Likewise.
34168         (ILL_BREAK): Likewise.
34169         (FPE_INTDIV): Likewise.
34170         (FPE_INTOVF): Likewise.
34171         (FPE_FLTDIV): Likewise.
34172         (FPE_FLTOVF): Likewise.
34173         (FPE_FLTUND): Likewise.
34174         (FPE_FLTRES): Likewise.
34175         (FPE_FLTINV): Likewise.
34176         (FPE_FLTSUB): Likewise.
34177         (FPE_DECOVF): Likewise.
34178         (FPE_DECDIV): Likewise.
34179         (FPE_DECERR): Likewise.
34180         (FPE_INVASC): Likewise.
34181         (FPE_INVDEC): Likewise.
34182         (SEGV_MAPERR): Likewise.
34183         (SEGV_ACCERR): Likewise.
34184         (SEGV_PSTKOVF): Likewise.
34185         (BUS_ADRALN): Likewise.
34186         (BUS_ADRERR): Likewise.
34187         (BUS_OBJERR): Likewise.
34188         (BUS_MCEERR_AR): Likewise.
34189         (BUS_MCEERR_AO): Likewise.
34190         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34191         (TRAP_TRACE): Likewise.
34192         (TRAP_BRANCH): Likewise.
34193         (TRAP_HWBKPT): Likewise.
34194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34195         __USE_XOPEN2K8].
34196         (CLD_KILLED): Likewise.
34197         (CLD_DUMPED): Likewise.
34198         (CLD_TRAPPED): Likewise.
34199         (CLD_STOPPED): Likewise.
34200         (CLD_CONTINUED): Likewise.
34201         (POLL_IN): Likewise.
34202         (POLL_OUT): Likewise.
34203         (POLL_MSG): Likewise.
34204         (POLL_ERR): Likewise.
34205         (POLL_PRI): Likewise.
34206         (POLL_HUP): Likewise.
34207         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34208         (ILL_ILLOPN): Likewise.
34209         (ILL_ILLADR): Likewise.
34210         (ILL_ILLTRP): Likewise.
34211         (ILL_PRVOPC): Likewise.
34212         (ILL_PRVREG): Likewise.
34213         (ILL_COPROC): Likewise.
34214         (ILL_BADSTK): Likewise.
34215         (FPE_INTDIV): Likewise.
34216         (FPE_INTOVF): Likewise.
34217         (FPE_FLTDIV): Likewise.
34218         (FPE_FLTOVF): Likewise.
34219         (FPE_FLTUND): Likewise.
34220         (FPE_FLTRES): Likewise.
34221         (FPE_FLTINV): Likewise.
34222         (FPE_FLTSUB): Likewise.
34223         (SEGV_MAPERR): Likewise.
34224         (SEGV_ACCERR): Likewise.
34225         (BUS_ADRALN): Likewise.
34226         (BUS_ADRERR): Likewise.
34227         (BUS_OBJERR): Likewise.
34228         (BUS_MCEERR_AR): Likewise.
34229         (BUS_MCEERR_AO): Likewise.
34230         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34231         (TRAP_TRACE): Likewise.
34232         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34233         __USE_XOPEN2K8].
34234         (CLD_KILLED): Likewise.
34235         (CLD_DUMPED): Likewise.
34236         (CLD_TRAPPED): Likewise.
34237         (CLD_STOPPED): Likewise.
34238         (CLD_CONTINUED): Likewise.
34239         (POLL_IN): Likewise.
34240         (POLL_OUT): Likewise.
34241         (POLL_MSG): Likewise.
34242         (POLL_ERR): Likewise.
34243         (POLL_PRI): Likewise.
34244         (POLL_HUP): Likewise.
34245         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34246         (ILL_ILLOPN): Likewise.
34247         (ILL_ILLADR): Likewise.
34248         (ILL_ILLTRP): Likewise.
34249         (ILL_PRVOPC): Likewise.
34250         (ILL_PRVREG): Likewise.
34251         (ILL_COPROC): Likewise.
34252         (ILL_BADSTK): Likewise.
34253         (FPE_INTDIV): Likewise.
34254         (FPE_INTOVF): Likewise.
34255         (FPE_FLTDIV): Likewise.
34256         (FPE_FLTOVF): Likewise.
34257         (FPE_FLTUND): Likewise.
34258         (FPE_FLTRES): Likewise.
34259         (FPE_FLTINV): Likewise.
34260         (FPE_FLTSUB): Likewise.
34261         (SEGV_MAPERR): Likewise.
34262         (SEGV_ACCERR): Likewise.
34263         (BUS_ADRALN): Likewise.
34264         (BUS_ADRERR): Likewise.
34265         (BUS_OBJERR): Likewise.
34266         (BUS_MCEERR_AR): Likewise.
34267         (BUS_MCEERR_AO): Likewise.
34268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34269         (TRAP_TRACE): Likewise.
34270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34271         __USE_XOPEN2K8].
34272         (CLD_KILLED): Likewise.
34273         (CLD_DUMPED): Likewise.
34274         (CLD_TRAPPED): Likewise.
34275         (CLD_STOPPED): Likewise.
34276         (CLD_CONTINUED): Likewise.
34277         (POLL_IN): Likewise.
34278         (POLL_OUT): Likewise.
34279         (POLL_MSG): Likewise.
34280         (POLL_ERR): Likewise.
34281         (POLL_PRI): Likewise.
34282         (POLL_HUP): Likewise.
34283         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34284         (ILL_ILLOPN): Likewise.
34285         (ILL_ILLADR): Likewise.
34286         (ILL_ILLTRP): Likewise.
34287         (ILL_PRVOPC): Likewise.
34288         (ILL_PRVREG): Likewise.
34289         (ILL_COPROC): Likewise.
34290         (ILL_BADSTK): Likewise.
34291         (FPE_INTDIV): Likewise.
34292         (FPE_INTOVF): Likewise.
34293         (FPE_FLTDIV): Likewise.
34294         (FPE_FLTOVF): Likewise.
34295         (FPE_FLTUND): Likewise.
34296         (FPE_FLTRES): Likewise.
34297         (FPE_FLTINV): Likewise.
34298         (FPE_FLTSUB): Likewise.
34299         (SEGV_MAPERR): Likewise.
34300         (SEGV_ACCERR): Likewise.
34301         (BUS_ADRALN): Likewise.
34302         (BUS_ADRERR): Likewise.
34303         (BUS_OBJERR): Likewise.
34304         (BUS_MCEERR_AR): Likewise.
34305         (BUS_MCEERR_AO): Likewise.
34306         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34307         (TRAP_TRACE): Likewise.
34308         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34309         __USE_XOPEN2K8].
34310         (CLD_KILLED): Likewise.
34311         (CLD_DUMPED): Likewise.
34312         (CLD_TRAPPED): Likewise.
34313         (CLD_STOPPED): Likewise.
34314         (CLD_CONTINUED): Likewise.
34315         (POLL_IN): Likewise.
34316         (POLL_OUT): Likewise.
34317         (POLL_MSG): Likewise.
34318         (POLL_ERR): Likewise.
34319         (POLL_PRI): Likewise.
34320         (POLL_HUP): Likewise.
34321         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34322         (ILL_ILLOPN): Likewise.
34323         (ILL_ILLADR): Likewise.
34324         (ILL_ILLTRP): Likewise.
34325         (ILL_PRVOPC): Likewise.
34326         (ILL_PRVREG): Likewise.
34327         (ILL_COPROC): Likewise.
34328         (ILL_BADSTK): Likewise.
34329         (ILL_DBLFLT): Likewise.
34330         (ILL_HARDWALL): Likewise.
34331         (FPE_INTDIV): Likewise.
34332         (FPE_INTOVF): Likewise.
34333         (FPE_FLTDIV): Likewise.
34334         (FPE_FLTOVF): Likewise.
34335         (FPE_FLTUND): Likewise.
34336         (FPE_FLTRES): Likewise.
34337         (FPE_FLTINV): Likewise.
34338         (FPE_FLTSUB): Likewise.
34339         (SEGV_MAPERR): Likewise.
34340         (SEGV_ACCERR): Likewise.
34341         (BUS_ADRALN): Likewise.
34342         (BUS_ADRERR): Likewise.
34343         (BUS_OBJERR): Likewise.
34344         (BUS_MCEERR_AR): Likewise.
34345         (BUS_MCEERR_AO): Likewise.
34346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34347         (TRAP_TRACE): Likewise.
34348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34349         __USE_XOPEN2K8].
34350         (CLD_KILLED): Likewise.
34351         (CLD_DUMPED): Likewise.
34352         (CLD_TRAPPED): Likewise.
34353         (CLD_STOPPED): Likewise.
34354         (CLD_CONTINUED): Likewise.
34355         (POLL_IN): Likewise.
34356         (POLL_OUT): Likewise.
34357         (POLL_MSG): Likewise.
34358         (POLL_ERR): Likewise.
34359         (POLL_PRI): Likewise.
34360         (POLL_HUP): Likewise.
34361         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34362         (ILL_ILLOPN): Likewise.
34363         (ILL_ILLADR): Likewise.
34364         (ILL_ILLTRP): Likewise.
34365         (ILL_PRVOPC): Likewise.
34366         (ILL_PRVREG): Likewise.
34367         (ILL_COPROC): Likewise.
34368         (ILL_BADSTK): Likewise.
34369         (FPE_INTDIV): Likewise.
34370         (FPE_INTOVF): Likewise.
34371         (FPE_FLTDIV): Likewise.
34372         (FPE_FLTOVF): Likewise.
34373         (FPE_FLTUND): Likewise.
34374         (FPE_FLTRES): Likewise.
34375         (FPE_FLTINV): Likewise.
34376         (FPE_FLTSUB): Likewise.
34377         (SEGV_MAPERR): Likewise.
34378         (SEGV_ACCERR): Likewise.
34379         (BUS_ADRALN): Likewise.
34380         (BUS_ADRERR): Likewise.
34381         (BUS_OBJERR): Likewise.
34382         (BUS_MCEERR_AR): Likewise.
34383         (BUS_MCEERR_AO): Likewise.
34384         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34385         (TRAP_TRACE): Likewise.
34386         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34387         __USE_XOPEN2K8].
34388         (CLD_KILLED): Likewise.
34389         (CLD_DUMPED): Likewise.
34390         (CLD_TRAPPED): Likewise.
34391         (CLD_STOPPED): Likewise.
34392         (CLD_CONTINUED): Likewise.
34393         (POLL_IN): Likewise.
34394         (POLL_OUT): Likewise.
34395         (POLL_MSG): Likewise.
34396         (POLL_ERR): Likewise.
34397         (POLL_PRI): Likewise.
34398         (POLL_HUP): Likewise.
34399         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34400         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34402         [BZ #16670]
34403         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34404         before #include of <time.h>.
34405         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34406         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34407         (test-xfail-UNIX98/sched.h/conform): Likewise.
34409 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34411         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34412         error absence of trapping exception support.
34413         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34415 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34417         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34418         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34419         * timezone/Makefile (testdata): Move definition above include of
34420         Rules.
34421         (test-zones): New variable.
34422         (tests-special): Add zone files.
34423         (build-testdata): Use $(evaluate-test).
34425         * elf/Makefile (tests-special): Rename tests to end with .out.
34426         ($(objpfx)noload-mem): Likewise.
34427         ($(objpfx)tst-leaks1-mem): Likewise.
34428         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34429         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34430         $(objpfx)test-iconvconfig.out.
34431         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34432         set -e inside subshell and redirect output to file.
34433         * iconvdata/Makefile (generated): Rename tests to end with .out.
34434         Correct type.
34435         (tests-special): Rename tests to end with .out.
34436         ($(objpfx)mtrace-tst-loading): Likewise.
34437         * intl/Makefile (generated): Likewise.
34438         (tests-special): Likewise.
34439         ($(objpfx)mtrace-tst-gettext): Likewise.
34440         * misc/Makefile (generated): Likewise.
34441         (tests-special): Likewise.
34442         ($(objpfx)tst-error1-mem): Likewise.
34443         * nptl/Makefile (tests-special): Likewise.
34444         ($(objpfx)tst-stack3-mem): Likewise.
34445         (generated): Likewise.
34446         * posix/Makefile (generated): Likewise.
34447         (tests-special): Likewise.
34448         (xtests-special): Likewise.
34449         ($(objpfx)tst-fnmatch-mem): Likewise.
34450         ($(objpfx)bug-regex2-mem): Likewise.
34451         ($(objpfx)bug-regex14-mem): Likewise.
34452         ($(objpfx)bug-regex21-mem): Likewise.
34453         ($(objpfx)bug-regex31-mem): Likewise.
34454         ($(objpfx)tst-vfork3-mem): Likewise.
34455         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34456         ($(objpfx)tst-pcre-mem): Likewise.
34457         ($(objpfx)tst-boost-mem): Likewise.
34458         ($(objpfx)bug-ga2-mem): Likewise.
34459         ($(objpfx)bug-glob2-mem): Likewise.
34460         * resolv/Makefile (generate): Likewise.
34461         (tests-special): Likewise.
34462         (xtests-special): Likewise.
34463         (generated): Likewise.
34464         ($(objpfx)mtrace-tst-leaks): Likewise.
34465         ($(objpfx)mtrace-tst-leaks2): Likewise.
34467         * scripts/merge-test-results.sh: New file.
34468         * Makefile (tests-special-notdir): New variable.
34469         (tests): Run merge-test-results.sh.
34470         (xtests): Likewise.
34471         * Rules (tests-special-notdir): New variable.
34472         (xtests-special-notdir): Likewise.
34473         (tests): Run merge-test-results.sh
34474         (xtests): Likewise.
34476         * Makeconfig (test-xfail-name): New variable.
34477         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34478         compute variable name for expected failures.
34479         * conform/Makefile (conformtest-headers-data): New variable.
34480         (conformtest-standards): Likewise.
34481         (conformtest-headers-ISO): Likewise.
34482         (conformtest-headers-ISO99): Likewise.
34483         (conformtest-headers-ISO11): Likewise.
34484         (conformtest-headers-POSIX): Likewise.
34485         (conformtest-headers-XPG3): Likewise.
34486         (conformtest-headers-XPG4): Likewise.
34487         (conformtest-headers-UNIX98): Likewise.
34488         (conformtest-headers-XOPEN2K): Likewise.
34489         (conformtest-headers-POSIX2008): Likewise.
34490         (conformtest-headers-XOPEN2K8): Likewise.
34491         (conformtest-header-list-base): Likewise.
34492         (conformtest-header-list-tests): Likewise.
34493         (conformtest-header-base): Likewise.
34494         (conformtest-header-tests): Likewise.
34495         (tests-special): Add $(conformtest-header-list-tests).  If
34496         [$(fast-check) && !$(cross-compiling)], add
34497         $(conformtest-header-tests) instead of
34498         $(objpfx)run-conformtest.out.
34499         (generated): Add $(conformtest-header-list-base).  If
34500         [$(fast-check) && !$(cross-compiling)], add
34501         $(conformtest-header-base).  Remove previous setting.
34502         ($(conformtest-header-list-tests)): New target.
34503         (test-xfail-run-conformtest): Remove variable.
34504         ($(objpfx)run-conformtest.out): Remove target.
34505         (test-xfail-ISO11/complex.h/conform): New variable.
34506         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34507         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34508         (test-xfail-XPG3/varargs.h/conform): Likewise.
34509         (test-xfail-XPG4/varargs.h/conform): Likewise.
34510         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34511         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34512         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34513         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34514         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34515         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34516         (test-xfail-XPG3/ftw.h/conform): Likewise.
34517         (test-xfail-XPG3/grp.h/conform): Likewise.
34518         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34519         (test-xfail-XPG3/limits.h/conform): Likewise.
34520         (test-xfail-XPG3/pwd.h/conform): Likewise.
34521         (test-xfail-XPG3/search.h/conform): Likewise.
34522         (test-xfail-XPG3/signal.h/conform): Likewise.
34523         (test-xfail-XPG3/stdio.h/conform): Likewise.
34524         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34525         (test-xfail-XPG3/string.h/conform): Likewise.
34526         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34527         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34528         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34529         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34530         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34531         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34532         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34533         (test-xfail-XPG3/termios.h/conform): Likewise.
34534         (test-xfail-XPG3/time.h/conform): Likewise.
34535         (test-xfail-XPG3/unistd.h/conform): Likewise.
34536         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34537         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34538         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34539         (test-xfail-XPG4/netdb.h/conform): Likewise.
34540         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34541         (test-xfail-XPG4/signal.h/conform): Likewise.
34542         (test-xfail-XPG4/stdio.h/conform): Likewise.
34543         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34544         (test-xfail-XPG4/stropts.h/conform): Likewise.
34545         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34546         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34547         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34548         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34549         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34550         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34551         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34552         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34553         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34554         (test-xfail-XPG4/termios.h/conform): Likewise.
34555         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34556         (test-xfail-XPG4/unistd.h/conform): Likewise.
34557         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34558         (test-xfail-POSIX/sched.h/conform): Likewise.
34559         (test-xfail-POSIX/signal.h/conform): Likewise.
34560         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34561         (test-xfail-POSIX/tar.h/conform): Likewise.
34562         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34563         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34564         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34565         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34566         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34567         (test-xfail-UNIX98/sched.h/conform): Likewise.
34568         (test-xfail-UNIX98/signal.h/conform): Likewise.
34569         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34570         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34571         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34572         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34573         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34574         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34575         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34576         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34577         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34578         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34579         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34580         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34581         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34582         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34583         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34584         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34585         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34586         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34587         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34588         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34589         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34590         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34591         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34592         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34593         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34594         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34595         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34596         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34597         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34598         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34599         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34600         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34601         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34602         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34603         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34604         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34605         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34606         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34607         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34608         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34609         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34610         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34611         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34612         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34613         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34614         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34615         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34616         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34617         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34618         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34619         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34620         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34621         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34622         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34623         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34624         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34625         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34626         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34627         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34628         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34629         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34630         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34631         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34632         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34633         (conformtest-cc-flags): Likewise.
34634         ($(conformtest-header-tests): New target.
34635         * conform/check-header-lists.sh: New file.
34636         * conform/run-conformtest.sh: Remove.
34638         * conform/conformtest.pl: Allow ' and \ in values given for
34639         constants.
34640         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34641         inclusion.
34642         [POSIX] (sys/types.h): Likewise.
34643         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34644         inclusion.
34645         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34646         inclusion.
34647         * conform/data/signal.h-data (SIGIO): Remove expectation.
34648         [XPG3] (SIGBUS): Do not expect.
34649         [POSIX || XPG3] (SIGPOLL): Likewise.
34650         [POSIX || XPG3] (SIGPROF): Likewise.
34651         [POSIX || XPG3] (SIGSYS): Likewise.
34652         [XPG3] (SIGTRAP): Likewise.
34653         [POSIX || XPG3] (SIGURG): Likewise.
34654         [POSIX || XPG3] (SIGVTALRM): Likewise.
34655         [POSIX || XPG3] (SIGXCPU): Likewise.
34656         [POSIX || XPG3] (SIGXFSZ): Likewise.
34657         [POSIX] (SA_SIGINFO): Expect.
34658         [XPG3] (siginfo_t): Do not expect type or contents.
34659         [POSIX] (si_pid): Do not expect element.
34660         [POSIX] (si_uid): Likewise.
34661         [POSIX] (si_addr): Likewise.
34662         [POSIX] (si_status): Likewise.
34663         [POSIX] (si_band): Likewise.
34664         [XPG4] (si_value): Likewise.
34665         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34666         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34667         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34668         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34669         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34670         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34671         [POSIX || XPG3] (ILL_COPROC): Likewise.
34672         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34673         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34674         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34675         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34676         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34677         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34678         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34679         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34680         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34681         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34682         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34683         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34684         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34685         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34686         [POSIX || XPG3] (CLD_EXITED): Likewise.
34687         [POSIX || XPG3] (CLD_KILLED): Likewise.
34688         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34689         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34690         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34691         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34692         [POSIX || XPG3] (POLL_IN): Likewise.
34693         [POSIX || XPG3] (POLL_OUT): Likewise.
34694         [POSIX || XPG3] (POLL_MSG): Likewise.
34695         [POSIX || XPG3] (POLL_ERR): Likewise.
34696         [POSIX || XPG3] (POLL_PRI): Likewise.
34697         [POSIX || XPG3] (POLL_HUP): Likewise.
34698         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34699         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34700         (SIG*): Do not allow.
34701         [XPG3] (si_*): Likewise.
34702         [XPG3] (SI_*): Likewise.
34703         [XPG3 || XPG4] (sigev_*): Likewise.
34704         [XPG3 || XPG4] (SIGEV_*): Likewise.
34705         [XPG3 || XPG4] (sival_*): Likewise.
34706         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34707         [POSIX || XPG3] (BUS_*): Likewise.
34708         [POSIX || XPG3] (CLD_*): Likewise.
34709         [POSIX || XPG3] (FPE_*): Likewise.
34710         [POSIX || XPG3] (ILL_*): Likewise.
34711         [POSIX || XPG3] (POLL_*): Likewise.
34712         [POSIX || XPG3] (SEGV_*): Likewise.
34713         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34714         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34715         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34716         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34717         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34718         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34719         Specify type and value.
34720         (TVERSLEN): Likewise.
34721         (REGTYPE): Likewise.
34722         (AREGTYPE): Likewise.
34723         (LNKTYPE): Likewise.
34724         (SYMTYPE): Likewise.
34725         (CHRTYPE): Likewise.
34726         (BLKTYPE): Likewise.
34727         (DIRTYPE): Likewise.
34728         (FIFOTYPE): Likewise.
34729         (CONTTYPE): Likewise.
34730         (TSUID): Likewise.
34731         (TSGID): Likewise.
34732         (TSVTX): Likewise.
34733         (TUREAD): Likewise.
34734         (TUWRITE): Likewise.
34735         (TUEXEC): Likewise.
34736         (TGREAD): Likewise.
34737         (TGWRITE): Likewise.
34738         (TGEXEC): Likewise.
34739         (TOREAD): Likewise.
34740         (TOWRITE): Likewise.
34741         (TOEXEC): Likewise.
34742         [POSIX] (TSVTX): Expect constant.
34744 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34746         * Makefile (tests): Change dependencies to ....
34747         (tests-special): ... additions to this variable.
34748         (tests): Depend on $(tests-special).
34749         * Makerules (check-abi-list): New variable.
34750         (check-abi): Depend on $(check-abi-list).
34751         [$(subdir) = elf] (tests-special): Add
34752         $(objpfx)check-abi-libc.out.
34753         [$(build-shared) = yes && subdir] (tests-special): Add
34754         $(check-abi-list).
34755         [$(build-shared) = yes && subdir] (tests): Do not depend on
34756         check-abi.
34757         * Rules (tests): Depend on $(tests-special).
34758         (xtests): Depend on $(xtests-special).
34759         * catgets/Makefile (tests): Change dependencies to ....
34760         (tests-special): ... additions to this variable.
34761         * conform/Makefile (tests): Change dependencies to ....
34762         (tests-special): ... additions to this variable.
34763         * elf/Makefile (tests): Change dependencies to ....
34764         (tests-special): ... additions to this variable.
34765         * grp/Makefile (tests): Change dependencies to ....
34766         (tests-special): ... additions to this variable.
34767         * iconv/Makefile (xtests): Change dependencies to ....
34768         (xtests-special): ... additions to this variable.
34769         * iconvdata/Makefile (tests): Change dependencies to ....
34770         (tests-special): ... additions to this variable.
34771         * intl/Makefile (tests): Change dependencies to ....
34772         (tests-special): ... additions to this variable.  Also add
34773         $(objpfx)tst-gettext.out.
34774         * io/Makefile (tests): Change dependencies to ....
34775         (tests-special): ... additions to this variable.
34776         * libio/Makefile (tests): Change dependencies to ....
34777         (tests-special): ... additions to this variable.
34778         * malloc/Makefile (tests): Change dependencies to ....
34779         (tests-special): ... additions to this variable.
34780         * misc/Makefile (tests): Change dependencies to ....
34781         (tests-special): ... additions to this variable.
34782         * nptl/Makefile (tests): Change dependencies to ....
34783         (tests-special): ... additions to this variable.
34784         * nptl_db/Makefile (tests): Change dependencies to ....
34785         (tests-special): ... additions to this variable.
34786         * posix/Makefile (tests): Change dependencies to ....
34787         (tests-special): ... additions to this variable.
34788         (xtests): Change dependencies to ....
34789         (xtests-special): ... additions to this variable.
34790         * resolv/Makefile (tests): Change dependencies to ....
34791         (tests-special): ... additions to this variable.
34792         (xtests): Change dependencies to ....
34793         (xtests-special): ... additions to this variable.
34794         * stdio-common/Makefile (tests): Change dependencies to ....
34795         (tests-special): ... additions to this variable.
34796         (do-tst-unbputc): Remove target.
34797         (do-tst-printf): Likewise.
34798         * stdlib/Makefile (tests): Change dependencies to ....
34799         (tests-special): ... additions to this variable.
34800         * string/Makefile (tests): Change dependencies to ....
34801         (tests-special): ... additions to this variable.
34802         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34803         (tests-special): ... additions to this variable.
34805         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34806         whole file.
34807         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34808         whole file.
34809         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34810         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34812         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34813         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34814         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34815         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34816         * conform/data/libgen.h-data [XPG3]: Likewise.
34817         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34818         * conform/data/ndbm.h-data [XPG3]: Likewise.
34819         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34820         * conform/data/netdb.h-data [XPG3]: Likewise.
34821         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34822         * conform/data/poll.h-data [XPG3]: Likewise.
34823         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34824         * conform/data/strings.h-data [XPG3]: Likewise.
34825         * conform/data/stropts.h-data [XPG3]: Likewise.
34826         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34827         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34828         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34829         Likewise.
34830         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34831         * conform/data/sys/time.h-data [XPG3]: Likewise.
34832         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34833         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34834         * conform/data/sys/un.h-data [XPG3]: Likewise.
34835         * conform/data/syslog.h-data [XPG3]: Likewise.
34836         * conform/data/ucontext.h-data [XPG3]: Likewise.
34837         * conform/data/utmpx.h-data [XPG3]: Likewise.
34838         * conform/data/varargs.h-data [UNIX98]: Enable file.
34840         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34842         * math/libm-test.inc (struct test_f_f_data): Move expected results
34843         into structure for each rounding mode.
34844         (struct test_ff_f_data): Likewise.
34845         (struct test_ff_f_data_nexttoward): Likewise.
34846         (struct test_fi_f_data): Likewise.
34847         (struct test_fl_f_data): Likewise.
34848         (struct test_if_f_data): Likewise.
34849         (struct test_fff_f_data): Likewise.
34850         (struct test_c_f_data): Likewise.
34851         (struct test_f_f1_data): Likewise.
34852         (struct test_fF_f1_data): Likewise.
34853         (struct test_ffI_f1_data): Likewise.
34854         (struct test_c_c_data): Likewise.
34855         (struct test_cc_c_data): Likewise.
34856         (struct test_f_i_data): Likewise.
34857         (struct test_ff_i_data): Likewise.
34858         (struct test_f_l_data): Likewise.
34859         (struct test_f_L_data): Likewise.
34860         (struct test_fFF_11_data): Likewise.
34861         (RM_): New macro.
34862         (RM_FE_DOWNWARD): Likewise.
34863         (RM_FE_TONEAREST): Likewise.
34864         (RM_FE_TOWARDZERO): Likewise.
34865         (RM_FE_UPWARD): Likewise.
34866         (RUN_TEST_LOOP_f_f): Update references to expected results.
34867         (RUN_TEST_LOOP_2_f): Likewise.
34868         (RUN_TEST_LOOP_fff_f): Likewise.
34869         (RUN_TEST_LOOP_c_f): Likewise.
34870         (RUN_TEST_LOOP_f_f1): Likewise.
34871         (RUN_TEST_LOOP_fF_f1): Likewise.
34872         (RUN_TEST_LOOP_fI_f1): Likewise.
34873         (RUN_TEST_LOOP_ffI_f1): Likewise.
34874         (RUN_TEST_LOOP_c_c): Likewise.
34875         (RUN_TEST_LOOP_cc_c): Likewise.
34876         (RUN_TEST_LOOP_f_i): Likewise.
34877         (RUN_TEST_LOOP_f_i_tg): Likewise.
34878         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34879         (RUN_TEST_LOOP_f_b): Likewise.
34880         (RUN_TEST_LOOP_f_b_tg): Likewise.
34881         (RUN_TEST_LOOP_f_l): Likewise.
34882         (RUN_TEST_LOOP_f_L): Likewise.
34883         (RUN_TEST_LOOP_fFF_11): Likewise.
34884         * math/gen-libm-test.pl (parse_args): Output four copies of
34885         expected results for each test.
34887         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34888         (__ASSUME_UTIMES): Remove.
34889         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34890         (__ASSUME_UTIMES): Likewise.
34892         * math/gen-auto-libm-tests.c: Update comment on output format.
34893         (output_for_one_input_case): Generate before-rounding and
34894         after-rounding information as conditions on output flags not
34895         floating-point format.
34896         * math/auto-libm-test-out: Regenerated.
34897         * math/gen-libm-test.pl (cond_value): New function.
34898         (or_cond_value): Use cond_value.
34899         (generate_testfile): Handle conditional exceptions.
34901 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34903         * math/libm-test.inc (max_valid_error): New variable.
34904         (init_max_error): Take new argument specifying whether function
34905         results are exactly determined.  Set max_valid_error and bound
34906         other variables for errors based on this argument.
34907         (set_max_error): Do not record results above max_valid_error.
34908         (check_float_internal): Only accept errors of up to 0.5ulps if
34909         also at most max_valid_error.
34910         (START): Take new argument EXACT and pass it to init_max_error.
34911         (acos_test): Update call to START.
34912         (acos_test_tonearest): Likewise.
34913         (acos_test_towardzero): Likewise.
34914         (acos_test_downward): Likewise.
34915         (acos_test_upward): Likewise.
34916         (acosh_test): Likewise.
34917         (asin_test): Likewise.
34918         (asin_test_tonearest): Likewise.
34919         (asin_test_towardzero): Likewise.
34920         (asin_test_downward): Likewise.
34921         (asin_test_upward): Likewise.
34922         (asinh_test): Likewise.
34923         (atan_test): Likewise.
34924         (atanh_test): Likewise.
34925         (atan2_test): Likewise.
34926         (cabs_test): Likewise.
34927         (cacos_test): Likewise.
34928         (cacosh_test): Likewise.
34929         (carg_test): Likewise.
34930         (casin_test): Likewise.
34931         (casinh_test): Likewise.
34932         (catan_test): Likewise.
34933         (catanh_test): Likewise.
34934         (cbrt_test): Likewise.
34935         (ccos_test): Likewise.
34936         (ccosh_test): Likewise.
34937         (ceil_test): Likewise.
34938         (cexp_test): Likewise.
34939         (cimag_test): Likewise.
34940         (clog_test): Likewise.
34941         (clog10_test): Likewise.
34942         (conj_test): Likewise.
34943         (copysign_test): Likewise.
34944         (cos_test): Likewise.
34945         (cos_test_tonearest): Likewise.
34946         (cos_test_towardzero): Likewise.
34947         (cos_test_downward): Likewise.
34948         (cos_test_upward): Likewise.
34949         (cosh_test): Likewise.
34950         (cosh_test_tonearest): Likewise.
34951         (cosh_test_towardzero): Likewise.
34952         (cosh_test_downward): Likewise.
34953         (cosh_test_upward): Likewise.
34954         (cpow_test): Likewise.
34955         (cproj_test): Likewise.
34956         (creal_test): Likewise.
34957         (csin_test): Likewise.
34958         (csinh_test): Likewise.
34959         (csqrt_test): Likewise.
34960         (ctan_test): Likewise.
34961         (ctan_test_tonearest): Likewise.
34962         (ctan_test_towardzero): Likewise.
34963         (ctan_test_downward): Likewise.
34964         (ctan_test_upward): Likewise.
34965         (ctanh_test): Likewise.
34966         (ctanh_test_tonearest): Likewise.
34967         (ctanh_test_towardzero): Likewise.
34968         (ctanh_test_downward): Likewise.
34969         (ctanh_test_upward): Likewise.
34970         (erf_test): Likewise.
34971         (erfc_test): Likewise.
34972         (exp_test): Likewise.
34973         (exp_test_tonearest): Likewise.
34974         (exp_test_towardzero): Likewise.
34975         (exp_test_downward): Likewise.
34976         (exp_test_upward): Likewise.
34977         (exp10_test): Likewise.
34978         (exp10_test_tonearest): Likewise.
34979         (exp10_test_towardzero): Likewise.
34980         (exp10_test_downward): Likewise.
34981         (exp10_test_upward): Likewise.
34982         (pow10_test): Likewise.
34983         (exp2_test): Likewise.
34984         (expm1_test): Likewise.
34985         (expm1_test_tonearest): Likewise.
34986         (expm1_test_towardzero): Likewise.
34987         (expm1_test_downward): Likewise.
34988         (expm1_test_upward): Likewise.
34989         (fabs_test): Likewise.
34990         (fdim_test): Likewise.
34991         (floor_test): Likewise.
34992         (fma_test): Likewise.
34993         (fma_test_towardzero): Likewise.
34994         (fma_test_downward): Likewise.
34995         (fma_test_upward): Likewise.
34996         (fmax_test): Likewise.
34997         (fmin_test): Likewise.
34998         (fmod_test): Likewise.
34999         (fpclassify_test): Likewise.
35000         (frexp_test): Likewise.
35001         (hypot_test): Likewise.
35002         (ilogb_test): Likewise.
35003         (isfinite_test): Likewise.
35004         (finite_test): Likewise.
35005         (isgreater_test): Likewise.
35006         (isgreaterequal_test): Likewise.
35007         (isinf_test): Likewise.
35008         (isless_test): Likewise.
35009         (islessequal_test): Likewise.
35010         (islessgreater_test): Likewise.
35011         (isnan_test): Likewise.
35012         (isnormal_test): Likewise.
35013         (issignaling_test): Likewise.
35014         (isunordered_test): Likewise.
35015         (j0_test): Likewise.
35016         (j1_test): Likewise.
35017         (jn_test): Likewise.
35018         (ldexp_test): Likewise.
35019         (lgamma_test): Likewise.
35020         (gamma_test): Likewise.
35021         (lrint_test): Likewise.
35022         (lrint_test_tonearest): Likewise.
35023         (lrint_test_towardzero): Likewise.
35024         (lrint_test_downward): Likewise.
35025         (lrint_test_upward): Likewise.
35026         (llrint_test): Likewise.
35027         (llrint_test_tonearest): Likewise.
35028         (llrint_test_towardzero): Likewise.
35029         (llrint_test_downward): Likewise.
35030         (llrint_test_upward): Likewise.
35031         (log_test): Likewise.
35032         (log10_test): Likewise.
35033         (log1p_test): Likewise.
35034         (log2_test): Likewise.
35035         (logb_test): Likewise.
35036         (logb_test_downward): Likewise.
35037         (lround_test): Likewise.
35038         (llround_test): Likewise.
35039         (modf_test): Likewise.
35040         (nearbyint_test): Likewise.
35041         (nextafter_test): Likewise.
35042         (nexttoward_test): Likewise.
35043         (pow_test): Likewise.
35044         (pow_test_tonearest): Likewise.
35045         (pow_test_towardzero): Likewise.
35046         (pow_test_downward): Likewise.
35047         (pow_test_upward): Likewise.
35048         (remainder_test): Likewise.
35049         (drem_test): Likewise.
35050         (remainder_test_tonearest): Likewise.
35051         (drem_test_tonearest): Likewise.
35052         (remainder_test_towardzero): Likewise.
35053         (drem_test_towardzero): Likewise.
35054         (remainder_test_downward): Likewise.
35055         (drem_test_downward): Likewise.
35056         (remainder_test_upward): Likewise.
35057         (drem_test_upward): Likewise.
35058         (remquo_test): Likewise.
35059         (rint_test): Likewise.
35060         (rint_test_tonearest): Likewise.
35061         (rint_test_towardzero): Likewise.
35062         (rint_test_downward): Likewise.
35063         (rint_test_upward): Likewise.
35064         (round_test): Likewise.
35065         (scalb_test): Likewise.
35066         (scalbn_test): Likewise.
35067         (scalbln_test): Likewise.
35068         (signbit_test): Likewise.
35069         (sin_test): Likewise.
35070         (sin_test_tonearest): Likewise.
35071         (sin_test_towardzero): Likewise.
35072         (sin_test_downward): Likewise.
35073         (sin_test_upward): Likewise.
35074         (sincos_test): Likewise.
35075         (sinh_test): Likewise.
35076         (sinh_test_tonearest): Likewise.
35077         (sinh_test_towardzero): Likewise.
35078         (sinh_test_downward): Likewise.
35079         (sinh_test_upward): Likewise.
35080         (sqrt_test): Likewise.
35081         (sqrt_test_tonearest): Likewise.
35082         (sqrt_test_towardzero): Likewise.
35083         (sqrt_test_downward): Likewise.
35084         (sqrt_test_upward): Likewise.
35085         (tan_test): Likewise.
35086         (tan_test_tonearest): Likewise.
35087         (tan_test_towardzero): Likewise.
35088         (tan_test_downward): Likewise.
35089         (tan_test_upward): Likewise.
35090         (tanh_test): Likewise.
35091         (tgamma_test): Likewise.
35092         (trunc_test): Likewise.
35093         (y0_test): Likewise.
35094         (y1_test): Likewise.
35095         (yn_test): Likewise.
35096         (significand_test): Likewise.
35098         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35099         individual tests in comment.
35100         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35101         (prev_max_error): New variable.
35102         (prev_real_max_error): Likewise.
35103         (prev_imag_max_error): Likewise.
35104         (compare_ulp_data): Don't refer to test names in comment.
35105         (find_test_ulps): Remove function.
35106         (find_function_ulps): Likewise.
35107         (find_complex_function_ulps): Likewise.
35108         (init_max_error): Take function name as argument.  Look up ulps
35109         for that function.
35110         (print_ulps): Remove function.
35111         (print_max_error): Use prev_max_error instead of calling
35112         find_function_ulps.
35113         (print_complex_max_error): Use prev_real_max_error and
35114         prev_imag_max_error instead of calling find_complex_function_ulps.
35115         (check_float_internal): Take max_ulp parameter instead of calling
35116         find_test_ulps.  Don't call print_ulps.
35117         (check_float): Update call to check_float_internal.
35118         (check_complex): Update calls to check_float_internal.
35119         (START): Pass argument to init_max_error.
35120         * math/gen-libm-test.pl (%results): Don't include "kind"
35121         information.
35122         (parse_ulps): Don't handle ulps of individual tests.
35123         (print_ulps_file): Likewise.
35124         (output_ulps): Likewise.
35125         * math/README.libm-test: Update.
35126         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35127         individual tests.
35128         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35129         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35130         * sysdeps/arm/libm-test-ulps: Likewise.
35131         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35132         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35133         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35134         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35135         * sysdeps/microblaze/libm-test-ulps: Likewise.
35136         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35137         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35138         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35139         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35140         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35141         * sysdeps/sh/libm-test-ulps: Likewise.
35142         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35143         * sysdeps/tile/libm-test-ulps: Likewise.
35144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35146 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35148         * math/libm-test.inc (print_complex_max_error): Check separately
35149         whether real and imaginary errors are within allowed range and
35150         pass 0 to print_complex_function_ulps instead of value within
35151         allowed range.
35153 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35155         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35156         formatting.
35157         (get_handles_fopen): Likewise.
35158         (do_write_test): Likewise.
35160         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35162         * libio/fileops.c (do_ftell): Use cached offset when
35163         available.
35164         * libio/iofwide.c (do_ftell_wide): Likewise.
35165         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35166         _IO_file_attach.
35167         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35169         [BZ #16532]
35170         * libio/libioP.h (get_file_offset): New function.
35171         * libio/fileops.c (get_file_offset): Likewise.
35172         (do_ftell): Likewise.
35173         (_IO_new_file_seekoff): Split out ftell logic.
35174         * libio/wfileops.c (do_ftell_wide): Likewise.
35175         (_IO_wfile_seekoff): Split out ftell logic.
35176         * libio/tst-ftell-active-handler.c: New test case.
35177         * libio/Makefile (tests): Add it.
35179 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35181         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35182         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35184 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35186         [BZ #16639]
35187         * nscd/connections.c (nscd_init): Call do_exit.
35188         (start_threads): Call do_exit and notify_parent.
35189         (begin_drop_privileges): Call do_exit.
35190         (finish_drop_privileges): Likewise.
35191         * nscd/selinux.c (preserve_capabilities): Likewise.
35192         (install_real_capabilities): Likewise.
35193         (nscd_selinux_enabled): Likewise.
35194         (avc_create_thread): Likewise.
35195         (avc_alloc_lock): Likewise.
35196         (nscd_avc_init): Likewise.
35197         * nscd/nscd.c (parent_fd): New static variable.
35198         (main): Create a pipe between parent and child processes.
35199         Skip closing parent_fd.
35200         (monitor_child): New function.
35201         (do_exit): Likewise.
35202         (notify_parent): Likewise.
35203         * nscd/nscd.h (notify_parent): Likewise.
35204         (do_exit): Likewise.
35206 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35208         * malloc/malloc.c (__libc_calloc): Revert last change.
35210 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35214 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35216         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35218         implementation.
35219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35220         (__libc_ifunc_impl_list): Likewise.
35221         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35222         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35223         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35224         * string/strrchr.c: Define STRRCHR.
35226 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35228         * benchtest/bench-strtok.c (simple_strtok): Delete.
35229         (strtok_string): Use as benchmark.
35230         * string/strtok (STRTOK): New macro.
35232 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35234         * manual/threads.texi: Add header and standard comments to all
35235         functions.
35237         * elf/dl-lookup.c (check_match): New function.
35238         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35239         (do_lookup_x): Remove nested function check_match. Use non-nested
35240         function check_match.
35242 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35244         * csu/Makefile (generated, before-compile): Use += rather than =.
35245         * catgets/Makefile (generated, generated-dirs): Likewise.
35246         * debug/Makefile (generated): Likewise.
35247         * dlfcn/Makefile (generated): Likewise.
35248         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35249         * iconvdata/Makefile (before-compile, generated): Likewise.
35250         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35251         * libio/Makefile (generated): Likewise.
35252         * malloc/Makefile (generated): Likewise.
35253         * manual/Makefile (generated, generated-dirs): Likewise.
35254         * misc/Makefile (generated): Likewise.
35255         * posix/Makefile (generated): Likewise.
35256         * resolv/Makefile (generated): Likewise.
35257         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35258         * timezone/Makefile (generated, generated-dirs): Likewise.
35260         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35262 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35265         power8 implementation.
35266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35267         file: POWER8 llround ifunc implementation.
35268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35269         (__lllround): Add POWER8 implementation.
35270         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35271         POWER8 llround implementation.
35273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35274         power8 implementation.
35275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35276         file: POWER8 llrint ifunc implementation.
35277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35278         Add POWER8 implementation.
35279         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35280         POWER8 llrint implementation.
35282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35283         power8 implementation.
35284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35285         file: POWER8 finite ifunc implementation.
35286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35287         Add POWER8 implementation.
35288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35289         Likewise.
35290         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35291         POWER8 finite implementation.
35292         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35295         power8 implementation.
35296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35297         file: POWER8 isinf ifunc implementation.
35298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35299         POWER8 implementation.
35300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35301         Likewise.
35302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35303         isinf implementation.
35304         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35306         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35307         (INIT_ARCH): Add hwcap2 initialization.
35308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35309         power8 implementation.
35310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35311         file: POWER8 isnan ifunc implementation.
35312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35313         POWER8 implementation.
35314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35315         Likewise.
35316         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35317         isnan implementation.
35318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35320 2014-02-27  Joey Ye  <joey.ye@arm.com>
35322         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35323         (_FP_NANFRAC_Q): Set to zero.
35325 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35327         [BZ #16623]
35328         * math/auto-libm-test-in: New test inputs.
35329         * math/auto-libm-test-out: Regenerate.
35330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35331         and DA.
35332         (__cos): Likewise.
35333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35335 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35337         * scripts/evaluate-test.sh: Take new argument indicating whether
35338         failure is expected.
35339         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35340         indicating whether failure is expected.
35341         * conform/Makefile (test-xfail-run-conformtest): New variable.
35342         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35343         level.
35344         * posix/Makefile (test-xfail-annexc): New variable.
35345         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35347 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35349         * argp/Makefile: Include Makeconfig immediately after defining
35350         subdir.
35351         * assert/Makefile: Likewise.
35352         * benchtests/Makefile: Likewise.
35353         * catgets/Makefile: Likewise.
35354         * conform/Makefile: Likewise.
35355         * crypt/Makefile: Likewise.
35356         * csu/Makefile: Likewise.
35357         (all): Remove target.
35358         * ctype/Makefile: Include Makeconfig immediately after defining
35359         subdir.
35360         * debug/Makefile: Likewise.
35361         * dirent/Makefile: Likewise.
35362         * dlfcn/Makefile: Likewise.
35363         * gmon/Makefile: Likewise.
35364         * gnulib/Makefile: Likewise.
35365         * grp/Makefile: Likewise.
35366         * gshadow/Makefile: Likewise.
35367         * hesiod/Makefile: Likewise.
35368         * hurd/Makefile: Likewise.
35369         (all): Remove target.
35370         * iconvdata/Makefile: Include Makeconfig immediately after
35371         defining subdir.
35372         * inet/Makefile: Likewise.
35373         * intl/Makefile: Likewise.
35374         * io/Makefile: Likewise.
35375         * libio/Makefile: Likewise.
35376         (all): Remove target.
35377         * locale/Makefile: Include Makeconfig immediately after defining
35378         subdir.
35379         * login/Makefile: Likewise.
35380         * mach/Makefile: Likewise.
35381         (all): Remove target.
35382         * malloc/Makefile: Include Makeconfig immediately after defining
35383         subdir.
35384         (all): Remove target.
35385         * manual/Makefile: Include Makeconfig immediately after defining
35386         subdir.
35387         * math/Makefile: Likewise.
35388         * misc/Makefile: Likewise.
35389         * nis/Makefile: Likewise.
35390         * nss/Makefile: Likewise.
35391         * po/Makefile: Likewise.
35392         (all): Remove target.
35393         * posix/Makefile: Include Makeconfig immediately after defining
35394         subdir.
35395         * pwd/Makefile: Likewise.
35396         * resolv/Makefile: Likewise.
35397         * resource/Makefile: Likewise.
35398         * rt/Makefile: Likewise.
35399         * setjmp/Makefile: Likewise.
35400         * shadow/Makefile: Likewise.
35401         * signal/Makefile: Likewise.
35402         * socket/Makefile: Likewise.
35403         * soft-fp/Makefile: Likewise.
35404         * stdio-common/Makefile: Likewise.
35405         * stdlib/Makefile: Likewise.
35406         * streams/Makefile: Likewise.
35407         * string/Makefile: Likewise.
35408         * sunrpc/Makefile: Likewise.
35409         (all): Remove target.
35410         * sysvipc/Makefile: Include Makeconfig immediately after defining
35411         subdir.
35412         * termios/Makefile: Likewise.
35413         * time/Makefile: Likewise.
35414         * timezone/Makefile: Likewise.
35415         (all): Remove target.
35416         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35417         subdir.
35418         * wctype/Makefile: Likewise.
35420 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35422         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35423         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35424         (libc_feholdexcept_setround_mips): Ditto.
35425         (libc_feholdsetround): New.
35426         (libc_feholdsetroundf): New.
35427         (libc_feholdsetroundl): New.
35428         (libc_feupdateenv_test_mips): New.
35429         (libc_feupdateenv_test): New.
35430         (libc_feupdateenv_testf): New.
35431         (libc_feupdateenv_testl): New.
35432         (libc_feresetround): New.
35433         (libc_feresetroundf): New.
35434         (libc_feresetroundl): New.
35435         (libc_fetestexcept_mips): New.
35436         (libc_fetestexcept): New.
35437         (libc_fetestexceptf): New.
35438         (libc_fetestexceptl): New.
35439         (HAVE_RM_CTX): New.
35440         (libc_feholdexcept_setround_mips_ctx): New.
35441         (libc_feholdexcept_setround_ctx): New.
35442         (libc_feholdexcept_setroundf_ctx): New.
35443         (libc_feholdexcept_setroundl_ctx): New.
35444         (libc_fesetenv_mips_ctx): New.
35445         (libc_fesetenv_ctx): New.
35446         (libc_fesetenv_ctxf): New.
35447         (libc_fesetenv_ctxl): New.
35448         (libc_feupdateenv_mips_ctx): New.
35449         (libc_feupdateenv_ctx): New.
35450         (libc_feupdateenvf_ctx): New.
35451         (libc_feupdateenvl_ctx): New.
35452         (libc_feholdsetround_mips_ctx): New.
35453         (libc_feholdsetround_ctx): New.
35454         (libc_feholdsetroundf_ctx): New.
35455         (libc_feholdsetroundl_ctx): New.
35456         (libc_feresetround_mips_ctx): New.
35457         (libc_feresetround_ctx): New.
35458         (libc_feresetroundf_ctx): New.
35459         (libc_feresetroundl_ctx): New.
35461 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35463         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35465         * manual/ipc.texi: New file.
35466         * manual/Makefile (chapters): Add ipc.
35467         * manual/job.texi: Add "Inter-Process Communication" to next.
35468         * manual/process.texi: Add "Inter-Process Communication" to prev.
35470 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35474 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35476         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35478         * manual/arith.texi: Fix spaces after sentences.
35479         * manual/charset.texi: Likewise.
35480         * manual/errno.texi: Likewise.
35481         * manual/install.texi: Likewise.
35482         * manual/llio.texi: Likewise.
35483         * manual/locale.texi: Likewise.
35484         * manual/maint.texi: Likewise.
35485         * manual/math.texi: Likewise.
35486         * manual/memory.texi: Likewise.
35487         * manual/message.texi: Likewise.
35488         * manual/probes.texi: Likewise.
35489         * manual/resource.texi: Likewise.
35490         * manual/signal.texi: Likewise.
35491         * manual/socket.texi: Likewise.
35492         * manual/stdio.texi: Likewise.
35493         * manual/string.texi: Likewise.
35494         * manual/time.texi: Likewise.
35495         * manual/users.texi: Likewise.
35497 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35499         [BZ #16632]
35500         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35501         _DEFAULT_SOURCE is defined.
35503 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35504             Carlos O'Donell  <carlos@redhat.com>
35506         [BZ #16613]
35507         * elf/dl-tls.c (_dl_count_modids): New function.
35508         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35509         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35510         audit library and increment generation counter.
35511         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35512         * elf/tst-audit9.c: New file.
35513         * elf/tst-auditmod9a.c: New file.
35514         * elf/tst-auditmod9b.c: New file.
35515         * elf/Makefile: Add rules to build and run tst-audit9.
35517 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35519         [BZ #15347]
35520         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35522 2014-02-25  Will Newton  <will.newton@linaro.org>
35524         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35525         (__longjmp): Restore sp and lr before restoring callee
35526         saved registers.  Add longjmp and longjmp_target
35527         SystemTap probe point.
35528         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35529         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35530         Define to zero to match jmpbuf layout.
35531         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35532         (__sigsetjmp): Save sp and lr before saving callee
35533         saved registers.  Add setjmp SystemTap probe point.
35535 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35539 2014-02-24  Andreas Schwab  <schwab@suse.de>
35541         [BZ #15804]
35542         * elf/pldd.c (wait_for_ptrace_stop): New function.
35543         (main): Call it after attaching.
35545 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35547         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35548         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35549         Versions files is now verboten.
35550         * hurd/Versions (libc: GLIBC_2.0):
35551         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35552         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35553         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35554         * mach/Versions: Likewise.
35556         * csu/Versions: Remove unused %include.
35557         * resolv/Versions: Likewise.
35559 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35561         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35562         ($(objpfx)check-local-headers.out): Likewise.
35563         ($(objpfx)begin-end-check.out): Likewise.
35564         * Makerules (check-abi-%.out): Likewise.
35565         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35566         ($(objpfx)test2.cat): Likewise.
35567         ($(objpfx)de/libc.cat): Likewise.
35568         ($(objpfx)test-gencat.out): Likewise.
35569         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35570         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35571         ($(objpfx)noload-mem): Likewise.
35572         ($(objpfx)tst-pathopt.out): Likewise.
35573         ($(objpfx)tst-rtld-load-self.out): Likewise.
35574         ($(objpfx)tst-array1-cmp.out): Likewise.
35575         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35576         ($(objpfx)tst-array2-cmp.out): Likewise.
35577         ($(objpfx)tst-array3-cmp.out): Likewise.
35578         ($(objpfx)tst-array4-cmp.out): Likewise.
35579         ($(objpfx)tst-array5-cmp.out): Likewise.
35580         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35581         ($(objpfx)check-textrel.out): Likewise.
35582         ($(objpfx)check-execstack.out): Likewise.
35583         ($(objpfx)check-localplt.out): Likewise.
35584         ($(objpfx)order2-cmp.out): Likewise.
35585         ($(objpfx)tst-leaks1-mem): Likewise.
35586         ($(objpfx)tst-leaks1-static-mem): Likewise.
35587         ($(objpfx)tst-initorder-cmp.out): Likewise.
35588         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35589         ($(objpfx)tst-unused-dep.out): Likewise.
35590         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35591         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35592         * iconv/Makefile (test-iconvconfig): Likewise.
35593         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35594         ($(objpfx)iconv-test.out): Likewise.
35595         ($(objpfx)tst-tables.out): Likewise.
35596         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35597         ($(objpfx)tst-gettext.out): Likewise.
35598         ($(objpfx)tst-translit.out): Likewise.
35599         ($(objpfx)tst-gettext2.out): Likewise.
35600         ($(objpfx)tst-gettext4.out): Likewise.
35601         ($(objpfx)tst-gettext6.out): Likewise.
35602         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35603         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35604         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35605         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35606         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35607         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35608         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35609         ($(objpfx)wordexp-tst.out): Likewise.
35610         ($(objpfx)annexc.out): Likewise.
35611         ($(objpfx)tst-fnmatch-mem): Likewise.
35612         ($(objpfx)bug-regex2-mem): Likewise.
35613         ($(objpfx)bug-regex14-mem): Likewise.
35614         ($(objpfx)bug-regex21-mem): Likewise.
35615         ($(objpfx)bug-regex31-mem): Likewise.
35616         ($(objpfx)tst-vfork3-mem): Likewise.
35617         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35618         ($(objpfx)tst-pcre-mem): Likewise.
35619         ($(objpfx)tst-boost-mem): Likewise.
35620         ($(objpfx)tst-getconf.out): Likewise.
35621         ($(objpfx)bug-ga2-mem): Likewise.
35622         ($(objpfx)bug-glob2-mem): Likewise.
35623         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35624         ($(objpfx)mtrace-tst-leaks2): Likewise.
35625         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35626         ($(objpfx)tst-printf.out): Likewise.
35627         ($(objpfx)tst-setvbuf1.out): Likewise.
35628         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35629         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35630         ($(objpfx)tst-fmtmsg.out): Likewise.
35631         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35632         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35634         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35635         * bits/sigaction.h [__USE_MISC]: Likewise.
35636         * bits/waitstatus.h: Update #endif comments.
35637         * ctype/ctype.h: Likewise.
35638         * dirent/dirent.h: Likewise.
35639         [__USE_MISC]: Remove redundant conditionals.
35640         * grp/grp.h: Update #endif comments.
35641         [__USE_GNU]: Remove redundant conditionals.
35642         [__USE_MISC]: Likewise.
35643         * inet/netinet/in.h [__USE_GNU]: Likewise.
35644         * io/sys/stat.h [__USE_MISC]: Likewise.
35645         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35646         * libio/bits/stdio.h: Update #endif comments.
35647         [__USE_MISC]: Remove redundant conditionals.
35648         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35649         * libio/stdio.h: Update #endif comments.
35650         [__USE_MISC]: Remove redundant conditionals.
35651         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35652         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35653         * math/math.h: Update #else and #endif comments.
35654         [__USE_MISC]: Remove redundant conditionals.
35655         * misc/sys/uio.h: Update #endif comments.
35656         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35657         * posix/glob.h [__USE_MISC]: Likewise.
35658         * posix/sys/types.h: Update #endif comments.
35659         [__USE_MISC]: Remove redundant conditionals.
35660         * posix/sys/wait.h: Update #endif comments.
35661         [__USE_MISC]: Remove redundant conditionals.
35662         * posix/unistd.h: Update #endif comments.
35663         [__USE_MISC]: Remove redundant conditionals.
35664         * pwd/pwd.h [__USE_GNU]: Likewise.
35665         [__USE_MISC]: Likewise.
35666         * resolv/netdb.h [__USE_GNU]: Likewise.
35667         * signal/signal.h: Update #endif comments.
35668         [__USE_MISC]: Remove redundant conditionals.
35669         * stdlib/stdlib.h: Update #else and #endif comments.
35670         [__USE_MISC]: Remove redundant conditionals.
35671         [__USE_GNU]: Likewise.
35672         * string/bits/string2.h [__USE_MISC]: Likewise.
35673         * string/string.h: Update #endif comments.
35674         [__USE_MISC]: Remove redundant conditionals.
35675         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35676         Likewise.
35677         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35678         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35679         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35680         Likewise.
35681         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35682         Likewise.
35683         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35684         comments.
35685         [__USE_MISC]: Remove redundant conditionals.
35686         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35687         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35688         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35689         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35690         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35691         Likewise.
35692         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35693         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35694         Likewise.
35695         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35696         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35697         Likewise.
35698         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35699         Likewise.
35700         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35701         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35702         Likewise.
35703         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35704         Likewise.
35705         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35706         * sysdeps/x86/bits/string.h: Update #endif comments.
35707         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35708         conditionals.
35709         * time/sys/time.h: Update #endif comments.
35710         * time/time.h: Likewise.
35711         [__USE_MISC]: Remove redundant conditionals.
35713 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35715         [BZ #16600]
35716         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35718 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35720         * Versions.def (librt): Add GLIBC_2.17.
35722 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35724         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35725         synonym for _SYS_AUXV_H to allow direct inclusion.
35726         * sysdeps/sparc/bits/hwcap.h: Likewise.
35727         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35728         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35729         * sysdeps/sparc/sysdep.h: Likewise.
35731 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35733         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35735 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35737         * benchtests/bench-strrchr.c: Print length instead of position.
35739 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35741         [BZ #16611]
35742         * sysdeps/unix/sysv/linux/kernel-features.h
35743         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35744         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35745         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35746         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35747         Likewise.
35748         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35749         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35750         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35751         (__ASSUME_SENDMMSG): Define instead of using previous
35752         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35753         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35754         (__ASSUME_SENDMMSG_SYSCALL): Define.
35755         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35756         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35757         Likewise.
35758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35759         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35760         Likewise.
35761         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35762         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35763         Likewise.
35764         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35765         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35766         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35767         [__ASSUME_SENDMMSG]: Change conditionals to
35768         [__ASSUME_SENDMMSG_SOCKETCALL].
35769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35770         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35771         Define.
35772         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35773         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35774         Likewise.
35775         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35776         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35777         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35778         [!__ASSUME_SENDMMSG]: Change conditional to
35779         [!__ASSUME_SENDMMSG_SOCKETCALL].
35780         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35781         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35782         Define.
35784         [BZ #16610]
35785         * sysdeps/unix/sysv/linux/kernel-features.h
35786         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35787         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35788         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35789         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35790         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35791         [__i386__ || __sparc__]
35792         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35793         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35794         (__ASSUME_RECVMMSG): Define instead of using previous
35795         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35796         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35797         (__ASSUME_RECVMMSG_SYSCALL): Define.
35798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35799         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35800         Likewise.
35801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35803         Likewise.
35804         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35805         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35806         Likewise.
35807         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35808         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35809         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35810         [__ASSUME_RECVMMSG]: Change condition to
35811         [__ASSUME_RECVMMSG_SOCKETCALL].
35812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35813         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35814         Define.
35815         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35816         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35817         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35818         Likewise.
35819         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35820         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35821         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35822         [!__ASSUME_RECVMMSG]: Change condition to
35823         [!__ASSUME_RECVMMSG_SOCKETCALL].
35824         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35825         (__ASSUME_RECVMMSG_SYSCALL): Define.
35827         [BZ #16609]
35828         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35829         __powerpc__ || __s390__ || __sh__ || __sparc__]
35830         (__ASSUME_SOCKETCALL): Define.
35831         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35832         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35833         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35834         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35835         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35836         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35837         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35838         (__ASSUME_ACCEPT4): Define instead of using previous
35839         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35840         __powerpc__ || __sparc__ || __s390__)] condition.
35841         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35842         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35843         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35844         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35845         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35846         [!__ASSUME_ACCEPT4]: Change condition to
35847         [!__ASSUME_ACCEPT4_SOCKETCALL].
35848         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35849         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35850         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35851         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35852         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35853         __ASSUME_ACCEPT4_SYSCALL.
35854         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35855         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35856         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35857         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35858         __ASSUME_ACCEPT4_SYSCALL.
35859         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35860         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35861         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35862         [__ASSUME_ACCEPT4]: Change condition to
35863         [__ASSUME_ACCEPT4_SOCKETCALL].
35864         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35865         (__ASSUME_SOCKETCALL): Define.
35866         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35868         (__ASSUME_SOCKETCALL): Define.
35869         (__ASSUME_ACCEPT4): Remove.
35870         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35871         Define.
35872         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35873         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35874         Likewise.
35875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35876         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35878         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35879         macro.
35880         (HWCAP_ARM_LPAE): Likewise.
35881         (HWCAP_ARM_EVTSTRM): Likewise.
35882         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35883         Add vpfd32, lpae and evtstrm.
35884         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35885         Increase to 22.
35887 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35889         * math/auto-libm-test-in: Add tests of clog10.
35890         * math/auto-libm-test-out: Regenerated.
35891         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35892         * sysdeps/i386/fpu/libm-test-ulps: Update.
35893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35895 2014-02-18  Andreas Schwab  <schwab@suse.de>
35897         [BZ #16574]
35898         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35899         Store non-zero if the second buffer was newly allocated.
35900         (send_dg): Likewise.
35901         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35902         to send_vc and send_dg.
35903         (res_nsend): Pass NULL for ansp2_malloced.
35904         * resolv/res_query.c (__libc_res_nquery): Add parameter
35905         answerp2_malloced and pass it down to __libc_res_nsend.
35906         (res_nquery): Pass additional NULL to __libc_res_nquery.
35907         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35908         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35909         second answer buffer if answerp2_malloced was set.
35910         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35911         (__libc_res_nquerydomain): Add parameter
35912         answerp2_malloced and pass it down to __libc_res_nquery.
35913         (res_nquerydomain): Pass additional NULL to
35914         __libc_res_nquerydomain.
35915         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35916         additional NULL to __libc_res_nsend and __libc_res_nquery.
35917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35918         additional NULL to __libc_res_nsearch.
35919         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35920         parameter of __libc_res_nsearch to check for separately allocated
35921         second buffer.
35922         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35923         __libc_res_nquery.
35924         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35925         additional NULL to __libc_res_nquery.
35926         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35927         __libc_res_nsearch.
35928         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35929         * include/resolv.h: Update prototypes of __libc_res_nquery,
35930         __libc_res_nsearch, __libc_res_nsend.
35932 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35934         * math/auto-libm-test-in: Add tests of fma.
35935         * math/auto-libm-test-out: Regenerated.
35936         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35937         (fma_towardzero_test_data): Likewise.
35938         (fma_downward_test_data): Likewise.
35939         (fma_upward_test_data): Likewise.
35940         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35941         mpc_mode.
35942         (rounding_modes): Add values for new field.
35943         (func_calc_method): Add value mpfr_fff_f.
35944         (func_calc_desc): Add mpfr_fff_f union field.
35945         (test_function): Add field exact_args.
35946         (FUNC): Add macro argument EXACT_ARGS.
35947         (FUNC_mpfr_f_f): Update call to FUNC.
35948         (FUNC_mpfr_f_f): Likewise.
35949         (FUNC_mpfr_ff_f): Likewise.
35950         (FUNC_mpfr_if_f): Likewise.
35951         (FUNC_mpc_c_f): Likewise.
35952         (FUNC_mpc_c_c): Likewise.
35953         (test_functions): Add fma.  Update calls to FUNC.
35954         (handle_input_arg): Add argument exact_args.
35955         (add_test): Update call to handle_input_arg.
35956         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35957         (output_for_one_input_case): Update call to calc_generic_results.
35958         Recalculate exact zero results in each rounding mode.
35960         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35961         non-negative before setting low bit.
35962         * math/auto-libm-test-in: Mark one asin test possibly having
35963         spurious underflow.
35964         * math/auto-libm-test-out: Regenerated.
35965         * sysdeps/i386/fpu/libm-test-ulps: Update.
35966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35968 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35970         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35971         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35972         ports/sysdeps/unix/sysv/linux/microblaze.
35973         * README: Add missing listing for microblaze*-*-linux-gnu.
35975 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35977         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35978         duplicate code
35980 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35982         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35983         * sysdeps/unix/sysv/linux/ia64: Move directory from
35984         ports/sysdeps/unix/sysv/linux/ia64.
35985         * README: Update listing for ia64-*-linux-gnu.
35987 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35988             Joseph Myers  <joseph@codesourcery.com>
35990         * Makeconfig (test-name): New variable.
35991         (evaluate-test): Likewise.
35992         * Makerules (do-test-clean): Remove .test-result files.
35993         (common-mostlyclean): Likewise.
35994         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35995         * scripts/evaluate-test.sh: New file.
35997 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35999         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36000         separate $(objpfx)tst-fopenloc-cmp.out and
36001         $(objpfx)tst-fopenloc-mem.out targets.
36002         (tests): Update dependencies.
36003         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36004         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36005         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36006         (tst-rxspencer-no-utf8-ARGS): New variable.
36007         (tst-rxspencer-no-utf8-ENV): Likewise.
36008         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36009         instead of $(objpfx)tst-rxspencer-mem.
36010         ($(objpfx)tst-rxspencer-mem): Change target to
36011         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36012         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36013         * posix/tst-rxspencer-no-utf8.c: New file.
36015         * elf/Makefile ($(objpfx)order.out): Remove rule.
36016         [$(run-built-tests) = yes] (tests): Depend on
36017         $(objpfx)order-cmp.out.
36018         ($(objpfx)order-cmp.out): New rule.
36019         [$(run-built-tests) = yes] (tests): Depend on
36020         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36021         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36022         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36023         $(objpfx)tst-array5-static-cmp.out.
36024         ($(objpfx)tst-array1.out): Remove rule.
36025         ($(objpfx)tst-array1-cmp.out): New rule.
36026         ($(objpfx)tst-array1-static.out): Remove rule.
36027         ($(objpfx)tst-array1-static-cmp.out): New rule.
36028         ($(objpfx)tst-array2.out): Remove rule.
36029         ($(objpfx)tst-array2-cmp.out): New rule.
36030         ($(objpfx)tst-array3.out): Remove rule.
36031         ($(objpfx)tst-array3-cmp.out): New rule.
36032         ($(objpfx)tst-array4.out): Remove rule.
36033         ($(objpfx)tst-array4-cmp.out): New rule.
36034         ($(objpfx)tst-array5.out): Remove rule.
36035         ($(objpfx)tst-array5-cmp.out): New rule.
36036         ($(objpfx)tst-array5-static.out): Remove rule.
36037         ($(objpfx)tst-array5-static-cmp.out): New rule.
36038         [$(run-built-tests) = yes] (tests): Depend on
36039         $(objpfx)order2-cmp.out.
36040         ($(objpfx)order2.out): Remove rule.
36041         ($(objpfx)order2-cmp.out): New rule.
36042         ($(objpfx)tst-initorder.out): Remove rule.
36043         [$(run-built-tests) = yes] (tests): Depend on
36044         $(objpfx)tst-initorder-cmp.out.
36045         ($(objpfx)tst-initorder-cmp.out): New rule.
36046         ($(objpfx)tst-initorder2.out): Remove rule.
36047         [$(run-built-tests) = yes] (tests): Depend on
36048         $(objpfx)tst-initorder2-cmp.out.
36049         ($(objpfx)tst-initorder2-cmp.out): New rule.
36050         [$(run-built-tests) = yes] (tests): Depend on
36051         $(objpfx)tst-unused-dep-cmp.out.
36052         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36053         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36054         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36055         on $(objpfx)tst-setvbuf1-cmp.out.
36056         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36057         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36058         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36059         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36060         ($(objpfx)tst-svc.out): Remove rule.
36061         ($(objpfx)tst-svc-cmp.out): New rule.
36063 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36065         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36066         * ctype/ctype.h [__USE_MISC]: Likewise.
36067         * dirent/dirent.h [__USE_MISC]: Likewise.
36068         * grp/grp.h [__USE_MISC]: Likewise.
36069         * io/fcntl.h [__USE_MISC]: Likewise.
36070         * io/sys/stat.h [__USE_MISC]: Likewise.
36071         * libio/stdio.h [__USE_MISC]: Likewise.
36072         * posix/unistd.h [__USE_MISC]: Likewise.
36073         * pwd/pwd.h [__USE_MISC]: Likewise.
36074         * stdlib.h [__USE_MISC]: Likewise.
36075         * string/bits/string2.h [__USE_MISC]: Likewise.
36076         * string/string.h [__USE_MISC]: Likewise.
36077         * time/time.h [__USE_MISC]: Likewise.
36079 2014-02-13  Andreas Schwab  <schwab@suse.de>
36081         [BZ #16574]
36082         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36083         second answer buffer if it was separately allocated.
36085 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36087         * sysdeps/mips/math-tests.h: Include <features.h>.
36088         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36089         (ROUNDING_TESTS_long_double): Do not define.
36090         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36091         (EXCEPTION_TESTS_long_double): Likewise.
36092         * sysdeps/mips/mips64/libm-test-ulps: Update.
36094         * include/features.h (__USE_BSD): Remove macro definitions.
36095         (__USE_SVID): Likewise.
36096         (_BSD_SOURCE): Likewise.
36097         (_SVID_SOURCE): Likewise.
36098         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36099         from definition of _DEFAULT_SOURCE.
36100         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36101         [_DEFAULT_SOURCE].
36102         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36103         * bits/mman.h [__USE_BSD]: Likewise.
36104         * bits/termios.h [__USE_BSD]: Likewise.
36105         * bits/waitstatus.h [__USE_BSD]: Likewise.
36106         * ctype/ctype.h [__USE_SVID]: Likewise.
36107         * dirent/dirent.h [__USE_BSD]: Likewise.
36108         * grp/grp.h [__USE_SVID]: Likewise.
36109         [__USE_BSD]: Likewise.
36110         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36111         * io/fcntl.h [__USE_BSD]: Likewise.
36112         * io/ftw.h [__USE_BSD]: Likewise.
36113         * io/sys/stat.h [__USE_BSD]: Likewise.
36114         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36115         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36116         * libio/stdio.h [__USE_SVID]: Likewise.
36117         [__USE_BSD]: Likewise.
36118         * math/math.h [__USE_SVID]: Likewise.
36119         [__USE_BSD]: Likewise.
36120         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36121         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36122         * misc/search.h [__USE_SVID]: Likewise.
36123         * misc/sys/mman.h [__USE_BSD]: Likewise.
36124         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36125         * misc/sys/uio.h [__USE_BSD]: Likewise.
36126         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36127         * posix/glob.h [__USE_BSD]: Likewise.
36128         * posix/regex.h [__USE_BSD]: Likewise.
36129         * posix/sys/types.h [__USE_BSD]: Likewise.
36130         [__USE_SVID]: Likewise.
36131         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36132         * posix/sys/wait.h [__USE_BSD]: Likewise.
36133         [__USE_SVID]: Likewise.
36134         * posix/unistd.h [__USE_BSD]: Likewise.
36135         [__USE_SVID]: Likewise.
36136         * pwd/pwd.h [__USE_SVID]: Likewise.
36137         * resolv/netdb.h [__USE_BSD]: Likewise.
36138         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36139         * signal/signal.h [__USE_BSD]: Likewise.
36140         [__USE_SVID]: Likewise.
36141         * socket/sys/socket.h [__USE_BSD]: Likewise.
36142         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36143         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36144         [__USE_SVID]: Likewise.
36145         * string/bits/string2.h [__USE_BSD]: Likewise.
36146         [__USE_SVID]: Likewise.
36147         * string/bits/string3.h [__USE_BSD]: Likewise.
36148         * string/endian.h [__USE_BSD]: Likewise.
36149         * string/string.h [__USE_SVID]: Likewise.
36150         [__USE_BSD]: Likewise.
36151         * string/strings.h [__USE_BSD]: Likewise.
36152         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36153         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36154         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36155         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36156         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36157         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36158         Likewise.
36159         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36160         Likewise.
36161         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36162         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36163         Likewise.
36164         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36165         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36166         Likewise.
36167         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36168         Likewise.
36169         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36170         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36171         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36172         Likewise.
36173         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36174         Likewise.
36175         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36176         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36177         * termios/termios.h [__USE_BSD]: Likewise.
36178         * time/sys/time.h [__USE_BSD]: Likewise.
36179         * time/time.h [__USE_BSD]: Likewise.
36180         [__USE_SVID]: Likewise.
36182         * Makefile (subdir_targets): Remove subdir_lint.out.
36184         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36185         (do-tst-printf): Likewise.
36186         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36187         $(objpfx)tst-printf.out.
36189         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36191         * Makerules (check-abi-%): Change target to
36192         $(objpfx)check-abi-%.out.
36193         (check-abi target): Update dependencies.
36194         (check-abi-pattern variable): Redirect output of diff to $@.
36195         (check-abi variable): Likewise.
36196         * elf/Makefile (check-abi): Update dependencies.
36198         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36199         unused.
36200         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36201         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36202         subnormal range.
36203         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36204         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36205         value has largest subnormal exponent.
36206         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36207         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36208         * sysdeps/aarch64/soft-fp/sfp-machine.h
36209         (_FP_TININESS_AFTER_ROUNDING): New macro.
36210         * sysdeps/alpha/soft-fp/sfp-machine.h
36211         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36212         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36213         Likewise.
36214         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36215         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36216         * sysdeps/mips/soft-fp/sfp-machine.h
36217         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36218         * sysdeps/powerpc/soft-fp/sfp-machine.h
36219         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36220         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36221         Likewise.
36222         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36223         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36224         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36225         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36226         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36227         Likewise.
36229 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36231         [BZ #16545]
36232         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36233         model 1.
36235 2014-02-12  Richard Henderson  <rth@redhat.com>
36237         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36238         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36239         * sysdeps/unix/sysv/linux/alpha: Move directory from
36240         ports/sysdeps/unix/sysv/linux/alpha.
36241         * README: Update listing for alpha-*-linux-gnu.
36243 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36245         * include/features.h: Update comment documenting feature test
36246         macros.
36247         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36248         _DEFAULT_SOURCE.
36249         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36250         (_SVID_SOURCE): Likewise.
36251         (_DEFAULT_SOURCE): Update description of default features.
36252         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36253         with _GNU_SOURCE.
36254         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36255         (S_ISVTX): Likewise.
36256         * manual/math.texi (Mathematical Constants): Likewise.
36257         * manual/signal.texi (Interrupted Primitives): Likewise.
36258         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36259         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36260         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36261         Don't refer to _SVID_SOURCE in warning text.
36263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36265         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36266         already defined.
36267         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36268         * sysdeps/mips/dl-lookup.c: Remove.
36269         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36271 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36273         [BZ #16447]
36274         * math/auto-libm-test-in: Add testcase for expl.
36275         * math/auto-libm-test-out: Regenerate.
36276         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36277         calculation of unsafe.
36278         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36280 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36282         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36283         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36284         ports/sysdeps/unix/sysv/linux/aarch64.
36285         * README: Update listing for aarch64*-*-linux-gnu.
36287 2014-02-11  Will Newton  <will.newton@linaro.org>
36289         * manual/probes.texi (Mathematical Function Probes): Use
36290         "triggered" instead of "hit".
36292         * manual/probes.texi (Internal Probes): Add documentation
36293         of setjmp, longjmp and longjmp_target probes.
36295         * include/stap-probe.h: Add comment about probe argument
36296         format.
36298         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36299         definition.  (tr_where, tr_freehook, tr_mallochook,
36300         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36302 2014-02-11  David S. Miller  <davem@davemloft.net>
36304         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36305         processing int_tests.
36307 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36309         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36310         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36311         * sysdeps/unix/sysv/linux/mips: Move directory from
36312         ports/sysdeps/unix/sysv/linux/mips.
36313         * README: Update listing for mips-*-linux-gnu and
36314         mips64-*-linux-gnu.
36316 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36318         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36319         * sysdeps/unix/sysv/linux/m68k: Move directory from
36320         ports/sysdeps/unix/sysv/linux/m68k.
36321         * README: Update listing for m68k-*-linux-gnu.
36323 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36325         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36326         * sysdeps/unix/sysv/linux/generic: Move directory from
36327         ports/sysdeps/unix/sysv/linux/generic.
36328         * sysdeps/unix/sysv/linux/tile: Move directory from
36329         ports/sysdeps/unix/sysv/linux/tile.
36330         * README: Update listing for tile*-*-linux-gnu.
36332 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36334         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36335         __builtin_expect.
36336         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36337         * catgets/open_catalog.c (__open_catalog): Likewise.
36338         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36339         * debug/confstr_chk.c: Likewise.
36340         * debug/fread_chk.c (__fread_chk): Likewise.
36341         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36342         * debug/getgroups_chk.c: Likewise.
36343         * debug/mbsnrtowcs_chk.c: Likewise.
36344         * debug/mbsrtowcs_chk.c: Likewise.
36345         * debug/mbstowcs_chk.c: Likewise.
36346         * debug/memcpy_chk.c: Likewise.
36347         * debug/memmove_chk.c: Likewise.
36348         * debug/mempcpy_chk.c: Likewise.
36349         * debug/memset_chk.c: Likewise.
36350         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36351         * debug/strcat_chk.c (__strcat_chk): Likewise.
36352         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36353         * debug/strncat_chk.c (__strncat_chk): Likewise.
36354         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36355         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36356         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36357         * debug/wcpncpy_chk.c: Likewise.
36358         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36359         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36360         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36361         * debug/wcsncpy_chk.c: Likewise.
36362         * debug/wcsnrtombs_chk.c: Likewise.
36363         * debug/wcsrtombs_chk.c: Likewise.
36364         * debug/wcstombs_chk.c: Likewise.
36365         * debug/wmemcpy_chk.c: Likewise.
36366         * debug/wmemmove_chk.c: Likewise.
36367         * debug/wmempcpy_chk.c: Likewise.
36368         * debug/wmemset_chk.c: Likewise.
36369         * dirent/scandirat.c (SCANDIRAT): Likewise.
36370         * dlfcn/dladdr1.c (dladdr1): Likewise.
36371         * dlfcn/dladdr.c (dladdr): Likewise.
36372         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36373         * dlfcn/dlerror.c (__dlerror): Likewise.
36374         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36375         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36376         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36377         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36378         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36379         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36380         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36381         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36382         Likewise.
36383         * elf/dl-conflict.c: Likewise.
36384         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36385         * elf/dl-dst.h: Likewise.
36386         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36387         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36388         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36389         * elf/dl-init.c (call_init, _dl_init): Likewise.
36390         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36391         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36392         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36393         Likewise.
36394         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36395         Likewise.
36396         * elf/dl-minimal.c (__libc_memalign): Likewise.
36397         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36398         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36399         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36400         * elf/dl-sym.c (do_sym): Likewise.
36401         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36402         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36403         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36404         * elf/dl-writev.h (_dl_writev): Likewise.
36405         * elf/ldconfig.c (search_dir): Likewise.
36406         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36407         (dl_main): Likewise.
36408         * elf/setup-vdso.h (setup_vdso): Likewise.
36409         * grp/compat-initgroups.c (compat_call): Likewise.
36410         * grp/fgetgrent.c (fgetgrent): Likewise.
36411         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36412         * grp/putgrent.c (putgrent): Likewise.
36413         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36414         Likewise.
36415         * hurd/hurdinit.c: Likewise.
36416         * iconvdata/8bit-gap.c (struct): Likewise.
36417         * iconvdata/ansi_x3.110.c : Likewise.
36418         * iconvdata/big5.c : Likewise.
36419         * iconvdata/big5hkscs.c : Likewise.
36420         * iconvdata/cp1255.c: Likewise.
36421         * iconvdata/cp1258.c : Likewise.
36422         * iconvdata/cp932.c : Likewise.
36423         * iconvdata/euc-cn.c: Likewise.
36424         * iconvdata/euc-jisx0213.c : Likewise.
36425         * iconvdata/euc-jp.c: Likewise.
36426         * iconvdata/euc-jp-ms.c : Likewise.
36427         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36428         * iconvdata/gb18030.c : Likewise.
36429         * iconvdata/gbbig5.c (const): Likewise.
36430         * iconvdata/gbgbk.c: Likewise.
36431         * iconvdata/gbk.c : Likewise.
36432         * iconvdata/ibm1364.c : Likewise.
36433         * iconvdata/ibm930.c : Likewise.
36434         * iconvdata/ibm932.c: Likewise.
36435         * iconvdata/ibm933.c : Likewise.
36436         * iconvdata/ibm935.c : Likewise.
36437         * iconvdata/ibm937.c : Likewise.
36438         * iconvdata/ibm939.c : Likewise.
36439         * iconvdata/ibm943.c: Likewise.
36440         * iconvdata/iso_11548-1.c: Likewise.
36441         * iconvdata/iso-2022-cn.c : Likewise.
36442         * iconvdata/iso-2022-cn-ext.c : Likewise.
36443         * iconvdata/iso-2022-jp-3.c: Likewise.
36444         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36445         * iconvdata/iso-2022-kr.c : Likewise.
36446         * iconvdata/iso646.c (gconv_end): Likewise.
36447         * iconvdata/iso_6937-2.c : Likewise.
36448         * iconvdata/iso_6937.c : Likewise.
36449         * iconvdata/iso8859-1.c: Likewise.
36450         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36451         * iconvdata/shift_jisx0213.c : Likewise.
36452         * iconvdata/sjis.c : Likewise.
36453         * iconvdata/t.61.c : Likewise.
36454         * iconvdata/tcvn5712-1.c : Likewise.
36455         * iconvdata/tscii.c: Likewise.
36456         * iconvdata/uhc.c : Likewise.
36457         * iconvdata/unicode.c (gconv_end): Likewise.
36458         * iconvdata/utf-16.c (gconv_end): Likewise.
36459         * iconvdata/utf-32.c (gconv_end): Likewise.
36460         * iconvdata/utf-7.c (base64): Likewise.
36461         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36462         * iconv/gconv_close.c (__gconv_close): Likewise.
36463         * iconv/gconv_open.c (__gconv_open): Likewise.
36464         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36465         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36466         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36467         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36468         (ucs4le_internal_loop_single): Likewise.
36469         * iconv/iconv.c (iconv): Likewise.
36470         * iconv/iconv_close.c: Likewise.
36471         * iconv/loop.c (SINGLE): Likewise.
36472         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36473         * include/atomic.h: Likewise.
36474         * inet/inet6_option.c (option_alloc): Likewise.
36475         * intl/bindtextdom.c (set_binding_values): Likewise.
36476         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36477         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36478         * intl/localealias.c (read_alias_file): Likewise.
36479         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36480         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36481         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36482         * libio/fmemopen.c (fmemopen): Likewise.
36483         * libio/iofgets.c (_IO_fgets): Likewise.
36484         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36485         * libio/iofgetws.c (fgetws): Likewise.
36486         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36487         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36488         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36489         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36490         * locale/findlocale.c (_nl_find_locale): Likewise.
36491         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36492         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36493         Likewise.
36494         * locale/setlocale.c (setlocale): Likewise.
36495         * login/programs/pt_chown.c (main): Likewise.
36496         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36497         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36498         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36499         (mmap, mmap64, mremap, munmap): Likewise.
36500         * math/e_exp2l.c: Likewise.
36501         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36502         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36503         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36504         * math/s_catan.c (__catan): Likewise.
36505         * math/s_catanf.c (__catanf): Likewise.
36506         * math/s_catanh.c (__catanh): Likewise.
36507         * math/s_catanhf.c (__catanhf): Likewise.
36508         * math/s_catanhl.c (__catanhl): Likewise.
36509         * math/s_catanl.c (__catanl): Likewise.
36510         * math/s_ccosh.c (__ccosh): Likewise.
36511         * math/s_ccoshf.c (__ccoshf): Likewise.
36512         * math/s_ccoshl.c (__ccoshl): Likewise.
36513         * math/s_cexp.c (__cexp): Likewise.
36514         * math/s_cexpf.c (__cexpf): Likewise.
36515         * math/s_cexpl.c (__cexpl): Likewise.
36516         * math/s_clog10.c (__clog10): Likewise.
36517         * math/s_clog10f.c (__clog10f): Likewise.
36518         * math/s_clog10l.c (__clog10l): Likewise.
36519         * math/s_clog.c (__clog): Likewise.
36520         * math/s_clogf.c (__clogf): Likewise.
36521         * math/s_clogl.c (__clogl): Likewise.
36522         * math/s_csin.c (__csin): Likewise.
36523         * math/s_csinf.c (__csinf): Likewise.
36524         * math/s_csinh.c (__csinh): Likewise.
36525         * math/s_csinhf.c (__csinhf): Likewise.
36526         * math/s_csinhl.c (__csinhl): Likewise.
36527         * math/s_csinl.c (__csinl): Likewise.
36528         * math/s_csqrt.c (__csqrt): Likewise.
36529         * math/s_csqrtf.c (__csqrtf): Likewise.
36530         * math/s_csqrtl.c (__csqrtl): Likewise.
36531         * math/s_ctan.c (__ctan): Likewise.
36532         * math/s_ctanf.c (__ctanf): Likewise.
36533         * math/s_ctanh.c (__ctanh): Likewise.
36534         * math/s_ctanhf.c (__ctanhf): Likewise.
36535         * math/s_ctanhl.c (__ctanhl): Likewise.
36536         * math/s_ctanl.c (__ctanl): Likewise.
36537         * math/w_pow.c: Likewise.
36538         * math/w_powf.c: Likewise.
36539         * math/w_powl.c: Likewise.
36540         * math/w_scalb.c (sysv_scalb): Likewise.
36541         * math/w_scalbf.c (sysv_scalbf): Likewise.
36542         * math/w_scalbl.c (sysv_scalbl): Likewise.
36543         * misc/error.c (error_tail): Likewise.
36544         * misc/pselect.c (__pselect): Likewise.
36545         * nis/nis_callback.c (__nis_create_callback): Likewise.
36546         * nis/nis_call.c (__nisfind_server): Likewise.
36547         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36548         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36549         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36550         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36551         * nis/nis_lookup.c (nis_lookup): Likewise.
36552         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36553         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36554         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36555         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36556         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36557         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36558         * nis/nss_compat/compat-initgroups.c (add_group)
36559         (internal_getgrent_r): Likewise.
36560         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36561         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36562         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36563         (internal_getspnam_r): Likewise.
36564         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36565         (_nss_nis_getaliasbyname_r): Likewise.
36566         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36567         (_nss_nis_getntohost_r): Likewise.
36568         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36569         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36570         (_nss_nis_getgrgid_r): Likewise.
36571         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36572         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36573         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36574         (_nss_nis_gethostbyname4_r): Likewise.
36575         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36576         (initgroups_netid): Likewise.
36577         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36578         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36579         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36580         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36581         (_nss_nis_getprotobynumber_r): Likewise.
36582         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36583         (_nss_nis_getsecretkey): Likewise.
36584         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36585         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36586         (_nss_nis_getpwuid_r): Likewise.
36587         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36588         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36589         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36590         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36591         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36592         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36593         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36594         Likewise.
36595         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36596         (_nss_nisplus_getntohost_r): Likewise.
36597         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36598         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36599         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36600         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36601         Likewise.
36602         * nis/nss_nisplus/nisplus-initgroups.c
36603         (_nss_nisplus_initgroups_dyn): Likewise.
36604         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36605         (_nss_nisplus_getnetbyaddr_r): Likewise.
36606         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36607         (_nss_nisplus_getprotobynumber_r): Likewise.
36608         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36609         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36610         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36611         Likewise.
36612         * nis/nss_nisplus/nisplus-service.c
36613         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36614         (_nss_nisplus_getservbyport_r): Likewise.
36615         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36616         (_nss_nisplus_getspnam_r): Likewise.
36617         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36618         Likewise.
36619         * nscd/aicache.c (addhstaiX): Likewise.
36620         * nscd/cache.c (cache_search, prune_cache): Likewise.
36621         * nscd/connections.c (register_traced_file, send_ro_fd)
36622         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36623         (main_loop_epoll): Likewise.
36624         * nscd/grpcache.c (addgrbyX): Likewise.
36625         * nscd/hstcache.c (addhstbyX): Likewise.
36626         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36627         * nscd/mem.c (gc, mempool_alloc): Likewise.
36628         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36629         (addinnetgrX): Likewise.
36630         * nscd/nscd-client.h (__nscd_acquire_maplock)
36631         (__nscd_drop_map_ref): Likewise.
36632         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36633         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36634         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36635         Likewise.
36636         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36637         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36638         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36639         (__nscd_get_map_ref): Likewise.
36640         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36641         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36642         Likewise.
36643         * nscd/pwdcache.c (addpwbyX): Likewise.
36644         * nscd/selinux.c (preserve_capabilities): Likewise.
36645         * nscd/servicescache.c (addservbyX): Likewise.
36646         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36647         * posix/fnmatch.c (fnmatch): Likewise.
36648         * posix/getopt.c (_getopt_internal_r): Likewise.
36649         * posix/glob.c (glob, glob_in_dir): Likewise.
36650         * posix/wordexp.c (exec_comm_child): Likewise.
36651         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36652         (getanswer_r, gaih_getanswer_slice): Likewise.
36653         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36654         * resolv/res_init.c: Likewise.
36655         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36656         * resolv/res_query.c (__libc_res_nquery): Likewise.
36657         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36658         Likewise.
36659         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36660         * stdio-common/perror.c (perror): Likewise.
36661         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36662         * stdio-common/tmpnam.c (tmpnam): Likewise.
36663         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36664         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36665         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36666         Likewise.
36667         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36668         * stdlib/putenv.c (putenv): Likewise.
36669         * stdlib/setenv.c (__add_to_environ): Likewise.
36670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36671         * stdlib/strtol_l.c (INTERNAL): Likewise.
36672         * string/memmem.c (memmem): Likewise.
36673         * string/strerror.c (strerror): Likewise.
36674         * string/strnlen.c (__strnlen): Likewise.
36675         * string/test-memmem.c (simple_memmem): Likewise.
36676         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36677         * sunrpc/pm_getport.c (__get_socket): Likewise.
36678         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36679         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36680         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36681         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36682         Likewise.
36683         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36684         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36685         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36686         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36687         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36688         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36689         Likewise.
36690         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36691         Likewise.
36692         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36693         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36695         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36696         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36698         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36699         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36700         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36701         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36702         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36703         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36704         Likewise.
36705         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36706         Likewise.
36707         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36708         Likewise.
36709         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36712         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36713         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36714         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36715         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36716         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36717         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36718         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36719         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36720         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36721         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36722         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36723         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36724         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36725         Likewise.
36726         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36727         Likewise.
36728         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36729         Likewise.
36730         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36731         Likewise.
36732         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36734         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36735         Likewise.
36736         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36737         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36738         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36739         * sysdeps/posix/sleep.c: Likewise.
36740         * sysdeps/posix/tempname.c: Likewise.
36741         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36742         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36743         Likewise.
36744         * sysdeps/powerpc/powerpc32/dl-machine.h
36745         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36746         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36748         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36749         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36750         Likewise.
36751         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36753         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36755         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36756         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36757         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36758         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36759         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36760         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36761         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36762         (elf_machine_lazy_rel): Likewise.
36763         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36764         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36765         (elf_machine_lazy_rel): Likewise.
36766         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36767         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36768         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36769         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36770         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36771         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36772         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36773         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36774         Likewise.
36775         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36776         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36777         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36778         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36779         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36780         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36781         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36782         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36783         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36784         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36785         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36786         Likewise.
36787         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36788         (__posix_fallocate64_l64): Likewise.
36789         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36790         (posix_fallocate): Likewise.
36791         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36792         Likewise.
36793         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36794         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36795         (getifaddrs_internal): Likewise.
36796         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36797         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36798         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36799         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36800         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36801         (__posix_fallocate64_l64): Likewise.
36802         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36803         Likewise.
36804         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36806         (__get_clockfreq): Likewise.
36807         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36808         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36809         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36812         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36813         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36815         Likewise.
36816         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36817         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36818         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36819         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36820         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36821         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36822         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36823         Likewise.
36824         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36825         (posix_fallocate): Likewise.
36826         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36827         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36828         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36829         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36830         (elf_machine_rela, elf_machine_rela_relative)
36831         (elf_machine_lazy_rel): Likewise.
36832         * time/asctime.c (asctime_internal): Likewise.
36833         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36834         * time/tzset.c (__tzset_parse_tz): Likewise.
36835         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36836         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36837         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36838         * wcsmbs/wcsmbsload.h: Likewise.
36840         [BZ #15894]
36841         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36843         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36844         (arena_get2): Remove THREAD_STATS conditionals.
36845         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36846         (__malloc_stats, int): Likewise.
36848 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36850         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36851         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36853         * manual/setjmp.texi: Fix typos/grammar errors.
36855         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36856         Only return early when n is <= 0.  Delete unused return statement.
36858         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36859         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36860         * debug/tst-longjmp_chk3.c: New file.
36862         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36863         (test_main): Replace code with set_fortify_handler call.
36864         * debug/test-strcpy_chk.c: Likewise.
36865         * debug/tst-chk1.c: Likewise.
36866         * debug/tst-longjmp_chk.c: Likewise.
36867         * test-skeleton.c: Include fcntl.h & paths.h
36868         (set_fortify_handler): Define.
36870         * debug/tst-longjmp_chk.c: Add header comment and include
36871         ../test-skeleton.c.
36872         (do_test): Mark static.
36873         (TEST_FUNCTION): Define.
36875         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36876         (IP_PMTUDISC_INTERFACE): Likewise.
36877         (IP_MULTICAST_IF): Likewise.
36878         (IP_MULTICAST_TTL): Likewise.
36879         (IP_MULTICAST_LOOP): Likewise.
36880         (IP_ADD_MEMBERSHIP): Likewise.
36881         (IP_DROP_MEMBERSHIP): Likewise.
36882         (IP_UNBLOCK_SOURCE): Likewise.
36883         (IP_BLOCK_SOURCE): Likewise.
36884         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36885         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36886         (IP_MSFILTER): Likewise.
36887         (MCAST_JOIN_GROUP): Likewise.
36888         (MCAST_BLOCK_SOURCE): Likewise.
36889         (MCAST_UNBLOCK_SOURCE): Likewise.
36890         (MCAST_LEAVE_GROUP): Likewise.
36891         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36892         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36893         (MCAST_MSFILTER): Likewise.
36894         (IP_MULTICAST_ALL): Likewise.
36895         (IP_UNICAST_IF): Likewise.
36897         * timezone/Makefile: Delete $(have-ksh) check.
36898         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36899         * timezone/tzselect.ksh: Add +x mode bits.
36901         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36902         (ANON_INODE_FS_MAGIC): Likewise.
36903         (BDEVFS_MAGIC): Likewise.
36904         (BINFMTFS_MAGIC): Likewise.
36905         (BTRFS_TEST_MAGIC): Likewise.
36906         (CRAMFS_MAGIC_WEND): Likewise.
36907         (DEBUGFS_MAGIC): Likewise.
36908         (ECRYPTFS_SUPER_MAGIC): Likewise.
36909         (EXT3_SUPER_MAGIC): Likewise.
36910         (EXT4_SUPER_MAGIC): Likewise.
36911         (FUTEXFS_SUPER_MAGIC): Likewise.
36912         (HOSTFS_SUPER_MAGIC): Likewise.
36913         (HUGETLBFS_MAGIC): Likewise.
36914         (MINIX3_SUPER_MAGIC): Likewise.
36915         (MTD_INODE_FS_MAGIC): Likewise.
36916         (NILFS_SUPER_MAGIC): Likewise.
36917         (OPENPROM_SUPER_MAGIC): Likewise.
36918         (PIPEFS_MAGIC): Likewise.
36919         (PSTOREFS_MAGIC): Likewise.
36920         (QNX6_SUPER_MAGIC): Likewise.
36921         (RAMFS_MAGIC): Likewise.
36922         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36923         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36924         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36925         (SECURITYFS_MAGIC): Likewise.
36926         (SELINUX_MAGIC): Likewise.
36927         (SMACK_MAGIC): Likewise.
36928         (SOCKFS_MAGIC): Likewise.
36929         (SQUASHFS_MAGIC): Likewise.
36930         (STACK_END_MAGIC): Likewise.
36931         (TMPFS_MAGIC): Likewise.
36932         (USBDEVICE_SUPER_MAGIC): Likewise.
36933         (V9FS_MAGIC): Likewise.
36934         (XENFS_SUPER_MAGIC): Likewise.
36935         (CRAMFS_MAGIC): Fix typo in comment.
36936         (EXT2_SUPER_MAGIC): Update comment.
36937         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36939 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36941         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36942         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36943         * sysdeps/unix/sysv/linux/arm: Move directory from
36944         ports/sysdeps/unix/sysv/linux/arm.
36945         * README: Update listing for arm-*-linux-gnueabi.
36947         * README: Remove mention of am33.
36949 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36951         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36952         than the comma operator, to avoid "rhs of comma has no effect"
36953         compiler warnings.
36954         (__sigfillset, __sigandset, __sigorset): Likewise.
36955         * include/signal.h (__sigemptyset): Likewise.
36956         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36958 2014-02-07  Allan McRae  <allan@archlinux.org>
36960         * version.h (RELEASE): Set to "development".
36961         (VERSION): Set to "2.19.90"
36962         * NEWS: Add 2.20 section.
36964 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36966         [BZ #16529]
36967         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36969 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36971         * manual/contrib.texi: Update entry for Carlos O'Donell,
36972         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36974 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36976         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36978         * sysdeps/unix/sysv/linux/kernel-features.h
36979         [__LINUX_KERNEL_VERSION >= 0x020621]
36980         (__ASSUME_PROC_PID_TASK_COMM): Define.
36982 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36984         [BZ #16398]
36985         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36986         conversion when destination buffer does not have enough space.
36987         * libio/tst-ftell-partial-wide.c: New test case.
36988         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36990         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36991         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36992         Leonard and Allan McRae.
36994 2014-02-04  David S. Miller  <davem@davemloft.net>
36996         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36997         32-bit.
36999 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37002         New file
37003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37004         New file
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37006         New file.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37008         New file.
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37010         New file.
37011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37012         New file.
37013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37014         New file.
37015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37016         New file.
37017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37018         New file.
37019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37020         New file.
37021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37022         New file.
37023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37024         New file.
37025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37026         New file.
37028 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37030         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37031         * shlib-versions: Likewise.
37033 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37036         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37037         (abilist-pattern): New variable, set to %-le.abilist.
37039         * Makerules (abilist-pattern): New variable.
37040         (vpath): Use $(abilist-pattern) in place of %.abilist.
37041         (check-abi-% pattern rule): Likewise.
37042         (check-abi, update-abi): Likewise.
37044 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37048 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37050         * manual/startup.texi: Add next, previous, and top entries for
37051         the `Program Arguments' and `Environment Variables' nodes.
37053 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37055         * manual/macros.texi: Add comments before MTASC-safety macros.
37057         * manual/users.texi: Document MTASC-safety properties.
37059         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37060         (pthread_getspecific, pthread_setspecific): Format with
37061         @deftypefun, and add @safety note.
37062         * manual/signal.texi: Move comments that analyze the above
37063         functions to their home place.
37065 2014-02-03  Allan McRae  <allan@archlinux.org>
37067         * po/sl.po: Update Slovenian translation from translation project.
37069 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37071         * manual/time.texi (timegm): Add missing blank after @c.
37072         Reported by Joseph Myers <joseph@codesourcery.com>.
37074 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37076         * manual/check-safety.sh: New.
37077         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37079         * manual/terminal.texi: Document MTASC-safety properties.
37081         * manual/filesys.texi: Document MTASC-safety properties.
37083         * manual/errno.texi: Document MTASC-safety properties.
37085         * manual/intro.texi: Document safety identifiers and
37086         conditionals.
37088         * manual/string.texi (wcstok): Fix prototype.
37089         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37091         * manual/time.texi: Document MTASC-safety properties.
37093         * manual/string.texi: Document MTASC-safety properties.
37095         * manual/threads.texi: Document MTASC-safety properties.
37097         * manual/stdio.texi: Document MTASC-safety properties.
37099         * manual/syslog.texi: Document MTASC-safety properties.
37101         * manual/sysinfo.texi: Document MTASC-safety properties.
37103         * manual/startup.texi: Document MTASC-safety properties.
37105         * manual/socket.texi: Document MTASC-safety properties.
37107         * manual/signal.texi: Document MTASC-safety properties.
37109 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37111         * manual/setjmp.texi: Document MTASC-safety properties.
37113         * manual/search.texi: Document MTASC-safety properties.
37115         * manual/resource.texi: Document MTASC-safety properties.
37117         * manual/process.texi: Document MTASC-safety properties.
37119         * manual/platform.texi: Document MTASC-safety properties.
37121         * manual/pipe.texi: Document MTASC-safety properties.
37123         * manual/pattern.texi: Document MTASC-safety properties.
37125         * manual/message.texi: Document MTASC-safety properties.
37127         [BZ #12751]
37128         * manual/memory.texi: Document MTASC-safety properties.
37130         * manual/math.texi: Document MTASC-safety properties.
37132         * manual/locale.texi: Document MTASC-safety properties.
37134         * manual/llio.texi: Document MTASC-safety properties.
37136         * manual/libdl.texi: New.
37138         * manual/lang.texi: Document MTASC-safety properties.
37140         * manual/job.texi: Document MTASC-safety properties.
37142         * manual/getopt.texi: Document MTASC-safety properties.
37144         * manual/ctype.texi: Document MTASC-safety properties.
37146 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37148         [BZ #16046]
37149         * csu/libc-tls.c (static_map): Remove variable.
37150         (__libc_setup_tls): Use main executable's link map for TLS data.
37151         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37152         casing for LM_ID_BASE and GL(dl_nns).
37153         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37154         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37155         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37156         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37157         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37158         member.
37159         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37160         l_phnum members.
37162 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37164         * manual/debug.texi: Document MTASC-safety properties.
37166 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37168         [BZ #16510]
37169         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37170         of __x86_64__ when disabling x87 inline functions.
37172 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37174         * manual/charset.texi: Document MTASC-safety properties.
37176         * manual/crypt.texi: Document MTASC-safety properties.
37178         * manual/conf.texi: Document MTASC-safety properties.
37180         * manual/arith.texi: Document MTASC-safety properties.
37182         * manual/argp.texi: Document MTASC-safety properties.
37184         * manual/macros.texi: Introduce macros to document multi
37185         thread, asynchronous signal and asynchronous cancellation
37186         safety properties.
37187         * manual/intro.texi: Introduce the properties themselves.
37189 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37191         * sysdeps/sh/sh4/Makefile: New file.
37193 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37195         * math/gen-libm-test.pl ($srcdir): New variable.
37196         ($auto_input): Use it.
37198 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37200         [BZ #16506]
37201         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37202         access beyond array bounds when parsing netgroups file.
37204         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37205         the old buffer before realloc.
37207 2014-01-27  Allan McRae  <allan@archlinux.org>
37209         * po/fr.po: Update French translation from translation project.
37211 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37213         * sysdeps/sh/libm-test-ulps: Regenerate.
37215 2014-01-24  David S. Miller  <davem@davemloft.net>
37217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37219 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37221         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37222         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37224 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37226         [BZ #16474]
37227         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37228         string pointers after reallocation.
37230 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37232         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37233         __SH4A__ instead of __SH_FPU_ANY__.
37235 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37237         * sysdeps/sh/fpu_control.h: New file.
37238         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37239         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37240         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37241         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37242         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37243         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37244         * sysdeps/sh/sys/ucontext.h: Remove.
37245         * sysdeps/sh/sys: Remove directory.
37247 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37249         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37250         s390/sys/ucontext.h.
37251         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37252         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37254 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37256         [BZ #15605]
37257         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37259 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37261         [BZ#16431]
37262         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37263         Adjust the vDSO correctly for internal calls.
37264         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37266 2014-01-20  Allan McRae  <allan@archlinux.org>
37268         * po/ca.po: Update Catalan translation from translation project.
37270 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37272         * sysdeps/s390/sotruss-lib.c: New file.
37274 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37276         [BZ#16430]
37277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37278         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37279         local calls issues by not having a PLT stub required for IFUNC calls.
37280         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37282 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37284         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37285         * math/test-fpucw-static.c: Likewise.
37287 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37289         [BZ #16453]
37290         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37292 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37294         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37295         implementation for powerpc.
37297 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37299         [BZ #14782]
37300         * sysdeps/posix/system.c (__libc_system): Do not enable
37301         asynchronous cancellation.
37303 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37305         [BZ #16427]
37306         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37307         handling only for numbers special also in the IEEE case.
37309 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37311         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37313 2014-01-11  Allan McRae  <allan@archlinux.org>
37315         * po/bg.po: Update Bulgarian translation from translation project.
37317         * po/de.po: Update German translation from translation project.
37319 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37321         * sysdeps/generic/gcc-compat.h: New file.
37323 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37325         * benchtests/asin-inputs: Correct slow inputs.
37326         * benchtests/acos-inputs: Likewise.
37328 2014-01-10  Allan McRae  <allan@archlinux.org>
37330         * po:sv.po: Update Swedish translation from translation project.
37332         * po/vi.po: Update Vietnamese translation from translation project.
37334         * po/eo.po: Update Esperanto translation from translation project.
37336         * po/cs.po: Update Czech translation from translation project.
37338         * po/nl.po: Update Dutch translation from translation project.
37340         * po/pl.po: Update Polish translation from translation project.
37342         * po/ru.po: Update Russian translation from translation project.
37344         * po/uk.po: Update Ukrainian translation from translation project.
37346 2014-01-08  Brooks Moses  <bmoses@google.com>
37348         * elf/dl-load.c: Fix comment typo.
37350 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37352         * po/header.pot: Rename to...
37353         * po/pot.header: ... this.
37354         * po/Makefile: Use pot.header.
37356 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37357             Maxim Kuvyrkov  <maxim@kugelworks.com>
37359         [BZ #16394]
37360         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37361         SRC and DEST against LEN.
37363 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37365         [BZ #16414]
37366         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37367         implementation.
37368         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37370 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37374 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37376         [BZ #16408]
37377         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37378         for large positive arguments.
37380 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37382         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37384         * math/auto-libm-test-in: Mark various tests with
37385         xfail-rounding:ldbl-128ibm.
37386         * math/auto-libm-test-out: Regenerated.
37388         [BZ #16407]
37389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37390         Increase overflow threshold.
37392 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37394         [BZ #14286]
37395         * stdio-common/vfprintf.c: Check for integer overflow.
37397 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37399         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37400         the first argument and return value of __tls_get_addr_internal.
37402 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37404         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37405         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37407 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37409         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37410         * sysdeps/s390/rtld-global-offsets.sym: New file.
37411         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37412         GLIBC_2.19 symbol.
37413         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37414         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37415         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37416         ... this.
37417         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37418         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37419         ... this.
37420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37421         Regenerate.
37422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37423         Regenerate.
37424         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37425         halfs of GPRs for high_gprs contexts.
37426         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37427         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37428         field.
37429         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37430         uc_flags field.
37431         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37432         64 bit versions:
37433         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37434         for high GPRs (uc_high_gprs) and for future extensions
37435         (__reserved).
37436         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37437         for future extensions (__reserved).
37438         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37439         64 bit versions:
37440         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37441         SC_HIGHGPRS offset definition.
37442         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37443         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37445         * Versions.def: Add GLIBC_2.19 for libpthread.
37446         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37447         siglongjmp for libpthread with GLIBC_2.19 symver.
37448         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37449         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37450         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37451         * sysdeps/s390/__longjmp.c: New file.
37452         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37453         * sysdeps/s390/longjmp.c: New file.
37454         * sysdeps/s390/setjmp.S: New file.
37455         * sysdeps/s390/sigjmp.S: New file.
37456         * sysdeps/s390/v1-longjmp.c: New file.
37457         * sysdeps/s390/v1-setjmp.h: New file.
37458         * sysdeps/s390/v1-sigjmp.c: New file.
37459         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37460         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37461         GLIBC_2.19 version.
37462         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37463         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37464         versioned symbols for ____longjmp_chk.
37465         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37466         Likewise.
37467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37468         Regenerate.
37469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37470         Regenerate.
37471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37472         Regenerate.
37473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37474         Regenerate.
37475         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37476         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37477         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37478         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37479         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37480         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37481         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37482         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37483         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37484         * sysdeps/s390/rtld-__longjmp.c: New file.
37485         * sysdeps/s390/rtld-setjmp.S: New file.
37487 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37489         [BZ #16400]
37490         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37491         Return -__logl (x) for small positive arguments without evaluating
37492         a polynomial.
37494 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37496         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37497         Rename to ...
37498         (__ptrace_peeksiginfo_args): ... this.
37499         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37501         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37503 2014-01-06  Allan McRae  <allan@archlinux.org>
37505         * inet/netinet/in.h: Fix typo in comment.
37507 2014-01-05  Andreas Jaeger  <aj@suse.de>
37509         * sysdeps/i386/fpu/libm-test-ulps: Update.
37511 2014-01-05  Allan McRae  <allan@archlinux.org>
37513         * po/libc.pot: Regenerated.
37515         * malloc/memusagestat.c: Fix gettext call formatting.
37517 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37519         * nscd/nscd.c: Improve usage() output.
37521 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37523         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37524         * sysdeps/unix/sysv/linux/configure: Regenerated.
37525         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37526         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37528 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37530         [BZ #16390]
37531         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37532         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37534 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37536         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37537         extra tokens at end of #undef directive.
37538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37539         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37540         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37542 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37544         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37546         * math/auto-libm-test-in: Mark various tests with
37547         xfail-rounding:ldbl-128ibm.
37548         * math/auto-libm-test-out: Regenerated.
37550 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37552         [BZ #16386]
37553         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37554         numbers with subnormal high part when calculating exponent.
37556         [BZ #16385]
37557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37558         fabs.
37560         [BZ #16384]
37561         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37562         M_LN2l.
37563         (__ieee754_acoshl): Use __log1pl not __log1p.
37565 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37567         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37568         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37569         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37570         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37571         (reused_arena, arena_get2): Convert to GNU style.
37572         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37573         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37574         (memalign_check, __malloc_set_state): Likewise.
37575         * malloc/mallocbug.c (main): Likewise.
37576         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37577         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37578         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37579         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37580         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37581         (__posix_memalign, malloc_info): Likewise.
37582         * malloc/malloc.h: Likewise.
37583         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37584         (mallochook, memalignhook, reallochook, mabort): Likewise.
37585         * malloc/mcheck.h: Likewise.
37586         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37587         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37588         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37589         * malloc/morecore.c (__default_morecore): Likewise.
37590         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37591         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37592         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37593         (print_and_abort): Likewise.
37594         * malloc/obstack.h: Likewise.
37595         * malloc/set-freeres.c (__libc_freeres): Likewise.
37596         * malloc/tst-mallocstate.c (main): Likewise.
37597         * malloc/tst-mtrace.c (main): Likewise.
37598         * malloc/tst-realloc.c (do_test): Likewise.
37600 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37602         [BZ #16366]
37603         * nscd/netgroupcache.c (do_notfound): New function.
37604         (addgetnetgrentX): Use it.
37606         [BZ # 16365]
37607         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37608         NSS_STATUS_NOTFOUND.
37610 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37612         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37615 2014-01-01  Allan McRae  <allan@archlinux.org>
37617         * scripts/update-copyrights: Update configure input file suffix.
37619         * NEWS: Update copyright year.
37620         * catgets/gencat.c: Likewise.
37621         * csu/version.c: Likewise.
37622         * debug/catchsegv.sh: Likewise.
37623         * debug/pcprofiledump.c: Likewise.
37624         * debug/xtrace.sh: Likewise.
37625         * elf/ldconfig.c: Likewise.
37626         * elf/ldd.bash.in: Likewise.
37627         * elf/pldd.c: Likewise.
37628         * elf/sotruss.ksh: Likewise.
37629         * elf/sprof.c: Likewise.
37630         * iconv/iconv_prog.c: Likewise.
37631         * iconv/iconvconfig.c: Likewise.
37632         * locale/programs/locale.c: Likewise.
37633         * locale/programs/localedef.c: Likewise.
37634         * login/programs/pt_chown.c: Likewise.
37635         * malloc/memusage.sh: Likewise.
37636         * malloc/memusagestat.c: Likewise.
37637         * malloc/mtrace.pl: Likewise.
37638         * manual/libc.texinfo: Likewise.
37639         * nscd/nscd.c: Likewise.
37640         * nss/getent.c: Likewise.
37641         * nss/makedb.c: Likewise.
37642         * posix/getconf.c: Likewise.
37643         * scripts/test-installation.pl: Likewise.
37645         * All files with FSF copyright notices: Update copyright dates
37646         using scripts/update-copyrights.
37647         * intl/plural.c: Regenerated.
37648         * locale/programs/charmap-kw.h: Likewise.
37649         * locale/programs/locfile-kw.h: Likewise.
37651 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37653         * sysdeps/unix/sysv/linux/configure: Regenerated.
37654         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37655         the linux/fanotify.h header.
37656         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37657         HAVE_LINUX_FANOTIFY_H is defined.
37659 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37661         * benchtests/cos-inputs: New inputs.
37662         * benchtests/sin-inputs: Likewise.
37664         * benchtests/atan-inputs: New inputs. Fix name of multiple
37665         precision fallback inputs.
37667         * benchtests/atanh-inputs: New inputs.
37668         * benchtests/tanh-inputs: Likewise.
37670         * benchtests/acosh-inputs: New inputs.
37671         * benchtests/asinh-inputs: Likewise.
37673         * benchtests/cosh-inputs: New inputs.
37674         * benchtests/sinh-inputs: Likewise.
37676         * benchtests/acos-inputs: Add more inputs.
37677         * benchtests/asin-inputs: Likewise.
37679 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37681         [BZ #16375]
37682         * manual/arith.texi: Fix spelling.
37683         * manual/charset.texi: Likewise.
37684         * manual/errno.texi: Likewise.
37685         * manual/filesys.texi: Likewise.
37686         * manual/lang.texi: Likewise.
37687         * manual/llio.texi: Likewise.
37688         * manual/locale.texi: Likewise.
37689         * manual/message.texi: Likewise.
37690         * manual/resource.texi: Likewise.
37691         * manual/search.texi: Likewise.
37692         * manual/setjmp.texi: Likewise.
37693         * manual/stdio.texi: Likewise.
37694         * manual/string.texi: Likewise.
37695         * manual/sysinfo.texi: Likewise.
37696         * manual/time.texi: Likewise.
37698 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37700         * po/sl.po: New file.
37702 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37704         * .gitignore: Add core/.gdbinit/.gdb_history.
37706 2013-12-27  Allan McRae  <allan@archlinux.org>
37708         [BZ #16369]
37709         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37710         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37712 2013-12-24  Brooks Moses  <bmoses@google.com>
37714         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37715         all compilers that claim C++98 compliance, not just GCC.
37716         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37717         Likewise.
37719 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37721         * NEWS: Restore accidentally deleted bug-fix entries.
37723 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37724             Ondřej Bílka  <neleai@seznam.cz>
37726         [BZ #15073]
37727         * malloc/malloc.c (_int_free): Perform sanity check only if we
37728         have_lock.
37730 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37732         [BZ #12986]
37733         * manual/stdio.texi (String Input Conversions): Clarify that character
37734         classes are not supported.
37736 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37740 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37742         [BZ #16337]
37743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37744         Calculate results for small negative arguments directly rather
37745         than using reflection formula with special underflow handling.
37747         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37748         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37749         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37750         (fchflags): Likewise.
37751         (revoke): Likewise.
37752         (setlogin): Likewise.
37753         (sigaltstack): Likewise.
37754         (wait4): Likewise.
37755         (sigblock): Remove.
37756         (sigsetmask): Likewise.
37757         (wait3): Likewise.
37758         (waitpid): Likewise.
37759         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37760         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37761         file.
37762         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37763         * sysdeps/unix/bsd/Makefile: ... here.
37764         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37765         * sysdeps/unix/bsd/Versions: ... here.
37766         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37767         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37768         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37769         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37770         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37771         * sysdeps/unix/bsd/sigblock.c: ... here.
37772         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37773         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37774         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37775         * sysdeps/unix/bsd/sigvec.c: ... here.
37776         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37777         * sysdeps/unix/bsd/tcdrain.c: ... here.
37778         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37779         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37780         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37781         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37782         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37783         * sysdeps/unix/bsd/wait.c: ... here.
37784         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37785         * sysdeps/unix/bsd/wait3.c: ... here.
37786         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37787         * sysdeps/unix/bsd/waitpid.c: ... here.
37789 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37791         [BZ #16356]
37792         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37793         round-to-nearest for [!USE_AS_EXPM1L].
37794         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37795         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37796         more tests of exp and exp10.  Expect some exp10 tests to miss
37797         exceptions or fail in directed rounding modes.
37798         * math/auto-libm-test-out: Regenerated.
37799         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37800         (exp10_test_tonearest): New function.
37801         (exp10_towardzero_test_data): New array.
37802         (exp10_test_towardzero): New function.
37803         (exp10_downward_test_data): New array.
37804         (exp10_test_downward): New function.
37805         (exp10_upward_test_data): New array.
37806         (exp10_test_upward): New function.
37807         (main): Call the new functions.
37808         * sysdeps/i386/fpu/libm-test-ulps: Update.
37809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37811 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37813         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37814         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37815         * math/auto-libm-test-out: Regenerated.
37816         * math/libm-test.inc (acosh_test_data): Add more tests.
37817         (atanh_test_data): Likewise.
37818         (ceil_test_data): Likewise.
37819         (copysign_test_data): Likewise.
37820         * sysdeps/i386/fpu/libm-test-ulps: Update.
37821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37823         * timezone/checktab.awk: Update from tzcode 2013i.
37824         * timezone/private.h: Likewise.
37825         * timezone/scheck.c: Likewise.
37826         * timezone/tzfile.h: Likewise.
37827         * timezone/tzselect.ksh: Likewise.
37828         * timezone/zdump.c: Likewise.
37829         * timezone/zic.c: Likewise.
37831         * math/auto-libm-test-in: Add tests of cpow.
37832         * math/auto-libm-test-out: Regenerated.
37833         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37834         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37835         mpc_cc_c.
37836         (func_calc_desc): Add mpc_cc_c union field.
37837         (test_functions): Add cpow.
37838         (special_fill_2pi): New function.
37839         (special_real_inputs): Add 2pi.
37840         (calc_generic_results): Handle mpc_cc_c.
37841         * sysdeps/i386/fpu/libm-test-ulps: Update.
37842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37844         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37845         csqrt, ctan and ctanh.
37846         * math/auto-libm-test-out: Regenerated.
37847         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37848         (TEST_COND_x86): Likewise.
37849         (ccos_test_data): Use AUTO_TESTS_c_c.
37850         (ccosh_test_data): Likewise.
37851         (cexp_test_data): Likewise.
37852         (clog_test_data): Likewise.
37853         (csqrt_test_data): Likewise.
37854         (ctan_test_data): Likewise.
37855         (ctan_tonearest_test_data): Likewise.
37856         (ctan_towardzero_test_data): Likewise.
37857         (ctan_downward_test_data): Likewise.
37858         (ctan_upward_test_data): Likewise.
37859         (ctanh_test_data): Likewise.
37860         (ctanh_tonearest_test_data): Likewise.
37861         (ctanh_towardzero_test_data): Likewise.
37862         (ctanh_downward_test_data): Likewise.
37863         (ctanh_upward_test_data): Likewise.
37864         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37865         mpc_c_c.
37866         (func_calc_desc): Add mpc_c_c union field.
37867         (FUNC_mpc_c_c): New macro.
37868         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37869         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37870         ctanh.
37871         (special_fill_min_subnorm_p120): New function.
37872         (special_real_inputs): Add min_subnorm_p120.
37873         (calc_generic_results): Handle mpc_c_c.
37874         * sysdeps/i386/fpu/libm-test-ulps: Update.
37875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37877 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37879         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37880         (do_sin_slow): New functions.
37881         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37882         (cslow2, csloww1, csloww2): Use the new functions.
37884         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37885         Use M to change sign of result instead of X.  Assume X is
37886         positive.
37887         (csloww1): Likewise.
37888         (__sin): Adjust.
37889         (__cos): Adjust.
37891         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37892         arguments A and DA.
37893         (__sin): Adjust.
37894         (__cos): Likewise.
37896         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37897         (__cos): Likewise.
37898         (sloww1): Don't adjust sign of DX.
37899         (csloww1): Likewise.
37900         (sloww2): Use X directly and don't adjust sign of DX.
37901         (csloww2): Likewise.
37903 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37905         * math/auto-libm-test-in: Add tests of cabs and carg.
37906         * math/auto-libm-test-out: Regenerated.
37907         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37908         (carg_test_data): Likewise.
37909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37910         mpc_c_f.
37911         (func_calc_desc): Add mpc_c_f union field.
37912         (test_functions): Add cabs and carg.
37913         (calc_generic_results): Handle mpc_c_f.
37915         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37916         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37917         as a macro and a compat symbol.
37918         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37919         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37920         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37921         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37922         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37923         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37924         not use .hidden.
37925         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37926         Likewise.
37927         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37928         Likewise.
37929         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37930         Likewise.
37931         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37932         Likewise.
37933         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37934         Likewise.
37935         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37936         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37937         from GLIBC_2.3.2.
37939 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37943 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37945         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37946         trailing whitespace removed.
37947         * scripts/config.guess: Update to version 2013-11-29.
37948         * scripts/config.sub: Update to version 2013-10-01.
37950         * math/auto-libm-test-in: Add tests of sincos.
37951         * math/auto-libm-test-out: Regenerated.
37952         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37953         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37954         mpfr_f_11.
37955         (func_calc_desc): Add mpfr_f_11 union field.
37956         (test_functions): Add sincos.
37957         (calc_generic_results): Handle mpfr_f_11.
37958         * sysdeps/i386/fpu/libm-test-ulps: Update.
37959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37961 2013-12-19  Andreas Schwab  <schwab@suse.de>
37963         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37964         CALL_MCOUNT.
37965         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37966         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37967         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37969 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37971         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37972         * sysdeps/i386/fpu/libm-test-ulps: Update.
37973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37975         [BZ #16293]
37976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37977         round-to-nearest mode when using frndint.
37978         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37979         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37980         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37981         Likewise.
37982         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37983         sinh test to fail.
37984         * math/auto-libm-test-out: Regenerated.
37985         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37986         (TEST_COND_x86): Likewise.
37987         (expm1_tonearest_test_data): New array.
37988         (expm1_test_tonearest): New function.
37989         (expm1_towardzero_test_data): New array.
37990         (expm1_test_towardzero): New function.
37991         (expm1_downward_test_data): New array.
37992         (expm1_test_downward): New function.
37993         (expm1_upward_test_data): New array.
37994         (expm1_test_upward): New function.
37995         (main): Run the new test functions.
37996         * sysdeps/i386/fpu/libm-test-ulps: Update.
37997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37999         * include/features.h: Update comment documenting feature test
38000         macros.  Mention _DEFAULT_SOURCE in comment.
38001         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38002         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38003         _BSD_SOURCE and _SVID_SOURCE.
38004         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38005         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38006         !_SVID_SOURCE]: Likewise.
38007         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38008         (__USE_POSIX_IMPLICITLY): Define.
38009         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38010         (_POSIX_SOURCE): Undefine and redefine.
38011         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38012         (_POSIX_C_SOURCE): Likewise.
38013         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38014         (Feature Test Macros): Update documentation of default features.
38016 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38018         * benchtests/Makefile: Add bench-strtok.
38019         * benchtests/bench-strtok.c: New file: strtok benchtest.
38021 2013-12-19  Allan McRae  <allan@archlinux.org>
38023         * manual/install.texi: Suppress menu for plain text output.
38024         * INSTALL: Regenerated.
38026 2013-12-18  Brooks Moses  <bmoses@google.com>
38028         [BZ #15846]
38029         * misc/getauxval.c: Include errno.h.
38030         (__getauxval): Set errno to ENOENT if the requested type is not
38031         found.
38032         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38033         don't declare with __attribute_const__.
38034         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38035         * manual/startup.texi: Document that getauxval sets errno.
38037 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38039         * math/auto-libm-test-in: Add tests of jn and yn.
38040         * math/auto-libm-test-out: Regenerated.
38041         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38042         (yn_test_data): Likewise.
38043         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38044         mpfr_if_f.
38045         (func_calc_desc): Add mpfr_if_f union field.
38046         (FUNC_mpfr_if_f): New macro.
38047         (test_functions): Add jn and yn.
38048         (calc_generic_results): Assert type of second input for
38049         mpfr_ff_f.  Handle mpfr_if_f.
38050         (output_for_one_input_case): Disable all checking for arguments
38051         fitting floating-point types in case of an integer argument.
38052         * sysdeps/i386/fpu/libm-test-ulps: Update.
38053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38056         Don't expect fegetround reference in libm.so.
38058 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38060         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38061         $(config-cflags-nofma).
38063 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38065         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38066         * math/auto-libm-test-out: Regenerated.
38068         [BZ #16338]
38069         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38070         to determine exponent and adjust argument to have exponent of -1.
38071         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38072         log2.
38073         * math/auto-libm-test-out: Regenerated.
38074         * sysdeps/i386/fpu/libm-test-ulps: Update.
38075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38077 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38079         * manual/probes.texi: Remove cases when per-thread arenas are
38080         disabled.
38082 2013-12-18  Andreas Schwab  <schwab@suse.de>
38084         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38085         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38086         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38087         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38088         * sysdeps/i386/i686/multiarch/Makefile: Update.
38089         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38091 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38093         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38094         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38096 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38098         [BZ #15968]
38099         Support TZ transition times < 00:00:00.
38100         This is needed for version-3 tz-format files; it supports time
38101         stamps past 2037 for America/Godthab (the only entry in the tz
38102         database for which this change is relevant).
38103         * manual/time.texi (TZ Variable): Document transition times
38104         from -167:59:59 through -00:00:01.
38105         * time/tzset.c (tz_rule): Time of day is now signed.
38106         (__tzset_parse_tz): Parse negative time of day.
38108         Document TZ transition times >= 25:00:00.
38109         * manual/time.texi (TZ Variable): Document transition times from
38110         25:00:00 through 167:59:59.  These are already supported, and this
38111         support will help with version-3 tz-format files.
38113         * manual/time.texi (TZ Variable): Modernize North America example
38114         to reflect current (i.e., 2007-and-later) daylight saving rules.
38116         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38118 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38120         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38121         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38122         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38123         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38124         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38125         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38126         * sysdeps/unix/bsd/clock.c: Likewise.
38127         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38128         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38129         * sysdeps/unix/bsd/init-posix.c: Likewise.
38130         * sysdeps/unix/bsd/poll.c: Likewise.
38131         * sysdeps/unix/bsd/ptsname.c: Likewise.
38132         * sysdeps/unix/bsd/seekdir.c: Likewise.
38133         * sysdeps/unix/bsd/setegid.c: Likewise.
38134         * sysdeps/unix/bsd/seteuid.c: Likewise.
38135         * sysdeps/unix/bsd/setgid.c: Likewise.
38136         * sysdeps/unix/bsd/setrgid.c: Likewise.
38137         * sysdeps/unix/bsd/setruid.c: Likewise.
38138         * sysdeps/unix/bsd/setsid.c: Likewise.
38139         * sysdeps/unix/bsd/setuid.c: Likewise.
38140         * sysdeps/unix/bsd/sigaction.c: Likewise.
38141         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38142         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38143         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38144         * sysdeps/unix/bsd/telldir.c: Likewise.
38145         * sysdeps/unix/bsd/times.c: Likewise.
38146         * sysdeps/unix/bsd/usleep.c: Likewise.
38148         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38149         ($(objpfx)libbsd-compat.a): Remove rule.
38151         * include/features.h (__FAVOR_BSD): Do not define.
38152         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38153         features conflicting with POSIX.
38154         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38155         (_BSD_SOURCE): Remove description of not being a subset of other
38156         feature test macros.
38157         * manual/job.texi (getpgrp): Do not document BSD version.
38158         (getpgid): Do not document by reference to BSD getpgrp.
38159         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38160         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38161         * signal/signal.h [__FAVOR_BSD]: Likewise.
38162         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38163         instead of making contents conditional on [__FAVOR_BSD].
38164         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38166 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38170 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38172         [BZ #16314]
38173         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38174         values below 2**-450, not 2**-500.
38175         * math/auto-libm-test-in: Don't allow spurious underflow from
38176         hypot.
38177         * math/auto-libm-test-out: Regenerated.
38179         [BZ #16316]
38180         [BZ #16330]
38181         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38182         values of ha and hb and sort them after adjusting subnormal
38183         arguments.
38184         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38185         Likewise.
38186         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38187         values of ea and eb and sort them after adjusting subnormal
38188         arguments.
38189         * math/auto-libm-test-in: Do not expect some hypot tests of
38190         subnormals to fail.  Add more hypot tests.
38191         * math/auto-libm-test-out: Regenerated.
38193 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38195         [BZ #13304]
38196         * sysdeps/sh/s_fma.c: New file.
38197         * sysdeps/sh/s_fmaf.c: New file.
38198         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38199         version.
38200         * sysdeps/sh/Implies: Add sh/soft-fp.
38202 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38204         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38205         level of indirection to members `objname', `errstring', `malloced'.
38206         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38207         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38208         it as the __longjmp argument (just pass 1 instead).
38209         (_dl_catch_error): Initialize C with argument pointers and address of
38210         volatile local ERRCODE rather than copying values out of C at return.
38212 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38214         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38215         * math/auto-libm-test-out: Regenerated.
38216         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38217         (hypot_test_data): Likewise.
38218         (pow_test_data): Likewise.
38219         (pow_tonearest_test_data): Likewise.
38220         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38221         mpfr_ff_f.
38222         (func_calc_desc): Add mpfr_ff_f union field.
38223         (FUNC_mpfr_ff_f): New macro.
38224         (test_functions): Add atan2, hypot and pow.
38225         (special_fill_min): New function.
38226         (special_fill_minus_min): Likewise.
38227         (special_fill_min_subnorm): Likewise.
38228         (special_fill_minus_min_subnorm): Likewise.
38229         (special_real_inputs): Add min, -min, min_subnorm and
38230         -min_subnorm.
38231         (calc_generic_results): Handle mpfr_ff_f.
38232         * sysdeps/i386/fpu/libm-test-ulps: Update.
38233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38235 2013-12-16  Will Newton  <will.newton@linaro.org>
38237         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38238         (Aligned Memory Blocks): Add documentation for aligned_alloc
38239         and suggest it as an alternative to posix_memalign.
38240         (Hooks for Malloc): Document __memalign_hook is also called
38241         for aligned_alloc.  (Summary of Malloc): Add summary for
38242         aligned alloc.  Document __memalign_hook is also called
38243         for aligned_alloc.
38245 2013-12-16  Will Newton  <will.newton@linaro.org>
38247         * manual/memory.texi (Malloc Examples): Clarify default
38248         alignment documentation.  Suggest posix_memalign rather
38249         than memalign or valloc.
38250         (Aligned Memory Blocks): Remove suggestion to use memalign
38251         or valloc.  Remove obsolete comment about BSD.
38252         Document memalign errno values and mark the function obsolete.
38253         Document posix_memalign returned error codes.  Mark valloc
38254         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38255         called for posix_memalign and valloc.
38256         (Summary of Malloc): Add posix_memalign to function summary.
38257         __memalign_hook is also called for posix_memalign and valloc.
38259 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38261         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38262         TAYLOR_SIN.
38263         (__sin): Adjust.
38264         (__cos): Likewise.
38265         (sloww): Use mynumber union.  Expand ternary operator into
38266         if-else statements.
38267         (cslow): use mynumber union.
38269 2013-12-16  Allan McRae  <allan@archlinux.org>
38271         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38272         * configure: Regenerated.
38274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38276         [BZ #14120]
38277         * configure.ac: Added --enable-maintainer-mode. Check for
38278         autoconf when enabled.
38279         * configure: Regenerated.
38281         * nscd/nscd.service: New file.
38282         * nscd/nscd.tmpfiles: New file.
38284 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38286         [BZ #12100]
38287         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38288         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38289         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38290         (strstr): Add __strstr_sse2_unaligned ifunc.
38291         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38292         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38293         (strcasestr): Remove __strcasestr_sse42 ifunc.
38294         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38295         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38298 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38300         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38301         * sysdeps/sh/bits/fenv.h: ... here.
38302         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38304 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38306         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38309         hypotf multiarch implementations.
38310         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38311         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38312         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38313         multiarch hypot for PPC64.
38314         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38315         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38316         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38317         multiarch hypotf for PPC64.
38319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38320         modff multiarch implementations.
38321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38324         multiarch modf for PPC64.
38325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38328         multiarch modff for PPC64.
38330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38331         and logl multiarch implementations.
38332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38335         multiarch logb for PPC64.
38336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38339         multiarch logb for PPC64.
38340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38343         multiarch logb for PPC64.
38345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38346         isinff multiarch implementation.
38347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38348         file.
38349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38351         multiarch isinf for PPC64.
38352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38353         file.
38354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38355         multiarch isinff for PPC64.
38357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38358         finitef multiarch implementation.
38359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38360         file.
38361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38363         multiarch finite for PPC64.
38364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38365         file.
38366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38367         multiarch finitef for PPC64.
38369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38370         lrint multiarch implementation.
38371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38372         file.
38373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38375         multiarch llrint for PPC64.
38376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38377         multiarch lrint for PPC64.
38379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38380         copysignf multiarch implementation.
38381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38382         file.
38383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38384         file.
38385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38386         multiarch copysign for PPC64.
38387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38388         multiarch copysignf for PPC64.
38390         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38391         multiarch implementation.
38392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38393         file.
38394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38395         file.
38396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38397         file.
38398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38399         file.
38400         multiarch llround for PPC64.
38401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38402         multiarch trunc for PPC64.
38403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38404         multiarch truncf for PPC64.
38406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38407         multiarch implementation.
38408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38409         file.
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38411         file.
38412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38413         file.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38415         file.
38416         multiarch llround for PPC64.
38417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38418         multiarch round for PPC64.
38419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38420         multiarch roundf for PPC64.
38422         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38423         multiarch implementation.
38424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38425         file.
38426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38427         file.
38428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38429         file.
38430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38431         file.
38432         multiarch llround for PPC64.
38433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38434         multiarch floor for PPC64.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38436         multiarch floorf for PPC64.
38438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38439         multiarch implementation.
38440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38441         file.
38442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38443         file.
38444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38445         file.
38446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38447         file.
38448         multiarch llround for PPC64.
38449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38450         multiarch ceil for PPC64.
38451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38452         multiarch ceilf for PPC64.
38454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38455         multiarch implementation.
38456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38457         file.
38458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38459         file.
38460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38461         file.
38462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38463         multiarch llround for PPC64.
38464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38465         multiarch lround for PPC64.
38467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38468         multiarch implementation.
38469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38472         file.
38473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38476         multiarch isnan for PPC64.
38477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38478         multiarch isnanf for PPC64.
38480         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38481         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38482         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38483         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38484         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38487         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38488         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38493         multiarch implementations.
38494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38495         (__libc_ifunc_impl_list): Likewise.
38496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38499         multiarch stpcpy for PPC64.
38501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38502         multiarch implementations.
38503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38504         (__libc_ifunc_impl_list): Likewise.
38505         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38506         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38507         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38508         multiarch strcpy for PPC64.
38510         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38511         redefine function name.
38512         (_wordcopy_fwd_dest_aligned): Likewise.
38513         (_wordcopy_bwd_aligned): Likewise.
38514         (_wordcopy_bwd_dest_aligned): Likewise.
38515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38516         multiarch implementations.
38517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38518         (__libc_ifunc_impl_list): Likewise.
38519         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38520         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38521         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38522         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38523         multiarch wcscpy for PPC64.
38525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38526         multiarch implementations.
38527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38528         (__libc_ifunc_impl_list): Likewise.
38529         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38530         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38531         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38532         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38533         multiarch wcscpy for PPC64.
38535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38536         multiarch implementations.
38537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38538         (__libc_ifunc_impl_list): Likewise.
38539         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38540         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38541         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38542         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38543         multiarch wcsrchr for PPC64.
38545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38546         multiarch implementations.
38547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38548         (__libc_ifunc_impl_list): Likewise.
38549         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38550         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38551         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38552         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38553         multiarch wcschr for PPC64.
38555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38556         multiarch implementations.
38557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38558         (__libc_ifunc_impl_list): Likewise.
38559         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38560         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38561         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38562         multiarch strchrnul for PPC64.
38564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38565         implementations.
38566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38567         (__libc_ifunc_impl_list): Likewise.
38568         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38569         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38570         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38571         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38572         strchr for PPC64.
38574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38575         implementations.
38576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38577         (__libc_ifunc_impl_list): Likewise.
38578         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38579         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38580         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38581         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38582         strncmp for PPC64.
38584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38585         multiarch implementations.
38586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38587         (__libc_ifunc_impl_list): Likewise.
38588         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38589         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38590         strncasecmp for PPC64.
38591         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38592         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38593         multiarch strncasecmp_l for PPC64.
38595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38596         multiarch implementations.
38597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38598         (__libc_ifunc_impl_list): Likewise.
38599         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38600         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38601         multiarch strcasecmp for PPC64.
38602         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38603         file.
38604         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38605         multiarch strcasecmp_l for PPC64.
38607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38608         implementations.
38609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38610         (__libc_ifunc_impl_list): Likewise.
38611         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38612         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38613         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38614         strnlen for PPC64.
38616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38617         implementations.
38618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38619         (__libc_ifunc_impl_list): Likewise.
38620         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38621         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38622         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38623         strlen for PPC64.
38625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38626         implementations.
38627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38628         (__libc_ifunc_impl_list): Likewise.
38629         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38630         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38631         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38632         rawmemrchr for PPC64.
38634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38635         implementation.
38636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38637         (__libc_ifunc_impl_list): Likewise.
38638         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38639         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38640         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38641         memrchr for PPC64.
38643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38644         implementation.
38645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38646         (__libc_ifunc_impl_list): Likewise.
38647         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38648         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38649         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38650         memchr for PPC64.
38652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38653         implementation.
38654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38655         (__libc_ifunc_impl_list): Likewise.
38656         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38657         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38658         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38659         mempcpy for PPC64.
38661         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38662         avoid cretion of __bzero symbol.
38663         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38664         Likewise.
38665         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38666         Likewise.
38667         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38668         Likewise.
38669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38670         multiarch implementations.
38671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38672         (__libc_ifunc_impl_list): Likewise.
38673         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38674         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38675         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38676         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38677         bzero for PPC32.
38678         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38679         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38680         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38681         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38682         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38683         memset for PPC64.
38684         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38686         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38688         implementations.
38689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38690         (__libc_ifunc_impl_list): Likewise.
38691         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38692         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38693         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38695         memcmp for PPC64.
38697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38698         multiarch for POWER/PPC64.
38699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38700         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38701         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38702         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38703         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38704         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38705         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38706         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38707         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38708         memcpy for PPC64.
38710         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38711         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38712         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38713         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38714         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38715         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38716         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38717         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38718         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38719         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38720         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38721         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38722         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38723         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38724         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38733 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38735         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38737 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38739         * benchtests/Makefile (bench): Add exp2 and log2.
38740         (LDLIBS-bench-exp2): Add -lm.
38741         (LDLIBS-bench-log2): Likewise.
38742         * benchtests/exp2-inputs: New inputs file.
38743         * benchtests/log2-inputs: New inputs file.
38744         * benchtests/log-inputs: Add new inputs.
38745         * benchtests/tan-inputs: Likewise.
38747 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38749         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38750         definition...
38751         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38752         (csloww2): ... from here.
38754         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38755         instead of structures.
38756         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38757         (POLYNOMIAL): Likewise.
38758         (TAYLOR_SLOW): Likewise.
38759         (__sin): Likewise.
38760         (__cos): Likewise.
38761         (slow1): Likewise.
38762         (slow2): Likewise.
38763         (sloww): Likewise.
38764         (sloww1); Likewise.
38765         (sloww2): Likewise.
38766         (bsloww1): Likewise.
38767         (bsloww2): Likewise.
38768         (cslow2): Likewise.
38769         (csloww): Likewise.
38770         (csloww1): Likewise.
38771         (csloww2): Likewise.
38773 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38775         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38776         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38777         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38778         * malloc/hooks.c (realloc_check): Likewise.
38780         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38781         * malloc/arena.c: Remove PER_THREAD conditional.
38782         [!PER_THREAD]: Remove code.
38783         (ptmalloc_unlock_all2): Likewise.
38784         (ptmalloc_init): Likewise.
38785         (_int_new_arena): Likewise.
38786         (arena_get2): Likewise.
38787         * malloc/hooks.c (__malloc_get_state): Likewise.
38788         (__malloc_set_state): Likewise.
38789         * malloc/malloc.c: Likewise.
38790         (struct malloc_state): Likewise.
38791         (struct malloc_par): Likewise.
38792         (__libc_realloc): Likewise.
38793         (__libc_mallopt): Likewise.
38795 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38797         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38799 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38801         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38802         macro to a function.  Check for zero perturb_byte.
38803         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38805         * malloc/malloc.c: (force_reg): Remove.
38806         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38807         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38808         force_reg by atomic_forced_read.
38809         * malloc/arena.c (ptmalloc_init): Likewise.
38810         * malloc/hooks.c (top_check): Likewise.
38812 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38816 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38820 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38822         * math/auto-libm-test-in: Add tests of lgamma.
38823         * math/auto-libm-test-out: Regenerated.
38824         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38825         (M_LOG_2_SQRT_PIl): Likewise.
38826         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38827         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38828         mpfr_f_f1.
38829         (func_calc_desc): Add mpfr_f_f1 union field.
38830         (ARGS1): New macro.
38831         (ARGS2): Likewise.
38832         (ARGS3): Likewise.
38833         (ARGS4): Likewise.
38834         (RET1): Likewise.
38835         (RET2): Likewise.
38836         (CALC): Likewise.
38837         (FUNC): Likewise.
38838         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38839         (test_functions): Add lgamma.
38840         (calc_generic_results): Handle mpfr_f_f1.
38841         * sysdeps/i386/fpu/libm-test-ulps: Update.
38842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38844 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38846         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38847         __mpn_add_n for PowerPC64/POWER7.
38848         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38849         __mpn_sub_n for PowerPC64/POWER7.
38851         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38852         __mpn_addmul_1 for PowerPC64.
38853         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38854         __mpn_submul_1 for PowerPC64.
38855         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38856         for PowerPC64.
38857         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38858         for PowerPC64.
38860 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38862         [BZ #15089]
38863         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38865 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38867         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38869         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38870         add multiarch folders.
38871         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38872         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38873         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38874         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38875         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38876         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38877         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38878         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38879         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38880         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38881         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38890         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38892         New file.
38893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38894         New file.
38895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38896         multiarch __ieee754_hypot for PowerPC32.
38897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38898         New file.
38899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38900         New file.
38901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38902         multiarch __ieee754_hypotf for PowerPC32.
38904         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38905         long_double_symbol only if __logbl is defined.
38906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38907         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38909         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38911         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38913         path for implementation.
38914         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38915         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38917         logb, and logbl multiarch implementations for PowerPC32.
38918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38919         file.
38920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38921         file.
38922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38923         multiarch logb for PowerPC32.
38924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38925         file.
38926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38927         file.
38928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38929         multiarch logbf for PowerPC32.
38930         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38932         file.
38933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38934         multiarch logbl implementation for PowerPC32.
38936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38937         and modff multiarch implementations.
38938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38939         New file.
38940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38941         New file.
38942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38943         multiarch modf for PowerPC32.
38944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38945         New file.
38946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38947         New file.
38948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38949         multiarch modff for PowerPC32.
38951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38952         and lrintf multiarch implementations.
38953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38954         New file.
38955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38956         New file.
38957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38958         multiarch lrint for PowerPC32.
38959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38960         file: multiarch lrintf for PowerPC32.
38962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38963         and lroundf multiarch implementations.
38964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38965         New file.
38966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38967         New file.
38968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38969         New file.
38970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38971         multiarch lround for PowerPC32.
38972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38973         file: multiarch lroundf for PowerPC32.
38975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38976         copysign and copysignf multiarch implementations.
38977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38978         New file.
38979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38980         New file.
38981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38982         file: multiarch copysign for PowerPC32.
38983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38984         file: multiarch copysignf for PowerPC32.
38986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38987         and truncf multiarch implementations.
38988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38989         New file.
38990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38991         file.
38992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38993         multiarch trunc for PowerPC32.
38994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38995         New file.
38996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38997         New file.
38998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38999         multiarch truncf for PowerPC32.
39001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39002         and roundf multiarch implementations.
39003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39004         New file.
39005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39006         file.
39007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39008         multiarch round for PowerPC32.
39009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39010         New file.
39011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39012         New file.
39013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39014         multiarch roundf for PowerPC32.
39016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39017         and floorf multiarch implementations.
39018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39019         New file.
39020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39021         file.
39022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39023         multiarch floor for PowerPC32.
39024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39025         New file.
39026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39027         New file.
39028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39029         multiarch floorf for PowerPC32.
39031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39032         and ceilf multiarch implementations.
39033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39034         New file.
39035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39036         file.
39037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39038         multiarch ceil for PowerPC32.
39039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39040         New file.
39041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39042         file.
39043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39044         multiarch ceilf for PowerPC32.
39046         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39047         is defined.
39048         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39049         FINITEF is defined.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39051         and finitef multiarch implementations.
39052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39053         New file.
39054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39055         file.
39056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39057         multiarch finite for PowerPC32.
39058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39059         New file.
39060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39061         file: multiarch finitef for PowerPC32.
39063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39064         and isinff multiarch implementations.
39065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39066         file.
39067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39068         file.
39069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39070         multiarch isinf for PowerPC32.
39071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39072         New file.
39073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39074         multiarch isinff for PowerPC32.
39076         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39077         alias when __isnan is defined.
39078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39079         and isnanf multiarch implementations.
39080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39081         file.
39082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39083         file.
39084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39085         file.
39086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39087         file.
39088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39089         multiarch isnan for PowerPC32.
39090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39091         New file.
39092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39093         New file.
39094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39095         multiarch isnanf for PowerPC32.
39097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39098         and sqrtf multiarch implementations.
39099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39100         file.
39101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39102         file.
39103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39104         multiarch sqrt for PowerPC32.
39105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39106         file.
39107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39108         file.
39109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39110         multiarch sqrtf for PowerPC32.
39112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39113         and llroundf multiarch implementations.
39114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39115         New file.
39116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39117         New file.
39118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39119         New file.
39120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39121         file: multiarch llround for PowerPC32.
39122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39123         file: multiarch llroundf for PowerPC32.
39125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39126         multiarch PowerPC32 fpu implementations.
39127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39128         New file.
39129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39130         New file.
39131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39132         multiarch llrint for PowerPC32.
39133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39134         New file.
39135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39136         New file.
39137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39138         file.
39140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39142         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39143         file.
39144         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39145         file.
39146         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39147         file.
39148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39149         multiarch wordcopy for PPC32.
39150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39151         wordcopy objects.
39152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39153         (__libc_ifunc_impl_list): Likewise.
39154         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39155         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39156         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39157         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39158         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39159         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39161         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39163         file.
39164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39165         file.
39166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39167         file.
39168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39169         multiarch wcscpy for PPC32.
39170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39171         multiarch objects.
39172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39173         (__libc_ifunc_impl_list): Likewise.
39174         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39175         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39176         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39177         sysdeps/powerpc/power6/wcscpy.c.
39179         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39181         file.
39182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39183         file.
39184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39185         file.
39186         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39187         multiarch wcsrchr for PPC32.
39188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39189         multiarch objects.
39190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39191         (__libc_ifunc_impl_list): Likewise.
39192         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39193         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39194         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39195         sysdeps/powerpc/power6/wcsrchr.c.
39197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39198         file.
39199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39200         file.
39201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39203         multiarch wcschr for PPc32.
39204         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39205         multiarch objects.
39206         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39207         (__libc_ifunc_impl_list): Likewise.
39208         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39209         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39210         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39211         sysdeps/powerpc/power6/wcschr.c.
39213         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39215         file.
39216         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39217         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39218         file: multiarch strchr for PPC32.
39219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39220         multiarch objects.
39221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39222         (__libc_ifunc_impl_list): Likewise.
39224         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39225         name.
39226         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39227         file.
39228         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39229         file.
39230         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39231         multiarch strchrnul for PPC32.
39232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39233         multiarch objects.
39234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39235         (__libc_ifunc_impl_list): Likewise.
39237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39238         file.
39239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39240         multiarch strncasecmp for PPC32.
39241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39242         file.
39243         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39244         multiarch strncasecmp_l for PPC32.
39245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39246         strncasecmp multiarch objects.
39247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39248         (__libc_ifunc_impl_list): Likewise.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39251         file.
39252         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39253         multiarch strncasecmp for PPC32.
39254         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39255         New file.
39256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39257         multiarch strcasecmp_l for PPC32.
39258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39259         multiarch objects.
39260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39261         (__libc_ifunc_impl_list): Likewise.
39263         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39264         file.
39265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39266         file.
39267         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39268         multiarch strncmp for PPC32.
39269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39270         multiarch objects.
39271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39272         (__libc_ifunc_impl_list): Likewise.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39275         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39276         file.
39277         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39278         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39280         multiarch objects.
39281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39282         (__libc_ifunc_impl_list): Likewise.
39284         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39285         file.
39286         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39287         file.
39288         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39290         multiarch objects.
39291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39292         (__libc_ifunc_impl_list): Likewise.
39294         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39295         file.
39296         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39297         file.
39298         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39299         multiarch rawmemchr for PPC32.
39300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39301         multiarch objects.
39302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39303         (__libc_ifunc_impl_list): Likewise.
39305         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39306         file.
39307         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39308         file.
39309         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39310         file: memrchr multiarch for PPC32.
39311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39312         multiarch objects.
39313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39314         (__libc_ifunc_impl_list): Likewise.
39316         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39317         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39318         file.
39319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39320         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39321         multiarch memchr for PPC32.
39322         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39323         multiarch objects.
39324         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39325         (__libc_ifunc_impl_list): Likewise.
39327         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39328         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39329         file.
39330         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39331         file.
39332         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39333         file: multiarch mempcpy for PPC32.
39334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39335         multiarch objects.
39336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39337         (__libc_ifunc_impl_list): Likewise.
39339         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39340         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39341         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39342         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39343         multiarch bzero for PPC32.
39344         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39345         file.
39346         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39347         file.
39348         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39349         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39350         file: multiarch memset for PPC32.
39351         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39353         memset multiarch objects.
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39355         (__libc_ifunc_impl_list): Likewise.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39358         file.
39359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39360         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39361         memcmp for PPC32.
39362         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39364         multiarch objects.
39365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39366         (__libc_ifunc_impl_list): Likewise.
39368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39370         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39371         file.
39372         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39373         file.
39374         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39375         file.
39376         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39377         multiarch memcpy for PPC32.
39378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39379         multiarch objects.
39380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39381         (__libc_ifunc_impl_list): Likewise.
39383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39384         support multiarch for POWER/PPC32.
39385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39386         Likewise.
39387         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39389         Implies file to make multiarch folder appers before the fpu and
39390         default folder for power4 configuration.
39392 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39394         * scripts/bench.pl: Append volatile keyword to type.
39396 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39398         * sysdeps/sh/sotruss-lib.c: New file.
39399         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39401 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39405 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39407         [BZ #6810]
39408         * math/w_tgamma.c: Include <errno.h>.
39409         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39410         * math/w_tgammaf.c: Include <errno.h>.
39411         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39412         * math/w_tgammal.c: Include <errno.h>.
39413         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39414         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39415         underflow.  Add more tgamma tests.
39416         * math/auto-libm-test-out: Regenerated.
39417         * sysdeps/i386/fpu/libm-test-ulps: Update.
39418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39420         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39421         sin, sinh, tan, tanh, tgamma, y0 and y1.
39422         * math/auto-libm-test-out: Regenerated.
39423         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39424         (TEST_COND_x86): Likewise.
39425         (M_E2l): Remove macro.
39426         (M_E3l): Likewise.
39427         (M_2_SQRT_PIl): Likewise.
39428         (M_SQRT_PIl): Likewise.
39429         (M_1_DIV_El): Likewise.
39430         (log_test_data): Use AUTO_TESTS_f_f.
39431         (log10_test_data): Likewise.
39432         (log1p_test_data): Likewise.
39433         (log2_test_data): Likewise.
39434         (sin_test_data): Likewise.
39435         (sin_tonearest_test_data): Likewise.
39436         (sin_towardzero_test_data): Likewise.
39437         (sin_downward_test_data): Likewise.
39438         (sin_upward_test_data): Likewise.
39439         (sinh_test_data): Likewise.
39440         (sinh_tonearest_test_data): Likewise.
39441         (sinh_towardzero_test_data): Likewise.
39442         (sinh_downward_test_data): Likewise.
39443         (sinh_upward_test_data): Likewise.
39444         (tan_test_data): Likewise.
39445         (tan_tonearest_test_data): Likewise.
39446         (tan_towardzero_test_data): Likewise.
39447         (tan_downward_test_data): Likewise.
39448         (tan_upward_test_data): Likewise.
39449         (tanh_test_data): Likewise.
39450         (tgamma_test_data): Likewise.
39451         (y0_test_data): Likewise.
39452         (y1_test_data): Likewise.
39453         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39454         (special_real_inputs): Add pi/4.
39455         * sysdeps/i386/fpu/libm-test-ulps: Update.
39456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39458 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39460         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39461         "longjmp_target" static probes.
39462         (__longjmp): Rename to __longjmp_symbol.
39463         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39464         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39465         on which longjmp to generate.
39466         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39467         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39468         probe.
39469         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39470         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39471         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39472         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39473         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39474         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39476         __longjmp_symbol based on which __longjmp to generate.
39477         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39478         probe.
39479         (setjmp): Rename to setjmp_symbol.
39480         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39481         (_setjmp): Rename to _setjmp_symbol.
39482         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39483         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39484         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39485         which setjmp to generate.
39486         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39487         "longjmp_target" static probes.
39489 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39491         * benchtests/README: Add note about output arguments.
39492         * benchtests/bench-sincos.c: Remove file.
39493         * benchtests/sincos-inputs: New file.
39494         * scripts/bench.pl: Identify output arguments and define
39495         static variables for them.
39497         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39499         [BZ #15941]
39500         * Makefile (INSTALL): Add install-plain.texi as the primary
39501         dependency.
39502         * manual/install-plain.texi: New file.
39503         * manual/install.texi: Include node directive only for
39504         non-plaintext output.
39506 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39508         * stdlib/longlong.h: Update from GCC.
39510         [BZ #6807]
39511         [BZ #15901]
39512         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39513         * math/w_j0f.c (y0f): Likewise.
39514         * math/w_j0l.c (__y0l): Likewise.
39515         * math/w_j1.c (y1): Likewise.
39516         * math/w_j1f.c (y1f): Likewise.
39517         * math/w_j1l.c (__y1l): Likewise.
39518         * math/w_jn.c (yn): Likewise.
39519         * math/w_jnf.c (ynf): Likewise.
39520         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39521         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39522         value for Bessel function domain errors outside _SVID_ mode.
39523         Adjust sign of return value for yn (negative integer, 0).
39524         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39525         by zero in return for negative x and set sign appropriately for
39526         negative n.
39527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39528         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39529         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39530         expectations in error cases.
39531         (y1_test_data): Likewise.
39532         (yn_test_data): Likewise.
39533         * sysdeps/i386/fpu/libm-test-ulps: Update.
39534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39536 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39538         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39539         "64" to "64-v1".  Add "64-v2".
39540         (abi-64-options): Rename to ...
39541         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39542         (abi-64-condition): Rename to ...
39543         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39544         (abi-64-ld-soname): Rename to ...
39545         (abi-64-v1-ld-soname): ... this.
39546         (abi-64-v2-options): Define.
39547         (abi-64-v2-condition): Likewise.
39548         (abi-64-v2-ld-soname): Likewise.
39549         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39550         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39555 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39556             Alan Modra  <amodra@gmail.com>
39558         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39559         New versions for use with the ELFv2 ABI.
39560         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39561         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39562         declaration.
39563         (struct La_ppc64v2_retval): Likewise.
39564         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39565         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39566         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39567         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39568         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39570         Do not save or restore CR.
39571         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39572         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39573         return values for ELFv2 ABI.  Fix location of FPR return registers.
39574         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39575         updated values for _CALL_ELF == 2.
39576         (La_regs, La_retval, int_retval): Likewise.
39578 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39580         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39581         (FRAME_MIN_SIZE_PARM): Likewise.
39582         (FRAME_BACKCHAIN): Likewise.
39583         (FRAME_CR_SAVE): Likewise.
39584         (FRAME_LR_SAVE): Likewise.
39585         (FRAME_TOC_SAVE): Likewise.
39586         (FRAME_PARM_SAVE): Likewise.
39587         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39588         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39589         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39590         (call_mcount_parm_offset): New macro.
39591         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39592         (PROF): Use symbolic stack frame offsets.
39593         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39594         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39595         Redefine in terms of FRAME_MIN_SIZE.
39596         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39597         (_dl_profile_resolve): Likewise.  Update comment.
39598         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39599         symbols stack frame offsets.
39600         (__sigsetjmp): Likewise.
39601         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39602         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39603         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39604         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39607         (FRAME_BACKCHAIN): Remove.
39608         (FRAME_CR_SAVE): Likewise.
39609         (FRAME_LR_SAVE): Likewise.
39610         (FRAME_COMPILER_DW): Likewise.
39611         (FRAME_LINKER_DW): 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         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39618         (CHECK_SP): Use symbolic stack frame offsets.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39620         zone" instead of caller's parameter save area for temp storage.
39621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39622         Likewise.  Also, use symbolic stack frame offsets.
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39624         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39625         our own stack frame instead of the caller's.
39626         (__socket): Use symbolic stack frame offsets.
39628 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39629             Alan Modra  <amodra@gmail.com>
39631         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39632         Define.
39633         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39634         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39635         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39636         New function.
39637         (elf_machine_fixup_plt): Call it.
39638         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39639         reloc arguments.
39640         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39642         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39643         r2 before calling target.
39645 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39646             Alan Modra  <amodra@gmail.com>
39648         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39649         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39650         versions of macros to support ELFv2 ABI.
39651         (LOCALENTRY): New macro.
39652         (ENTRY, EALIGN): Use it.
39653         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39654         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39655         fall through into ENTRY entry point.
39656         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39657         Only define if _CALL_ELF != 2.
39659         (elf_machine_matches_host): Verify ABI version matches.
39660         (RTLD_START): Use LOCALENTRY.
39661         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39662         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39663         (PLT_ENTRY_WORDS): New macro.
39664         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39665         (elf_machine_runtime_setup): Support ELFv2 ABI.
39666         (elf_machine_fixup_plt): Likewise.
39667         (elf_machine_plt_conflict): Likewise.
39668         (resolve_ifunc): Likewise.
39669         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39670         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39671         Likewise.
39672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39673         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39675         (makecontext): Support ELFv2 ABI.
39676         * elf/elf.h (EF_PPC64_ABI): Define.
39678 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39680         * sysdeps/powerpc/powerpc64/sysdep.h
39681         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39682         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39683         (ENTRY) [ASSEMBLER]: ... but instead here ...
39684         (EALIGN) [ASSEMBLER]: ... and here.
39685         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39686         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39687         (ENTRY_2) [!ASSEMBLER]: Use it.
39688         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39689         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39690         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39691         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39692         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39694         Use PPC64_LOAD_FUNCPTR.
39696         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39698 2013-12-04  Alan Modra  <amodra@gmail.com>
39700         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39701         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39702         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39703         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39705         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39706         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39707         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39708         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39709         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39710         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39712 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39715         (__makecontext): Fix incorrect CFI when backtracing out of
39716         context created via makecontext.
39717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39718         (__setcontext): Fix incorrect CFI during switch to new context.
39719         (__novec_setcontext): Likewise.
39721 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39723         [BZ #4772]
39724         * time/strptime_l.c (__strptime_internal): Allow modifiers
39725         in strptime.
39726         * time/tst-strptime.c (day_tests): Add testcase.
39728 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39730         * scripts/bench.pl: Skip over blank lines.
39732 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39734         [BZ #926]
39735         * manual/time.texi (Calendar Time): Clarify what timezone functions
39736         use.
39738 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39742 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39744         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39745         implementation.
39746         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39747         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39748         * debug/memset_chk.c (__memset_chk): Likewise.
39749         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39750         * debug/strncpy_chk.c: Likewise.
39752 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39754         [BZ #15268]
39755         [BZ #15425]
39756         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39757         (__ieee754_exp): For possibly underflowing results, check size of
39758         result and force underflow exception if required.
39759         * math/auto-libm-test-in: Add more tests of exp.
39760         * math/auto-libm-test-out: Regenerated.
39761         * sysdeps/i386/fpu/libm-test-ulps: Update.
39762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39764         [BZ #16283]
39765         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39766         * math/w_exp2f.c (__exp2f): Likewise.
39767         * math/w_exp2l.c (__exp2l): Likewise.
39768         * math/auto-libm-test-in: Do not allow missing errno on exp2
39769         underflow.
39770         * math/auto-libm-test-out: Regenerated.
39772 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39774         [BZ #16274]
39775         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39776         handle filename validation.
39777         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39778         (do_open): Delete.
39780 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39782         [BZ #6786]
39783         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39784         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39785         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39786         <float.h>.
39787         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39788         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39789         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39790         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39791         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39792         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39793         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39794         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39795         Add more erfc tests.
39796         * math/auto-libm-test-out: Regenerated.
39797         * sysdeps/i386/fpu/libm-test-ulps: Update.
39798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39800         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39801         exp2, expm1, j0 and j1.
39802         * math/auto-libm-test-out: Regenerated.
39803         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39804         (erfc_test_data): Likewise.
39805         (exp_test_data): Likewise.
39806         (exp_tonearest_test_data): Likewise.
39807         (exp_towardzero_test_data): Likewise.
39808         (exp_downward_test_data): Likewise.
39809         (exp_upward_test_data): Likewise.
39810         (exp10_test_data): Likewise.
39811         (exp2_test_data): Likewise.
39812         (expm1_test_data): Likewise.
39813         (j0_test_data): Likewise.
39814         (j1_test_data): Likewise.
39815         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39816         (input_flag_type): Add flag_xfail_rounding.
39817         (input_flags): Add xfail-rounding.
39818         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39819         (output_for_one_input_case): Handle flag_xfail_rounding.
39820         * sysdeps/i386/fpu/libm-test-ulps: Update.
39821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39823 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39825         [BZ #16289]
39826         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39827         division by 0.
39829 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39831         [BZ #16195]
39832         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39833         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39834         (STAP_PROBE0): New macro.
39835         (STAP_PROBE1): Likewise.
39836         (STAP_PROBE2): Likewise.
39837         (STAP_PROBE3): Likewise.
39838         (STAP_PROBE4): Likewise.
39840 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39842         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39844 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39846         * benchtests/Makefile (bench): Add sqrt.
39847         (LDLIBS-bench-sqrt): New.
39848         * benchtests/sqrt-input: New.
39850 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39852         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39853         (GAIH_EAI): Likewise.
39854         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39855         (gaih_inet): Likewise.
39856         (getaddrinfo): Don't use GAIH_EAI.
39858         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39859         (struct gaih): Remove definition.
39861 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39863         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39864         Use HERRNOP directly.
39866 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39870 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39872         * math/gen-auto-libm-tests.c (test_functions): Add more
39873         single-argument functions.
39874         (special_fill_pi_2): New function.
39875         (special_fill_minus_pi_2): Likewise.
39876         (special_fill_pi_6): Likewise.
39877         (special_fill_minus_pi_6): Likewise.
39878         (special_fill_pi_3): Likewise.
39879         (special_fill_2pi_3): Likewise.
39880         (special_fill_e): Likewise.
39881         (special_fill_1_e): Likewise.
39882         (special_fill_e_minus_1): Likewise.
39883         (special_real_inputs): Add more special inputs.
39884         (output_for_one_input_case): Do not require ERANGE on underflow to
39885         zero if round-to-nearest result does not underflow to zero, unless
39886         exact results required.
39887         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39888         atan, atanh, cbrt, cos and cosh.
39889         * math/auto-libm-test-out: Regenerated.
39890         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39891         (acos_tonearest_test_data): Likewise.
39892         (acos_towardzero_test_data): Likewise.
39893         (acos_downward_test_data): Likewise.
39894         (acos_upward_test_data): Likewise.
39895         (acosh_test_data): Likewise.
39896         (asin_test_data): Likewise.
39897         (asin_tonearest_test_data): Likewise.
39898         (asin_towardzero_test_data): Likewise.
39899         (asin_upward_test_data): Likewise.
39900         (asinh_test_data): Likewise.
39901         (atan_test_data): Likewise.
39902         (atanh_test_data): Likewise.
39903         (cbrt_test_data): Likewise.
39904         (cos_test_data): Likewise.
39905         (cos_tonearest_test_data): Likewise.
39906         (cos_towardzero_test_data): Likewise.
39907         (cos_downward_test_data): Likewise.
39908         (cos_upward_test_data): Likewise.
39909         (cosh_test_data): Likewise.
39910         (cosh_tonearest_test_data): Likewise.
39911         (cosh_towardzero_test_data): Likewise.
39912         (cosh_downward_test_data): Likewise.
39913         (cosh_upward_test_data): Likewise.
39914         * sysdeps/i386/fpu/libm-test-ulps: Update.
39915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39917 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39919         [BZ #6787]
39920         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39921         * math/w_exp10f.c (__exp10f): Likewise.
39922         * math/w_exp10l.c (__exp10l): Likewise.
39923         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39924         errno settings in existing tests.
39926         [BZ #14032]
39927         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39928         precision control set to double precision.
39929         * sysdeps/i386/fpu/w_sqrt.c: New file.
39930         * math/auto-libm-test-in: Add more tests.
39931         * math/auto-libm-test-out: Update.
39933         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39934         (sqrt_test_tonearest): New function.
39935         (sqrt_towardzero_test_data): New variable.
39936         (sqrt_test_towardzero): New function.
39937         (sqrt_downward_test_data): New variable.
39938         (sqrt_test_downward): New function.
39939         (sqrt_upward_test_data): New variable.
39940         (sqrt_test_upward): New function.
39941         (main): Call the new functions.
39943         * math/gen-auto-libm-tests.c: New file.
39944         * math/auto-libm-test-in: Likewise.
39945         * math/auto-libm-test-out: New generated file.
39946         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39947         variables.
39948         (%beautify): Add generated representations of zero.
39949         (top level): Set $auto_input and call parse_auto_input.
39950         (beautify): Remove trailing "f" from hex float constants.
39951         (parse_args): Handle XFAIL_TEST.
39952         (convert_condition): New function.
39953         (or_value): Likewise.
39954         (or_cond_value): Likewise.
39955         (generate_testfile): Handle AUTO_TESTS_* lines.
39956         (parse_auto_input): New function.
39957         * math/libm-test.inc (XFAIL_TEST): New macro.
39958         (ERRNO_UNCHANGED): Update value.
39959         (ERRNO_EDOM): Likewise.
39960         (ERRNO_ERANGE): Likewise.
39961         (IGNORE_RESULT): Likewise.
39962         (TEST_COND_flt_32): New macro.
39963         (TEST_COND_dbl_64): Likewise.
39964         (TEST_COND_ldbl_96_intel): Likewise.
39965         (TEST_COND_ldbl_96_m68k): Likewise.
39966         (TEST_COND_ldbl_128): Likewise.
39967         (TEST_COND_ldbl_128ibm): Likewise.
39968         (TEST_COND_long32): Likewise.
39969         (TEST_COND_long64): Likewise.
39970         (TEST_COND_before_rounding): Likewise.
39971         (TEST_COND_after_rounding): Likewise.
39972         (enable_test): Handle XFAIL_TEST flag.
39973         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39974         with finite results.
39975         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39976         auto-libm-test-out.
39978 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39979             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39981         [BZ #16214]
39982         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39983         __tls_get_addr_internal instead of __tls_get_offset in order to
39984         avoid GOT pointer dependency.  Make rtld export
39985         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39986         __tls_get_addr since we are a __tls_get_offset platform.
39987         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39988         GOT pointer being set up before.
39989         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39991 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39993         * manual/math.texi (Errors in Math Functions): Document accuracy
39994         goals.
39996         [BZ #15004]
39997         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39998         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39999         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40000         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40001         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40002         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40003         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40004         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40005         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40006         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40007         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40010         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40011         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40014         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40015         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40016         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40017         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40018         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40019         Likewise.
40020         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40021         Likewise.
40022         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40023         Likewise.
40024         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40025         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40026         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40027         atomic-feupdateenv and flt-rounds.
40028         * sysdeps/powerpc/nofpu/Versions (libc): Add
40029         __atomic_feholdexcept, __atomic_feclearexcept,
40030         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40031         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40032         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40033         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40034         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40035         here.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40037         Update.
40039         * manual/arith.texi (FP Exceptions): Document that exceptions may
40040         not be raised when matherr is used.
40041         (Math Error Reporting): Document overflow in directed rounding
40042         modes.  Document that errno may not be set when finite values are
40043         returned on overflow.  Document intent to set errno on underflow
40044         only for underflow to zero.
40046         [BZ #16271]
40047         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40048         round-to-nearest then adjust result for other rounding modes.
40049         * include/fenv.h (fegetround): Use libm_hidden_proto.
40050         * math/fegetround.c (fegetround): Use libm_hidden_def.
40051         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40052         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40053         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40054         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40055         Likewise.
40056         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40057         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40058         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40059         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40061 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40063         [BZ #16077]
40064         * nss/Versions (libnss_files): Add
40065         _nss_files_gethostbyname3_r.
40066         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40067         New function.
40068         (HOST_DB_LOOKUP): Remove macro.
40069         (_nss_files_gethostbyname_r): Implement function without the
40070         HOST_DB_LOOKUP macro.
40071         (_nss_files_gethostbyname2_r): Likewise.
40073 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40075         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40077 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40079         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40080         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40081         warning.
40083 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40085         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40086         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40087         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40088         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40089         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40090         __fe_nomask_env_priv and attribute_hidden.
40091         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40092         (libc_feupdateenv_test_ppc): Likewise.
40093         (libc_feresetround_ppc): Likewise.
40094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40095         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40096         compat_symbol macro.
40097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40098         (__fe_nomask_env): Likewise.
40099         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40101 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40103         * string/Makefile: Remove ifunc tests.
40104         * string/test-string.h: Define TEST_IFUNC.
40105         * string/test-bcopy-ifunc.c: Remove.
40106         * string/test-bzero-ifunc.c: Likewise.
40107         * string/test-memccpy-ifunc.c: Likewise.
40108         * string/test-memchr-ifunc.c: Likewise.
40109         * string/test-memcmp-ifunc.c: Likewise.
40110         * string/test-memcpy-ifunc.c: Likewise.
40111         * string/test-memmem-ifunc.c: Likewise.
40112         * string/test-memmove-ifunc.c: Likewise.
40113         * string/test-mempcpy-ifunc.c: Likewise.
40114         * string/test-memrchr-ifunc.c: Likewise.
40115         * string/test-memset-ifunc.c: Likewise.
40116         * string/test-rawmemchr-ifunc.c: Likewise.
40117         * string/test-stpcpy-ifunc.c: Likewise.
40118         * string/test-stpncpy-ifunc.c: Likewise.
40119         * string/test-strcasecmp-ifunc.c: Likewise.
40120         * string/test-strcasestr-ifunc.c: Likewise.
40121         * string/test-strcat-ifunc.c: Likewise.
40122         * string/test-strchr-ifunc.c: Likewise.
40123         * string/test-strchrnul-ifunc.c: Likewise.
40124         * string/test-strcmp-ifunc.c: Likewise.
40125         * string/test-strcpy-ifunc.c: Likewise.
40126         * string/test-strcspn-ifunc.c: Likewise.
40127         * string/test-strlen-ifunc.c: Likewise.
40128         * string/test-strncasecmp-ifunc.c: Likewise.
40129         * string/test-strncat-ifunc.c: Likewise.
40130         * string/test-strncmp-ifunc.c: Likewise.
40131         * string/test-strncpy-ifunc.c: Likewise.
40132         * string/test-strnlen-ifunc.c: Likewise.
40133         * string/test-strpbrk-ifunc.c: Likewise.
40134         * string/test-strrchr-ifunc.c: Likewise.
40135         * string/test-strspn-ifunc.c: Likewise.
40136         * string/test-strstr-ifunc.c: Likewise.
40138 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40140         * benchtests/Makefile: Remove ifunc tests.
40141         * benchtests/bench-string.h: Define TEST_IFUNC.
40142         * benchtests/bench-bcopy-ifunc.c: Remove.
40143         * benchtests/bench-bzero-ifunc.c: Likewise.
40144         * benchtests/bench-memccpy-ifunc.c: Likewise.
40145         * benchtests/bench-memchr-ifunc.c: Likewise.
40146         * benchtests/bench-memcmp-ifunc.c: Likewise.
40147         * benchtests/bench-memcpy-ifunc.c: Likewise.
40148         * benchtests/bench-memmem-ifunc.c: Likewise.
40149         * benchtests/bench-memmove-ifunc.c: Likewise.
40150         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40151         * benchtests/bench-memrchr-ifunc.c: Likewise.
40152         * benchtests/bench-memset-ifunc.c: Likewise.
40153         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40154         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40155         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40156         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40157         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40158         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40159         * benchtests/bench-strcat-ifunc.c: Likewise.
40160         * benchtests/bench-strchr-ifunc.c: Likewise.
40161         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40162         * benchtests/bench-strcmp-ifunc.c: Likewise.
40163         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40164         * benchtests/bench-strcpy-ifunc.c: Likewise.
40165         * benchtests/bench-strcspn-ifunc.c: Likewise.
40166         * benchtests/bench-strlen-ifunc.c: Likewise.
40167         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40168         * benchtests/bench-strncat-ifunc.c: Likewise.
40169         * benchtests/bench-strncmp-ifunc.c: Likewise.
40170         * benchtests/bench-strncpy-ifunc.c: Likewise.
40171         * benchtests/bench-strnlen-ifunc.c: Likewise.
40172         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40173         * benchtests/bench-strrchr-ifunc.c: Likewise.
40174         * benchtests/bench-strsep-ifunc.c: Likewise.
40175         * benchtests/bench-strspn-ifunc.c: Likewise.
40176         * benchtests/bench-strstr-ifunc.c: Likewise.
40178 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40180         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40182 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40184         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40185         * rt/aio.h: Likewise.
40186         * sysdeps/gnu/bits/utmp.h: Likewise.
40187         * sysdeps/gnu/bits/utmpx.h: Likewise.
40188         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40189         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40190         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40191         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40192         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40193         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40194         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40195         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40196         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40197         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40198         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40199         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40200         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40202         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40203         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40204         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40205         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40206         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40207         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40208         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40209         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40210         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40211         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40212         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40214         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40215         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40216         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40217         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40218         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40219         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40220         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40221         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40222         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40223         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40224         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40225         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40226         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40227         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40228         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40229         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40231 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40233         [BZ #16245]
40234         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40235         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40237 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40239         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40240         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40241         Likewise.
40243 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40245         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40246         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40247         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40248         (__fesetround): Remove define.
40249         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40250         rounding and exceptions handling.
40251         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40252         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40253         (__fe_nomask_env): Likewise.
40254         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40255         __fegetround instead of fegetround.
40256         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40257         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40259 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40261         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40262         it's there.
40264         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40266 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40268         [BZ #11157]
40269         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40270         (encrypt_r): Likewise.
40271         * malloc/obstack.h (obstack_free): Likewise.
40272         * posix/unistd.h (encrypt): Likewise.
40274 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40276         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40277         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40278         DL_CALL_DT_FINI() that call the functions directly.
40279         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40280         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40281         * elf/dl-fini.c: Likewise.
40283 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40285         * malloc/hooks.c (memalign_check): Add alignment rounding.
40286         * malloc/malloc.c (_mid_memalign): New function.
40287         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40288         Implement by calling _mid_memalign.
40289         * manual/probes.texi (Memory Allocation Probes): Remove
40290         memory_valloc_retry and memory_pvalloc_retry.
40292 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40294         * locale/programs/locarchive.c (open_archive): Add const
40295         qualifier to ARCHIVEFNAME and copy default fname to
40296         DEFAULT_FNAME.
40298         [BZ #15601]
40299         * libio/tst-widetext.input: Rename Oriya to Odia.
40300         * locale/iso-639.def: Likewise.
40302         * manual/probes.texi (Mathematical Function Probes): Add
40303         documentation for sin, cos, asin and acos probes.
40304         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40305         (__sin32): Add slowasin probe.
40306         (__cos32): Add slowacos probe.
40307         (__mpsin): Add slowsin probe.
40308         (__mpcos): Add slowcos probe.
40310 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40312         [BZ #15483]
40313         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40314         thread-local __sim_exceptions_thread and global
40315         __sim_exceptions_global.
40316         (__sim_disabled_exceptions): Change to thread-local
40317         __sim_disabled_exceptions_thread and global
40318         __sim_disabled_exceptions_global.
40319         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40320         and global __sim_round_mode_global.
40321         (__simulate_exceptions): Use thread-local floating-point state and
40322         set global state from it as needed.
40323         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40324         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40325         __sim_round_mode_thread.
40326         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40327         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40328         and global __sim_exceptions_global.
40329         (__sim_disabled_exceptions): Change to thread-local
40330         __sim_disabled_exceptions_thread and global
40331         __sim_disabled_exceptions_global.
40332         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40333         and global __sim_round_mode_global.
40334         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40335         (SIM_SET_GLOBAL): Likewise.
40336         * sysdeps/powerpc/soft-fp/sfp-machine.h
40337         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40338         __sim_round_mode_thread.
40339         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40340         __sim_disabled_exceptions_thread.
40341         (__sim_exceptions): Change to __sim_exceptions_thread.
40342         (__sim_disabled_exceptions): Change to
40343         __sim_disabled_exceptions_thread.
40344         (__sim_round_mode): Change to __sim_round_mode_thread.
40345         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40346         thread-local floating-point state and set global state from it as
40347         needed.
40348         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40349         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40350         (__sim_disabled_exceptions): Remove extern declaration.
40351         (feenableexcept): Use thread-local floating-point state and set
40352         global state from it as needed.
40353         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40354         extern declaration.
40355         (__sim_disabled_exceptions): Likewise.
40356         (__sim_round_mode): Likewise.
40357         (__fegetenv): Use thread-local floating-point state.
40358         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40359         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40360         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40361         floating-point state and set global state from it as needed.
40362         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40363         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40364         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40365         Likewise.
40366         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40367         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40368         Likewise.
40369         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40370         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40371         Use __sim_round_mode_thread.
40372         * math/test-fenv-tls.c: New file.
40373         * math/Makefile (tests): Add test-fenv-tls.
40374         ($(objpfx)test-fenv-tls): Depend on
40375         $(common-objpfx)nptl/libpthread.so.
40377 2013-11-19  Andreas Schwab  <schwab@suse.de>
40379         * locale/programs/locale.c (show_info): Decode wordarray elements.
40380         * locale/categories.def (LC_MONETARY): Add element for
40381         _NL_MONETARY_CRNCYSTR.
40382         * locale/C-monetary.c (conversion_rate): New variable.
40383         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40384         element.
40386 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40388         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40389         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40391 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40393         * elf/Makefile (tst-auxv): New test.
40394         * elf/tst-auxv.c: New
40395         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40397 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40399         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40400         (hidden_proto): Caller changed.
40401         (hidden_tls_proto): New macro.
40402         (libc_hidden_tls_proto): Likewise.
40403         (rtld_hidden_tls_proto): Likewise.
40404         (libm_hidden_tls_proto): Likewise.
40405         (libresolv_hidden_tls_proto): Likewise.
40406         (librt_hidden_tls_proto): Likewise.
40407         (libdl_hidden_tls_proto): Likewise.
40408         (libnss_files_hidden_tls_proto): Likewise.
40409         (libnsl_hidden_tls_proto): Likewise.
40410         (libnss_nisplus_hidden_tls_proto): Likewise.
40411         (libutil_hidden_tls_proto): Likewise.
40413 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40415         [BZ #10253]
40416         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40417         (decompose_rpath): Defer expansion to fillin_rpath.
40418         (_dl_init_paths): Pass linkmap to fillin_rpath.
40420 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40422         * benchtests/Makefile: Add strsep.
40423         * benchtests/bench-strsep.c: New file: strsep benchtest.
40424         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40426 2013-11-18  Andreas Schwab  <schwab@suse.de>
40428         * locale/programs/locale.c (show_info) [case byte]: Check for
40429         '\377' instead of '\177'.
40430         * locale/C-monetary.c (not_available): Always use "\377".
40431         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40432         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40433         detect unavailable sign_posn locale elements.
40434         * locale/localeconv.c (__localeconv): For grouping and
40435         mon_grouping handle "\177" and "\377" like no grouping.
40436         (INT_ELEM): New macro.  Use it to set all numeric members.
40437         * locale/programs/ld-monetary.c (monetary_read)
40438         <tok_mon_grouping>: Normalize single -1 to the empty string.
40439         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40440         Likewise.
40442 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40444         [BZ #16055]
40445         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40446         when we match (nil).
40447         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40449 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40451         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40452         (NO_TEST_INLINE): Update value.
40453         (ERRNO_UNCHANGED): Likewise.
40454         (ERRNO_EDOM): Likewise.
40455         (ERRNO_ERANGE): Likewise.
40456         (IGNORE_RESULT): Likewise.
40457         (check_float_internal): Check signs of NaN results if
40458         TEST_NAN_SIGN used.
40459         (check_complex): Pass TEST_NAN_SIGN flag through to second
40460         check_float_internal call.
40461         (copysign_test_data): Add tests with quiet NaNs as second
40462         argument.  Use TEST_NAN_SIGN.
40463         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40464         TEST_NAN_SIGN.
40465         (signbit_test_data): Add tests of quiet NaN argument.
40466         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40468         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40469         $ignore_result.
40470         (parse_args): Handle function results specified as IGNORE.
40471         * math/libm-test.inc (IGNORE_RESULT): New macro.
40472         (check_float_internal): Do not check numerical result if flag
40473         IGNORE_RESULT set.
40474         (check_complex): Pass through IGNORE_RESULT to second
40475         check_float_internal call.
40476         (check_int): Do not check numerical result if flag IGNORE_RESULT
40477         set.
40478         (check_long): Likewise.
40479         (check_bool): Likewise.
40480         (check_longlong): Likewise.
40481         (lrint_test_data): Add tests of infinite and NaN arguments.
40482         (lrint_tonearest_test_data): Likewise.
40483         (lrint_towardzero_test_data): Likewise.
40484         (lrint_downward_test_data): Likewise.
40485         (lrint_upward_test_data): Likewise.
40486         (llrint_test_data): Likewise.
40487         (llrint_tonearest_test_data): Likewise.
40488         (llrint_towardzero_test_data): Likewise.
40489         (llrint_downward_test_data): Likewise.
40490         (llrint_upward_test_data): Likewise.
40491         (lround_test_data): Likewise.
40492         (llround_test_data): Likewise.
40494         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40495         (ERRNO_UNCHANGED): Update value.
40496         (ERRNO_EDOM): Likewise.
40497         (ERRNO_ERANGE): Likewise.
40498         (NO_TEST_INLINE_FLOAT): New macro.
40499         (NO_TEST_INLINE_DOUBLE): Likewise.
40500         (enable_test): New function.
40501         (RUN_TEST_f_f): Check enable_test before running test.
40502         (RUN_TEST_2_f): Likewise.
40503         (RUN_TEST_fff_f): Likewise.
40504         (RUN_TEST_c_f): Likewise.
40505         (RUN_TEST_f_f1): Likewise.
40506         (RUN_TEST_fF_f1): Likewise.
40507         (RUN_TEST_fI_f1): Likewise.
40508         (RUN_TEST_ffI_f1): Likewise.
40509         (RUN_TEST_c_c): Likewise.
40510         (RUN_TEST_cc_c): Likewise.
40511         (RUN_TEST_f_i): Likewise.
40512         (RUN_TEST_f_i_tg): Likewise.
40513         (RUN_TEST_ff_i_tg): Likewise.
40514         (RUN_TEST_f_b): Likewise.
40515         (RUN_TEST_f_b_tg): Likewise.
40516         (RUN_TEST_f_l): Likewise.
40517         (RUN_TEST_f_L): Likewise.
40518         (RUN_TEST_fFF_11): Likewise.
40519         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40520         conditionals.
40521         (cosh_test_data): Likewise.
40522         (exp_test_data): Likewise.
40523         (expm1_test_data): Likewise.
40524         (hypot_test_data): Likewise.
40525         (pow_test_data): Likewise.
40526         (sinh_test_data): Likewise.
40527         (tanh_test_data): Likewise.
40528         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40529         flags argument.
40531         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40532         tests with quiet NaN input and output.
40533         (acosh_test_data): Likewise.
40534         (asin_test_data): Likewise.
40535         (asinh_test_data): Likewise.
40536         (atan_test_data): Likewise.
40537         (atanh_test_data): Likewise.
40538         (atan2_test_data): Likewise.
40539         (cbrt_test_data): Likewise.
40540         (cos_test_data): Likewise.
40541         (cosh_test_data): Likewise.
40542         (erf_test_data): Likewise.
40543         (erfc_test_data): Likewise.
40544         (exp_test_data): Likewise.
40545         (exp10_test_data): Likewise.
40546         (exp2_test_data): Likewise.
40547         (expm1_test_data): Likewise.
40548         (hypot_test_data): Likewise.
40549         (j0_test_data): Likewise.
40550         (j1_test_data): Likewise.
40551         (jn_test_data): Likewise.
40552         (lgamma_test_data): Likewise.
40553         (log_test_data): Likewise.
40554         (log10_test_data): Likewise.
40555         (log1p_test_data): Likewise.
40556         (log2_test_data): Likewise.
40557         (pow_test_data): Likewise.
40558         (scalb_test_data): Likewise.
40559         (sin_test_data): Likewise.
40560         (sincos_test_data): Likewise.
40561         (sinh_test_data): Likewise.
40562         (tan_test_data): Likewise.
40563         (tanh_test_data): Likewise.
40564         (tgamma_test_data): Likewise.
40565         (y0_test_data): Likewise.
40566         (y1_test_data): Likewise.
40567         (yn_test_data): Likewise.
40569         [BZ #16167]
40570         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40571         argument being NaN and avoid computations with second argument in
40572         that case.
40573         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40574         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40575         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40577 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40579         * locale/iso-639.def: Add Chitwani Tharu (the).
40581 2013-11-14  Andreas Schwab  <schwab@suse.de>
40583         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40584         word instead of empty string.
40586 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40589         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40591         (__fe_nomask_env): Likewise.
40593 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40595         * benchtests/bench-timing.h: Include time.h.
40597 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40599         [BZ #15997]
40600         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40601         to 3.4.0 for x32.
40602         * sysdeps/unix/sysv/linux/configure: Regenerated.
40604 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40606         [BZ #16151]
40607         * stdlib/strtod_l.c (round_and_return): Do not consider
40608         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40609         exponent one less than half the least subnormal exponent.
40610         * stdlib/test-strtod-round-data: Add more tests.
40611         * stdlib/tst-strtod-round.c (tests): Regenerated.
40613 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40615         [BZ #14143]
40616         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40617         (__fe_mask_env): Likewise.
40618         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40619         libm_hidden_proto and add function prototype.
40620         (__fe_mask_env): Add function prototype.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40622         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40624         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40626         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40628 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40630         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40631         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40633 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40635         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40636         of htab_find_slot().
40638 2013-11-11  David S. Miller  <davem@davemloft.net>
40640         [BZ #16150]
40641         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40642         symbol in the non-vis3 case in static builds.
40643         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40644         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40645         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40646         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40648 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40650         [BZ #387]
40651         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40652         it is empty.
40654 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40656         * benchtests/Makefile: Add bench-strtod.
40657         * benchtests/bench-strtod.c: New file: strtod benchtest
40659 2013-11-11  Andreas Schwab  <schwab@suse.de>
40661         [BZ #16153]
40662         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40663         terminating NUL in key length.
40665 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40667         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40668         Add artificial ODP entry for vDSO symbol for PPC64.
40669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40670         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40672 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40674         [BZ #15374]
40675         * nss/getent.c (services_keys): Recognize services starting with digit.
40677 2013-11-06  David S. Miller  <davem@davemloft.net>
40679         [BZ #15985]
40680         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40681         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40683 2013-11-06  Will Newton  <will.newton@linaro.org>
40685         * manual/memory.texi (Malloc Examples): Remove register
40686         keyword from examples.
40688 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40690         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40692 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40694         [BZ #6981]
40695         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40696         depending on [__GCC_IEC_559 > 0].
40697         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40698         depending on [__GCC_IEC_559_COMPLEX > 0].
40700 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40702         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40703         to iso-639.def.
40705 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40707         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40709 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40711         [BZ #16112]
40712         * malloc/malloc (malloc_info): Do not handle first bin as
40713         special case.
40715 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40717         * locale/iso-639.def: Add Central Nahuatl (nhn).
40719 2013-11-01  Bruno Haible  <bruno@clisp.org>
40721         [BZ #7003]
40722         * manual/math.texi (BSD Random): Specify range upper bound as
40723         in POSIX.
40725 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40727         * locale/iso-639.def: Add Meadow Mari (mhr).
40729 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40731         [BZ #14752], [BZ #15763]
40732         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40733         Validate name.
40734         * rt/tst_shm.c: Add test for escaping directory.
40736 2013-10-31  Andreas Schwab  <schwab@suse.de>
40738         [BZ #15917]
40739         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40740         followed by 'x' as part of digit sequence.
40741         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40743 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40745         [BZ #16037]
40746         * configure.ac: allow GNU Make 4.0 and greater.
40747         * configure: Regenerated.
40749 2013-10-30  Will Newton  <will.newton@linaro.org>
40751         [BZ #16038]
40752         * malloc/hooks.c (memalign_check): Limit alignment to the
40753         maximum representable power of two.
40754         * malloc/malloc.c (__libc_memalign): Likewise.
40755         * malloc/tst-memalign.c (do_test): Add test for very
40756         large alignment values.
40757         * malloc/tst-posix_memalign.c (do_test): Likewise.
40759 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40761         [BZ #11087]
40762         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40763         (munmap_chunk): Likewise.
40764         (mremap_chunk): Likewise.
40766 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40768         [BZ #15799]
40769         * stdlib/div.c (div): Remove obsolete code.
40770         * stdlib/ldiv.c (ldiv): Likewise.
40771         * stdlib/lldiv.c (lldiv): Likewise.
40773 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40775         [BZ #16071]
40776         * nss/nss_files/files-XXX.c (get_contents_ret): New
40777         enumerator.
40778         (get_contents): New function.
40779         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40781 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40783         * configure.in: Moved to ...
40784         * configure.ac: ... here. Change reference to configure.in
40785         to configure.ac.
40786         * sysdeps/arm/preconfigure.ac: ... here.
40787         configure.in to configure.ac.
40788         * sysdeps/gnu/configure.in: Moved to ...
40789         * sysdeps/gnu/configure.ac: ... here.
40790         * sysdeps/i386/configure.in: Moved to ...
40791         * sysdeps/i386/configure.ac: ... here.
40792         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40793         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40794         * sysdeps/mach/configure.in: Moved to ...
40795         * sysdeps/mach/configure.ac: ... here.
40796         * sysdeps/mach/hurd/configure.in: Moved to ...
40797         * sysdeps/mach/hurd/configure.ac: ... here.
40798         * sysdeps/powerpc/configure.in: Moved to ...
40799         * sysdeps/powerpc/configure.ac: ... here.
40800         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40801         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40802         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40803         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40804         * sysdeps/s390/s390-32/configure.in: Moved to ...
40805         * sysdeps/s390/s390-32/configure.ac: ... here.
40806         * sysdeps/s390/s390-64/configure.in: Moved to ...
40807         * sysdeps/s390/s390-64/configure.ac: ... here.
40808         * sysdeps/sh/configure.in: Moved to ...
40809         * sysdeps/sh/configure.ac: ... here.
40810         * sysdeps/sparc/configure.in: Moved to ...
40811         * sysdeps/sparc/configure.ac: ... here.
40812         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40813         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40814         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40815         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40816         * sysdeps/x86_64/configure.in: Moved to ...
40817         * sysdeps/x86_64/configure.ac: ... here.
40818         * sysdeps/x86_64/preconfigure.in: Moved to ...
40819         * sysdeps/x86_64/preconfigure.ac: ... here.
40820         * aclocal.m4: Change reference to configure.in to configure.ac.
40821         * config.h.in: Likewise.
40822         * manual/install.texi: Likewise.
40823         * manual/maint.texi: Likewise.
40824         * Makefile: Likewise.
40825         * malloc/Makefile: Likewise.
40826         * nscd/Makefile: Likewise.
40827         * Makeconfig: Change reference to configure.in and
40828         preconfigure.in to configure.ac and preconfigure.ac
40829         respectively.
40830         * INSTALL: Regenerated.
40831         * configure: Likewise.
40832         * sysdeps/gnu/configure: Likewise.
40833         * sysdeps/i386/configure: Likewise.
40834         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40835         * sysdeps/mach/configure: Likewise.
40836         * sysdeps/mach/hurd/configure: Likewise.
40837         * sysdeps/powerpc/configure: Likewise.
40838         * sysdeps/powerpc/powerpc32/configure: Likewise.
40839         * sysdeps/powerpc/powerpc64/configure: Likewise.
40840         * sysdeps/s390/s390-32/configure: Likewise.
40841         * sysdeps/s390/s390-64/configure: Likewise.
40842         * sysdeps/sh/configure: Likewise.
40843         * sysdeps/sparc/configure: Likewise.
40844         * sysdeps/unix/sysv/linux/configure: Likewise.
40845         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40846         * sysdeps/x86_64/configure: Likewise.
40847         * sysdeps/x86_64/preconfigure: Likewise.
40849 2013-10-29  Andreas Schwab  <schwab@suse.de>
40851         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40853 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40855         * benchtests/pow-inputs: Add new inputs.
40857         * benchtests/exp-inputs: Add new inputs.
40859         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40860         conditional check for return value.
40861         (__cos32): Likewise.
40863 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40865         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40866         to provide a boost for large inputs with word alignment.
40867         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40868         implementation based on optimized PPC64 strcpy.
40869         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40870         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40871         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40872         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40874 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40876         [BZ #2801]
40877         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40879 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40881         [BZ #14876]
40882         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40883         * time/tst-strptime.c (day_tests): Add testcase.
40885 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40887         [BZ #14029]
40888         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40890 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40892         [BZ #16074]
40893         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40894         MAP_FAILED on error.
40896 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40898         [BZ #16072]
40899         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40900         heap for large requests.
40902 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40904         [BZ #9954]
40905         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40906         result if the result has no associated interface.
40907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40908         interface for all 127.X.Y.Z addresses.
40910 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40912         * locale/iso-639.def: Add Ligurian (lij)
40914 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40916         [BZ #15825]
40917         * sunrpc/rpc_main.c: Document rpcgen -5.
40919 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40921         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40923 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40925         [BZ #10278]
40926         * posix/glob.c: Match only directories when trailing slash is present.
40927         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40928         (main): Add testcase.
40930 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40932         [BZ #15670]
40933         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40935 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40937         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40938         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40939         AUTH_DES and cindex for FIPS 140-2.
40940         (DES Encryption): Add cindex FIPS 46-3.
40942         * locale/locarchive.h (struct locarhandle): Add fname.
40943         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40944         if an optional argument was specified to --list-archive,
40945         otherwise NULL.
40946         * locale/programs/locarchive.c (show_archive_content): Take new
40947         argument fname and pass it via ah.fname to open_archive.
40948         * locale/programs/localedef.h: Update decl.
40949         (open_archive): If AH->fname is non-null, open that file
40950         rather than the default file name, and don't ignore ENOENT.
40951         (create_archive): Set AH.fname to NULL.
40952         (delete_locales_from_archive): Likewise.
40953         (add_locales_to_archive): Likewise.
40954         * locale/programs/locfile.c (write_all_categories): Likewise.
40956 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40957             Aldy Hernandez  <aldyh@redhat.com>
40959         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40960         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40961         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40962         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40963         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40964         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40965         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40966         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40967         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40968         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40969         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40970         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40971         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40972         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40973         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40974         Likewise.
40975         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40976         Likewise.
40977         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40978         Likewise.
40979         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40980         Likewise.
40981         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40982         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40983         Likewise.
40984         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40985         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40986         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40987         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40988         Likewise.
40989         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40990         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40991         * sysdeps/powerpc/preconfigure: Likewise.
40992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40993         Likewise.
40994         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40995         Replace contents of file by #include of <fenv_libc.h>.
40996         * sysdeps/powerpc/soft-fp/sfp-machine.h
40997         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40998         and <sys/prctl.h>.
40999         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41000         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41003         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41004         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41006         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41007         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41008         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41009         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41010         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41012         Allow copysignl PLT reference to be missing.
41014 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41015             Joseph Myers  <joseph@codesourcery.com
41017         [BZ #15948]
41018         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41019         single character.
41020         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41022 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41024         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41025         * elf/tst-tls1.c: Likewise.
41026         * elf/tst-tls10.h: Likewise.
41027         * elf/tst-tls14.c: Likewise.
41028         * elf/tst-tls2.c: Likewise.
41029         * elf/tst-tls3.c: Likewise.
41030         * elf/tst-tls4.c: Likewise.
41031         * elf/tst-tls5.c: Likewise.
41032         * elf/tst-tls6.c: Likewise.
41033         * elf/tst-tls7.c: Likewise.
41034         * elf/tst-tls8.c: Likewise.
41035         * elf/tst-tls9.c: Likewise.
41036         * elf/tst-tlsmod1.c: Likewise.
41037         * elf/tst-tlsmod13.c: Likewise.
41038         * elf/tst-tlsmod13a.c: Likewise.
41039         * elf/tst-tlsmod14a.c: Likewise.
41040         * elf/tst-tlsmod16a.c: Likewise.
41041         * elf/tst-tlsmod16b.c: Likewise.
41042         * elf/tst-tlsmod2.c: Likewise.
41043         * elf/tst-tlsmod3.c: Likewise.
41044         * elf/tst-tlsmod4.c: Likewise.
41045         * elf/tst-tlsmod5.c: Likewise.
41046         * elf/tst-tlsmod6.c: Likewise.
41048 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41050         [BZ #12486]
41051         * malloc/malloc.c: remove checks for statistics.
41053 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41055         [BZ #15277]
41056         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41057         * inet/tst-network.c: Add testcase.
41059 2013-10-17  Andreas Schwab  <schwab@suse.de>
41061         [BZ #15218]
41062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41063         to determine canonical name.
41065 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41067         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41068         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41070         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41072         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41073         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41074         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41075         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41076         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41077         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41078         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41079         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41080         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41081         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41082         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41091         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41092         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41097         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41110         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41119         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41126 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41128         [BZ #16041]
41129         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41130         make result into a quiet NaN.
41132 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41134         * soft-fp/adddf3.c: Fix horizontal whitespace.
41135         * soft-fp/addsf3.c: Likewise.
41136         * soft-fp/addtf3.c: Likewise.
41137         * soft-fp/divdf3.c: Likewise.
41138         * soft-fp/divsf3.c: Likewise.
41139         * soft-fp/divtf3.c: Likewise.
41140         * soft-fp/double.h: Likewise.
41141         * soft-fp/eqdf2.c: Likewise.
41142         * soft-fp/eqsf2.c: Likewise.
41143         * soft-fp/eqtf2.c: Likewise.
41144         * soft-fp/extenddftf2.c: Likewise.
41145         * soft-fp/extended.h: Likewise.
41146         * soft-fp/extendsfdf2.c: Likewise.
41147         * soft-fp/extendsftf2.c: Likewise.
41148         * soft-fp/extendxftf2.c: Likewise.
41149         * soft-fp/fixdfdi.c: Likewise.
41150         * soft-fp/fixdfsi.c: Likewise.
41151         * soft-fp/fixdfti.c: Likewise.
41152         * soft-fp/fixsfdi.c: Likewise.
41153         * soft-fp/fixsfsi.c: Likewise.
41154         * soft-fp/fixsfti.c: Likewise.
41155         * soft-fp/fixtfdi.c: Likewise.
41156         * soft-fp/fixtfsi.c: Likewise.
41157         * soft-fp/fixtfti.c: Likewise.
41158         * soft-fp/fixunsdfdi.c: Likewise.
41159         * soft-fp/fixunsdfsi.c: Likewise.
41160         * soft-fp/fixunsdfti.c: Likewise.
41161         * soft-fp/fixunssfdi.c: Likewise.
41162         * soft-fp/fixunssfsi.c: Likewise.
41163         * soft-fp/fixunssfti.c: Likewise.
41164         * soft-fp/fixunstfdi.c: Likewise.
41165         * soft-fp/fixunstfsi.c: Likewise.
41166         * soft-fp/fixunstfti.c: Likewise.
41167         * soft-fp/floatdidf.c: Likewise.
41168         * soft-fp/floatdisf.c: Likewise.
41169         * soft-fp/floatditf.c: Likewise.
41170         * soft-fp/floatsidf.c: Likewise.
41171         * soft-fp/floatsisf.c: Likewise.
41172         * soft-fp/floatsitf.c: Likewise.
41173         * soft-fp/floattidf.c: Likewise.
41174         * soft-fp/floattisf.c: Likewise.
41175         * soft-fp/floattitf.c: Likewise.
41176         * soft-fp/floatundidf.c: Likewise.
41177         * soft-fp/floatundisf.c: Likewise.
41178         * soft-fp/floatunditf.c: Likewise.
41179         * soft-fp/floatunsidf.c: Likewise.
41180         * soft-fp/floatunsisf.c: Likewise.
41181         * soft-fp/floatunsitf.c: Likewise.
41182         * soft-fp/floatuntidf.c: Likewise.
41183         * soft-fp/floatuntisf.c: Likewise.
41184         * soft-fp/floatuntitf.c: Likewise.
41185         * soft-fp/fmadf4.c: Likewise.
41186         * soft-fp/fmasf4.c: Likewise.
41187         * soft-fp/fmatf4.c: Likewise.
41188         * soft-fp/gedf2.c: Likewise.
41189         * soft-fp/gesf2.c: Likewise.
41190         * soft-fp/getf2.c: Likewise.
41191         * soft-fp/ledf2.c: Likewise.
41192         * soft-fp/lesf2.c: Likewise.
41193         * soft-fp/letf2.c: Likewise.
41194         * soft-fp/muldf3.c: Likewise.
41195         * soft-fp/mulsf3.c: Likewise.
41196         * soft-fp/multf3.c: Likewise.
41197         * soft-fp/negdf2.c: Likewise.
41198         * soft-fp/negsf2.c: Likewise.
41199         * soft-fp/negtf2.c: Likewise.
41200         * soft-fp/op-1.h: Likewise.
41201         * soft-fp/op-2.h: Likewise.
41202         * soft-fp/op-4.h: Likewise.
41203         * soft-fp/op-8.h: Likewise.
41204         * soft-fp/op-common.h: Likewise.
41205         * soft-fp/quad.h: Likewise.
41206         * soft-fp/single.h: Likewise.
41207         * soft-fp/soft-fp.h: Likewise.
41208         * soft-fp/sqrtdf2.c: Likewise.
41209         * soft-fp/sqrtsf2.c: Likewise.
41210         * soft-fp/sqrttf2.c: Likewise.
41211         * soft-fp/subdf3.c: Likewise.
41212         * soft-fp/subsf3.c: Likewise.
41213         * soft-fp/subtf3.c: Likewise.
41214         * soft-fp/truncdfsf2.c: Likewise.
41215         * soft-fp/trunctfdf2.c: Likewise.
41216         * soft-fp/trunctfsf2.c: Likewise.
41217         * soft-fp/trunctfxf2.c: Likewise.
41218         * soft-fp/unorddf2.c: Likewise.
41219         * soft-fp/unordsf2.c: Likewise.
41220         * soft-fp/unordtf2.c: Likewise.
41222 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41224         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41225         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41227 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41229         * elf/dl-libc.c: Clear initfini list after freeing.
41231 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41233         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41234         * soft-fp/addsf3.c: Likewise.
41235         * soft-fp/addtf3.c: Likewise.
41236         * soft-fp/divdf3.c: Likewise.
41237         * soft-fp/divsf3.c: Likewise.
41238         * soft-fp/divtf3.c: Likewise.
41239         * soft-fp/double.h: Likewise.
41240         * soft-fp/eqdf2.c: Likewise.
41241         * soft-fp/eqsf2.c: Likewise.
41242         * soft-fp/eqtf2.c: Likewise.
41243         * soft-fp/extenddftf2.c: Likewise.
41244         * soft-fp/extended.h: Likewise.
41245         * soft-fp/extendsfdf2.c: Likewise.
41246         * soft-fp/extendsftf2.c: Likewise.
41247         * soft-fp/extendxftf2.c: Likewise.
41248         * soft-fp/fixdfdi.c: Likewise.
41249         * soft-fp/fixdfsi.c: Likewise.
41250         * soft-fp/fixdfti.c: Likewise.
41251         * soft-fp/fixsfdi.c: Likewise.
41252         * soft-fp/fixsfsi.c: Likewise.
41253         * soft-fp/fixsfti.c: Likewise.
41254         * soft-fp/fixtfdi.c: Likewise.
41255         * soft-fp/fixtfsi.c: Likewise.
41256         * soft-fp/fixtfti.c: Likewise.
41257         * soft-fp/fixunsdfdi.c: Likewise.
41258         * soft-fp/fixunsdfsi.c: Likewise.
41259         * soft-fp/fixunsdfti.c: Likewise.
41260         * soft-fp/fixunssfdi.c: Likewise.
41261         * soft-fp/fixunssfsi.c: Likewise.
41262         * soft-fp/fixunssfti.c: Likewise.
41263         * soft-fp/fixunstfdi.c: Likewise.
41264         * soft-fp/fixunstfsi.c: Likewise.
41265         * soft-fp/fixunstfti.c: Likewise.
41266         * soft-fp/floatdidf.c: Likewise.
41267         * soft-fp/floatdisf.c: Likewise.
41268         * soft-fp/floatditf.c: Likewise.
41269         * soft-fp/floatsidf.c: Likewise.
41270         * soft-fp/floatsisf.c: Likewise.
41271         * soft-fp/floatsitf.c: Likewise.
41272         * soft-fp/floattidf.c: Likewise.
41273         * soft-fp/floattisf.c: Likewise.
41274         * soft-fp/floattitf.c: Likewise.
41275         * soft-fp/floatundidf.c: Likewise.
41276         * soft-fp/floatundisf.c: Likewise.
41277         * soft-fp/floatunsidf.c: Likewise.
41278         * soft-fp/floatunsisf.c: Likewise.
41279         * soft-fp/floatuntidf.c: Likewise.
41280         * soft-fp/floatuntisf.c: Likewise.
41281         * soft-fp/floatuntitf.c: Likewise.
41282         * soft-fp/fmadf4.c: Likewise.
41283         * soft-fp/fmasf4.c: Likewise.
41284         * soft-fp/fmatf4.c: Likewise.
41285         * soft-fp/gedf2.c: Likewise.
41286         * soft-fp/gesf2.c: Likewise.
41287         * soft-fp/getf2.c: Likewise.
41288         * soft-fp/ledf2.c: Likewise.
41289         * soft-fp/lesf2.c: Likewise.
41290         * soft-fp/letf2.c: Likewise.
41291         * soft-fp/muldf3.c: Likewise.
41292         * soft-fp/mulsf3.c: Likewise.
41293         * soft-fp/multf3.c: Likewise.
41294         * soft-fp/negdf2.c: Likewise.
41295         * soft-fp/negsf2.c: Likewise.
41296         * soft-fp/negtf2.c: Likewise.
41297         * soft-fp/op-1.h: Likewise.
41298         * soft-fp/op-2.h: Likewise.
41299         * soft-fp/op-4.h: Likewise.
41300         * soft-fp/op-8.h: Likewise.
41301         * soft-fp/op-common.h: Likewise.
41302         * soft-fp/quad.h: Likewise.
41303         * soft-fp/single.h: Likewise.
41304         * soft-fp/soft-fp.h: Likewise.
41305         * soft-fp/sqrtdf2.c: Likewise.
41306         * soft-fp/sqrtsf2.c: Likewise.
41307         * soft-fp/sqrttf2.c: Likewise.
41308         * soft-fp/subdf3.c: Likewise.
41309         * soft-fp/subsf3.c: Likewise.
41310         * soft-fp/subtf3.c: Likewise.
41311         * soft-fp/truncdfsf2.c: Likewise.
41312         * soft-fp/trunctfdf2.c: Likewise.
41313         * soft-fp/trunctfsf2.c: Likewise.
41314         * soft-fp/trunctfxf2.c: Likewise.
41315         * soft-fp/unorddf2.c: Likewise.
41316         * soft-fp/unordsf2.c: Likewise.
41317         * soft-fp/unordtf2.c: Likewise.
41319 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41321         [BZ #15672]
41322         * misc/error.c (error_tail): Fix possible buffer overflow.
41324 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41326         [BZ #13028]
41327         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41328         address.
41330 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41332         [BZ #832]
41333         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41334         testing pipefail option.
41336 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41338         * soft-fp/double.h: Indent preprocessor directives inside #if.
41339         * soft-fp/extended.h: Likewise.
41340         * soft-fp/op-2.h: Likewise.
41341         * soft-fp/op-4.h: Likewise.
41342         * soft-fp/op-common.h: Likewise.
41343         * soft-fp/quad.h: Likewise.
41344         * soft-fp/single.h: Likewise.
41345         * soft-fp/soft-fp.h: Likewise.
41347 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41349         * iconv/iconv_prog.c: Fix typos.
41350         * stdio-common/psiginfo-data.h: Likewise.
41352 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41354         [BZ #15764]
41355         * locale/setlocale.c: Fix typo.
41357 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41359         [BZ #16036]
41360         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41361         signaling NaN arguments.
41362         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41363         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41365         [BZ #14910]
41366         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41367         unordered operands.
41368         * soft-fp/gesf2.c (__gesf2): Likewise.
41369         * soft-fp/getf2.c (__getf2): Likewise.
41370         * soft-fp/ledf2.c (__ledf2): Likewise.
41371         * soft-fp/lesf2.c (__lesf2): Likewise.
41372         * soft-fp/letf2.c (__letf2): Likewise.
41374         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41375         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41376         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41377         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41378         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41379         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41380         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41381         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41382         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41383         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41384         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41385         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41386         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41387         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41388         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41389         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41390         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41391         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41392         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41393         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41394         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41395         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41396         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41397         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41398         * soft-fp/floattidf.c (__floattidf): Likewise.
41399         * soft-fp/floattisf.c (__floattisf): Likewise.
41400         * soft-fp/floattitf.c (__floattitf): Likewise.
41401         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41402         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41403         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41404         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41405         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41406         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41407         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41408         * soft-fp/gesf2.c (__gesf2): Likewise.
41409         * soft-fp/getf2.c (__getf2): Likewise.
41410         * soft-fp/ledf2.c (__ledf2): Likewise.
41411         * soft-fp/lesf2.c (__lesf2): Likewise.
41412         * soft-fp/letf2.c (__letf2): Likewise.
41414         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41415         Undefine and redefine.
41416         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41417         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41418         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41419         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41420         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41421         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41422         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41423         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41424         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41425         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41426         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41427         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41428         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41429         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41430         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41432         [BZ #16032]
41433         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41434         without decrementing exponent if mantissa >= that for the
41435         denominator, not >.
41436         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41437         denominator, not >.  Decrement exponent in < case instead of
41438         incrementing in >= case.
41439         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41440         without decrementing exponent if mantissa >= that for the
41441         denominator, not >.
41443         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41444         computing saturated result for unsigned overflow.
41446 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41447             Jeff Law  <law@redhat.com>
41449         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41450         (atan2Mp): Add systemtap probe marker.
41451         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41452         (__ieee754_log): Add systemtap probe marker.
41453         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41454         (atanMp): Add systemtap probe marker.
41455         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41456         (tanMp): Add systemtap probe marker.
41457         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41458         (__slowexp): Add systemtap probe marker.
41459         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41460         (__slowpow): Add systemtap probe marker.
41461         * manual/probes.texi: Document probes.
41463 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41465         [BZ #15362]
41466         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41467         written.
41468         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41469         written.
41470         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41471         written to buffer but not flushed.
41472         * libio/iofwrite_u.c:  Likewise.
41473         * libio/iopadn.c:  Return bytes returned even if EOF was
41474         encountered.
41475         * libio/iowpadn.c:  Likewise.
41476         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41477         if _IO_padn does not write the whole buffer.
41478         [!COMPILE_WPRINTF] (PAD): Likewise.
41480 2013-10-10  David S. Miller  <davem@davemloft.net>
41482         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41483         directory block.
41485 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41487         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41488         instead of FSF address.
41489         * soft-fp/fixdfti.c: Likewise.
41490         * soft-fp/fixsfti.c: Likewise.
41491         * soft-fp/fixtfti.c: Likewise.
41492         * soft-fp/fixunsdfti.c: Likewise.
41493         * soft-fp/fixunssfti.c: Likewise.
41494         * soft-fp/fixunstfti.c: Likewise.
41495         * soft-fp/floattidf.c: Likewise.
41496         * soft-fp/floattisf.c: Likewise.
41497         * soft-fp/floattitf.c: Likewise.
41498         * soft-fp/floatuntidf.c: Likewise.
41499         * soft-fp/floatuntisf.c: Likewise.
41500         * soft-fp/floatuntitf.c: Likewise.
41501         * soft-fp/trunctfxf2.c: Likewise.
41503         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41504         * soft-fp/fixdfti.c: Likewise.
41505         * soft-fp/fixsfti.c: Likewise.
41506         * soft-fp/fixtfti.c: Likewise.
41507         * soft-fp/fixunsdfti.c: Likewise.
41508         * soft-fp/fixunssfti.c: Likewise.
41509         * soft-fp/fixunstfti.c: Likewise.
41510         * soft-fp/floattidf.c: Likewise.
41511         * soft-fp/floattisf.c: Likewise.
41512         * soft-fp/floattitf.c: Likewise.
41513         * soft-fp/floatuntidf.c: Likewise.
41514         * soft-fp/floatuntisf.c: Likewise.
41515         * soft-fp/floatuntitf.c: Likewise.
41516         * soft-fp/trunctfxf2.c: Likewise.
41518 2013-10-10  David S. Miller  <davem@davemloft.net>
41520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41522 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41524         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41525         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41526         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41527         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41528         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41529         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41530         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41532         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41533         for NaNs before doing comparisons on argument.
41534         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41535         Likewise.
41537 2013-10-10  Will Newton  <will.newton@linaro.org>
41539         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41540         passed to _int_memalign does not overflow.
41542 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41544         * scripts/bench.pl: Add include-sources directive.
41545         * benchtests/README: Update documentation.
41547 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41549         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41550         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41551         instead of FP_INIT_ROUNDMODE.
41552         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41553         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41555         [BZ #16034]
41556         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41557         copy class of input value.
41558         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41559         not handle exceptions.
41560         * soft-fp/negsf2.c (__negsf2): Likewise.
41561         * soft-fp/negtf2.c (__negtf2): Likewise.
41562         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41564 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41566         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41567         semicolon.  From Linux kernel.
41569 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41571         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41573 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41575         [BZ #156]
41576         * manual/socket.texi: Added statement about buffer
41577         for gethostbyname2_r.
41579 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41581         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41582         Use .p2align directive instead, throughout.
41583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41584         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41585         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41586         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41587         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41588         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41589         * sysdeps/x86_64/strchr.S: Likewise.
41590         * sysdeps/x86_64/strrchr.S: Likewise.
41592 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41594         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41596         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41598         * sysdeps/generic/math_private.h (__mpsin1): Remove
41599         declaration.
41600         (__mpcos1): Likewise.
41601         (__mpsin): New argument __range_reduce.
41602         (__mpcos): Likewise.
41603         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41604         (slow): Use __mpsin and __mpcos.
41605         (slow1): Likewise.
41606         (slow2): Likewise.
41607         (sloww): Likewise.
41608         (sloww1): Likewise.
41609         (sloww2): Likewise.
41610         (bsloww): Likewise.
41611         (bsloww1): Likewise.
41612         (bsloww2): Likewise.
41613         (cslow2): Likewise.
41614         (csloww): Likewise.
41615         (csloww1): Likewise.
41616         (csloww2): Likewise.
41617         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41618         range_reduce.  Merge in __mpsin1.
41619         (__mpcos): Likewise.
41620         (__mpsin1): Remove.
41621         (__mpcos1): Likewise.
41623 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41625         * locale/loadlocale.c (_nl_intern_locale_data): Use
41626         LOCFILE_ALIGNED_P.
41627         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41628         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41629         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41630         obstack data is appropriately aligned.
41631         (obstack_int32_grow_fast): Likewise.
41632         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41633         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41634         (add_locale_uint32_array): Likewise.
41636 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41638         * benchtests/Makefile: Remove ARGLIST and RET variables.
41639         ($(objpfx)bench-%.c): Pass only function name to the script.
41640         * benchtests/README: Update documentation.
41641         * benchtests/acos-inputs: Add new directives.
41642         * benchtests/acosh-inputs: Likewise.
41643         * benchtests/asin-inputs: Likewise.
41644         * benchtests/asinh-inputs: Likewise.
41645         * benchtests/atan-inputs: Likewise.
41646         * benchtests/atanh-inputs: Likewise.
41647         * benchtests/cos-inputs: Likewise.
41648         * benchtests/cosh-inputs: Likewise.
41649         * benchtests/exp-inputs: Likewise.
41650         * benchtests/log-inputs: Likewise.
41651         * benchtests/pow-inputs: Likewise.
41652         * benchtests/rint-inputs: Likewise.
41653         * benchtests/sin-inputs: Likewise.
41654         * benchtests/sinh-inputs: Likewise.
41655         * benchtests/tan-inputs: Likewise.
41656         * benchtests/tanh-inputs: Likewise.
41657         * scripts/bench.pl: Add support for new directives.
41659 2013-10-07  Alan Modra  <amodra@gmail.com>
41661         * README: Fix careless merge.
41663 2013-10-05  Alan Modra  <amodra@gmail.com>
41665         * NEWS: Mention powerpc64le support and bugs fixed.
41666         * README: Both big-endian and little-endian powerpc64 supported.
41668 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41670         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41671         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41672         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41673         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41675 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41677         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41678         match prototype.
41680 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41682         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41683         Move -mhard-float appending from
41684         ports/sysdeps/powerpc/powerpc32/Makefile.
41685         [$(with-fp) = yes] (ASFLAGS): Likewise.
41686         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41687         * sysdeps/powerpc/nofpu: Move directory from
41688         ports/sysdeps/powerpc/nofpu.
41689         * sysdeps/powerpc/soft-fp: Move directory from
41690         ports/sysdeps/powerpc/soft-fp.
41691         * sysdeps/powerpc/powerpc32/405: Move directory from
41692         ports/sysdeps/powerpc/powerpc32/405.
41693         * sysdeps/powerpc/powerpc32/440: Move directory from
41694         ports/sysdeps/powerpc/powerpc32/440.
41695         * sysdeps/powerpc/powerpc32/464: Move directory from
41696         ports/sysdeps/powerpc/powerpc32/464.
41697         * sysdeps/powerpc/powerpc32/476: Move directory from
41698         ports/sysdeps/powerpc/powerpc32/476.
41699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41700         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41702         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41704         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41706         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41708         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41709         * README: Update for powerpc-*-linux-gnu software floating point
41710         support in libc.
41712         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41713         case to powerpc/powerpc32*.
41714         * sysdeps/unix/sysv/linux/configure: Regenerated.
41716         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41717         (_FPU_MASK_OM): Define as 0x04.
41718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41720         0x00c10080.
41721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41722         0x0000003c.
41723         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41726         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41727         getcontext_e500.
41728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41729         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41730         setcontext_e500.
41731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41732         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41733         and setcontext_e500.
41735 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41737         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41739 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41741         * manual/threads.texi (Default Thread Attributes): Fix typo.
41743 2013-10-04  Will Newton  <will.newton@linaro.org>
41745         * malloc/Makefile: Add tst-memalign.
41746         * malloc/tst-memalign.c: New file.
41748         * malloc/tst-posix_memalign.c: Add comments.
41749         (do_test): Add comments and call free on all potentially
41750         allocated pointers. Add space after cast.
41752         * malloc/tst-pvalloc.c: Add comments.
41753         (do_test): Add comments and call free on all potentially
41754         allocated pointers. Remove duplicate check for NULL pointer.
41755         Add space after cast.
41757         * malloc/tst-valloc.c: Add comments.
41758         (do_test): Add comments and call free on all potentially
41759         allocated pointers. Remove duplicate check for NULL pointer.
41760         Add space after cast.
41762 2013-10-04  Alan Modra  <amodra@gmail.com>
41764         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41765         Use stdint types in rather than __attribute__((mode())).
41766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41768 2013-10-04  Alan Modra  <amodra@gmail.com>
41770         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41771         Correct handling of unaligned relocs for little-endian.
41772         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41774 2013-10-04  Alan Modra  <amodra@gmail.com>
41776         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41777         * configure: Regenerate.
41778         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41779         * shlib-versions: Likewise.
41781 2013-10-04  Alan Modra  <amodra@gmail.com>
41783         * string/tester.c (test_memrchr): Increment reported test cycle.
41785 2013-10-04  Alan Modra  <amodra@gmail.com>
41787         * string/test-memcpy.c (do_one_test): When reporting errors, print
41788         string address and don't overrun end of string.
41790 2013-10-04  Alan Modra  <amodra@gmail.com>
41792         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41793         insrdi.  Make better use of reg selection to speed exit slightly.
41794         Schedule entry path a little better.  Remove useless "are we done"
41795         checks on entry to main loop.  Handle wrapping around zero address.
41796         Correct main loop count.  Handle single left-over word from main
41797         loop inline rather than by using loop_small.  Remove extra word
41798         case in loop_small caused by wrong loop count.  Add little-endian
41799         support.
41800         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41802         cache hint.
41803         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41804         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41805         support.  Avoid rlwimi.
41806         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41808 2013-10-04  Alan Modra  <amodra@gmail.com>
41810         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41811         insrdi.  Formatting.
41812         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41813         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41814         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41815         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41816         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41817         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41819 2013-10-04  Alan Modra  <amodra@gmail.com>
41821         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41822         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41823         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41824         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41825         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41826         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41827         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41829         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41830         use of regs.  Use power7 mtocrf.  Tidy function tails.
41832 2013-10-04  Alan Modra  <amodra@gmail.com>
41834         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41835         Formatting.  Consistently use rXXX register defines or rN defines.
41836         Use early exit labels that avoid restoring unused non-volatile regs.
41837         Make cr field use more consistent with rWORDn compares.  Rename
41838         regs used as shift registers for unaligned loop, using rN defines
41839         for short lifetime/multiple use regs.
41840         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41841         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41842         addi 1,1,64 to pop stack frame.  Simplify return value code.
41843         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41845 2013-10-04  Alan Modra  <amodra@gmail.com>
41847         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41848         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41849         rather than rlwimi.
41850         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41851         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41852         little-endian support.  Correct typos.
41853         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41854         rather than rlwimi.
41855         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41856         in loop and entry code to keep "and." results.
41857         (strchr): Add little-endian support.  Comment.  Move cntlzd
41858         earlier in tail.
41859         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41861 2013-10-04  Alan Modra  <amodra@gmail.com>
41863         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41864         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41865         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41866         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41868 2013-10-04  Alan Modra  <amodra@gmail.com>
41870         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41871         (rTMP): Define as r11.
41872         (strcmp): Add little-endian support.  Optimise tail.
41873         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41874         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41875         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41876         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41877         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41878         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41881 2013-10-04  Alan Modra  <amodra@gmail.com>
41883         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41884         little-endian support.  Remove unnecessary "are we done" tests.
41885         Handle "s" wrapping around zero and extremely large "size".
41886         Correct main loop count.  Handle single left-over word from main
41887         loop inline rather than by using small_loop.  Correct comments.
41888         Delete "zero" tail, use "end_max" instead.
41889         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41891 2013-10-04  Alan Modra  <amodra@gmail.com>
41893         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41894         support.  Don't branch over align.
41895         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41896         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41897         support.  Rearrange tmp reg use to suit.  Comment.
41898         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41900 2013-10-04  Alan Modra  <amodra@gmail.com>
41902         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41904 2013-10-04  Alan Modra  <amodra@gmail.com>
41906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41907         conditional form of branch and link when obtaining pc.
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41910 2013-10-04  Alan Modra  <amodra@gmail.com>
41912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41913         HIWORD/LOWORD.
41914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41917 2013-10-04  Alan Modra  <amodra@gmail.com>
41919         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41920         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41921         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41922         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41923         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41924         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41925         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41926         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41927         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41928         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41930 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41931             Alistair Popple <alistair@ozlabs.au.ibm.com>
41932             Alan Modra <amodra@gmail.com>
41934         [BZ #15723]
41935         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41936         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41937         _dl_hwcap access for little-endian.
41938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41939         destroy vmx regs when saving unaligned.
41940         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41941         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41942         destroy vmx regs when saving unaligned.
41944 2013-10-04  Alan Modra  <amodra@gmail.com>
41946         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41947         Don't use a union to pack hi/low value.
41949 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41951         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41952         for little-endian.
41953         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41955         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41956         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41957         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41959 2013-10-04  Alan Modra  <amodra@gmail.com>
41961         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41962         constants to usual value for .cst8 section, and remove redundant
41963         high address load.
41964         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41965         constant for 0x1p52.  Load little-endian words of double from
41966         correct stack offsets.
41968 2013-10-04  Alan Modra  <amodra@gmail.com>
41970         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41971         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41972         words of double from correct stack offsets.
41973         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41974         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41975         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41976         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41977         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41978         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41979         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41980         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41981         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41982         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41983         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41984         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41985         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41986         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41987         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41988         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41989         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41991 2013-10-04  Alan Modra  <amodra@gmail.com>
41993         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41994         64-bit int/double union.
41995         (_FPU_SETCW): Likewise.
41996         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41997         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41999 2013-10-04  Alan Modra  <amodra@gmail.com>
42001         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42002         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42004 2013-10-04  Alan Modra  <amodra@gmail.com>
42006         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42007         use vector int constants.
42008         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42010 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42012         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42013         array with long long.
42014         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42015         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42016         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42017         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42018         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42019         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42020         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42021         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42022         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42023         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42024         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42025         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42026         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42028 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42030         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42031         (__signbit): Likewise.  Correct for little-endian.
42032         (__signbitl): Call __signbit.
42033         (lrint): Correct for little-endian.
42034         (lrintf): Call lrint.
42036 2013-10-04  Alan Modra  <amodra@gmail.com>
42038         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42039         union 32-bit int array member with 64-bit int array.
42040         (t515, tm256): Double rather than long double.
42041         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42043 2013-10-04  Alan Modra  <amodra@gmail.com>
42045         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42046         Delete.
42047         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42048         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42049         version of math_ldbl.h.
42051 2013-10-04  Alan Modra  <amodra@gmail.com>
42053         [BZ #15734], [BZ #15735]
42054         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42055         all uses of ieee875 long double macros and unions.  Simplify test
42056         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42057         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42058         normalize after ldbl_extract_mantissa, and don't add hidden bit
42059         already handled.  Don't treat low word of ieee854 mantissa like
42060         low word of IBM long double and mask off bit when testing for
42061         zero.
42062         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42063         all uses of ieee875 long double macros and unions.  Simplify tests
42064         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42065         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42066         two1022, instead use their values.  Recognise that tests for large
42067         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42068         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42069         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42070         test for 0.0L and nan.  Correct negation.
42071         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42072         ieee875 long double macros and unions.  Correct output for large
42073         magnitude x.  Correct absolute value calculation.
42074         (__erfcl): Likewise.
42075         * math/libm-test.inc: Add tests for errors discovered in IBM long
42076         double versions of fmodl, remainderl, erfl and erfcl.
42078 2013-10-04  Alan Modra  <amodra@gmail.com>
42080         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42081         all uses of ieee854 long double macros and unions.  Simplify tests
42082         for long doubles that are fully specified by the high double.
42083         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42084         Likewise.
42085         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42086         Remove dead code too.
42087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42088         (__ieee754_ynl): Likewise.
42089         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42090         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42091         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42092         Remove dead code too.
42093         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42094         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42095         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42097         Simplify.
42098         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42099         Simplify.
42100         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42101         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42102         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42103         Comment on variable precision.
42104         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42105         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42106         Likewise.
42107         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42108         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42110         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42111         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42113 2013-10-04  Alan Modra  <amodra@gmail.com>
42115         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42116         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42117         all uses of ieee854 long double macros and unions.
42118         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42119         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42120         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42121         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42122         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42123         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42124         Likewise.
42125         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42126         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42127         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42128         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42129         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42130         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42131         Simplify sign and nan test too.
42132         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42133         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42134         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42135         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42136         Likewise.
42137         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42138         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42139         Likewise.
42140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42141         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42142         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42143         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42144         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42145         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42147 2013-10-04  Alan Modra  <amodra@gmail.com>
42149         * stdio-common/printf_size.c (__printf_size): Don't use
42150         union ieee854_long_double in fpnum union.
42151         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42152         signbit macro to retrieve sign from long double.
42153         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42154         retrieve sign from long double.
42155         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42156         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42157         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42158         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42159         * math/test-misc.c (main): Don't use union ieee854_long_double.
42161 2013-10-04  Alan Modra  <amodra@gmail.com>
42163         [BZ #15680]
42164         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42165         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42166         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42167         calculation.  Remove unnecessary test for denormal exponent.
42168         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42169         Correct handling of denormals.  Avoid undefined shift behaviour.
42170         Correct normalisation of low mantissa when low double is denormal.
42171         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42172         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42173         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42174         Correct normalisation of low mantissa.  Test for overflow of high
42175         mantissa and normalise.
42176         (ldbl_nearbyint): Use more readable constant for two52.
42177         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42178         (__mpn_construct_long_double): Fix test for overflow of high
42179         mantissa and correct normalisation.  Avoid undefined shift.
42181 2013-10-04  Alan Modra  <amodra@gmail.com>
42183         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42184         (union ibm_extended_long_double): Define as an array of ieee754_double.
42185         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42186         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42187         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42188         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42189         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42190         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42192         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42193         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42194         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42197 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42199         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42200         page size instead of calling getpagesize.
42202         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42203         (LOCFILE_ALIGN_MASK): Likewise.
42204         (LOCFILE_ALIGN_UP): Likewise.
42205         (LOCFILE_ALIGNED_P): Likewise.
42206         * locale/programs/ld-collate.c (collate_output): Use the new
42207         macros instead of __alignof__ (int32_t).
42208         * locale/weight.h (findidx): Likewise.
42210 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42212         [BZ #431]
42213         * manual/string.texi: Fix strncat and wcsncat.
42215 2013-10-03  Brooks Moses  <bmoses@google.com>
42217         [BZ #15915]
42218         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42219         * Makerules: ...here, and adjust associated comments.
42221 2013-10-02  Will Newton  <will.newton@linaro.org>
42223         * malloc/Makefile: Add tst-pvalloc.
42224         * malloc/tst-pvalloc.c: New file.
42226 2013-10-02  Will Newton  <will.newton@linaro.org>
42228         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42229         improve test coverage.
42231 2013-10-02  Will Newton  <will.newton@linaro.org>
42233         * malloc/Makefile: Add tst-posix_memalign.
42234         * malloc/tst-posix_memalign.c: New file.
42236 2013-10-01  Eric Blake  <eblake@redhat.com>
42238         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42239         Use __THROWNL rather than __THROW on static functions.
42241 2013-09-30  Petr Machata  <pmachata@redhat.com>
42243         * elf/elf.h (R_AARCH64_ABS16): New macro.
42244         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42245         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42246         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42247         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42248         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42249         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42250         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42251         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42252         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42253         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42254         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42255         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42256         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42257         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42258         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42259         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42260         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42261         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42262         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42263         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42264         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42265         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42266         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42267         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42268         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42269         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42270         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42271         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42272         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42273         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42274         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42275         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42276         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42277         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42278         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42279         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42280         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42281         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42282         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42283         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42284         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42285         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42286         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42287         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42288         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42289         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42290         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42291         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42292         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42293         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42294         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42295         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42296         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42297         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42298         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42299         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42300         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42301         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42302         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42303         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42304         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42305         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42306         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42307         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42308         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42309         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42310         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42311         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42312         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42313         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42314         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42315         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42316         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42317         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42318         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42319         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42320         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42321         (R_AARCH64_TLSDESC_LDR): Likewise.
42322         (R_AARCH64_TLSDESC_ADD): Likewise.
42323         (R_AARCH64_TLSDESC_CALL): Likewise.
42325 2013-09-30  Andreas Schwab  <schwab@suse.de>
42327         [BZ #15048]
42328         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42329         the nss database lookup.
42330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42331         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42333 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42335         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42337 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42339         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42340         ${Bash-specific parameter/pattern/string} parameter expansion.
42341         * sysdeps/unix/make-syscalls.sh: Likewise.
42343 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42345         * sysdeps/sh/stackguard-macros.h: New file.
42347 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42349         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42350         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42351         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42352         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42353         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42354         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42356 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42358         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42359         Fix thread ID register.
42361 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42363         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42364         [POSIX || UNIX98]: Require rather than permitting all symbols from
42365         <time.h>.
42366         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42367         element of struct sched_param.
42368         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42369         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42370         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42371         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42372         constant.
42374 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42376         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42377         argument calculation.
42379 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42381         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42382         Expect macro.
42383         [POSIX] (pthread_attr_t): Do not require type.
42384         [POSIX] (pthread_cond_t): Likewise.
42385         [POSIX] (pthread_condattr_t): Likewise.
42386         [POSIX] (pthread_key_t): Likewise.
42387         [POSIX] (pthread_mutex_t): Likewise.
42388         [POSIX] (pthread_mutexattr_t): Likewise.
42389         [POSIX] (pthread_once_t): Likewise.
42390         [POSIX] (pthread_t): Likewise.
42391         [POSIX-based standards] (pthread_atfork): Expect function.
42393 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42394             Richard Sandiford  <richard@codesourcery.com>
42396         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42397         (swap_endianness_p): New extern variable.
42398         (set_big_endian): New inline function.
42399         (maybe_swap_uint32): Likewise.
42400         (maybe_swap_uint32_array): Likewise.
42401         (maybe_swap_uint32_obstack): Likewise.
42402         * locale/programs/locfile.c: Include <stdbool.h>.
42403         (swap_endianness_p): New variable.
42404         (add_locale_uint32): Call maybe_swap_uint32.
42405         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42406         (write_locale_data): Call maybe_swap_uint32_array.
42407         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42408         maybe_swap_uint32.
42409         (obstack_int32_grow_fast): Likewise.
42410         (output_weightwc): Call maybe_swap_uint32_obstack.
42411         (collate_output): Likewise.
42412         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42413         (OPT_LITTLE_ENDIAN): Likewise.
42414         (options): Add --little-endian and --big-endian options.
42415         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42416         * locale/programs/locarchive.c: Include "locfile.h".
42417         (GET): New macro.
42418         (SET): Likewise.
42419         (INC): Likewise.
42420         (create_archive): Use the new macros to access fields of
42421         structures directly mapped from or written to locale archives.
42422         (oldlocrecentcmp): Likewise.
42423         (enlarge_archive): Likewise.
42424         (insert_name): Likewise.
42425         (add_alias): Likewise.
42426         (add_locale): Likewise.
42427         (delete_locales_from_archive): Likewise.
42428         (show_archive_content): Likewise.
42429         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42430         locale data.
42432 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42434         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42435         http://www.gnu.org/doc/freemanuals.texi.
42436         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42438 2013-09-24  Will Newton  <will.newton@linaro.org>
42440         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42441         macro.
42443 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42445         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42446         unsigned char.
42448 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42450         * manual/threads.texi (POSIX Threads): Fix a typo.
42452 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42454         [BZ #14547]
42455         * string/tst-strcoll-overflow.c: New test case.
42456         * string/Makefile (xtests): Add tst-strcoll-overflow.
42457         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42458         cache if string sizes may cause integer overflow.
42460         [BZ #14547]
42461         * string/strcoll_l.c (coll_seq): New members rule, idx,
42462         save_idx and back_us.
42463         (get_next_seq_nocache): New function.
42464         (do_compare_nocache): New function.
42465         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42466         when malloc fails.
42468 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42470         [BZ #15754]
42471         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42472         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42473         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42475         [BZ #15754]
42476         * elf/Makefile (tests): Add tst-ptrguard1.
42477         (tests-static): Add tst-ptrguard1-static.
42478         (tst-ptrguard1-ARGS): Define.
42479         (tst-ptrguard1-static-ARGS): Define.
42480         * elf/tst-ptrguard1.c: New file.
42481         * elf/tst-ptrguard1-static.c: New file.
42482         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42483         * sysdeps/i386/stackguard-macros.h: Likewise.
42484         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42485         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42486         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42487         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42488         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42489         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42491 2013-09-23  Hector Marco  <hecmargi@upv.es>
42492             Ismael Ripoll  <iripoll@disca.upv.es>
42493             Carlos O'Donell  <carlos@redhat.com>
42495         [BZ #15754]
42496         * sysdeps/generic/stackguard-macros.h: Define
42497         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42498         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42499         Define __pointer_chk_guard_local.
42500         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42501         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42503 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42505         [BZ #15859]
42506         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42508 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42510         * include/string.h (__ffs): Declare as hidden.
42511         * string/ffs.c (__ffs): Define as hidden.
42512         * sysdeps/i386/ffs.c (__ffs): Likewise.
42513         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42514         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42515         * sysdeps/s390/ffs.c (__ffs): Likewise.
42516         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42518 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42520         * NEWS: Mention malloc probes.
42522         * malloc/arena.c (new_heap): New memory_heap_new probe.
42523         (grow_heap): New memory_heap_more probe.
42524         (shrink_heap): New memory_heap_less probe.
42525         (heap_trim): New memory_heap_free probe.
42526         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42527         (systrim): New memory_sbrk_less probe.
42528         * manual/probes.texi: Document them.
42530         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42531         * manual/probes.texi: Document it.
42533         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42534         (__libc_realloc): Add memory_realloc_retry probe.
42535         (__libc_memalign): Add memory_memalign_retry probe.
42536         (__libc_valloc): Add memory_valloc_retry probe.
42537         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42538         (__libc_calloc): Add memory_calloc_retry probe.
42539         * manual/probes.texi: Document them.
42541         * malloc/arena.c (get_free_list): Add probe
42542         memory_arena_reuse_free_list.
42543         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42544         and memory_arena_reuse.
42545         (arena_get2) [!PER_THREAD]: Likewise.
42546         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42547         memory_arena_reuse_realloc.
42548         * manual/probes.texi: Document them.
42550         * malloc/malloc.c (__libc_free): Add
42551         memory_mallopt_free_dyn_thresholds probe.
42552         (__libc_mallopt): Add multiple memory_mallopt probes.
42553         * manual/probes.texi: Document them.
42555         * malloc/malloc.c: Include stap-probe.h.
42556         (__libc_mallopt): Add memory_mallopt probe.
42557         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42558         * manual/probes.texi: New.
42559         * manual/Makefile (chapters): Add probes.
42560         * manual/threads.texi: Set next node.
42562 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42564         [BZ #15963, #13985]
42565         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42566         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42567         Add `Chinese' to `nan' entry name.
42569 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42571         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42572         (POLYNOMIAL): Likewise.
42573         (TAYLOR_SINCOS): Likewise.
42574         (TAYLOR_SLOW): Likewise.
42575         (__sin): Use TAYLOR_SINCOS.
42576         (__cos): Likewise.
42577         (slow): Use TAYLOR_SLOW.
42578         (sloww): Likewise.
42579         (bsloww): Likewise.
42580         (csloww): Likewise.
42582 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42584         * stdlib/strtod_l.c: Fix buffer overrun.
42586 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42588         * benchtests/Makefile (bench): Add sincos.
42589         * benchtests/bench-sincos.c: New file.
42591         * math/libm-test.inc (cos_test_data): New test inputs.
42592         (sin_test_data): Likewise.
42594         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42595         macro.
42596         (__sin): Use it.
42597         (__cos): Likewise.
42598         (slow1): Likewise.
42599         (slow2): Likewise.
42600         (sloww1): Likewise.
42601         (sloww2): Likewise.
42602         (bsloww1): Likewise.
42603         (bsloww2): Likewise.
42604         (cslow2): Likewise.
42605         (csloww1): Likewise.
42606         (csloww2): Likewise.
42608         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42609         function.
42610         (__sin): Use it.
42611         (__cos): Likewise.
42613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42614         gotos.
42615         (__cos): Likewise.
42617 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42619         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42620         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42621         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42622         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42623         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42624         * elf/cache.c (print_entry): Handle the new cache flags.
42626 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42627             Aldy Hernandez  <aldyh@redhat.com>
42629         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42630         Change condition to [_SOFT_FLOAT].
42631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42643         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42646         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42647         declaration.
42649 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42651         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42652         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42653         (__longjmp): Use LOAD_GP to load saved GPRs.
42654         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42655         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42656         (__sigsetjmp): Use SAVE_GP to save GPRs.
42658         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42659         Do not append -msoft-float.
42660         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42662 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42664         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42666 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42668         [BZ #15966]
42669         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42670         (_FPU_GETCW): Use initial "__" on variable and field names but not
42671         on macro parameter name.
42672         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42673         parentheses around reference to macro parameter.
42675 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42677         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42678         prototype.
42679         (ctype_startup): Use uint32_t in cast and sizeof for
42680         ctype->charnames.
42682 2013-09-11  Jia Liu  <proljc@gmail.com>
42684         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42685         __daddr_t_defined.
42686         [__FreeBSD__]: Likewise.
42688 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42691         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42692         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42693         (strchr): Remove __strchr_sse42 ifunc selection.
42694         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42695         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42697 2013-09-11  Will Newton  <will.newton@linaro.org>
42699         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42700         parameter to RES. Remove hardcoded 1000 value.
42701         * benchtests/bench-skeleton.c (main): Pass RES parameter
42702         to TIMING_INIT and multiply result by 1000.
42704 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42708 2013-09-11  Andreas Schwab  <schwab@suse.de>
42710         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42711         if not defined.
42712         (O_TMPFILE) [__USE_GNU]: Define.
42713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42714         Define.
42716 2013-09-11  Will Newton  <will.newton@linaro.org>
42718         [BZ #15857]
42719         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42720         does not overflow.
42722 2013-09-11  Will Newton  <will.newton@linaro.org>
42724         [BZ #15856]
42725         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42726         does not overflow.
42728 2013-09-11  Will Newton  <will.newton@linaro.org>
42730         [BZ #15855]
42731         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42732         does not overflow.
42734 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42736         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42737         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42740         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42742 2013-09-10  Allan McRae  <allan@archlinux.org>
42744         [BZ #15748]
42745         * manual/arith.texi (Parsing of Floats): Clarify
42746         cross-reference.
42748         [BZ #15849]
42749         * manual/install.texi (Running make install): Mention
42750         --enable-pt-chown.
42751         * INSTALL: Regenerated.
42753 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42755         * csu/init-first.c (_init): Remove the !SHARED condition around
42756         FPU control word initialization.
42757         * elf/dl-support.c (_dl_fpu_control): New variable.
42758         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42759         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42760         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42761         * math/test-fpucw-static.c: New file.
42762         * math/test-fpucw-ieee.c: New file.
42763         * math/test-fpucw-ieee-static.c: New file.
42764         * math/Makefile (tests): Add `test-fpucw-ieee' and
42765         `$(tests-static)'.
42766         (tests-static): New variable.
42767         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42768         dependency to...
42769         [($(build-shared),yes)]
42770         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42771         ... this.
42772         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42773         New dependency.
42775 2013-09-09  Allan McRae  <allan@archlinux.org>
42777         [BZ #15939]
42778         * manual/string.texi (Collation Functions): Fix typo in
42779         strcoll example.
42780         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42782         [BZ #15893]
42783         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42785         [BZ #15892]
42786         * libio/memstream.c (open_memstream): Fix memory leak.
42787         * libio/wmemstream.c (open_wmemstream): Likewise.
42789         [BZ #15895]
42790         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42792 2013-09-09  Will Newton  <will.newton@linaro.org>
42794         * malloc/Makefile: Add tst-realloc to tests.
42795         * malloc/tst-realloc.c: New file.
42797 2013-09-09  Allan McRae  <allan@archlinux.org>
42799         [BZ #15844]
42800         * COPYING: Update from GNU website to fix FSF address.
42801         * COPYING.LIB: Likewise.
42803 2013-09-06  David S. Miller  <davem@davemloft.net>
42805         * po/zh_TW.po: Update Chinese (traditional) translation from
42806         translation project.
42808 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42809             Joseph Myers  <joseph@codesourcery.com>
42811         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42812         "localeinfo.h".
42813         (obstack_chunk_alloc): New macro.
42814         (obstack_chunk_free): Likewise.
42815         (record_offset): New function.
42816         (init_locale_data): Likewise.
42817         (align_locale_data): Likewise.
42818         (add_locale_empty): Likewise.
42819         (add_locale_raw_data): Likewise.
42820         (add_locale_raw_obstack): Likewise.
42821         (add_locale_string): Likewise.
42822         (add_locale_wstring): Likewise.
42823         (add_locale_uint32): Likewise.
42824         (add_locale_uint32_array): Likewise.
42825         (add_locale_char): Likewise.
42826         (start_locale_structure): Likewise.
42827         (end_locale_structure): Likewise.
42828         (start_locale_prelude): Likewise.
42829         (end_locale_prelude): Likewise.
42830         (write_locale_data): Take locale_file structure rather than an
42831         iovec.
42832         * locale/programs/locfile.h: Include "obstack.h".
42833         (struct locale_file): Change to store locale file contents instead
42834         of header.
42835         (init_locale_data): New prototype.
42836         (align_locale_data): Likewise.
42837         (add_locale_empty): Likewise.
42838         (add_locale_raw_data): Likewise.
42839         (add_locale_raw_obstack): Likewise.
42840         (add_locale_string): Likewise.
42841         (add_locale_wstring): Likewise.
42842         (add_locale_uint32): Likewise.
42843         (add_locale_uint32_array): Likewise.
42844         (add_locale_char): Likewise.
42845         (start_locale_structure): Likewise.
42846         (end_locale_structure): Likewise.
42847         (start_locale_prelude): Likewise.
42848         (end_locale_prelude): Likewise.
42849         (write_locale_data): Update prototype.
42850         * locale/programs/3level.h (struct TABLE): Remove result field.
42851         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42852         Use new locale_file interface.
42853         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42854         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42855         * locale/programs/ld-address.c (address_output): Use new
42856         locale_file interface.
42857         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42858         NO_ADD_LOCALE.
42859         (collate_finish): Don't call collseq_table_finalize.
42860         (collate_output): Use new locale_file interface.
42861         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42862         in file.
42863         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42864         (TABLE): Move defines earlier in file.
42865         (ELEMENT): Likewise.
42866         (DEFAULT): Likewise.
42867         (wctrans_table_add): Move macro and inline function earlier in
42868         file.
42869         (struct wctype_table): Move type earlier in file.
42870         (add_locale_wctype_table): New static prototype.
42871         (struct locale_ctype_t): Use logical types instead of struct iovec
42872         pointers for members.
42873         (ctype_output): Use new locale_file interface.
42874         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42875         new locale_file interface.
42876         (allocate_arrays): Update for use of new locale_file interface.
42877         * locale/programs/ld-identification.c (identification_output): Use
42878         new locale_file interface.
42879         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42880         * locale/programs/ld-messages.c (messages_output): Likewise.
42881         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42882         * locale/programs/ld-name.c (name_output): Likewise.
42883         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42884         * locale/programs/ld-paper.c (paper_output): Likewise.
42885         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42886         * locale/programs/ld-time.c (time_output): Likewise.
42888 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42890         * benchtests/Makefile: Add memrchr benchmark.
42891         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42892         benchmark as memrchr.
42893         * benchtests/bench-memrchr-ifunc.c: New file.
42894         * benchtests/bench-memrchr.c: New file.
42896 2013-09-06   Will Newton  <will.newton@linaro.org>
42898         * benchtests/Makefile (string-bench): Add memcpy.
42900 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42901             Cong Wang  <amwang@redhat.com>
42903         [BZ #15850]
42904         * sysdeps/unix/sysv/linux/bits/in.h
42905         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42906         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42907         before __USE_KERNEL_IPV6_DEFS uses.
42908         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42909         IPPROTO_BEETPH.
42910         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42911         sockaddr_in6, or ipv6_mreq.
42913 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42915         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42916         memory access for final bytes in some large inputs.
42917         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42919 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42921         * string/test-memrchr.c: New file.
42922         * string/test-memrchr-ifunc.c: New file.
42923         * string/Makefile: Add new memrchr testcase.
42925 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42927         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42928         fanotify_init returns EPERM.
42930 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42932         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42933         errors.
42934         (top level): Treat second token from macro or constant entries for
42935         allowed headers as allowed.
42936         * include/complex.h: Condition internal declarations on
42937         [!_ISOMAC].
42938         * include/fenv.h: Condition include of <stdbool.h> and internal
42939         declarations on [!_ISOMAC].
42941 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42943         [BZ #15923]
42944         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42946 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42948         * configure.in (--enable-versioning): Remove configure option.
42949         (libc_cv_asm_symver_directive): Remove configure test.
42950         (libc_cv_ld_version_script_option): Likewise.
42951         (VERSIONING): Remove variable and AC_SUBST.
42952         (DO_VERSIONING): Remove AC_DEFINE.
42953         * configure: Regenerated.
42954         * config.h.in (DO_VERSIONING): Remove macro.
42955         * Makerules [$(versioning) = yes]: Change conditionals to
42956         [$(build-shared) = yes].
42957         * config.make.in (versioning): Remove variable.
42958         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42959         [$(build-shared) = yes].
42960         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42961         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42962         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42963         [$(build-shared) = yes].
42964         * extra-lib.mk [$(versioning) = yes]: Likewise.
42965         * hurd/Makefile [$(versioning) = yes]: Likewise.
42966         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42967         [SHARED].
42968         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42969         [SHARED].
42970         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42971         [SHARED && !NO_HIDDEN].
42972         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42973         [SHARED].
42974         [SHARED && DO_VERSIONING]: Likewise..
42975         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42976         [$(build-shared) = yes].
42977         * manual/install.texi (--disable-versioning): Remove
42978         documentation.
42979         * INSTALL: Regenerated.
42980         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42981         to [SHARED].
42982         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42983         [$(build-shared) = yes].
42984         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42985         * sysdeps/i386/i686/multiarch/strstr-c.c
42986         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42987         [SHARED && !NO_HIDDEN].
42988         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42989         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42990         * sysdeps/powerpc/powerpc32/dl-machine.c
42991         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42992         * sysdeps/powerpc/powerpc32/sysdep.h
42993         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42994         to [SHARED && PIC && !NO_HIDDEN].
42995         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42996         conditional to [SHARED].
42998 2013-09-04   Will Newton  <will.newton@linaro.org>
43000         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43001         * benchtests/bench-string.h: Include bench-timing.h instead
43002         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43003         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43004         call to HP_TIMING_DIFF_INIT.
43005         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43006         instead of hp-timing.h macros.
43007         * benchtests/bench-memchr.c: Likewise.
43008         * benchtests/bench-memcmp.c: Likewise.
43009         * benchtests/bench-memcpy.c: Likewise.
43010         * benchtests/bench-memmem.c: Likewise.
43011         * benchtests/bench-memmove.c: Likewise.
43012         * benchtests/bench-memset.c: Likewise.
43013         * benchtests/bench-rawmemchr.c: Likewise.
43014         * benchtests/bench-strcasecmp.c: Likewise.
43015         * benchtests/bench-strcasestr.c: Likewise.
43016         * benchtests/bench-strcat.c: Likewise.
43017         * benchtests/bench-strchr.c: Likewise.
43018         * benchtests/bench-strcmp.c: Likewise.
43019         * benchtests/bench-strcpy.c: Likewise.
43020         * benchtests/bench-strcpy_chk.c: Likewise.
43021         * benchtests/bench-strlen.c: Likewise.
43022         * benchtests/bench-strncasecmp.c: Likewise.
43023         * benchtests/bench-strncat.c: Likewise.
43024         * benchtests/bench-strncmp.c: Likewise.
43025         * benchtests/bench-strncpy.c: Likewise.
43026         * benchtests/bench-strnlen.c: Likewise.
43027         * benchtests/bench-strpbrk.c: Likewise.
43028         * benchtests/bench-strrchr.c: Likewise.
43029         * benchtests/bench-strspn.c: Likewise.
43030         * benchtests/bench-strstr.c: Likewise.
43032 2013-09-04  Will Newton  <will.newton@linaro.org>
43034         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43036 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43038         [BZ #15427]
43039         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43040         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43041         * math/libm-test.inc (lgamma_test_data): Add more tests.
43042         * sysdeps/i386/fpu/libm-test-ulps: Update.
43043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43045 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43047         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43049         Add ifunc.
43050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43051         Add strcmp-sse2-unaligned
43052         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43054 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43056         * Versions.def (libc): Add GLIBC_2.19.
43058 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43060         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43061         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43063 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43065         [BZ #14155]
43066         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43067         intermediate calculations in recurrence.
43068         (__ieee754_ynf): Likewise.
43069         * math/libm-test.inc (jn_test_data): Do not allow spurious
43070         underflow exception.  Add more tests.
43071         (yn_test_data): Add more tests.
43072         * sysdeps/i386/fpu/libm-test-ulps: Update.
43073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43075 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43077         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43079 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43081         * csu/init-first.c: Fix then/than typos.
43082         * locale/programs/ld-collate.c: Likewise.
43083         * locale/programs/linereader.h: Likewise.
43084         * manual/charset.texi: Likewise.
43085         * manual/filesys.texi: Likewise.
43086         * manual/stdio.texi: Likewise.
43087         * manual/string.texi: Likewise.
43088         * stdlib/fmtmsg.c: Likewise.
43089         * sysdeps/i386/stpncpy.S: Likewise.
43090         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43091         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43092         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43093         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43095 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43097         * elf/dl-open.c: Fix typos.
43098         * iconvdata/gbbig5.c: Likewise.
43099         * iconvdata/iso-2022-jp.c: Likewise.
43100         * iconv/gconv_int.h: Likewise.
43101         * iconv/loop.c: Likewise.
43102         * nis/rpcsvc/nis.h: Likewise.
43103         * resolv/ns_name.c: Likewise.
43104         * stdio-common/vfscanf.c: Likewise.
43105         * streams/stropts.h: Likewise.
43106         * sunrpc/rpc_thread.c: Likewise.
43107         * sysdeps/i386/strpbrk.S: Likewise.
43108         * sysdeps/ieee754/k_standard.c: Likewise.
43109         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43111         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43112         * sysdeps/mach/hurd/profil.c: Likewise.
43113         * sysdeps/s390/dl-procinfo.h: Likewise.
43114         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43115         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43116         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43117         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43118         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43120 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43122         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43125 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43127         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43128         aix specific files.
43129         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43130         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43131         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43132         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43133         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43134         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43135         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43136         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43138 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43139             Roland McGrath  <roland@hack.frob.com>
43141         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43142         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43144 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43146         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43147         __executable_start symbol instead of _start.
43149 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43151         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43152         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43153         Move macros to...
43154         * sysdeps/gnu/ldsodefs.h: ... this new file.
43156         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43157         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43158         instead of ELFOSABI_LINUX.
43160         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43161         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43162         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43163         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43164         Likewise.
43165         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43166         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43167         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43168         Likewise.
43169         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43170         (ibm_extended_long_double): Add ieee_nan member.
43171         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43172         (do_test): New function.
43174         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43175         TEST_TRUNC.
43176         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43177         functions, renamed from truncdfsf_test, trunctfsf_test,
43178         trunctfdf_test.
43179         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43180         functions.
43181         (do_test): Run all these.
43183 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43185         * argp/argp-help.c: Fix typos.
43186         * argp/argp-parse.c: Likewise.
43187         * debug/backtracesyms.c: Likewise.
43188         * elf/elf.h: Likewise.
43189         * malloc/malloc.c: Likewise.
43190         * nis/nis_print.c: Likewise.
43191         * resolv/res_comp.c: Likewise.
43192         * stdlib/stdlib.h: Likewise.
43193         * sunrpc/clnt_tcp.c: Likewise.
43194         * sunrpc/clnt_udp.c: Likewise.
43195         * sunrpc/clnt_unix.c: Likewise.
43196         * sysdeps/unix/bsd/ptsname.c: Likewise.
43197         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43198         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43200         Likewise.
43201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43202         Likewise.
43203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43204         Likewise.
43205         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43207 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43209         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43212 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43214         [BZ #15897]
43215         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43216         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43217         ($(objpfx)bug-dl-leaf): New rule.
43218         ($(objpfx)bug-dl-leaf.so): Likewise.
43219         ($(objpfx)bug-dl-leaf.out): Likewise.
43220         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43221         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43222         * dlfcn/bug-dl-leaf.c: New test.
43223         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43224         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43225         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43226         (dlclose): Likewise.
43227         (dlmopen): Likewise.
43229 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43231         * include/netdb.h [!_ISOMAC]:
43232         Don't include <tls.h>.
43233         (h_errno, __libc_h_errno): Move declaration and macros out of
43234         [_LIBC_REENTRANT].
43236         * include/resolv.h [_RESOLV_H_]:
43237         Don't include <tls.h>.
43238         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43239         * resolv/res_libc.c: Don't include <tls.h>.
43240         (_res): Use __attribute__ ((nocommon)) in place of
43241         __attribute__ ((section (".bss"))).
43243         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43244         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43246         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43248         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43249         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43251         * resolv/res_mkquery.c: Include <sys/time.h>.
43253         * inet/ifreq.c: Moved to ...
43254         * sysdeps/unix/ifreq.c: ... here.
43255         * inet/ifreq.c: New file, true stub version.
43257         * socket/sa_len.c: New file.
43258         * socket/Makefile (aux): Add it.
43259         * sysdeps/unix/sysv/linux/Makefile
43260         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43261         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43262         and #include <socket/sa_len.c>.
43263         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43264         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43266         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43267         * bits/socket.h: ... here.
43269         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43270         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43271         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43273 2013-08-27  Andreas Schwab  <schwab@suse.de>
43275         [BZ #15736]
43276         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43277         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43278         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43279         * string/test-strcasecmp.c (test_main): Run tests in several
43280         locales.
43281         * string/test-strncasecmp.c (test_main): Likewise.
43283         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43284         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43285         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43286         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43287         (__strncasecmp_ssse3) [PIC]: Likewise.
43289 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43291         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43293         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43294         instead of explicitly declaring xdecrypt.
43295         * nis/nss_nis/nis-publickey.c: Likewise.
43297 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43299         [BZ #15890]
43300         * nscd/aicache.c: Include res_hconf.h.
43301         (addhstaiX): Initialize res_hconf.
43303 2013-08-26  Andreas Schwab  <schwab@suse.de>
43305         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43306         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43308 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43310         * nscd/aicache.c (addhstaiX): Fix indentation.
43312 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43314         * configure.ac: Quote $build_pt_chown test.
43315         * configure: Regenerated.
43317 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43319         [BZ #15532]
43320         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43321         * math/s_cexpf.c (__cexpf): Likewise.
43322         * math/s_cexpl.c (__cexpl): Likewise.
43323         * math/libm-test.inc (cexp_test_data): Correct expected return
43324         value for NaN + i0.  Add another test.
43326 2013-08-22  David S. Miller  <davem@davemloft.net>
43328         * po/ca.po: Update Catalan translation from translation project.
43329         * po/uk.po: Add Ukrainian translations from translation project.
43331 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43333         [BZ #15797]
43334         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43335         is infinite, not alongside NaN test.
43336         * math/s_fdimf.c (__fdimf): Likewise.
43337         * math/s_fdiml.c (__fdiml): Likewise.
43338         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43339         errno is unchanged.
43341 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43343         * argp/argp-help.c: Fix typos.
43344         * crypt/speeds.c: Likewise.
43345         * csu/check_fds.c: Likewise.
43346         * elf/dl-load.c: Likewise.
43347         * elf/dl-open.c: Likewise.
43348         * elf/reldep3.c: Likewise.
43349         * elf/reldep.c: Likewise.
43350         * elf/sprof.c: Likewise.
43351         * iconv/iconv_charmap.c: Likewise.
43352         * iconv/skeleton.c: Likewise.
43353         * iconv/strtab.c: Likewise.
43354         * io/lockf64.c: Likewise.
43355         * libio/libioP.h: Likewise.
43356         * resolv/gai_notify.c: Likewise.
43357         * resolv/ns_name.c: Likewise.
43358         * resolv/ns_samedomain.c: Likewise.
43359         * resolv/res_send.c: Likewise.
43360         * stdlib/random.c: Likewise.
43361         * sunrpc/rpc/xdr.h: Likewise.
43362         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43363         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43369         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43370         * sysdeps/mach/hurd/check_fds.c: Likewise.
43371         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43372         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43373         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43374         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43375         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43376         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43377         * sysdeps/pthread/aio_notify.c: Likewise.
43378         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43379         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43381         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43382         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43384 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43386         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43387         version if bit_Slow_SSE4_2 is set.
43388         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43391 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43393         [BZ #15867]
43394         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43395         trampoline stack frame information.
43396         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43397         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43398         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43399         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43400         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43401         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43402         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43403         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43404         sa_flags value.
43405         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43406         interrupting a syscall and set with option SA_SIGINFO.
43408 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43410         [BZ #15531]
43411         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43412         argument is infinite.
43413         * math/s_cprojf.c (__cprojf): Likewise.
43414         * math/s_cprojl.c (__cprojl): Likewise.
43415         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43416         * math/libm-test.inc (cproj_test_data): Add more tests.
43418         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43420         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43421         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43422         size.  Use __ffs to determine corresponding shift.
43424 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43425             Roland McGrath  <roland@hack.frob.com>
43427         * Makefile (INSTALL): Remove trailing blank lines from output of
43428         makeinfo.
43430 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43432         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43433         Align 32 bit compat elf_greg to 8 bytes.
43435 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43437         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43439 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43441         * string/strcoll_l.c (coll_seq): New structure.
43442         (get_next_seq_cached): New function.
43443         (get_next_seq): New function.
43444         (do_compare): New function.
43445         (STRCOLL): Use GNU style definition.  Simplify implementation
43446         by using get_next_seq, get_next_seq_cached and do_compare.
43448 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43450         [BZ #14699]
43451         CVE-2013-4237
43452         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43453         member.
43454         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43455         member.
43456         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43457         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43458         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43459         conditional.
43460         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43461         GETDENTS_64BIT_ALIGNED.
43462         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43463         * manual/filesys.texi (Reading/Closing Directory): Document
43464         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43465         strongly.
43466         * manual/conf.texi (Limits for Files): Add portability note to
43467         NAME_MAX, PATH_MAX.
43468         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43470 2013-08-13  Andreas Schwab  <schwab@suse.de>
43472         [BZ #15749]
43473         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43474         of fabs.
43475         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43476         LDBL_MAX_EXP >= 16384]: Add tests for it.
43478 2013-08-12  David S. Miller  <davem@davemloft.net>
43480         * version.h (RELEASE): Set to "development".
43481         (VERSION): Set to "2.18.90".
43482         * NEWS: Add 2.19 section.
43484 2013-08-03  David S. Miller  <davem@davemloft.net>
43486         * po/ko.po: Update Korean translation from translation project.
43488 2013-08-01  David S. Miller  <davem@davemloft.net>
43490         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43491         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43492         Bilka.
43494 2013-07-30  David S. Miller  <davem@davemloft.net>
43496         * po/fr.po: Update French translation from translation project.
43498 2013-07-28  David S. Miller  <davem@davemloft.net>
43500         * po/cs.po: Update Czech translation from translation project.
43502         * po/sv.po: Update Swedish translation from translation project.
43504 2013-07-27  David S. Miller  <davem@davemloft.net>
43506         * po/eo.po: Update Esperanto translation from translation project.
43508         * po/vi.po: Update Vietnamese translation from translation project.
43510         * po/de.po: Update German translation from translation project.
43512 2013-07-26  David S. Miller  <davem@davemloft.net>
43514         * po/bg.po: Update Bulgarian translation from translation project.
43516         * po/nl.po: Update Dutch translation from translation project.
43517         * po/pl.po: Update Polish translation from translation project.
43518         * po/ru.po: Update Russian translation from translation project.
43520 2013-07-24  David S. Miller  <davem@davemloft.net>
43522         * po/libc.pot: Update.
43524 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43526         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43527         variable page size.
43528         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43529         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43530         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43532 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43534         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43536 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43537             Andreas Schwab  <schwab@suse.de>
43538             Roland McGrath  <roland@hack.frob.com>
43539             Joseph Myers  <joseph@codesourcery.com>
43540             Carlos O'Donell  <carlos@redhat.com>
43542         [BZ #15755]
43543         * config.h.in: Define HAVE_PT_CHOWN.
43544         * config.make.in (build-pt-chown): New variable.
43545         * configure.in (--enable-pt_chown): New configure option.
43546         * configure: Regenerate.
43547         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43548         build-pt-chown is enabled.
43549         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43550         pt_chown to fix pty ownership.
43551         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43552         CLOSE_ALL_FDS.
43553         * manual/install.texi (Configuring and compiling): Mention
43554         --enable-pt_chown. Add @findex for grantpt.
43555         * INSTALL: Regenerate.
43557 2013-07-20  David S. Miller  <davem@davemloft.net>
43559         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43560         difference between 32-bit and 64-bit.
43562 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43564         [BZ #15711]
43565         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43566         Avoid system header dependency with -ffreestanding.
43567         ($(objpfx)bits/syscall%d): Likewise.
43569 2013-07-13  David S. Miller  <davem@davemloft.net>
43571         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43572         underflows from atanl/atan2l due to bug 15319.
43573         (casinh_test_data): Likewise.
43575 2013-07-07  David S. Miller  <davem@davemloft.net>
43577         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43579 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43581         * sysdeps/i386/fpu/libm-test-ulps: Update.
43582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43584 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43586         * configure.in (--enable-lock-elision): Fix message text.
43587         * INSTALL: Regenerate.
43588         * configure: Regenerate.
43590 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43594 2013-07-03  Andreas Jaeger  <aj@suse.de>
43596         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43597         define.
43598         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43599         (ptrace_peeksiginfo_args): Add.
43600         (__ptrace_peeksiginfo_flags): Add.
43601         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43603         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43605 2013-07-03  Allan McRae  <allan@archlinux.org>
43607         * sysdeps/i386/fpu/libm-test-ulps: Update.
43609 2013-07-02  David S. Miller  <davem@davemloft.net>
43611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43613 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43617 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43619         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43622 2013-07-02  Andi Kleen <ak@linux.intel.com>
43624         * config.h.in (ENABLE_LOCK_ELISION): Add.
43625         * configure.in (--enable-lock-elision): Add option.
43626         * manual/install.texi: Document --enable lock elision.
43627         * configure: Regenerate
43628         * INSTALL: Regenerate.
43630 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43632         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43633         SSE4.2 strcasecmp for libc.a.
43634         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43636 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43638         [BZ #13304]
43639         * soft-fp/op-common.h (_FP_FMA): New macro.
43640         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43641         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43642         (_FP_MUL_MEAT_1_imm): ... here.
43643         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43644         (_FP_MUL_MEAT_1_wide): ... here.
43645         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43646         (_FP_MUL_MEAT_1_hard): ... here.
43647         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43648         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43649         (_FP_MUL_MEAT_2_wide): ... here.
43650         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43651         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43652         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43653         (_FP_MUL_MEAT_2_gmp): ... here.
43654         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43655         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43656         (_FP_MUL_MEAT_4_wide): ... here.
43657         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43658         (_FP_MUL_MEAT_4_gmp): ... here.
43659         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43660         (_FP_WFRACBITS_DW_S): Likewise.
43661         (_FP_WFRACXBITS_DW_S): Likewise.
43662         (_FP_HIGHBIT_DW_S): Likewise.
43663         (FP_FMA_S): Likewise.
43664         (_FP_FRAC_HIGH_DW_S): Likewise.
43665         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43666         (_FP_WFRACBITS_DW_D): Likewise.
43667         (_FP_WFRACXBITS_DW_D): Likewise.
43668         (_FP_HIGHBIT_DW_D): Likewise.
43669         (FP_FMA_D): Likewise.
43670         (_FP_FRAC_HIGH_DW_D): Likewise.
43671         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43672         (_FP_WFRACBITS_DW_E): Likewise.
43673         (_FP_WFRACXBITS_DW_E): Likewise.
43674         (_FP_HIGHBIT_DW_E): Likewise.
43675         (FP_FMA_E): Likewise.
43676         (_FP_FRAC_HIGH_DW_E): Likewise.
43677         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43678         (_FP_WFRACBITS_DW_Q): Likewise.
43679         (_FP_WFRACXBITS_DW_Q): Likewise.
43680         (_FP_HIGHBIT_DW_Q): Likewise.
43681         (FP_FMA_Q): Likewise.
43682         (_FP_FRAC_HIGH_DW_Q): Likewise.
43683         * soft-fp/fmasf4.c: New file.
43684         * soft-fp/fmadf4.c: Likewise.
43685         * soft-fp/fmatf4.c: Likewise.
43687 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43690         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43691         Silvermont.
43692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43693         macro.
43694         (index_Slow_SSE4_2): Likewise.
43695         (index_Prefer_PMINUB_for_stringop): Likewise.
43696         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43697         bit_Slow_SSE4_2 is set.
43698         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43699         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43701 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43703         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43704         rtld_global._dl_hwcap2.
43705         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43706         POWER8.
43707         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43708         POWER8 feature descriptions defined in _dl_hwcap2.
43709         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43710         string handling for POWER8 feature bits.
43711         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43712         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43713         _dl_powerpc_cap_flags.
43714         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43715         * sysdeps/powerpc/rtld-global-offsets.sym
43716         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43717         _dl_hwcap2 in the rtld_global_ro structure.
43719 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43721         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43722         hardware capabilities in support of AT_HWCAP2.
43723         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43724         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43725         GLRO(dl_hwcap2).
43726         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43727         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43728         explicitly the unknown a_type display mechanism is used.
43729         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43730         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43731         struct member.
43732         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43733         to macro prototype for AT_HWCAP2 support.
43734         * sysdeps/i386/dl-procinfo.h: Likewise.
43735         * sysdeps/s390/dl-procinfo.h: Likewise.
43736         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43737         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43738         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43739         return -1 for unknown a_type display fallback.
43740         * sysdeps/sparc/dl-procinfo.h: Likewise.
43741         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43742         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43744 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43746         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43747         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43749 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43751         [BZ #12492]
43752         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43753         mprotect making __stack_prot writable.
43755 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43756             Joseph Myers  <joseph@codesourcery.com>
43758         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43759         as being properly aligned.
43761 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43763         * dlfcn/modstatic5.c: New file.
43764         * dlfcn/tststatic5.c: New file.
43765         * dlfcn/Makefile (tests): Add tststatic5.
43766         (tests-static): Likewise.
43767         (modules-names): Add modstatic5.
43768         (tststatic5-ENV): New variable.
43769         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43771         [BZ #15022]
43772         * elf/dl-support.c (_dl_main_map): New variable.
43773         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43774         (_dl_nns, _dl_load_adds): Set to 1.
43775         (_dl_initial_searchlist): Refer to _dl_main_map.
43776         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43777         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43778         call to _dl_get_origin.
43779         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43780         around call_map.
43781         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43782         * dlfcn/modstatic3.c: New file.
43783         * dlfcn/tststatic3.c: New file.
43784         * dlfcn/tststatic4.c: New file.
43785         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43786         (tests-static): Likewise.
43787         (modules-names): Add modstatic3.
43788         (tststatic3-ENV, tststatic4-ENV): New variables.
43789         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43790         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43792 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43794         * configure.in (CC): Require GCC version 4.4 or later.
43795         * configure: Regenerated.
43796         * manual/install.texi (Tools for Compilation): Update GCC version
43797         requirement.
43798         * INSTALL: Regenerated.
43800 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43802         [BZ #15674]
43803         * string/test-memcmp.c (check2): New.
43804         (main): Call check2.
43806         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43808 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43810         [BZ #15022]
43811         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43812         over to...
43813         (dl_open_worker) [!SHARED]: ... here.
43815 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43817         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43819 2013-06-25  Richard Henderson  <rth@redhat.com>
43821         * locale/programs/locarchive.c: Include <libc-internal.h>
43823 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43825         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43826         trailing whitespace removed.
43828 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43830         [BZ #10283]
43831         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43832         * locale/programs/locarchive.c: Include libc-mmap.h.
43833         (prepare_address_space): Take two new outputs (the mmap base and len).
43834         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43835         values.
43836         (create_archive): Declare new mmap base and len values for
43837         prepare_address_space, and store the result in ah.
43838         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43839         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43840         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43841         Declare new mmap base and len values for
43842         prepare_address_space, and store the result in new_ah.
43843         (open_archive): Declare new mmap base and len values for
43844         prepare_address_space, and store the result in ah.
43845         (close_archive): If ah->mmap_base is not NULL, use that and
43846         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43847         * sysdeps/generic/libc-mmap.h: New file.
43849 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43851         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43852         (ALIGN_UP): Likewise.
43853         (PTR_ALIGN_DOWN): Likewise.
43854         (PTR_ALIGN_UP): Likewise.
43856 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43859         entry mapped to PPC_PLATFORM_POWER8.
43860         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43861         POWER8.
43862         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43863         (_dl_string_platform): Add case for exporting platform position for
43864         POWER8.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43866         search path to sysdeps/powerpc/powerpc32/power8 directory.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43868         search path to sysdeps/powerpc/powerpc64/power8 directory.
43869         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43870         power7 directories.
43871         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43872         power7 directories.
43874 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43876         * INSTALL: Regenerate.
43878         * nscd/connections.c (nscd_init): Fix comment.
43880 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43882         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43884         [BZ #15667]
43885         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43886         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43888 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43890         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43891         DL_DST_REQ_STATIC.
43892         (DL_DST_REQ_STATIC): Remove macro.
43894 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43896         [BZ #7006]
43897         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43898         with a shift of 0 bits.
43900 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43902         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43903         $(tststatic-ENV).
43905 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43907         [BZ #15655]
43908         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43910 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43912         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43913         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43914         accepts -fno-tree-loop-distribute-patterns.
43915         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43916         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43917         recursive call.
43918         * string/memset.c (memset): Likewise.
43919         * string/test-memmove.c (simple_memmove): Disable loop transformation
43920         to library calls.
43921         * string/test-memset.c (simple_memset): Likewise.
43922         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43923         * benchtests/bench-memset.c (simple_memset): Likewise.
43924         * configure: Regenerated.
43926 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43928         * math/test-misc.c (main): Ignore fesetround failure when failures
43929         of subsequent rounding tests would be ignored.
43931         [BZ #15654]
43932         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43933         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43934         * math/fegetenv.c (__fegetenv): Return 0.
43935         * math/fegetexcept.c (fegetexcept): Return 0.
43936         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43937         FE_TONEAREST.
43938         * math/feholdexcpt.c (feholdexcept): Return 0.
43939         * math/fesetenv.c (__fesetenv): Return 0.
43940         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43941         argument FE_TONEAREST.
43942         * math/feupdateenv.c (__feupdateenv): Return 0.
43943         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43945 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43947         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43948         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43949         ($(objpfx)rtld-%.os rules): Use them.
43951 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43953         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43954         fields.
43956 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43958         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43959         length of target pattern, then descending length of dependency pattern.
43960         * configure.in (AWK): Require gawk 3.1.2 or newer.
43961         * manual/install.texi (Tools for Compilation): Say that we do.
43962         * configure: Regenerated.
43964         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43965         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43966         * scripts/sysd-rules.awk: ... this new script.
43967         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43968         than a glob-style pattern.
43970 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43972         * math/test-misc.c (main): Do not treat incorrectly rounded
43973         conversions as failure unless ROUNDING_TESTS passes.
43975 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43977         [BZ #15631]
43978         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43979         restore exception state around main square root computation, then
43980         check for inexactness explicitly.
43982         * math/libm-test.inc (fma_test_data): Add another test.
43984 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43986         * manual/threads.texi (Non-POSIX Extensions): New document
43987         node.  Document pthread_getattr_default_np and
43988         pthread_setattr_default_np.
43990         * Versions.def (libpthread): Add GLIBC_2.18.
43991         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43993         Likewise.
43994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43995         Likewise.
43996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43997         Likewise.
43998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43999         Likewise.
44000         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44001         Likewise.
44002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44003         Likewise.
44004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44005         Likewise.
44006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44007         Likewise.
44008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44009         Likewise.
44011 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44014         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44016 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44017             H.J. Lu  <hjl.tools@gmail.com>
44019         [BZ #15627]
44020         * sysdeps/x86_64/rtld-memset.c: Remove file.
44021         * sysdeps/x86_64/rtld-memset.S: New file.
44023 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44025         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44026         (test_in_one_mode): Take arguments for whether the rounding mode
44027         is supported for each floating-point type.
44028         (do_test): Pass new arguments to test_in_one_mode using
44029         ROUNDING_TESTS.
44031 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44033         * posix/tst-waitid.c (do_test): Distinguish different instances of
44034         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44035         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44036         before entering the kernel for waitpid.
44038 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44040         * NEWS: Fix note on clock function precision.  Text by Roland
44041         McGrath.
44043 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44045         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44046         it into place only when and if the sanity check passes.
44048 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44050         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44051         output for whether conversion result is exact.  Take argument
44052         indicating whether type is IBM long double.
44053         (round_for_all): Change need_exact field to ibm_ld.
44054         * stdlib/tst-strtod-round.c (struct exactness): New type.
44055         (struct test): Change bool ld_ok field to struct exactness exact.
44056         (TEST): Update all definitions for change to field.
44057         (tests): Regenerate array contents.
44058         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44059         field value.  Check for IBM long double here.
44060         (do_test): Update calls to test_in_one_mode.
44062 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44064         [BZ #12515]
44065         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44066         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44068 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44070         [BZ #15605]
44071         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44072         generated by the compiler on loop optimizations.
44073         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44074         general definitions.
44076 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44078         * math/bug-nextafter.c: Include <math-tests.h>.
44079         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44080         the relevant type.
44081         * math/bug-nexttoward.c: Include <math-tests.h>.
44082         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44083         the relevant type.
44084         * math/test-misc.c: Include <math-tests.h>.
44085         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44086         the relevant type.
44088 2013-06-12  Andreas Jaeger  <aj@suse.de>
44090         * po/ia.po: Update Interlingua translation from translation
44091         project.
44093 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44095         * include/fenv.h: Include stdbool.h.
44096         (struct rm_ctx): New structure.
44097         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44098         Define macro.
44099         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44100         (SET_RESTORE_ROUNDF): Likewise.
44101         (SET_RESTORE_ROUNDL): Likewise.
44102         (SET_RESTORE_ROUND_NOEX): Likewise.
44103         (SET_RESTORE_ROUND_NOEXF): Likewise.
44104         (SET_RESTORE_ROUND_NOEXL): Likewise.
44105         (SET_RESTORE_ROUND_53BIT): Likewise.
44106         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44107         (libc_feresetround_noexf_ctx): Likewise.
44108         (libc_feresetround_noexl_ctx): Likewise.
44109         (libc_feholdsetround_53bit_ctx): Likewise.
44110         (libc_feresetround_53bit_ctx): Likewise.
44111         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44112         (libc_feholdexcept_setround_sse_ctx): New function.
44113         (libc_fesetenv_sse_ctx): Likewise.
44114         (libc_feupdateenv_sse_ctx): Likewise.
44115         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44116         (libc_feholdexcept_setround_387_ctx): Likewise.
44117         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44118         (libc_feholdsetround_387_prec_ctx): Likewise.
44119         (libc_feholdsetround_387_ctx): Likewise.
44120         (libc_feholdsetround_387_53bit_ctx): Likewise.
44121         (libc_feholdsetround_sse_ctx): Likewise.
44122         (libc_feresetround_sse_ctx): Likewise.
44123         (libc_feresetround_387_ctx): Likewise.
44124         (libc_feupdateenv_387_ctx): Likewise.
44125         (libc_feholdexcept_setroundf_ctx): Define macro.
44126         (libc_fesetenvf_ctx): Likewise.
44127         (libc_feupdateenvf_ctx): Likewise.
44128         (libc_feholdsetroundf_ctx): Likewise.
44129         (libc_feresetroundf_ctx): Likewise.
44130         (libc_feholdexcept_setround_ctx): Likewise.
44131         (libc_fesetenv_ctx): Likewise.
44132         (libc_feupdateenv_ctx): Likewise.
44133         (libc_feholdsetround_ctx): Likewise.
44134         (libc_feresetround_ctx): Likewise.
44135         (libc_feholdexcept_setroundl_ctx): Likewise.
44136         (libc_feupdateenvl_ctx): Likewise.
44137         (libc_feholdsetroundl_ctx): Likewise.
44138         (libc_feresetroundl_ctx): Likewise.
44139         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44140         (libc_feresetround_53bit_ctx): Likewise.
44142 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44144         * locale/iso-639.def: Convert to UTF-8.
44146 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44148         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44149         (EXCEPTION_TESTS_double): Likewise.
44150         (EXCEPTION_TESTS_long_double): Likewise.
44151         (EXCEPTION_TESTS): Likewise.
44152         * math/libm-test.inc (test_exceptions): Only test exceptions if
44153         EXCEPTION_TESTS (FLOAT).
44155 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44157         * benchtests/Makefile (string-bench): Add strcpy_chk and
44158         stpcpy_chk.
44159         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44160         * benchtests/bench-stpcpy_chk.c: New file.
44161         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44162         * benchtests/bench-strcpy_chk.c: New file.
44163         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44164         code.
44165         (do_test): Likewise.
44167 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44169         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44170         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44171         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44172         with tabs where appropriate.
44173         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44174         dl-procinfo.h.
44175         [PPC_PLATFORM_PPC440]: Likewise.
44176         [PPC_PLATFORM_PPC464]: Likewise.
44177         [PPC_PLATFORM_PPC476]: Likewise.
44178         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44179         ppc464, and ppc476 platform strings merging from ports/
44180         dl-procinfo.h.
44182 2013-06-11  Andreas Schwab  <schwab@suse.de>
44184         [BZ #14991]
44185         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44186         (from_ucs4_idx): Regenerate.
44187         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44188         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44189         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44190         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44191         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44192         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44193         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44194         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44195         from FROM_LOOP and TO_LOOP specific macros.
44196         (BODY): Handle combining characters.
44197         * iconvdata/BIG5HKSCS.irreversible: Update.
44198         * iconvdata/BIG5HKSCS.precomposed: New file.
44199         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44200         characters.
44201         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44203 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44205         * include/sys/time.h: Fix indentation and add copyright header.
44207         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44208         (do_test): Likewise.
44209         * string/test-memchr.c (do_one_test): Likewise.
44210         (do_test): Likewise.
44211         * string/test-memcmp.c (do_one_test): Likewise.
44212         (do_test): Likewise.
44213         * string/test-memcpy.c (do_one_test): Likewise.
44214         (do_test): Likewise.
44215         * string/test-memmem.c (do_one_test): Likewise.
44216         (do_test): Likewise.
44217         (do_random_tests): Likewise.
44218         * string/test-memmove.c (do_one_test): Likewise.
44219         (do_test): Likewise.
44220         * string/test-memset.c (do_one_test): Likewise.
44221         (do_test): Likewise.
44222         * string/test-rawmemchr.c (do_one_test): Likewise.
44223         (do_test): Likewise.
44224         * string/test-strcasecmp.c (do_one_test): Likewise.
44225         (do_test): Likewise.
44226         * string/test-strcasestr.c (do_one_test): Likewise.
44227         (do_test): Likewise.
44228         * string/test-strcat.c (do_one_test): Likewise.
44229         (do_test): Likewise.
44230         * string/test-strchr.c (do_one_test): Likewise.
44231         (do_test): Likewise.
44232         * string/test-strcmp.c (do_one_test): Likewise.
44233         (do_test): Likewise.
44234         * string/test-strcpy.c (do_one_test): Likewise.
44235         (do_test): Likewise.
44236         * string/test-string.h: Likewise.
44237         (test_init): Likewise.
44238         * string/test-strlen.c (do_one_test): Likewise.
44239         (do_test): Likewise.
44240         * string/test-strncasecmp.c (do_one_test): Likewise.
44241         (do_test): Likewise.
44242         * string/test-strncat.c (do_one_test): Likewise.
44243         (do_test): Likewise.
44244         * string/test-strncmp.c (do_one_test): Likewise.
44245         (do_test_limit): Likewise.
44246         (do_test): Likewise.
44247         * string/test-strncpy.c (do_one_test): Likewise.
44248         (do_test): Likewise.
44249         * string/test-strnlen.c (do_one_test): Likewise.
44250         (do_test): Likewise.
44251         * string/test-strpbrk.c (do_one_test): Likewise.
44252         (do_test): Likewise.
44253         * string/test-strrchr.c (do_one_test): Likewise.
44254         (do_test): Likewise.
44255         * string/test-strspn.c (do_one_test): Likewise.
44256         (do_test): Likewise.
44257         * string/test-strstr.c (do_one_test): Likewise.
44258         (do_test): Likewise.
44260         * benchtests/Makefile (string-bench): Add string benchmarks.
44261         * benchtests/bench-bcopy-ifunc.c: New file.
44262         * benchtests/bench-bcopy.c: New file.
44263         * benchtests/bench-bzero-ifunc.c: New file.
44264         * benchtests/bench-bzero.c: New file.
44265         * benchtests/bench-memccpy-ifunc.c: New file.
44266         * benchtests/bench-memccpy.c: New file.
44267         * benchtests/bench-memchr-ifunc.c: New file.
44268         * benchtests/bench-memchr.c: New file.
44269         * benchtests/bench-memcmp-ifunc.c: New file.
44270         * benchtests/bench-memcmp.c: New file.
44271         * benchtests/bench-memmem-ifunc.c: New file.
44272         * benchtests/bench-memmem.c: New file.
44273         * benchtests/bench-memmove-ifunc.c: New file.
44274         * benchtests/bench-memmove.c: New file.
44275         * benchtests/bench-mempcpy-ifunc.c: New file.
44276         * benchtests/bench-mempcpy.c: New file.
44277         * benchtests/bench-memset-ifunc.c: New file.
44278         * benchtests/bench-memset.c: New file.
44279         * benchtests/bench-rawmemchr-ifunc.c: New file.
44280         * benchtests/bench-rawmemchr.c: New file.
44281         * benchtests/bench-stpcpy-ifunc.c: New file.
44282         * benchtests/bench-stpcpy.c: New file.
44283         * benchtests/bench-stpncpy-ifunc.c: New file.
44284         * benchtests/bench-stpncpy.c: New file.
44285         * benchtests/bench-strcasecmp-ifunc.c: New file.
44286         * benchtests/bench-strcasecmp.c: New file.
44287         * benchtests/bench-strcasestr-ifunc.c: New file.
44288         * benchtests/bench-strcasestr.c: New file.
44289         * benchtests/bench-strcat-ifunc.c: New file.
44290         * benchtests/bench-strcat.c: New file.
44291         * benchtests/bench-strchr-ifunc.c: New file.
44292         * benchtests/bench-strchr.c: New file.
44293         * benchtests/bench-strchrnul-ifunc.c: New file.
44294         * benchtests/bench-strchrnul.c: New file.
44295         * benchtests/bench-strcmp-ifunc.c: New file.
44296         * benchtests/bench-strcmp.c: New file.
44297         * benchtests/bench-strcpy-ifunc.c: New file.
44298         * benchtests/bench-strcpy.c: New file.
44299         * benchtests/bench-strcspn-ifunc.c: New file.
44300         * benchtests/bench-strcspn.c: New file.
44301         * benchtests/bench-strlen-ifunc.c: New file.
44302         * benchtests/bench-strlen.c: New file.
44303         * benchtests/bench-strncasecmp-ifunc.c: New file.
44304         * benchtests/bench-strncasecmp.c: New file.
44305         * benchtests/bench-strncat-ifunc.c: New file.
44306         * benchtests/bench-strncat.c: New file.
44307         * benchtests/bench-strncmp-ifunc.c: New file.
44308         * benchtests/bench-strncmp.c: New file.
44309         * benchtests/bench-strncpy-ifunc.c: New file.
44310         * benchtests/bench-strncpy.c: New file.
44311         * benchtests/bench-strnlen-ifunc.c: New file.
44312         * benchtests/bench-strnlen.c: New file.
44313         * benchtests/bench-strpbrk-ifunc.c: New file.
44314         * benchtests/bench-strpbrk.c: New file.
44315         * benchtests/bench-strrchr-ifunc.c: New file.
44316         * benchtests/bench-strrchr.c: New file.
44317         * benchtests/bench-strspn-ifunc.c: New file.
44318         * benchtests/bench-strspn.c: New file.
44319         * benchtests/bench-strstr-ifunc.c: New file.
44320         * benchtests/bench-strstr.c: New file.
44322         * benchtests/Makefile: Disable parallel execution of targets.
44323         (string-bench): Add memcpy.
44324         (benchset): New variable to store a list of benchmark sets.
44325         (bench-func): Renamed from bench.
44326         (bench-set): New target.
44327         (bench): Depend on bench-func and bench-set.
44328         * benchtests/README: Add section on benchmark sets.
44329         * benchtests/bench-memcpy-ifunc.c: New file.
44330         * benchtests/bench-memcpy.c: New file.
44331         * benchtests/bench-string.h: New file.
44333 2013-06-11  Andreas Schwab  <schwab@suse.de>
44335         [BZ #15577]
44336         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44337         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44338         values in the triple.
44339         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44340         terminator in the group key.
44342 2013-06-11  Andreas Jaeger  <aj@suse.de>
44344         * po/zh_TW.po: Update Chinese (traditional) translation from
44345         translation project.
44347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44349         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44350         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44351         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44352         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44353         (clock_getcpuclockid): Likewise.
44354         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44355         Add weak_alias and libc_hidden_def.
44356         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44357         * rt/clock_gettime.c (clock_gettime): Rename to
44358         __clock_gettime.  Add weak_alias and libc_hidden_def.
44359         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44360         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44361         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44362         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44363         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44364         Likewise.
44365         * rt/clock_settime.c (clock_settime): Rename to
44366         __clock_settime.  Add weak_alias and libc_hidden_def.
44367         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44369 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44371         * mach/err_boot.sub: Remove trailing whitespace.
44372         * mach/err_ipc.sub: Likewise.
44373         * mach/err_mach.sub: Likewise.
44375         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44376         (ROUNDING_TESTS_double): Likewise.
44377         (ROUNDING_TESTS_long_double): Likewise.
44378         (ROUNDING_TESTS): Likewise.
44379         * math/libm-test.inc: Include <math-tests.h>.
44380         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44381         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44382         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44383         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44385 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44387         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44388         of assigning.
44390 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44392         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44393         otherwise empty TRANS lines.
44394         * sysdeps/gnu/errlist.c: Regenerated.
44396         * catgets/gencat.c (error_print): Use (void) in function
44397         definition.
44398         * crypt/crypt_util.c (__init_des): Likewise.
44399         * crypt/speeds.c (Stop): Likewise.
44400         (main): Likewise.
44401         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44402         * inet/ruserpass.c (token): Likewise.
44403         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44404         * intl/localealias.c (extend_alias_table): Likewise.
44405         * intl/plural-exp.c (init_germanic_plural): Likewise.
44406         * libio/fcloseall.c (__fcloseall): Likewise.
44407         * libio/genops.c (_IO_flush_all): Likewise.
44408         (_IO_flush_all_linebuffered): Likewise.
44409         (_IO_cleanup): Likewise.
44410         (_IO_iter_begin): Likewise.
44411         (_IO_iter_end): Likewise.
44412         (_IO_list_lock): Likewise.
44413         (_IO_list_unlock): Likewise.
44414         (_IO_list_resetlock): Likewise.
44415         * libio/getchar.c (getchar): Likewise.
44416         * libio/getchar_u.c (getchar_unlocked): Likewise.
44417         * libio/getwchar.c (getwchar): Likewise.
44418         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44419         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44420         * login/getpt.c (__getpt): Likewise.
44421         * login/tst-utmp.c (main): Likewise.
44422         * malloc/hooks.c (__malloc_check_init): Likewise.
44423         * malloc/malloc.c (__malloc_stats): Likewise.
44424         * malloc/mtrace.c (tr_break): Likewise.
44425         (mtrace): Likewise.
44426         (muntrace): Likewise.
44427         * misc/fstab.c (endfsent): Likewise.
44428         * misc/getclktck.c (__getclktck): Likewise.
44429         * misc/getdtsz.c (__getdtablesize): Likewise.
44430         * misc/gethostid.c (gethostid): Likewise.
44431         * misc/getpagesize.c (__getpagesize): Likewise.
44432         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44433         (__get_nprocs): Likewise.
44434         (__get_phys_pages): Likewise.
44435         (__get_avphys_pages): Likewise.
44436         * misc/getttyent.c (getttyent): Likewise.
44437         (setttyent): Likewise.
44438         (endttyent): Likewise.
44439         * misc/getusershell.c (getusershell): Likewise.
44440         (endusershell): Likewise.
44441         (setusershell): Likewise.
44442         (initshells): Likewise.
44443         * misc/hsearch.c (__hdestroy): Likewise.
44444         * misc/sync.c (sync): Likewise.
44445         * misc/syslog.c (closelog_internal): Likewise.
44446         (closelog): Likewise.
44447         * misc/ttyslot.c (ttyslot): Likewise.
44448         * misc/vhangup.c (vhangup): Likewise.
44449         * posix/fork.c (__fork): Likewise.
44450         * posix/getegid.c (__getegid): Likewise.
44451         * posix/geteuid.c (__geteuid): Likewise.
44452         * posix/getgid.c (__getgid): Likewise.
44453         * posix/getpid.c (__getpid): Likewise.
44454         * posix/getppid.c (__getppid): Likewise.
44455         * posix/getuid.c (__getuid): Likewise.
44456         * posix/pause.c (pause): Likewise.
44457         * posix/setpgrp.c (setpgrp): Likewise.
44458         * posix/setsid.c (__setsid): Likewise.
44459         * posix/test-vfork.c (noop): Likewise.
44460         * resolv/gethnamaddr.c (_endhtent): Likewise.
44461         (_gethtent): Likewise.
44462         (ht_endhostent): Likewise.
44463         (gethostent): Likewise.
44464         (dns_service): Likewise.
44465         * stdlib/drand48.c (drand48): Likewise.
44466         * stdlib/lrand48.c (lrand48): Likewise.
44467         * stdlib/mrand48.c (mrand48): Likewise.
44468         * stdlib/rand.c (rand): Likewise.
44469         * stdlib/random.c (__random): Likewise.
44470         * stdlib/setenv.c (clearenv): Likewise.
44471         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44472         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44473         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44474         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44475         (__get_nprocs): Likewise.
44476         (__get_phys_pages): Likewise.
44477         (__get_avphys_pages): Likewise.
44478         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44479         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44480         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44481         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44482         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44483         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44484         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44485         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44486         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44487         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44488         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44489         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44490         * sysdeps/posix/clock.c (clock): Likewise.
44491         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44492         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44493         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44494         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44495         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44497         (__get_nprocs_conf): Likewise.
44498         (__get_phys_pages): Likewise.
44499         (__get_avphys_pages): Likewise.
44500         * time/clock.c (clock): Likewise.
44501         * time/tzset.c (__tzname_max): Likewise.
44503 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44505         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44506         (__bswap_32): Do not use "register".
44507         * crypt/crypt.c (_ufc_doit_r): Likewise.
44508         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44509         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44510         * gmon/gmon.c (__monstartup): Likewise.
44511         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44512         * hurd/hurdmalloc.c (more_memory): Likewise.
44513         (malloc): Likewise.
44514         (free): Likewise.
44515         (realloc): Likewise.
44516         (malloc_fork_prepare): Likewise.
44517         (malloc_fork_parent): Likewise.
44518         (malloc_fork_child): Likewise.
44519         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44520         (_svcauth_des): Likewise.
44521         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44522         * inet/inet_net.c (inet_network): Likewise.
44523         * inet/inet_netof.c (inet_netof): Likewise.
44524         * inet/rcmd.c (__validuser2_sa): Likewise.
44525         * io/fts.c (fts_open): Likewise.
44526         (fts_load): Likewise.
44527         (fts_close): Likewise.
44528         (fts_read): Likewise.
44529         (fts_children): Likewise.
44530         (fts_build): Likewise.
44531         (fts_stat): Likewise.
44532         (fts_sort): Likewise.
44533         (fts_alloc): Likewise.
44534         (fts_lfree): Likewise.
44535         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44536         (_IO_file_xsgetn): Likewise.
44537         (_IO_file_xsgetn_mmap): Likewise.
44538         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44539         (_IO_cookie_write): Likewise.
44540         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44541         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44542         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44543         * malloc/obstack.c (_obstack_begin): Likewise.
44544         (_obstack_begin_1): Likewise.
44545         (_obstack_newchunk): Likewise.
44546         (_obstack_allocated_p): Likewise.
44547         (obstack_free): Likewise.
44548         (_obstack_memory_used): Likewise.
44549         * misc/getttyent.c (getttynam): Likewise.
44550         (getttyent): Likewise.
44551         (skip): Likewise.
44552         (value): Likewise.
44553         * misc/getusershell.c (initshells): Likewise.
44554         * misc/syslog.c (__vsyslog_chk): Likewise.
44555         * misc/ttyslot.c (ttyslot): Likewise.
44556         * nis/nis_hash.c (__nis_hash): Likewise.
44557         * posix/fnmatch_loop.c (FCT): Likewise.
44558         * posix/getconf.c (print_all): Likewise.
44559         (main): Likewise.
44560         * posix/getopt.c (exchange): Likewise.
44561         * posix/glob.c (globfree): Likewise.
44562         (prefix_array): Likewise.
44563         (__glob_pattern_type): Likewise.
44564         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44565         (NS_GET32): Likewise.
44566         (NS_PUT16): Likewise.
44567         (NS_PUT32): Likewise.
44568         * resolv/gethnamaddr.c (getanswer): Likewise.
44569         (gethostbyname2): Likewise.
44570         (gethostbyaddr): Likewise.
44571         (_gethtent): Likewise.
44572         (_gethtbyname2): Likewise.
44573         (_gethtbyaddr): Likewise.
44574         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44575         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44576         * resolv/res_init.c (__res_vinit): Likewise.
44577         (net_mask): Likewise.
44578         * resolv/res_mkquery.c (outchar): Likewise.
44579         (PRINT): Likewise.
44580         * stdio-common/printf_fp.c (outchar): Likewise.
44581         (PRINT): Likewise.
44582         * stdio-common/printf_fphex.c (outchar): Likewise.
44583         (PRINT): Likewise.
44584         * stdio-common/printf_size.c (outchar): Likewise.
44585         (PRINT): Likewise.
44586         * stdio-common/test_rdwr.c (main): Likewise.
44587         * stdio-common/tfformat.c (matches): Likewise.
44588         * stdio-common/vfprintf.c (outchar): Likewise.
44589         (printf_unknown): Likewise.
44590         (buffered_vfprintf): Likewise.
44591         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44592         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44593         (ReadFile): Likewise.
44594         * stdlib/qsort.c (SWAP): Likewise.
44595         (_quicksort): Likewise.
44596         * stdlib/setenv.c (__add_to_environ): Likewise.
44597         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44598         * stdlib/strtol_l.c (__strtol_l): Likewise.
44599         * stdlib/tst-strtod.c (main): Likewise.
44600         * stdlib/tst-strtol.c (main): Likewise.
44601         * stdlib/tst-strtoll.c (main): Likewise.
44602         * string/bits/string2.h (__strcmp_cc): Likewise.
44603         (__strcmp_cg): Likewise.
44604         (__strcspn_c1): Likewise.
44605         (__strcspn_c2): Likewise.
44606         (__strcspn_c3): Likewise.
44607         (__strspn_c1): Likewise.
44608         (__strspn_c2): Likewise.
44609         (__strspn_c3): Likewise.
44610         (__strsep_1c): Likewise.
44611         (__strsep_2c): Likewise.
44612         (__strsep_3c): Likewise.
44613         * string/memccpy.c (__memccpy): Likewise.
44614         * string/stpcpy.c (__stpcpy): Likewise.
44615         * string/strcmp.c (strcmp): Likewise.
44616         * string/strrchr.c (strrchr): Likewise.
44617         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44618         Likewise.
44619         * sysdeps/mach/hurd/getcwd.c
44620         (_hurd_canonicalize_directory_name_internal): Likewise.
44621         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44622         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44623         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44624         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44625         Likewise, in both definitions.
44626         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44627         definitions.
44628         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44629         64] (__bswap_64): Likewise.
44630         * time/test_time.c (main): Likewise.
44631         * time/tzfile.c (__tzfile_read): Likewise.
44632         (__tzfile_compute): Likewise.
44633         * time/tzset.c (__tzset_parse_tz): Likewise.
44634         (tzset_internal): Likewise.
44635         (compute_change): Likewise.
44636         * wcsmbs/wcscat.c (__wcscat): Likewise.
44637         * wcsmbs/wcschr.c (wcschr): Likewise.
44638         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44639         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44640         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44641         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44642         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44643         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44644         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44645         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44646         * wcsmbs/wmemset.c (wmemset): Likewise.
44648 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44650         * scripts/config.guess: Update to version 2013-05-16.
44651         * scripts/config.sub: Update to version 2013-04-24.
44652         * scripts/install-sh: Update to version 2011-11-20.07.
44653         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44654         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44656 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44658         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44659         * elf/sln.c: Likewise.
44660         * hurd/hurd/ioctl.h: Likewise.
44661         * hurd/hurdmalloc.c: Likewise.
44662         * hurd/xattr.c: Likewise.
44663         * include/shlib-compat.h: Likewise.
44664         * inet/ruserpass.c: Likewise.
44665         * libio/iofgets_u.c: Likewise.
44666         * libio/iofgetws_u.c: Likewise.
44667         * locale/programs/ld-identification.c: Likewise.
44668         * locale/programs/ld-time.c: Likewise.
44669         * mach/msg-destroy.c: Likewise.
44670         * nss/nss_files/files-netgrp.c: Likewise.
44671         * resolv/res_data.c: Likewise.
44672         * soft-fp/op-1.h: Likewise.
44673         * soft-fp/op-2.h: Likewise.
44674         * soft-fp/op-4.h: Likewise.
44675         * soft-fp/op-common.h: Likewise.
44676         * stdio-common/printf_fphex.c: Likewise.
44677         * stdlib/strtod_l.c: Likewise.
44678         * sunrpc/rpc/clnt.h: Likewise.
44679         * sysdeps/generic/framestate.c: Likewise.
44680         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44681         * sysdeps/i386/bsd-setjmp.S: Likewise.
44682         * sysdeps/i386/__longjmp.S: Likewise.
44683         * sysdeps/i386/setjmp.S: Likewise.
44684         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44685         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44687         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44689         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44691         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44692         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44693         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44694         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44695         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44697         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44698         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44699         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44700         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44702         * sysdeps/ieee754/support.c: Likewise.
44703         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44704         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44705         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44706         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44707         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44708         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44709         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44710         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44711         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44712         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44713         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44714         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44715         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44716         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44717         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44718         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44719         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44722 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44724         * posix/transbug.c: Remove executable mode.
44726 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44728         * crypt/speeds.c: Remove trailing whitespace.
44729         * dlfcn/default.c: Likewise.
44730         * elf/ifuncdep2.c: Likewise.
44731         * elf/ifuncmain1.c: Likewise.
44732         * elf/ifuncmain1vis.c: Likewise.
44733         * elf/testobj.h: Likewise.
44734         * elf/tst-stackguard1.c: Likewise.
44735         * gmon/sys/gmon.h: Likewise.
44736         * hurd/hurdmsg.c: Likewise.
44737         * hurd/new-fd.c: Likewise.
44738         * hurd/ports-get.c: Likewise.
44739         * iconvdata/ibm1008_420.c: Likewise.
44740         * inet/tst-getni1.c: Likewise.
44741         * inet/tst-getni2.c: Likewise.
44742         * libio/ioungetc.c: Likewise.
44743         * libio/wfiledoalloc.c: Likewise.
44744         * manual/libm-err-tab.pl: Likewise.
44745         * math/w_dremf.c: Likewise.
44746         * misc/ftruncate.c: Likewise.
44747         * posix/bug-glob2.c: Likewise.
44748         * posix/tst-pcre.c: Likewise.
44749         * posix/wait4.c: Likewise.
44750         * resolv/README: Likewise.
44751         * resolv/res_debug.h: Likewise.
44752         * resolv/tst-inet_ntop.c: Likewise.
44753         * setjmp/bug269-setjmp.c: Likewise.
44754         * soft-fp/extended.h: Likewise.
44755         * soft-fp/op-1.h: Likewise.
44756         * soft-fp/op-2.h: Likewise.
44757         * soft-fp/op-4.h: Likewise.
44758         * soft-fp/op-8.h: Likewise.
44759         * soft-fp/testit.c: Likewise.
44760         * stdio-common/bug16.c: Likewise.
44761         * stdlib/random.c: Likewise.
44762         * sunrpc/rpcsvc/rquota.x: Likewise.
44763         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44764         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44765         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44766         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44767         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44768         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44769         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44770         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44771         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44772         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44773         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44774         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44775         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44776         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44778         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44779         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44781         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44782         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44783         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44784         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44788         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44790         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44792         * sysdeps/ieee754/s_lib_version.c: Likewise.
44793         * sysdeps/mach/hurd/check_fds.c: Likewise.
44794         * sysdeps/mach/hurd/getsockname.c: Likewise.
44795         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44796         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44797         * sysdeps/powerpc/bits/link.h: Likewise.
44798         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44799         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44800         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44801         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44802         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44803         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44804         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44805         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44806         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44807         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44808         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44809         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44810         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44811         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44812         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44813         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44814         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44815         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44817         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44818         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44819         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44820         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44821         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44822         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44823         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44824         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44825         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44826         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44827         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44828         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44829         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44830         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44831         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44832         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44833         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44834         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44835         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44836         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44837         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44838         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44839         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44840         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44841         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44842         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44843         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44844         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44845         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44846         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44847         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44848         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44850         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44851         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44852         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44853         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44854         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44855         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44856         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44857         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44858         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44859         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44860         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44861         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44862         * sysdeps/powerpc/sysdep.h: Likewise.
44863         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44864         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44865         * sysdeps/sh/dl-trampoline.S: Likewise.
44866         * sysdeps/sh/memset.S: Likewise.
44867         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44868         * sysdeps/sh/strlen.S: Likewise.
44869         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44870         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44871         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44872         * sysdeps/sparc/sparc32/rem.S: Likewise.
44873         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44874         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44875         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44876         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44877         * sysdeps/sparc/sparc32/urem.S: Likewise.
44878         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44879         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44880         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44881         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44882         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44883         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44884         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44885         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44886         * sysdeps/unix/bsd/times.c: Likewise.
44887         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44888         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44892         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44893         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44894         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44896         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44897         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44898         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44899         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44900         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44901         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44902         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44903         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44904         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44905         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44906         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44907         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44908         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44909         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44910         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44911         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44912         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44913         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44914         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44915         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44916         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44917         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44918         * sysdeps/x86_64/strcspn.S: Likewise.
44920 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44922         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44923         generated file.  Regenerate properly from gen-translit.pl.
44924         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44925         locale/C-translit.h.
44927 2013-06-05  Andreas Schwab  <schwab@suse.de>
44929         [BZ #15100]
44930         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44931         week as 6 instead of -1.
44932         * time/tst-strptime.c (day_tests): Add test case.
44934 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         * sysdeps/generic/math_private.h
44937         (libc_feholdexcept_setround_53bit): Replace with
44938         libc_feholdsetround_53bit.
44939         (libc_feupdateenv_53bit): Replace with
44940         libc_feresetround_53bit.
44941         (SET_RESTORE_ROUND_53BIT): Adjust.
44943 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * string/test-strchrnul.c: Add copyright header.
44947         * posix/tst-getaddrinfo4.c: Increase test timeout.
44949 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44951         [BZ #15536]
44952         * math/libm-test.inc (MAX_EXP): Remove
44953         (MIN_EXP): Define.
44954         (ulp): Use MIN_EXP - MANT_DIG.
44955         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44957 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44959         * po/be.po: Revert last change.
44960         * po/zh_CN.po: Likewise.
44961         * po/header.pot: Likewise.
44963 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44965         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44966         link-libc-deps to empty as target-specific variable.
44967         * Makerules (link-libc-args): New variable.
44968         (libc-for-link): Likewise.
44969         (link-libc-deps): Likewise.
44970         (lib%.so): Depend on $(link-libc-deps).  Link with
44971         $(link-libc-args).
44972         (build-module): Link with $(link-libc-args).
44973         (build-module-asneeded): Likewise.
44974         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44975         list of objects.
44976         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44977         target-specific variable.
44978         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44979         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44980         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44981         libc.
44982         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44983         libc and ld.so.
44984         ($(objpfx)libpcprofile.so): Likewise.
44985         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44986         libc_nonshared.a.
44987         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44988         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44989         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44990         $(link-libc-deps).
44991         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44992         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44993         * login/Makefile ($(objpfx)libutil.so): Likewise.
44994         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44995         * math/Makefile ($(objpfx)libm.so): Likewise.
44996         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44997         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44998         variable instead of depending directly on libc.
44999         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45000         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45001         $(link-libc-deps).
45002         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45003         libc.
45004         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45005         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45006         ($(objpfx)libanl.so): Likewise.
45007         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45008         ld.so.
45009         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45010         $(link-libc-deps).
45011         * sysdeps/i386/fpu/Makefile: Remove file.
45012         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45013         ($(objpfx)libm.so): Remove dependency on ld.so.
45015 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45017         [BZ # 15553]
45018         * nis/yp_xdr.c (XDRMAXNAME): Define.
45019         (XDRMAXRECORD): Define.
45020         (xdr_domainname): Use XDRMAXNAME.
45021         (xdr_mapname): Likewise.
45022         (xdr_peername): Likewise.
45023         (xdr_keydat): Use XDRMAXRECORD.
45024         (xdr_valdat): Likewise.
45026 2013-05-30  Jeff Law  <law@redhat.com>
45028         [BZ #14256]
45029         * manual/errno.texi (ESTALE): Update to account for more than
45030         just NFS file systems.
45031         * sysdeps/gnu/errlist.c: Regenerated.
45033 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45035         [BZ #15465]
45036         * elf/Makefile (tests): Add tst-null-argv.
45037         (modules-names):  Add tst-null-argv-lib.
45038         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45039         (tst-null-argv-ENV): Set environment for tst-null-argv.
45040         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45041         (RTLD_PROGNAME): New macro.
45042         * elf/tst-null-argv.c: New test case.
45043         * elf/tst-null-argv-lib.c: Library for test case.
45044         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45045         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45046         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45047         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45048         * elf/dl-init.c (call_init): Likewise.
45049         (_dl_init): Likewise.
45050         * elf/dl-load.c (print_search_path): Likewise.
45051         (_dl_map_object): Likewise.
45052         * elf/dl-lookup.c (do_lookup_x): Likewise.
45053         (add_dependency): Likewise.
45054         (_dl_lookup_symbol_x): Likewise.
45055         (_dl_debug_bindings): Likewise.
45056         * elf/dl-open.c (_dl_show_scope): Likewise.
45057         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45058         * elf/dl-version.c (match_symbol): Likewise.
45059         (_dl_check_map_versions): Likewise.
45060         * elf/rtld.c (dl_main): Likewise.
45061         (print_unresolved): Use RTLD_PROGNAME.
45062         (print_missing_version): Likewise.
45063         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45064         (elf_machine_rela): Likewise.
45065         * sysdeps/powerpc/powerpc32/dl-machine.c
45066         (__process_machine_rela): Likewise.
45067         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45068         Likewise.
45069         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45070         Likewise.
45071         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45072         Likewise.
45073         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45074         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45075         Likewise.
45076         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45077         Likewise.
45078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45080 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45082         * po/be.po: Add descriptive title.
45083         * po/zh_CN.po: Likewise.
45084         * po/header.pot: Likewise.
45086 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45088         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45089         error message.
45090         (enlarge_archive): Likewise.
45092 2013-05-28  Ben North  <ben@redfrontdoor.org>
45094         * manual/arith.texi (frexp): It is the magnitude of the return
45095         value which lies in [0.5, 1), not the return value itself.
45097 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45101 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45103         * stdio-common/bug26.c (main): Correct fscanf template.
45105         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45106         declare _dl_skip_args.
45108         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45109         Don't declare.
45111         * manual/platform.texi: Add missing @end deftypefun.
45113 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45115         [BZ #15529]
45116         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45117         bit of mantissa of 2^16382.
45118         * math/libm-test.inc (hypot_test_data): Add more tests.
45120         * math/libm-test.inc: Add drem and pow10 to list of tested
45121         functions.
45122         (pow10_test): New function.
45123         (drem_test): Likewise.
45124         (drem_test_tonearest): Likewise.
45125         (drem_test_towardzero): Likewise.
45126         (drem_test_downward): Likewise.
45127         (drem_test_upward): Likewise.
45128         (main): Call the new functions.
45130         * math/libm-test.inc (finite_test_data): Remove.
45131         (finite_test): Run tests from isfinite_test_data.
45132         (gamma_test_data): Remove.
45133         (gamma_test): Run tests from lgamma_test_data.
45134         * sysdeps/i386/fpu/libm-test-ulps: Update.
45135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45137 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45139         * manual/platform.texi: Add PowerPC PPR function set documentation.
45140         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45141         implementation.
45143 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45145         * math/libm-test.inc (MAX_EXP): Define.
45146         (ULPDIFF): Define.
45147         (ulp): New function.
45148         (check_float_internal): Use ULPDIFF.
45149         (cpow_test): Disable failing test.
45150         (check_ulp): Test ulp() implemetnation.
45151         (main): Call check_ulp before starting tests.
45153 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45155         * math/gen-libm-test.pl (generate_testfile): Do not handle
45156         START_DATA and END_DATA.
45157         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45158         END_DATA.
45159         (acos_tonearest_test_data): Likewise.
45160         (acos_towardzero_test_data): Likewise.
45161         (acos_downward_test_data): Likewise.
45162         (acos_upward_test_data): Likewise.
45163         (acosh_test_data): Likewise.
45164         (asin_test_data): Likewise.
45165         (asin_tonearest_test_data): Likewise.
45166         (asin_towardzero_test_data): Likewise.
45167         (asin_downward_test_data): Likewise.
45168         (asin_upward_test_data): Likewise.
45169         (asinh_test_data): Likewise.
45170         (atan_test_data): Likewise.
45171         (atanh_test_data): Likewise.
45172         (atan2_test_data): Likewise.
45173         (cabs_test_data): Likewise.
45174         (cacos_test_data): Likewise.
45175         (cacosh_test_data): Likewise.
45176         (carg_test_data): Likewise.
45177         (casin_test_data): Likewise.
45178         (casinh_test_data): Likewise.
45179         (catan_test_data): Likewise.
45180         (catanh_test_data): Likewise.
45181         (cbrt_test_data): Likewise.
45182         (ccos_test_data): Likewise.
45183         (ccosh_test_data): Likewise.
45184         (ceil_test_data): Likewise.
45185         (cexp_test_data): Likewise.
45186         (cimag_test_data): Likewise.
45187         (clog_test_data): Likewise.
45188         (clog10_test_data): Likewise.
45189         (conj_test_data): Likewise.
45190         (copysign_test_data): Likewise.
45191         (cos_test_data): Likewise.
45192         (cos_tonearest_test_data): Likewise.
45193         (cos_towardzero_test_data): Likewise.
45194         (cos_downward_test_data): Likewise.
45195         (cos_upward_test_data): Likewise.
45196         (cosh_test_data): Likewise.
45197         (cosh_tonearest_test_data): Likewise.
45198         (cosh_towardzero_test_data): Likewise.
45199         (cosh_downward_test_data): Likewise.
45200         (cosh_upward_test_data): Likewise.
45201         (cpow_test_data): Likewise.
45202         (cproj_test_data): Likewise.
45203         (creal_test_data): Likewise.
45204         (csin_test_data): Likewise.
45205         (csinh_test_data): Likewise.
45206         (csqrt_test_data): Likewise.
45207         (ctan_test_data): Likewise.
45208         (ctan_tonearest_test_data): Likewise.
45209         (ctan_towardzero_test_data): Likewise.
45210         (ctan_downward_test_data): Likewise.
45211         (ctan_upward_test_data): Likewise.
45212         (ctanh_test_data): Likewise.
45213         (ctanh_tonearest_test_data): Likewise.
45214         (ctanh_towardzero_test_data): Likewise.
45215         (ctanh_downward_test_data): Likewise.
45216         (ctanh_upward_test_data): Likewise.
45217         (erf_test_data): Likewise.
45218         (erfc_test_data): Likewise.
45219         (exp_test_data): Likewise.
45220         (exp_tonearest_test_data): Likewise.
45221         (exp_towardzero_test_data): Likewise.
45222         (exp_downward_test_data): Likewise.
45223         (exp_upward_test_data): Likewise.
45224         (exp10_test_data): Likewise.
45225         (exp2_test_data): Likewise.
45226         (expm1_test_data): Likewise.
45227         (fabs_test_data): Likewise.
45228         (fdim_test_data): Likewise.
45229         (finite_test_data): Likewise.
45230         (floor_test_data): Likewise.
45231         (fma_test_data): Likewise.
45232         (fma_towardzero_test_data): Likewise.
45233         (fma_downward_test_data): Likewise.
45234         (fma_upward_test_data): Likewise.
45235         (fmax_test_data): Likewise.
45236         (fmin_test_data): Likewise.
45237         (fmod_test_data): Likewise.
45238         (fpclassify_test_data): Likewise.
45239         (frexp_test_data): Likewise.
45240         (gamma_test_data): Likewise.
45241         (hypot_test_data): Likewise.
45242         (ilogb_test_data): Likewise.
45243         (isfinite_test_data): Likewise.
45244         (isgreater_test_data): Likewise.
45245         (isgreaterequal_test_data): Likewise.
45246         (isinf_test_data): Likewise.
45247         (isless_test_data): Likewise.
45248         (islessequal_test_data): Likewise.
45249         (islessgreater_test_data): Likewise.
45250         (isnan_test_data): Likewise.
45251         (isnormal_test_data): Likewise.
45252         (issignaling_test_data): Likewise.
45253         (isunordered_test_data): Likewise.
45254         (j0_test_data): Likewise.
45255         (j1_test_data): Likewise.
45256         (jn_test_data): Likewise.
45257         (ldexp_test_data): Likewise.
45258         (lgamma_test_data): Likewise.
45259         (lrint_test_data): Likewise.
45260         (lrint_tonearest_test_data): Likewise.
45261         (lrint_towardzero_test_data): Likewise.
45262         (lrint_downward_test_data): Likewise.
45263         (lrint_upward_test_data): Likewise.
45264         (llrint_test_data): Likewise.
45265         (llrint_tonearest_test_data): Likewise.
45266         (llrint_towardzero_test_data): Likewise.
45267         (llrint_downward_test_data): Likewise.
45268         (llrint_upward_test_data): Likewise.
45269         (log_test_data): Likewise.
45270         (log10_test_data): Likewise.
45271         (log1p_test_data): Likewise.
45272         (log2_test_data): Likewise.
45273         (logb_test_data): Likewise.
45274         (logb_downward_test_data): Likewise.
45275         (lround_test_data): Likewise.
45276         (llround_test_data): Likewise.
45277         (modf_test_data): Likewise.
45278         (nearbyint_test_data): Likewise.
45279         (nextafter_test_data): Likewise.
45280         (nexttoward_test_data): Likewise.
45281         (pow_test_data): Likewise.
45282         (pow_tonearest_test_data): Likewise.
45283         (pow_towardzero_test_data): Likewise.
45284         (pow_downward_test_data): Likewise.
45285         (pow_upward_test_data): Likewise.
45286         (remainder_test_data): Likewise.
45287         (remainder_tonearest_test_data): Likewise.
45288         (remainder_towardzero_test_data): Likewise.
45289         (remainder_downward_test_data): Likewise.
45290         (remainder_upward_test_data): Likewise.
45291         (remquo_test_data): Likewise.
45292         (rint_test_data): Likewise.
45293         (rint_tonearest_test_data): Likewise.
45294         (rint_towardzero_test_data): Likewise.
45295         (rint_downward_test_data): Likewise.
45296         (rint_upward_test_data): Likewise.
45297         (round_test_data): Likewise.
45298         (scalb_test_data): Likewise.
45299         (scalbn_test_data): Likewise.
45300         (scalbln_test_data): Likewise.
45301         (signbit_test_data): Likewise.
45302         (sin_test_data): Likewise.
45303         (sin_tonearest_test_data): Likewise.
45304         (sin_towardzero_test_data): Likewise.
45305         (sin_downward_test_data): Likewise.
45306         (sin_upward_test_data): Likewise.
45307         (sincos_test_data): Likewise.
45308         (sinh_test_data): Likewise.
45309         (sinh_tonearest_test_data): Likewise.
45310         (sinh_towardzero_test_data): Likewise.
45311         (sinh_downward_test_data): Likewise.
45312         (sinh_upward_test_data): Likewise.
45313         (sqrt_test_data): Likewise.
45314         (tan_test_data): Likewise.
45315         (tan_tonearest_test_data): Likewise.
45316         (tan_towardzero_test_data): Likewise.
45317         (tan_downward_test_data): Likewise.
45318         (tan_upward_test_data): Likewise.
45319         (tanh_test_data): Likewise.
45320         (tgamma_test_data): Likewise.
45321         (trunc_test_data): Likewise.
45322         (y0_test_data): Likewise.
45323         (y1_test_data): Likewise.
45324         (yn_test_data): Likewise.
45325         (significand_test_data): Likewise.
45327         * math/gen-libm-test.pl (@functions): Remove variable.
45328         (generate_testfile): Don't handle START and END lines.
45329         * math/libm-test.inc (START): New macro.
45330         (END): Likewise.
45331         (END_COMPLEX): Likewise.
45332         (acos_test): Use END macro without arguments.
45333         (acos_test_tonearest): Likewise.
45334         (acos_test_towardzero): Likewise.
45335         (acos_test_downward): Likewise.
45336         (acos_test_upward): Likewise.
45337         (acosh_test): Likewise.
45338         (asin_test): Likewise.
45339         (asin_test_tonearest): Likewise.
45340         (asin_test_towardzero): Likewise.
45341         (asin_test_downward): Likewise.
45342         (asin_test_upward): Likewise.
45343         (asinh_test): Likewise.
45344         (atan_test): Likewise.
45345         (atanh_test): Likewise.
45346         (atan2_test): Likewise.
45347         (cabs_test): Likewise.
45348         (cacos_test): Use END_COMPLEX macro without arguments.
45349         (cacosh_test): Likewise.
45350         (carg_test): Use END macro without arguments.
45351         (casin_test): Use END_COMPLEX macro without arguments.
45352         (casinh_test): Likewise.
45353         (catan_test): Likewise.
45354         (catanh_test): Likewise.
45355         (cbrt_test): Use END macro without arguments.
45356         (ccos_test): Use END_COMPLEX macro without arguments.
45357         (ccosh_test): Likewise.
45358         (ceil_test): Use END macro without arguments.
45359         (cexp_test): Use END_COMPLEX macro without arguments.
45360         (cimag_test): Use END macro without arguments.
45361         (clog_test): Use END_COMPLEX macro without arguments.
45362         (clog10_test): Likewise.
45363         (conj_test): Likewise.
45364         (copysign_test): Use END macro without arguments.
45365         (cos_test): Likewise.
45366         (cos_test_tonearest): Likewise.
45367         (cos_test_towardzero): Likewise.
45368         (cos_test_downward): Likewise.
45369         (cos_test_upward): Likewise.
45370         (cosh_test): Likewise.
45371         (cosh_test_tonearest): Likewise.
45372         (cosh_test_towardzero): Likewise.
45373         (cosh_test_downward): Likewise.
45374         (cosh_test_upward): Likewise.
45375         (cpow_test): Use END_COMPLEX macro without arguments.
45376         (cproj_test): Likewise.
45377         (creal_test): Use END macro without arguments.
45378         (csin_test): Use END_COMPLEX macro without arguments.
45379         (csinh_test): Likewise.
45380         (csqrt_test): Likewise.
45381         (ctan_test): Likewise.
45382         (ctan_test_tonearest): Likewise.
45383         (ctan_test_towardzero): Likewise.
45384         (ctan_test_downward): Likewise.
45385         (ctan_test_upward): Likewise.
45386         (ctanh_test): Likewise.
45387         (ctanh_test_tonearest): Likewise.
45388         (ctanh_test_towardzero): Likewise.
45389         (ctanh_test_downward): Likewise.
45390         (ctanh_test_upward): Likewise.
45391         (erf_test): Use END macro without arguments.
45392         (erfc_test): Likewise.
45393         (exp_test): Likewise.
45394         (exp_test_tonearest): Likewise.
45395         (exp_test_towardzero): Likewise.
45396         (exp_test_downward): Likewise.
45397         (exp_test_upward): Likewise.
45398         (exp10_test): Likewise.
45399         (exp2_test): Likewise.
45400         (expm1_test): Likewise.
45401         (fabs_test): Likewise.
45402         (fdim_test): Likewise.
45403         (finite_test): Likewise.
45404         (floor_test): Likewise.
45405         (fma_test): Likewise.
45406         (fma_test_towardzero): Likewise.
45407         (fma_test_downward): Likewise.
45408         (fma_test_upward): Likewise.
45409         (fmax_test): Likewise.
45410         (fmin_test): Likewise.
45411         (fmod_test): Likewise.
45412         (fpclassify_test): Likewise.
45413         (frexp_test): Likewise.
45414         (gamma_test): Likewise.
45415         (hypot_test): Likewise.
45416         (ilogb_test): Likewise.
45417         (isfinite_test): Likewise.
45418         (isgreater_test): Likewise.
45419         (isgreaterequal_test): Likewise.
45420         (isinf_test): Likewise.
45421         (isless_test): Likewise.
45422         (islessequal_test): Likewise.
45423         (islessgreater_test): Likewise.
45424         (isnan_test): Likewise.
45425         (isnormal_test): Likewise.
45426         (issignaling_test): Likewise.
45427         (isunordered_test): Likewise.
45428         (j0_test): Likewise.
45429         (j1_test): Likewise.
45430         (jn_test): Likewise.
45431         (ldexp_test): Likewise.
45432         (lgamma_test): Likewise.
45433         (lrint_test): Likewise.
45434         (lrint_test_tonearest): Likewise.
45435         (lrint_test_towardzero): Likewise.
45436         (lrint_test_downward): Likewise.
45437         (lrint_test_upward): Likewise.
45438         (llrint_test): Likewise.
45439         (llrint_test_tonearest): Likewise.
45440         (llrint_test_towardzero): Likewise.
45441         (llrint_test_downward): Likewise.
45442         (llrint_test_upward): Likewise.
45443         (log_test): Likewise.
45444         (log10_test): Likewise.
45445         (log1p_test): Likewise.
45446         (log2_test): Likewise.
45447         (logb_test): Likewise.
45448         (logb_test_downward): Likewise.
45449         (lround_test): Likewise.
45450         (llround_test): Likewise.
45451         (modf_test): Likewise.
45452         (nearbyint_test): Likewise.
45453         (nextafter_test): Likewise.
45454         (nexttoward_test): Likewise.
45455         (pow_test): Likewise.
45456         (pow_test_tonearest): Likewise.
45457         (pow_test_towardzero): Likewise.
45458         (pow_test_downward): Likewise.
45459         (pow_test_upward): Likewise.
45460         (remainder_test): Likewise.
45461         (remainder_test_tonearest): Likewise.
45462         (remainder_test_towardzero): Likewise.
45463         (remainder_test_downward): Likewise.
45464         (remainder_test_upward): Likewise.
45465         (remquo_test): Likewise.
45466         (rint_test): Likewise.
45467         (rint_test_tonearest): Likewise.
45468         (rint_test_towardzero): Likewise.
45469         (rint_test_downward): Likewise.
45470         (rint_test_upward): Likewise.
45471         (round_test): Likewise.
45472         (scalb_test): Likewise.
45473         (scalbn_test): Likewise.
45474         (scalbln_test): Likewise.
45475         (signbit_test): Likewise.
45476         (sin_test): Likewise.
45477         (sin_test_tonearest): Likewise.
45478         (sin_test_towardzero): Likewise.
45479         (sin_test_downward): Likewise.
45480         (sin_test_upward): Likewise.
45481         (sincos_test): Likewise.
45482         (sinh_test): Likewise.
45483         (sinh_test_tonearest): Likewise.
45484         (sinh_test_towardzero): Likewise.
45485         (sinh_test_downward): Likewise.
45486         (sinh_test_upward): Likewise.
45487         (sqrt_test): Likewise.
45488         (tan_test): Likewise.
45489         (tan_test_tonearest): Likewise.
45490         (tan_test_towardzero): Likewise.
45491         (tan_test_downward): Likewise.
45492         (tan_test_upward): Likewise.
45493         (tanh_test): Likewise.
45494         (tgamma_test): Likewise.
45495         (trunc_test): Likewise.
45496         (y0_test): Likewise.
45497         (y1_test): Likewise.
45498         (yn_test): Likewise.
45499         (significand_test): Likewise.
45501 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45503         [BZ #15381]
45504         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45506 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45508         [BZ #14894]
45509         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45510         __ppc_mdoio and __ppc_mdoom.
45511         * manual/platform.texi: Document new functions __ppc_yield,
45512         __ppc_mdoio and __ppc_mdoom.
45514 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45516         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45517         (main): Mention "tls" pseudo-hwcap is legacy.
45518         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45520 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45522         * math/gen-libm-test.pl (parse_args): Output only string of
45523         arguments as text for test name, not full call or descriptions of
45524         tests for extra outputs.
45525         (generate_testfile): Do not pass function name to parse_args.
45526         Generate this_func variable from START.
45527         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45528         field to arg_str.
45529         (struct test_ff_f_data): Likewise.
45530         (test_ff_f_data_nexttoward): Likewise.
45531         (struct test_fi_f_data): Likewise.
45532         (struct test_fl_f_data): Likewise.
45533         (struct test_if_f_data): Likewise.
45534         (struct test_fff_f_data): Likewise.
45535         (struct test_c_f_data): Likewise.
45536         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45537         (struct test_fF_f1_data): Likewise.
45538         (struct test_ffI_f1_data): Likewise.
45539         (struct test_c_c_data): Rename test_name field to arg_str.
45540         (struct test_cc_c_data): Likewise.
45541         (struct test_f_i_data): Likewise.
45542         (struct test_ff_i_data): Likewise.
45543         (struct test_f_l_data): Likewise.
45544         (struct test_f_L_data): Likewise.
45545         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45546         and extra2_name.
45547         (COMMON_TEST_SETUP): New macro.
45548         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45549         (COMMON_TEST_CLEANUP): Likewise.
45550         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45551         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45552         macros.
45553         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45554         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45555         macros.
45556         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45557         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45558         cleanup macros.
45559         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45560         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45561         macros.
45562         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45563         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45564         macros.
45565         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45566         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45567         cleanup macros.
45568         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45569         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45570         cleanup macros.
45571         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45572         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45573         cleanup macros.
45574         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45575         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45576         macros.
45577         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45578         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45579         macros.
45580         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45581         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45582         macros.
45583         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45584         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45585         cleanup macros.
45586         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45587         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45588         cleanup macros.
45589         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45590         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45591         macros.
45592         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45593         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45594         cleanup macros.
45595         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45596         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45597         macros.
45598         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45599         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45600         macros.
45601         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45602         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45603         cleanup macros.
45604         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45606 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45608         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45609         to _sifields.sigfault.
45610         (si_addr_lsb): Define new macro.
45611         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45612         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45613         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45615 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45617         [BZ #15441]
45618         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45619         returns -1.
45620         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45621         null return -1.
45622         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45623         loading the domain.
45625 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45627         * math/gen-libm-test.pl (parse_args): Do not include expected
45628         result in test name.
45629         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45630         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45631         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45632         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45633         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45636 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45638         * benchtests/Makefile: Sort function entries.
45640         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45641         tanh, asinh, acosh, atanh.
45642         * benchtests/acos-inputs: New file.
45643         * benchtests/acosh-inputs: New file.
45644         * benchtests/asin-inputs: New file.
45645         * benchtests/asinh-inputs: New file.
45646         * benchtests/atanh-inputs: New file.
45647         * benchtests/cosh-inputs: New file.
45648         * benchtests/log-inputs: New file.
45649         * benchtests/sinh-inputs: New file.
45650         * benchtests/tanh-inputs: New file.
45652 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45654         [BZ #15339]
45655         * posix/tst-getaddrinfo4.c: New test.
45656         * posix/Makefile (tests): Add it.
45658 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45660         [BZ #15339]
45661         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45662         when no services were used.
45663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45664         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45666 2013-05-21  Andreas Schwab  <schwab@suse.de>
45668         [BZ #15014]
45669         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45670         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45671         successful.
45672         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45673         redundant variable declarations and reallocation of buffer when
45674         parsing as IPv6 address.  Always set NSS status when called from
45675         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45676         buffer too small.  Correct computation of needed size.
45677         * nss/Makefile (tests): Add test-digits-dots.
45678         * nss/test-digits-dots.c: New test.
45680 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45682         * benchtests/Makefile: Remove instructions for adding
45683         benchmark tests.
45684         * benchtests/README: New file to explain how to execute and
45685         enhance the benchmark tests.
45687 2013-05-21  Andreas Schwab  <schwab@suse.de>
45689         [BZ #15493]
45690         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45691         * setjmp/tst-sigsetjmp.c: New test.
45693 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45695         * sysdeps/x86_64/memset.S (memset): New implementation.
45696         (__bzero): Likewise.
45697         (__memset_tail): New function.
45699 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45701         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45702         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45703         __memcpy_sse2_unaligned ifunc selection.
45704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45705         Add memcpy-sse2-unaligned.S.
45706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45707         Add: __memcpy_sse2_unaligned.
45709 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45711         [BZ #15490]
45712         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45713         math_force_eval before restoring floating-point envrionment.
45714         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45715         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45716         Likewise.
45717         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45718         <math_private.h>.
45719         (__nearbyintl): Use math_force_eval before restoring
45720         floating-point environment.
45721         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45723         * math/gen-libm-test.pl (special_functions): Remove.
45724         (parse_args): Don't handle TEST_extra.  Handle functions with no
45725         return value.
45726         * math/libm-test.inc (struct test_sincos_data): Replace with
45727         struct test_fFF_11_data.
45728         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45729         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45730         (sincos_test_data): Change element type to struct
45731         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45732         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45733         RUN_TEST_LOOP_sincos.
45734         * math/README.libm-test: Don't mention special handling of
45735         individual functions.
45736         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45737         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45738         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45739         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45740         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45743         * math/gen-libm-test.pl (get_variable): Remove function.
45744         (parse_args): Don't show pointer parameters to call in test
45745         names.  Use "extra output N" in test names for extra outputs
45746         rather than naming variables.
45748 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45750         [BZ #15488]
45751         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45752         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45753         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45754         double tests.
45755         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45756         disable.
45757         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45758         check_long_double.
45760         * math/gen-libm-test.pl (@tests): Remove variable.
45761         ($count): Likewise.
45762         (new_test): Remove function.
45763         (show_exceptions): New function.
45764         (special_functions): Use show_exceptions instead of new_test.
45765         (parse_args): Likewise.
45766         (generate_testfile): Pass only function name in generated call to
45767         print_max_error or print_complex_max_error.
45768         (get_ulps): Do not handle complex tests specially.
45769         (output_test): Rename to ...
45770         (get_all_ulps_for_test): ... this.  Return a string rather than
45771         printing to a file.  Require ulps to be present.
45772         (output_ulps): Generate arrays rather than #defines.
45773         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45774         (struct ulp_data): New type.
45775         (BUILD_COMPLEX_ULP): Remove macro.
45776         (compare_ulp_data): New function.
45777         (find_ulps): Likewise.
45778         (find_test_ulps): Likewise.
45779         (find_function_ulps): Likewise.
45780         (find_complex_function_ulps): Likewise.
45781         (print_max_error): Determine allowed ulps using
45782         find_function_ulps.
45783         (print_complex_max_error): Determine allowed ulps using
45784         find_complex_function_ulps.
45785         (check_float_internal): Determine max ulps using find_test_ulps.
45786         (check_float): Do not take max_ulp parameter.  Update call to
45787         check_float_internal.
45788         (check_complex): Likewise.
45789         (check_int): Do not take max_ulp parameter.
45790         (check_long): Likewise.
45791         (check_bool): Likewise.
45792         (check_longlong): Likewise.
45793         (struct test_f_f_data): Remove max_ulp field.
45794         (struct test_ff_f_data): Likewise.
45795         (struct test_ff_f_data_nexttoward): Likewise.
45796         (struct test_fi_f_data): Likewise.
45797         (struct test_fl_f_data): Likewise.
45798         (struct test_if_f_data): Likewise.
45799         (struct test_fff_f_data): Likewise.
45800         (struct test_c_f_data): Likewise.
45801         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45802         (struct test_fF_f1_data): Likewise.
45803         (struct test_ffI_f1_data): Likewise.
45804         (struct test_c_c_data): Remove max_ulp field.
45805         (struct test_cc_c_data): Likewise.
45806         (struct test_f_i_data): Likewise.
45807         (struct test_ff_i_data): Likewise.
45808         (struct test_f_l_data): Likewise.
45809         (struct test_f_L_data): Likewise.
45810         (struct test_sincos_data): Likewise.
45811         (RUN_TEST_f_f): Do not handle ulps.
45812         (RUN_TEST_LOOP_f_f): Likewise.
45813         (RUN_TEST_2_f): Likewise.
45814         (RUN_TEST_LOOP_2_f): Likewise.
45815         (RUN_TEST_fff_f): Likewise.
45816         (RUN_TEST_LOOP_fff_f): Likewise.
45817         (RUN_TEST_c_f): Likewise.
45818         (RUN_TEST_LOOP_c_f): Likewise.
45819         (RUN_TEST_f_f1): Likewise.
45820         (RUN_TEST_LOOP_f_f1): Likewise.
45821         (RUN_TEST_fF_f1): Likewise.
45822         (RUN_TEST_LOOP_fF_f1): Likewise.
45823         (RUN_TEST_fI_f1): Likewise.
45824         (RUN_TEST_LOOP_fI_f1): Likewise.
45825         (RUN_TEST_ffI_f1): Likewise.
45826         (RUN_TEST_LOOP_ffI_f1): Likewise.
45827         (RUN_TEST_c_c): Likewise.
45828         (RUN_TEST_LOOP_c_c): Likewise.
45829         (RUN_TEST_cc_c): Likewise.
45830         (RUN_TEST_LOOP_cc_c): Likewise.
45831         (RUN_TEST_f_i): Likewise.
45832         (RUN_TEST_LOOP_f_i): Likewise.
45833         (RUN_TEST_f_i_tg): Likewise.
45834         (RUN_TEST_LOOP_f_i_tg): Likewise.
45835         (RUN_TEST_ff_i_tg): Likewise.
45836         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45837         (RUN_TEST_f_b): Likewise.
45838         (RUN_TEST_LOOP_f_b): Likewise.
45839         (RUN_TEST_f_b_tg): Likewise.
45840         (RUN_TEST_LOOP_f_b_tg): Likewise.
45841         (RUN_TEST_f_l): Likewise.
45842         (RUN_TEST_LOOP_f_l): Likewise.
45843         (RUN_TEST_f_L): Likewise.
45844         (RUN_TEST_LOOP_f_L): Likewise.
45845         (RUN_TEST_sincos): Likewise.
45846         (RUN_TEST_LOOP_sincos): Likewise.
45848 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45850         [BZ #15480]
45851         [BZ #15485]
45852         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45853         main case of finite arguments, set rounding mode to FE_TONEAREST
45854         and discard exceptions.
45855         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45856         exceptions.
45857         (remainder_tonearest_test_data): New variable.
45858         (remainder_test_tonearest): New function.
45859         (remainder_towardzero_test_data): New variable.
45860         (remainder_test_towardzero): New function.
45861         (remainder_downward_test_data): New variable.
45862         (remainder_test_downward): New function.
45863         (remainder_upward_test_data): New variable.
45864         (remainder_test_upward): New function.
45865         (main): Call the new test functions.
45867         * math/libm-test.inc (struct test_f_f1_data): Remove field
45868         extra_init.
45869         (struct test_fF_f1_data): Likewise.
45870         (struct test_ffI_f1_data): Likewise.
45871         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45872         based on value of EXTRA_EXPECTED.
45873         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45874         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45875         EXTRA_VAR based on value of EXTRA_EXPECTED.
45876         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45877         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45878         EXTRA_VAR based on value of EXTRA_EXPECTED.
45879         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45880         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45881         EXTRA_VAR based on value of EXTRA_EXPECTED.
45882         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45883         * math/gen-libm-test.pl (parse_args): Don't output initializers
45884         for extra output values.
45886         * math/libm-test.inc (check_int): Expect result to be exactly
45887         equal to expected value and do not handle ulps.
45888         (check_long): Likewise.
45889         (check_longlong): Likewise.
45891         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45892         exceptions.
45893         (cimag_test_data): Likewise.
45894         (conj_test_data): Likewise.
45895         (copysign_test_data): Likewise.
45896         (cproj_test_data): Likewise.
45897         (creal_test_data): Likewise.
45898         (fabs_test_data): Likewise.
45899         (fdim_test_data): Likewise.
45900         (finite_test_data): Likewise.
45901         (floor_test_data): Likewise.
45902         (fmax_test_data): Likewise.
45903         (fmin_test_data): Likewise.
45904         (fmod_test_data): Likewise.
45905         (fpclassify_test_data): Likewise.
45906         (frexp_test_data): Likewise.
45907         (ilogb_test_data): Likewise.
45908         (isfinite_test_data): Likewise.
45909         (isgreater_test_data): Likewise.
45910         (isgreaterequal_test_data): Likewise.
45911         (isinf_test_data): Likewise.
45912         (isless_test_data): Likewise.
45913         (islessequal_test_data): Likewise.
45914         (islessgreater_test_data): Likewise.
45915         (isnan_test_data): Likewise.
45916         (isnormal_test_data): Likewise.
45917         (issignaling_test_data): Likewise.
45918         (isunordered_test_data): Likewise.
45919         (ldexp_test_data): Likewise.
45920         (lrint_test_data): Likewise.
45921         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45922         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45923         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45924         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45925         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45926         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45927         test input.
45928         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45929         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45930         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45931         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45932         that test input.
45933         (lrint_downward_test_data): Test for "inexact" exceptions.
45934         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45935         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45936         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45937         test input.
45938         (lrint_upward_test_data): Test for "inexact" exceptions.
45939         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45940         test input.
45941         (llrint_test_data): Test for "inexact" exceptions.
45942         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45943         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45944         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45945         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45946         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45947         (llrint_downward_test_data): Test for "inexact" exceptions.
45948         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45949         (llrint_upward_test_data): Test for "inexact" exceptions.
45950         (logb_test_data): Likewise.
45951         (logb_downward_test_data): Likewise.
45952         (nextafter_test_data): Likewise.
45953         (nexttoward_test_data): Likewise.
45954         (remainder_test_data): Likewise.
45955         (remquo_test_data): Likewise.
45956         (scalbn_test_data): Likewise.
45957         (scalbln_test_data): Likewise.
45958         (signbit_test_data): Likewise.
45959         (sqrt_test_data): Likewise.
45960         (significand_test_data): Likewise.
45962 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45964         [BZ #15424]
45965         * benchtests/bench-modf.c (struct args): Mark arg0 as
45966         volatile.
45967         * scripts/bench.pl: Mark members of struct args as volatile.
45969 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45971         [BZ # 15497]
45972         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45973         negative infinity on POWER6 or lower.
45974         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45976 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45978         [BZ #15442]
45979         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45980         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45981         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45982         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45983         (_FP_SETQNAN): New macro.
45984         (_FP_SETQNAN_SEMIRAW): Likewise.
45985         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45986         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45987         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45988         (FP_EXTEND): Use _FP_FRAC_SNANP.
45989         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45990         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45991         into account.
45992         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45993         New macro.
45994         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45995         Likewise.
45997 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45999         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46000         with DIVIDE_BY_ZERO_EXCEPTION.
46001         (gamma_test_data): Likewise.
46002         (lgamma_test_data): Likewise.
46003         (log_test_data): Likewise.
46004         (log10_test_data): Likewise.
46005         (log2_test_data): Likewise.
46006         (tgamma_test_data): Likewise.
46008         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46009         (acos_test_tonearest): Likewise.
46010         (acos_test_towardzero): Likewise.
46011         (acos_test_downward): Likewise.
46012         (acos_test_upward): Likewise.
46013         (acosh_test): Likewise.
46014         (asin_test): Likewise.
46015         (asin_test_tonearest): Likewise.
46016         (asin_test_towardzero): Likewise.
46017         (asin_test_downward): Likewise.
46018         (asin_test_upward): Likewise.
46019         (asinh_test): Likewise.
46020         (atan_test): Likewise.
46021         (atanh_test): Likewise.
46022         (atan2_test): Likewise.
46023         (cabs_test): Likewise.
46024         (cacos_test): Likewise.
46025         (cacosh_test): Likewise.
46026         (casin_test): Likewise.
46027         (casinh_test): Likewise.
46028         (catan_test): Likewise.
46029         (catanh_test): Likewise.
46030         (cbrt_test): Likewise.
46031         (ccos_test): Likewise.
46032         (ccosh_test): Likewise.
46033         (cexp_test): Likewise.
46034         (clog_test): Likewise.
46035         (clog10_test): Likewise.
46036         (cos_test): Likewise.
46037         (cos_test_tonearest): Likewise.
46038         (cos_test_towardzero): Likewise.
46039         (cos_test_downward): Likewise.
46040         (cos_test_upward): Likewise.
46041         (cosh_test): Likewise.
46042         (cosh_test_tonearest): Likewise.
46043         (cosh_test_towardzero): Likewise.
46044         (cosh_test_downward): Likewise.
46045         (cosh_test_upward): Likewise.
46046         (cpow_test): Likewise.
46047         (csin_test): Likewise.
46048         (csinh_test): Likewise.
46049         (csqrt_test): Likewise.
46050         (ctan_test): Likewise.
46051         (ctan_test_tonearest): Likewise.
46052         (ctan_test_towardzero): Likewise.
46053         (ctan_test_downward): Likewise.
46054         (ctan_test_upward): Likewise.
46055         (ctanh_test): Likewise.
46056         (ctanh_test_tonearest): Likewise.
46057         (ctanh_test_towardzero): Likewise.
46058         (ctanh_test_downward): Likewise.
46059         (ctanh_test_upward): Likewise.
46060         (erf_test): Likewise.
46061         (erfc_test): Likewise.
46062         (exp_test): Likewise.
46063         (exp_test_tonearest): Likewise.
46064         (exp_test_towardzero): Likewise.
46065         (exp_test_downward): Likewise.
46066         (exp_test_upward): Likewise.
46067         (exp10_test): Likewise.
46068         (exp2_test): Likewise.
46069         (expm1_test): Likewise.
46070         (fmod_test): Likewise.
46071         (gamma_test): Likewise.
46072         (hypot_test): Likewise.
46073         (j0_test): Likewise.
46074         (j1_test): Likewise.
46075         (jn_test): Likewise.
46076         (lgamma_test): Likewise.
46077         (log_test): Likewise.
46078         (log10_test): Likewise.
46079         (log1p_test): Likewise.
46080         (log2_test): Likewise.
46081         (logb_test_downward): Likewise.
46082         (pow_test): Likewise.
46083         (pow_test_tonearest): Likewise.
46084         (pow_test_towardzero): Likewise.
46085         (pow_test_downward): Likewise.
46086         (pow_test_upward): Likewise.
46087         (remainder_test): Likewise.
46088         (remquo_test): Likewise.
46089         (sin_test): Likewise.
46090         (sin_test_tonearest): Likewise.
46091         (sin_test_towardzero): Likewise.
46092         (sin_test_downward): Likewise.
46093         (sin_test_upward): Likewise.
46094         (sincos_test): Likewise.
46095         (sinh_test): Likewise.
46096         (sinh_test_tonearest): Likewise.
46097         (sinh_test_towardzero): Likewise.
46098         (sinh_test_downward): Likewise.
46099         (sinh_test_upward): Likewise.
46100         (sqrt_test): Likewise.
46101         (tan_test): Likewise.
46102         (tan_test_tonearest): Likewise.
46103         (tan_test_towardzero): Likewise.
46104         (tan_test_downward): Likewise.
46105         (tan_test_upward): Likewise.
46106         (tanh_test): Likewise.
46107         (tgamma_test): Likewise.
46108         (y0_test): Likewise.
46109         (y1_test): Likewise.
46110         (yn_test): Likewise.
46112         * math/gen-libm-test.pl (adjust_arg): Remove function.
46113         (special_function): Remove argument $in_func.  Only handle
46114         generating output for tables of tests, not inside functions.
46115         (parse_args): Likewise.
46116         (generate_testfile): Remove variable $in_func.  Update call to
46117         parse_args.
46118         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46119         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46120         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46121         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46122         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46123         (MAX_VALUE_INIT): Rename macro to max_value.
46124         (MIN_VALUE_INIT): Rename macro to min_value.
46125         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46126         (plus_zero): Remove variable.
46127         (minus_zero): Likewise.
46128         (plus_infty): Likewise.
46129         (minus_infty): Likewise.
46130         (qnan_value): Likewise.
46131         (max_value): Likewise.
46132         (min_value): Likewise.
46133         (min_subnorm_value): Likewise.
46135 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46137         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46138         uint64_t or uint32_t usage.
46139         * crypt/sha256-block.c: Likewise.
46140         * crypt/sha256-crypt.c: Likewise.
46141         * crypt/sha256.c: Likewise.
46142         * crypt/sha512-block.c: Likewise.
46143         * crypt/sha512-crypt.c: Likewise.
46144         * crypt/sha512.c: Likewise.
46145         * debug/backtrace-tst.c: Likewise.
46146         * debug/pcprofiledump.c: Likewise.
46147         * elf/cache.c: Likewise.
46148         * elf/dl-cache.c: Likewise.
46149         * elf/dl-misc.c: Likewise.
46150         * elf/dl-profile.c: Likewise.
46151         * elf/dl-support.c: Likewise.
46152         * elf/ldconfig.c: Likewise.
46153         * elf/sprof.c: Likewise.
46154         * iconv/dummy-repertoire.c: Likewise.
46155         * iconv/iconv_charmap.c: Likewise.
46156         * iconv/skeleton.c: Likewise.
46157         * iconvdata/8bit-generic.c: Likewise.
46158         * iconvdata/cp737.h: Likewise.
46159         * iconvdata/cp775.h: Likewise.
46160         * iconvdata/ibm1008.h: Likewise.
46161         * iconvdata/ibm1025.h: Likewise.
46162         * iconvdata/ibm1046.h: Likewise.
46163         * iconvdata/ibm1097.h: Likewise.
46164         * iconvdata/ibm1112.h: Likewise.
46165         * iconvdata/ibm1122.h: Likewise.
46166         * iconvdata/ibm1123.h: Likewise.
46167         * iconvdata/ibm1124.h: Likewise.
46168         * iconvdata/ibm1129.h: Likewise.
46169         * iconvdata/ibm1130.h: Likewise.
46170         * iconvdata/ibm1132.h: Likewise.
46171         * iconvdata/ibm1133.h: Likewise.
46172         * iconvdata/ibm1137.h: Likewise.
46173         * iconvdata/ibm1140.h: Likewise.
46174         * iconvdata/ibm1141.h: Likewise.
46175         * iconvdata/ibm1142.h: Likewise.
46176         * iconvdata/ibm1143.h: Likewise.
46177         * iconvdata/ibm1144.h: Likewise.
46178         * iconvdata/ibm1145.h: Likewise.
46179         * iconvdata/ibm1146.h: Likewise.
46180         * iconvdata/ibm1147.h: Likewise.
46181         * iconvdata/ibm1148.h: Likewise.
46182         * iconvdata/ibm1149.h: Likewise.
46183         * iconvdata/ibm1153.h: Likewise.
46184         * iconvdata/ibm1154.h: Likewise.
46185         * iconvdata/ibm1155.h: Likewise.
46186         * iconvdata/ibm1156.h: Likewise.
46187         * iconvdata/ibm1157.h: Likewise.
46188         * iconvdata/ibm1158.h: Likewise.
46189         * iconvdata/ibm1160.h: Likewise.
46190         * iconvdata/ibm1161.h: Likewise.
46191         * iconvdata/ibm1162.h: Likewise.
46192         * iconvdata/ibm1163.h: Likewise.
46193         * iconvdata/ibm1164.h: Likewise.
46194         * iconvdata/ibm1166.h: Likewise.
46195         * iconvdata/ibm1167.h: Likewise.
46196         * iconvdata/ibm12712.h: Likewise.
46197         * iconvdata/ibm1390.h: Likewise.
46198         * iconvdata/ibm1399.h: Likewise.
46199         * iconvdata/ibm16804.h: Likewise.
46200         * iconvdata/ibm4517.h: Likewise.
46201         * iconvdata/ibm4899.h: Likewise.
46202         * iconvdata/ibm4909.h: Likewise.
46203         * iconvdata/ibm4971.h: Likewise.
46204         * iconvdata/ibm5347.h: Likewise.
46205         * iconvdata/ibm803.h: Likewise.
46206         * iconvdata/ibm856.h: Likewise.
46207         * iconvdata/ibm901.h: Likewise.
46208         * iconvdata/ibm902.h: Likewise.
46209         * iconvdata/ibm9030.h: Likewise.
46210         * iconvdata/ibm9066.h: Likewise.
46211         * iconvdata/ibm921.h: Likewise.
46212         * iconvdata/ibm922.h: Likewise.
46213         * iconvdata/ibm9448.h: Likewise.
46214         * iconvdata/isiri-3342.h: Likewise.
46215         * iconvdata/jis0201.h: Likewise.
46216         * include/link.h: Likewise.
46217         * include/netdb.h: Likewise.
46218         * inet/check_native.c: Likewise.
46219         * inet/check_pf.c: Likewise.
46220         * inet/getipv4sourcefilter.c: Likewise.
46221         * inet/getnameinfo.c: Likewise.
46222         * inet/getsourcefilter.c: Likewise.
46223         * inet/htonl.c: Likewise.
46224         * inet/setipv4sourcefilter.c: Likewise.
46225         * inet/setsourcefilter.c: Likewise.
46226         * inet/test-inet6_opt.c: Likewise.
46227         * inet/tst-network.c: Likewise.
46228         * locale/C-collate.c: Likewise.
46229         * locale/C-ctype.c: Likewise.
46230         * locale/C-time.c: Likewise.
46231         * locale/C-translit.h: Likewise.
46232         * locale/loadarchive.c: Likewise.
46233         * locale/programs/3level.h: Likewise.
46234         * locale/programs/charmap.c: Likewise.
46235         * locale/programs/charmap.h: Likewise.
46236         * locale/programs/ld-address.c: Likewise.
46237         * locale/programs/ld-collate.c: Likewise.
46238         * locale/programs/ld-ctype.c: Likewise.
46239         * locale/programs/ld-identification.c: Likewise.
46240         * locale/programs/ld-measurement.c: Likewise.
46241         * locale/programs/ld-messages.c: Likewise.
46242         * locale/programs/ld-monetary.c: Likewise.
46243         * locale/programs/ld-name.c: Likewise.
46244         * locale/programs/ld-numeric.c: Likewise.
46245         * locale/programs/ld-paper.c: Likewise.
46246         * locale/programs/ld-telephone.c: Likewise.
46247         * locale/programs/ld-time.c: Likewise.
46248         * locale/programs/linereader.c: Likewise.
46249         * locale/programs/locale.c: Likewise.
46250         * locale/programs/locarchive.c: Likewise.
46251         * locale/programs/locfile.h: Likewise.
46252         * locale/programs/repertoire.c: Likewise.
46253         * locale/programs/simple-hash.c: Likewise.
46254         * locale/programs/simple-hash.h: Likewise.
46255         * malloc/memusage.c: Likewise.
46256         * malloc/memusagestat.c: Likewise.
46257         * nis/nis_defaults.c: Likewise.
46258         * nis/nis_hash.c: Likewise.
46259         * nis/nis_print.c: Likewise.
46260         * nis/nis_xdr.c: Likewise.
46261         * nscd/connections.c: Likewise.
46262         * nscd/hstcache.c: Likewise.
46263         * nscd/nscd_gethst_r.c: Likewise.
46264         * nscd/nscd_getserv_r.c: Likewise.
46265         * nscd/nscd_helper.c: Likewise.
46266         * nscd/servicescache.c: Likewise.
46267         * nss/makedb.c: Likewise.
46268         * nss/nss_db/db-XXX.c: Likewise.
46269         * nss/nss_db/db-initgroups.c: Likewise.
46270         * nss/nss_db/db-netgrp.c: Likewise.
46271         * nss/nss_files/files-network.c: Likewise.
46272         * nss/nss_files/files-parse.c: Likewise.
46273         * posix/bug-regex5.c: Likewise.
46274         * posix/fnmatch_loop.c: Likewise.
46275         * posix/regcomp.c: Likewise.
46276         * posix/regexec.c: Likewise.
46277         * posix/tst-rfc3484-2.c: Likewise.
46278         * posix/tst-rfc3484-3.c: Likewise.
46279         * posix/tst-rfc3484.c: Likewise.
46280         * resolv/nss_dns/dns-canon.c: Likewise.
46281         * resolv/nss_dns/dns-network.c: Likewise.
46282         * resolv/res_init.c: Likewise.
46283         * resolv/res_mkquery.c: Likewise.
46284         * resolv/tst-aton.c: Likewise.
46285         * stdlib/cxa_atexit.c: Likewise.
46286         * stdlib/cxa_finalize.c: Likewise.
46287         * stdlib/gen-fpioconst.c: Likewise.
46288         * stdlib/strtol_l.c: Likewise.
46289         * string/tst-endian.c: Likewise.
46290         * sunrpc/auth_des.c: Likewise.
46291         * sunrpc/clnt_udp.c: Likewise.
46292         * sunrpc/rtime.c: Likewise.
46293         * sunrpc/svcauth_des.c: Likewise.
46294         * sunrpc/xdr.c: Likewise.
46295         * sunrpc/xdr_intXX_t.c: Likewise.
46296         * sunrpc/xdr_rec.c: Likewise.
46297         * sysdeps/generic/ldconfig.h: Likewise.
46298         * sysdeps/generic/ldsodefs.h: Likewise.
46299         * sysdeps/generic/memusage.h: Likewise.
46300         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46301         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46303         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46306         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46307         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46308         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46309         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46310         * sysdeps/posix/getaddrinfo.c: Likewise.
46311         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46312         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46313         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46314         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46315         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46316         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46317         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46318         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46319         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46320         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46321         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46322         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46323         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46324         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46325         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46326         * sysdeps/x86_64/dl-tls.h: Likewise.
46327         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46328         * time/alt_digit.c: Likewise.
46329         * time/era.c: Likewise.
46330         * wcsmbs/tst-c16c32-1.c: Likewise.
46332 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46334         * math/libm-test.inc (struct test_sincos_data): New type.
46335         (RUN_TEST_LOOP_sincos): New macro.
46336         (sincos_test_data): New variable.
46337         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46339 2013-05-16  Richard Henderson  <rth@redhat.com>
46341         * math/atest-exp2.c (LIMB64): New macro.
46342         (CONSTSZ): New macro.
46343         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46344         (hexdig): Move ...
46345         (print_mpn_fp): ... to function scope.
46346         (read_mpn_hex): Remove.
46347         (get_log2): Remove.
46348         (exp2_mpn): Use mp_log2.
46349         (main): Use mp_exp1.
46351 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46353         * math/libm-test.inc: Remove comment about not testing "inexact"
46354         exceptions.
46355         (INEXACT_EXCEPTION): New macro.
46356         (NO_INEXACT_EXCEPTION): Likewise.
46357         (INVALID_EXCEPTION_OK): Update value.
46358         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46359         (OVERFLOW_EXCEPTION_OK): Likewise.
46360         (UNDERFLOW_EXCEPTION_OK): Likewise.
46361         (IGNORE_ZERO_INF_SIGN): Likewise.
46362         (ERRNO_UNCHANGED): Likewise.
46363         (ERRNO_EDOM): Likewise.
46364         (ERRNO_ERANGE): Likewise.
46365         (test_exceptions): Handle testing "inexact" exceptions.
46366         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46367         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46368         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46369         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46370         INEXACT_EXCEPTION.
46371         (rint_towardzero_test_data): Likewise.
46372         (rint_downward_test_data): Likewise.
46373         (rint_upward_test_data): Likewise.
46375         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46376         with OVERFLOW_EXCEPTION.
46377         (exp10_test_data): Likewise.
46378         (exp2_test_data): Likewise.
46379         (expm1_test_data): Likewise.
46380         (lgamma_test_data): Likewise.
46381         (pow_test_data): Likewise.
46382         (tgamma_test_data): Likewise.
46383         (yn_test_data): Remove duplicate test of overflow.
46385         * math/libm-test.inc (struct test_cc_c_data): New type.
46386         (RUN_TEST_LOOP_cc_c): New macro.
46387         (cpow_test_data): New variable.
46388         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46390         * math/libm-test.inc (struct test_f_L_data): New type.
46391         (RUN_TEST_LOOP_f_L): New macro.
46392         (llrint_test_data): New variable.
46393         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46394         (llrint_tonearest_test_data): New variable.
46395         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46396         (llrint_towardzero_test_data): New variable.
46397         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46398         (llrint_downward_test_data): New variable.
46399         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46400         (llrint_upward_test_data): New variable.
46401         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46402         (llround_test_data): New variable.
46403         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46405 2013-05-13  Peter Collingbourne  <pcc@google.com>
46407         * math/atest-exp2.c (get_log2): Remove const attribute.
46409 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46411         * math/libm-test.inc (struct test_f_l_data): New type.
46412         (RUN_TEST_LOOP_f_l): New macro.
46413         (lrint_test_data): New variable.
46414         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46415         (lrint_tonearest_test_data): New variable.
46416         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46417         (lrint_towardzero_test_data): New variable.
46418         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46419         (lrint_downward_test_data): New variable.
46420         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46421         (lrint_upward_test_data): New variable.
46422         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46423         (lround_test_data): New variable.
46424         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46426 2013-05-15  Peter Collingbourne  <pcc@google.com>
46428         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46429         (EXTRACT_WORDS64) Use where appropriate.
46430         (INSERT_WORDS64) Likewise.
46432         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46433         constraints with x constraints.
46434         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46436         * malloc/obstack.c (_obstack_compat): Add initializer.
46438 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46440         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46441         si_trapno and add si_addr_lsb to _sifields.sigfault.
46442         (si_trapno): Remove macro.
46443         (si_addr_lsb): Define new macro.
46444         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46446 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46448         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46449         instead of TEST_f_l.
46450         (llrint_test_tonearest): Likewise.
46451         (llrint_test_towardzero): Likewise.
46452         (llrint_test_downward): Likewise.
46453         (llrint_test_upward): Likewise.
46454         (llround_test): Likewise.
46456         * math/libm-test.inc (struct test_f_i_data): Add comment.
46457         (RUN_TEST_LOOP_f_b): New macro.
46458         (RUN_TEST_LOOP_f_b_tg): Likewise.
46459         (finite_test_data): New variable.
46460         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46461         (isfinite_test_data): New variable.
46462         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46463         (isinf_test_data): New variable.
46464         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46465         (isnan_test_data): New variable.
46466         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46467         (isnormal_test_data): New variable.
46468         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46469         (issignaling_test_data): New variable.
46470         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46471         (signbit_test_data): New variable.
46472         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46474         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46475         with INVALID_EXCEPTION.
46476         (acosh_test_data): Likewise.
46477         (asin_test_data): Likewise.
46478         (atanh_test_data): Likewise.
46479         (fmod_test_data): Likewise.
46480         (log_test_data): Likewise.
46481         (log10_test_data): Likewise.
46482         (log2_test_data): Likewise.
46483         (pow_test_data): Likewise.
46484         (sqrt_test_data): Likewise.
46485         (y0_test_data): Likewise.
46486         (y1_test_data): Likewise.
46487         (yn_test_data): Likewise.
46489         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46490         function contents.
46492         * math/libm-test.inc (struct test_ff_i_data): New type.
46493         (RUN_TEST_LOOP_ff_i_tg): New macro.
46494         (isgreater_test_data): New variable.
46495         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46496         (isgreaterequal_test_data): New variable.
46497         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46498         (isless_test_data): New variable.
46499         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46500         (islessequal_test_data): New variable.
46501         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46502         (islessgreater_test_data): New variable.
46503         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46504         (isunordered_test_data): New variable.
46505         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46507 2013-05-14  David S. Miller  <davem@davemloft.net>
46509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46511 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46513         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46515         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46516         extra_test to int.
46517         (struct test_f_i_data): Change type of max_ulp to int.
46519         * math/libm-test.inc (test_ffI_f1_data): New type.
46520         (RUN_TEST_LOOP_ffI_f1): New macro.
46521         (remquo_test_data): New variable.
46522         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46524         * setjmp/tst-setjmp-fp.c: New file.
46525         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46526         (link-libm): New variable.
46527         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46529         * math/libm-test.inc (struct test_f_i_data): New type.
46530         (RUN_TEST_LOOP_f_i): New macro.
46531         (RUN_TEST_LOOP_f_i_tg): Likewise.
46532         (fpclassify_test_data): New variable.
46533         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46534         (ilogb_test_data): New variable.
46535         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46537         * math/libm-test.inc (scalbln_test): Correct function name in END
46538         call.
46540         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46541         (RUN_TEST_LOOP_fI_f1): New macro.
46542         (frexp_test_data): New variable.
46543         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46545         * math/libm-test.inc (struct test_fF_f1_data): New type.
46546         (RUN_TEST_LOOP_fF_f1): New macro.
46547         (modf_test_data): New variable.
46548         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46550         * math/libm-test.inc (struct test_f_f1_data): New type.
46551         (RUN_TEST_LOOP_f_f1): New macro.
46552         (gamma_test_data): New variable.
46553         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46554         (lgamma_test_data): New variable.
46555         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46557 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46559         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46560         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46561         (main): Comment "tls" pseudo-hwcap.
46563 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46565         * math/libm-test.inc (struct test_fl_f_data): New type.
46566         (RUN_TEST_LOOP_fl_f): New variable.
46567         (scalbln_test_data): New variable.
46568         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46570         * math/libm-test.inc (struct test_fi_f_data): New type.
46571         (RUN_TEST_LOOP_fi_f): New macro.
46572         (ldexp_test_data): New variable.
46573         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46574         (scalbn_test_data): New variable.
46575         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46577         * math/libm-test.inc (struct test_c_f_data): New type.
46578         (RUN_TEST_LOOP_c_f): New macro.
46579         (cabs_test_data): New variable.
46580         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46581         (carg_test_data): New variable.
46582         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46583         (cimag_test_data): New variable.
46584         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46585         (creal_test_data): New variable.
46586         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46588         * math/libm-test.inc (struct test_if_f_data): New type.
46589         (RUN_TEST_LOOP_if_f): New macro.
46590         (jn_test_data): New variable.
46591         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46592         (yn_test_data): New variable.
46593         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46595         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46597 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46599         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46600         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46602 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46604         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46605         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46606         (bench-deps): Add bench-timing.h.
46607         * benchtests-bench-skeleton.c: Include bench-timing.h.
46608         (main): Use TIMING_* macros instead of clock_gettime.
46609         * benchtests/bench-timing.h: New file.
46611         [BZ #14582]
46612         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46613         Renamed from _LIB_VERSION.
46614         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46616 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46618         * math/libm-test.inc (struct test_fff_f_data): New type.
46619         (RUN_TEST_LOOP_fff_f): New macro.
46620         (fma_test_data): New variable.
46621         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46622         (fma_towardzero_test_data): New variable.
46623         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46624         (fma_downward_test_data): New variable.
46625         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46626         (fma_upward_test_data): New variable.
46627         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46629         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46630         (struct test_c_c_data): New type.
46631         (RUN_TEST_LOOP_c_c): New macro.
46632         (cacos_test_data): New variable.
46633         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46634         (cacosh_test_data): New variable.
46635         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46636         (casin_test_data): New variable.
46637         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46638         (casinh_test_data): New variable.
46639         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46640         (catan_test_data): New variable.
46641         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46642         (catanh_test_data): New variable.
46643         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46644         (ccos_test_data): New variable.
46645         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46646         (ccosh_test_data): New variable.
46647         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46648         (cexp_test_data): New variable.
46649         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46650         (clog_test_data): New variable.
46651         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46652         (clog10_test_data): New variable.
46653         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46654         (conj_test_data): New variable.
46655         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46656         (cproj_test_data): New variable.
46657         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46658         (csin_test_data): New variable.
46659         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46660         (csinh_test_data): New variable.
46661         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46662         (csqrt_test_data): New variable.
46663         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46664         (ctan_test_data): New variable.
46665         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46666         (ctan_tonearest_test_data): New variable.
46667         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46668         (ctan_towardzero_test_data): New variable.
46669         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46670         (ctan_downward_test_data): New variable.
46671         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46672         (ctan_upward_test_data): New variable.
46673         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46674         (ctanh_test_data): New variable.
46675         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46676         (ctanh_tonearest_test_data): New variable.
46677         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46678         (ctanh_towardzero_test_data): New variable.
46679         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46680         (ctanh_downward_test_data): New variable.
46681         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46682         (ctanh_upward_test_data): New variable.
46683         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46684         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46685         of BUILD_COMPLEX.
46687         * math/libm-test.inc (struct test_ff_f_data): New type.
46688         (struct test_ff_f_data_nexttoward): Likewise.
46689         (RUN_TEST_LOOP_2_f): New macro.
46690         (RUN_TEST_LOOP_ff_f): Likewise.
46691         (atan2_test_data): New variable.
46692         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46693         (copysign_test_data): New variable.
46694         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46695         (fdim_test_data): New variable.
46696         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46697         (fmax_test_data): New variable.
46698         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46699         (fmin_test_data): New variable.
46700         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46701         (fmod_test_data): New variable.
46702         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46703         (hypot_test_data): New variable.
46704         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46705         (nextafter_test_data): New variable.
46706         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46707         (nexttoward_test_data): New variable.
46708         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46709         (pow_test_data): New variable.
46710         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46711         (pow_tonearest_test_data): New variable.
46712         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46713         (pow_towardzero_test_data): New variable.
46714         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46715         (pow_downward_test_data): New variable.
46716         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46717         (pow_upward_test_data): New variable.
46718         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46719         (remainder_test_data): New variable.
46720         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46721         (scalb_test_data): New variable.
46722         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46723         * sysdeps/i386/fpu/libm-test-ulps: Update.
46725 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46727         * math/libm-test.inc (fma_test): Use max_value instead of local
46728         variable fltmax.
46729         (nextafter_test): Likewise.
46731         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46732         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46733         (acos_downward_test_data): New variable.
46734         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46735         (acos_upward_test_data): New variable.
46736         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46737         (acosh_test_data): New variable.
46738         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46739         (asin_test_data): New variable.
46740         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46741         (asin_tonearest_test_data): New variable.
46742         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46743         (asin_towardzero_test_data): New variable.
46744         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46745         (asin_downward_test_data): New variable.
46746         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46747         (asin_upward_test_data): New variable.
46748         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46749         (asinh_test_data): New variable.
46750         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46751         (atan_test_data): New variable.
46752         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46753         (atanh_test_data): New variable.
46754         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46755         (cbrt_test_data): New variable.
46756         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46757         (ceil_test_data): New variable.
46758         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46759         (cos_test_data): New variable.
46760         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46761         (cos_tonearest_test_data): New variable.
46762         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46763         (cos_towardzero_test_data): New variable.
46764         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46765         (cos_downward_test_data): New variable.
46766         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46767         (cos_upward_test_data): New variable.
46768         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46769         (cosh_test_data): New variable.
46770         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46771         (cosh_tonearest_test_data): New variable.
46772         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46773         (cosh_towardzero_test_data): New variable.
46774         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46775         (cosh_downward_test_data): New variable.
46776         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46777         (cosh_upward_test_data): New variable.
46778         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46779         (erf_test_data): New variable.
46780         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46781         (erfc_test_data): New variable.
46782         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46783         (exp_test_data): New variable.
46784         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46785         (exp_tonearest_test_data): New variable.
46786         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46787         (exp_towardzero_test_data): New variable.
46788         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46789         (exp_downward_test_data): New variable.
46790         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46791         (exp_upward_test_data): New variable.
46792         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46793         (exp10_test_data): New variable.
46794         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46795         (exp2_test_data): New variable.
46796         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46797         (expm1_test_data): New variable.
46798         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46799         (fabs_test_data): New variable.
46800         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46801         (floor_test_data): New variable.
46802         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46803         (j0_test_data): New variable.
46804         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46805         (j1_test_data): New variable.
46806         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46807         (log_test_data): New variable.
46808         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46809         (log10_test_data): New variable.
46810         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46811         (log1p_test_data): New variable.
46812         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46813         (log2_test_data): New variable.
46814         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46815         (logb_test_data): New variable.
46816         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46817         (logb_downward_test_data): New variable.
46818         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46819         (nearbyint_test_data): New variable.
46820         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46821         (rint_test_data): New variable.
46822         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46823         (rint_tonearest_test_data): New variable.
46824         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46825         (rint_towardzero_test_data): New variable.
46826         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46827         (rint_downward_test_data): New variable.
46828         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46829         (rint_upward_test_data): New variable.
46830         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46831         (round_test_data): New variable.
46832         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46833         (sin_test_data): New variable.
46834         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46835         (sin_tonearest_test_data): New variable.
46836         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46837         (sin_towardzero_test_data): New variable.
46838         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46839         (sin_downward_test_data): New variable.
46840         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46841         (sin_upward_test_data): New variable.
46842         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46843         (sinh_test_data): New variable.
46844         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46845         (sinh_tonearest_test_data): New variable.
46846         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46847         (sinh_towardzero_test_data): New variable.
46848         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46849         (sinh_downward_test_data): New variable.
46850         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46851         (sinh_upward_test_data): New variable.
46852         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46853         (sqrt_test_data): New variable.
46854         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46855         (tan_test_data): New variable.
46856         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46857         (tan_tonearest_test_data): New variable.
46858         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46859         (tan_towardzero_test_data): New variable.
46860         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46861         (tan_downward_test_data): New variable.
46862         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46863         (tan_upward_test_data): New variable.
46864         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46865         (tanh_test_data): New variable.
46866         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46867         (tgamma_test_data): New variable.
46868         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46869         (trunc_test_data): New variable.
46870         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46871         (y0_test_data): New variable.
46872         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46873         (y1_test_data): New variable.
46874         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46875         (significand_test_data): New variable.
46876         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46878 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46880         [BZ #12387]
46881         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46883 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46885         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46887 2013-05-10  Andreas Jaeger  <aj@suse.de>
46889         [BZ #15448]
46890         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46891         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46893 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46895         * math/gen-libm-test.pl (adjust_arg): New function.
46896         (special_functions): Handle generating output in both functions
46897         and arrays.
46898         (parse_args): Likewise.
46899         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46900         $in_func argument to parse_args.
46901         * math/libm-test.inc (struct test_f_f_data): New type.
46902         (IF_ROUND_INIT_): New macro.
46903         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46904         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46905         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46906         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46907         (ROUND_RESTORE_): Likewise.
46908         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46909         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46910         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46911         (ROUND_RESTORE_FE_UPWARD): Likewise.
46912         (RUN_TEST_LOOP_f_f): New macro.
46913         (acos_test_data): New variable.
46914         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46915         (acos_tonearest_test_data): New variable.
46916         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46918 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46920         * benchtests/bench-skeleton.c (startup): Fix coding style.
46922 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46924         [BZ #6809]
46925         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46926         negative infinity argument.
46927         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46928         negative infinity argument.
46929         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46930         negative infinity argument.
46931         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46932         domain errors.
46934 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46936         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46937         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46938         * iconv/iconv_prog.c (main): Likewise.
46939         * locale/programs/charmap-dir.c (charmap_readdir)
46940         (fopen_uncompressed): Likewise.
46941         * locale/programs/locfile.c (siblings_uncached)
46942         (write_locale_data): Use lstat64 instead of lstat.
46943         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46944         stat.
46946 2013-05-10  Andreas Jaeger  <aj@suse.de>
46948         [BZ #15395]
46949         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46950         localization.
46951         Include <locale.h>.
46953 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46955         * elf/dl-close.c (_dl_close_worker): Add comments.
46957 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46959         [BZ #15359]
46960         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46961         high part of pi/2.
46962         (__ieee754_rem_pio2l): Update comments.
46964         [BZ #15429]
46965         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46966         high part of pi/2.
46967         (__ieee754_rem_pio2l): Update comments.
46969         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46970         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46972         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46973         M_PI_4l.
46975         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46976         (M_PI_34_LOG10El): Likewise.
46977         (M_PI2_LOG10El): Likewise.
46978         (M_PI4_LOG10El): Likewise.
46979         (M_PI_LOG10El): Likewise.
46981 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46985 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46987         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46988         (MINUS_ZERO_INIT): Likewise.
46989         (PLUS_INFTY_INIT): Likewise.
46990         (MINUS_INFTY_INIT): Likewise.
46991         (QNAN_VALUE_INIT): Likewise.
46992         (MAX_VALUE_INIT): Likewise.
46993         (MIN_VALUE_INIT): Likewise.
46994         (MIN_SUBNORM_VALUE_INIT): Likewise.
46995         (plus_zero): Initialize with PLUS_ZERO_INIT.
46996         (minus_zero): Initialize with MINUS_ZERO_INIT.
46997         (plus_infty): Initialize with PLUS_INFTY_INIT.
46998         (minus_infty): Initialize with MINUS_INFTY_INIT.
46999         (qnan_value): Initialize with QNAN_VALUE_INIT.
47000         (max_value): Initialize with MAX_VALUE_INIT.
47001         (min_value): Initialize with MIN_VALUE_INIT.
47002         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47004         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47005         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47006         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47007         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47009         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47010         (RUN_TEST_2_f): Likewise.
47011         (RUN_TEST_ff_f): Likewise.
47012         (RUN_TEST_fi_f): Likewise.
47013         (RUN_TEST_fl_f): Likewise.
47014         (RUN_TEST_fff_f): Likewise.
47015         (RUN_TEST_c_f): Likewise.
47016         (RUN_TEST_f_f1): Likewise.
47017         (RUN_TEST_fF_f1): Likewise.
47018         (RUN_TEST_fI_f1): Likewise.
47019         (RUN_TEST_ffI_f1): Likewise.
47020         (RUN_TEST_c_c): Likewise.
47021         (RUN_TEST_cc_c): Likewise.
47022         (RUN_TEST_f_i): Likewise.
47023         (RUN_TEST_f_i_tg): Likewise.
47024         (RUN_TEST_ff_i_tg): Likewise.
47025         (RUN_TEST_f_b): Likewise.
47026         (RUN_TEST_f_b_tg): Likewise.
47027         (RUN_TEST_f_l): Likewise.
47028         (RUN_TEST_f_L): Likewise.
47029         (RUN_TEST_sincos): Likewise.
47030         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47031         whether to show exceptions.  Do not include ");\n" in return
47032         value.
47033         (special_functions): Output call to RUN_TEST_sincos instead of
47034         check_float calls.  Update calls to new_test.
47035         (parse_args): Output call to single RUN_TEST_* macro instead of
47036         check_* calls and other assignments.  Update calls to new_test.
47038         [BZ #2546]
47039         [BZ #2560]
47040         [BZ #5159]
47041         [BZ #15426]
47042         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47043         input to result for tgamma overflow.
47044         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47045         (gamma_coeff): New variable.
47046         (NCOEFF): New macro.
47047         (gamma_positive): New function.
47048         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47049         underflow here.  Use gamma_positive instead of exp (lgamma) for
47050         other arguments.
47051         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47052         (gamma_coeff): New variable.
47053         (NCOEFF): New macro.
47054         (gammaf_positive): New function.
47055         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47056         underflow here.  Use gamma_positive instead of exp (lgamma) for
47057         other arguments.
47058         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47059         (gamma_coeff): New variable.
47060         (NCOEFF): New macro.
47061         (gammal_positive): New function.
47062         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47063         underflow here.  Use gamma_positive instead of exp (lgamma) for
47064         other arguments.
47065         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47066         (gamma_coeff): New variable.
47067         (NCOEFF): New macro.
47068         (gammal_positive): New function.
47069         (__ieee754_gammal_r): Handle positive infinity, overflow and
47070         underflow here.  Handle NaN the same as positive infinity.  Remove
47071         check x < 0xffffffff for negative integers.  Use gamma_positive
47072         instead of exp (lgamma) for other arguments.
47073         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47074         (gamma_coeff): New variable.
47075         (NCOEFF): New macro.
47076         (gammal_positive): New function.
47077         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47078         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47079         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47080         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47081         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47082         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47083         * sysdeps/generic/math_private.h (__gamma_productf): New
47084         prototype.
47085         (__gamma_product): Likewise.
47086         (__gamma_productl): Likewise.
47087         * math/Makefile (libm-calls): Add gamma_product.
47088         * math/libm-test.inc (tgamma_test): Add more tests.
47089         * sysdeps/i386/fpu/libm-test-ulps: Update.
47090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47092 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47094         * benchtests/bench-skeleton.c (main): Preheat CPU.
47096 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47098         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47100 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47102         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47103         and _dl_skip_args_internal.
47105 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47107         * manual/message.texi (Message Translation): Talk about users.
47108         Message to key mapping impacts design.
47110 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47112         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47114         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47116         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47117         * sysdeps/wordsize-64/glob64.c: ... here.
47119         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47120         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47121         New macros.
47123         * debug/getlogin_r_chk.c: Moved to ...
47124         * login/getlogin_r_chk.c: ... here.
47125         * debug/Makefile (routines): Move getlogin_r_chk to ...
47126         * login/Makefile (routines): ... here.
47127         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47128         * login/Versions (libc: GLIBC_2.4): ... here.
47130         * io/poll.c (__poll): Renamed from poll.
47131         Add libc_hidden_def.
47132         (poll): Define as weak alias.
47134         * debug/ptsname_r_chk.c: Moved to ...
47135         * login/ptsname_r_chk.c: ... here.
47136         * debug/Makefile (routines): Move ptsname_r_chk to ...
47137         * login/Makefile (routines): ... here.
47138         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47139         * login/Versions (libc: GLIBC_2.4): ... here.
47141         * posix/getlogin.c: Moved to ...
47142         * login/getlogin.c: ... here.
47143         * posix/getlogin_r.c: Moved to ...
47144         * login/getlogin_r.c: ... here.
47145         * posix/getlogin_r.c: Moved to ...
47146         * login/getlogin_r.c: ... here.
47147         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47148         * login/Makefile (routines): ... here.
47149         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47150         * login/Versions (libc: GLIBC_2.0): ... here.
47152         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47153         (setrlimit): Define as weak alias.
47155         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47156         Call __ names for open, ftruncate, and close.
47157         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47158         (truncate): Define as weak alias.
47160 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47162         * math/gen-libm-test.pl (parse_args): Initialize x before each
47163         test of frexp, modf and remquo.
47165         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47166         test signgam value.
47168 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47170         [BZ #15418]
47171         [BZ #15419]
47172         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47173         internal tests.
47174         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47176 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47178         * elf/dl-writev.h: New file.
47179         * elf/dl-misc.c: Include it.
47180         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47181         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47183 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47185         * math/libm-test.inc (noXFails): Remove variable.
47186         (noXPasses): Likewise.
47187         (BUILD_COMPLEX_INT): Remove macro.
47188         (print_screen): Remove xfail argument.
47189         (print_screen_max_error): Likewise.
47190         (update_stats): Likewise.
47191         (print_max_error): Likewise.  Update calls to other affected
47192         functions.
47193         (print_complex_max_error): Likewise.
47194         (test_single_exception): Update calls to print_screen.
47195         (test_single_errno): Likewise.
47196         (check_float_internal): Remove xfail argument.  Update calls to
47197         other affected functions.
47198         (check_float): Likewise.
47199         (check_complex): Likewise.
47200         (check_int): Likewise.
47201         (check_long): Likewise.
47202         (check_bool): Likewise.
47203         (check_longlong): Likewise.
47204         (main): Don't print noXFails and noXPasses.
47205         * math/gen-libm-test.pl (top level): Don't mention expected
47206         failure handling in comment.
47207         (new_test): Don't handle expected failures.
47208         (parse_args): Don't mention expected failure handling in comment.
47209         (generate_testfile): Don't handle expected failures.
47210         (parse_ulps): Likewise.
47211         (print_ulps_file): Likewise.
47212         (get_failure): Remove function.
47213         (output_test): Don't handle expected failures.
47214         * make/README.libm-test: Don't mention expected failure handling.
47216         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47217         (minus_zero): Likewise.
47218         (plus_infty): Likewise.
47219         (minus_infty): Likewise.
47220         (qnan_value): Likewise.
47221         (max_value): Likewise.
47222         (min_value): Likewise.
47223         (min_subnorm_value): Likewise.
47224         (initialize): Do not initialize those variables dynamically.
47226 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47228         * io/open.c (__open_2): Moved to ...
47229         * io/open_2.c: ... this new file.
47230         * io/open64.c (__open64_2): Moved to ...
47231         * io/open64_2.c: ... this new file.
47232         * io/openat.c (__openat_2): Moved to ...
47233         * io/openat_2.c: ... this new file.
47234         * io/openat64.c (__openat64_2): Moved to ...
47235         * io/openat64_2.c: ... this new file.
47236         * io/Makefile (routines): Add them.
47237         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47238         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47239         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47240         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47241         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47242         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47243         (__openat64): Add hidden_ver.
47244         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47245         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47247         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47248         Separately conditionalize setting of GLRO(dl_sysinfo) so
47249         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47250         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47252 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47254         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47255         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47256         definition.
47257         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47258         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47259         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47260         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47261         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47263 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47265         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47266         test signgam value.
47268         * math/libm-test.inc (hypot_test): Do not use
47269         IGNORE_ZERO_INF_SIGN.
47271 2013-05-03  Andreas Jaeger  <aj@suse.de>
47273         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47274         Linux 3.9.
47275         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47276         (PF_MAX): Adjust for VSOCK change.
47278 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47282 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47284         [BZ #15264]
47285         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47286         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47287         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47289 2013-05-02  David S. Miller  <davem@davemloft.net>
47291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47293 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47295         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47297 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47299         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47301 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47303         [BZ #14952]
47304         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47305         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47306         Use __attribute__ ((__gnu_inline__)).
47307         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47308         Don't use __attribute__ ((__gnu_inline__)).
47310 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47312         [BZ #15423]
47313         * math/s_catan.c (__catan): Handle small real or imaginary part of
47314         input specially to avoid spurious underflow.
47315         * math/s_catanf.c (__catanf): Likewise.
47316         * math/s_catanh.c (__catanh): Likewise.
47317         * math/s_catanhf.c (__catanhf): Likewise.
47318         * math/s_catanhl.c (__catanhl): Likewise.
47319         * math/s_catanl.c (__catanl): Likewise.
47320         * math/libm-test.inc (catan_test): Add more tests.
47321         (catanh_test): Likewise.
47322         * sysdeps/i386/fpu/libm-test-ulps: Update.
47323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47325 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47329 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47331         [BZ #15416]
47332         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47333         accurately for denominator in atan2.
47334         * math/s_catanf.c (__catanf): Likewise.
47335         * math/s_catanh.c (__catanh): Likewise.
47336         * math/s_catanhf.c (__catanhf): Likewise.
47337         * math/s_catanhl.c (__catanhl): Likewise.
47338         * math/s_catanl.c (__catanl): Likewise.
47339         * math/libm-test.inc (catan_test): Add more tests.
47340         (catanh_test): Likewise.
47341         * sysdeps/i386/fpu/libm-test-ulps: Update.
47342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47344 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47346         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47348         * benchtests/Makefile (bench): Remove slow benchmarks.
47349         * benchtests/atan-inputs: Add slow benchmark inputs.
47350         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47351         (BENCH_FUNC): Accept variant offset.
47352         (VARIANT): Define.
47353         * benchtests/bench-skeleton.c (main): Run benchmark for each
47354         variant.
47355         * benchtests/cos-inputs: Add slow benchmark inputs.
47356         * benchtests/exp-inputs: Likewise.
47357         * benchtests/pow-inputs: Likewise.
47358         * benchtests/sin-inputs: Likewise.
47359         * benchtests/slowatan-inputs: Remove.
47360         * benchtests/slowatan.c: Remove.
47361         * benchtests/slowcos-inputs: Remove.
47362         * benchtests/slowcos.c: Remove.
47363         * benchtests/slowexp-inputs: Remove.
47364         * benchtests/slowexp.c: Remove.
47365         * benchtests/slowpow-inputs: Remove.
47366         * benchtests/slowpow.c: Remove.
47367         * benchtests/slowsin-inputs: Remove.
47368         * benchtests/slowsin.c: Remove.
47369         * benchtests/slowtan-inputs: Remove.
47370         * benchtests/slowtan.c: Remove.
47371         * benchtests/tan-inputs: Add slow benchmark inputs.
47372         * scripts/bench.pl: Parse comments and directives.
47374         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47375         in CPPFLAGS.
47376         ($(objpfx)bench-%.c): Remove *-ITER.
47377         * benchtests/bench-modf.c: Remove definition of ITER.
47378         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47379         (main): Loop for DURATION seconds instead of fixed number of
47380         iterations.
47381         * scripts/bench.pl: Don't expect iterations in parameters.
47383 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47385         * io/fchdir.c (__fchdir): Renamed from fchdir.
47386         (fchdir): Define as weak alias.
47388 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47390         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47391         (ERRNO_EDOM): Likewise.
47392         (ERRNO_ERANGE): Likewise.
47393         (noErrnoTests): New variable.
47394         (init_max_error): Set errno to 0.
47395         (test_single_errno): New function.
47396         (test_errno): Likewise.
47397         (check_float_internal): Call test_errno.  Set errno to 0.
47398         (check_complex): Refer to errno tests in comment.
47399         (check_int): Call test_errno.  Set errno to 0.
47400         (check_long): Likewise.
47401         (check_bool): Likewise.
47402         (check_longlong): Likewise.
47403         (cos_test): Use ERRNO_* flags for errno tests instead of
47404         check_int.
47405         (expm1_test): Likewise.
47406         (fmod_test): Likewise.
47407         (ilogb_test): Likewise.
47408         (lgamma_test): Likewise.
47409         (pow_test): Likewise.
47410         (remainder_test): Likewise.
47411         (sin_test): Likewise.
47412         (tan_test): Likewise.
47413         (yn_test): Likewise.
47414         (initialize): Set errno to 0.
47415         (main): Print number of errno tests.
47416         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47418 2013-04-29  Andreas Jaeger  <aj@suse.de>
47420         [BZ #15084]
47421         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47422         and RES_USEVC.
47424         [BZ #15085]
47425         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47426         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47427         unimplemented.
47429         [BZ #15380]
47430         * stdlib/random.c (__initstate): Return NULL if
47431         __initstate fails.
47433         [BZ #15086]
47434         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47435         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47436         RES_SNGLKUPREOP.
47438 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47442 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47444         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47445         of individual tests.
47446         (casin_test): Likewise.
47447         (casinh_test): Likewise.
47449 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47451         [BZ #15409]
47452         * math/s_catan.c (__catan): Handle arguments with large real or
47453         imaginary part separately without squaring.
47454         * math/s_catanf.c (__catanf): Likewise.
47455         * math/s_catanh.c (__catanh): Likewise.
47456         * math/s_catanhf.c (__catanhf): Likewise.
47457         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47458         and redefine.
47459         (__catanhl): Handle arguments with large real or imaginary part
47460         separately without squaring.
47461         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47462         and redefine.
47463         (__catanl): Handle arguments with large real or imaginary part
47464         separately without squaring.
47465         * math/libm-test.inc (catan_test): Add more tests.
47466         (catanh_test): Likewise.
47467         * sysdeps/i386/fpu/libm-test-ulps: Update.
47468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47470 2013-04-27  Andreas Jaeger  <aj@suse.de>
47472         [BZ #15007]
47473         * stdlib/stdlib.h: Update guards for qecvt.
47474         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47475         <stdlib.h>.
47477 2013-04-27  Allan McRae  <allan@archlinux.org>
47479         * sysdeps/i386/fpu/libm-test-ulps: Update.
47481 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47483         [BZ #15406]
47484         * math/s_catan.c: Include <float.h>.
47485         (__catan): Ensure underflow exception occurs for underflowed
47486         result.
47487         * math/s_catanf.c: Include <float.h>.
47488         (__catanf): Ensure underflow exception occurs for underflowed
47489         result.
47490         * math/s_catanh.c: Include <float.h>.
47491         (__catanh): Ensure underflow exception occurs for underflowed
47492         result.
47493         * math/s_catanhf.c: Include <float.h>.
47494         (__catanhf): Ensure underflow exception occurs for underflowed
47495         result.
47496         * math/s_catanhl.c: Include <float.h>.
47497         (__catanhl): Ensure underflow exception occurs for underflowed
47498         result.
47499         * math/s_catanl.c: Include <float.h>.
47500         (__catanl): Ensure underflow exception occurs for underflowed
47501         result.
47502         * math/libm-test.inc (catan_test): Add more tests.
47503         (catanh_test): Likewise.
47505         [BZ #15405]
47506         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47507         underflowed result.
47508         * math/s_ccoshf.c (__ccoshf): Likewise.
47509         * math/s_ccoshl.c (__ccoshl): Likewise.
47510         * math/s_csin.c (__csin): Likewise.
47511         * math/s_csinf.c (__csinf): Likewise.
47512         * math/s_csinh.c (__csinh): Likewise.
47513         * math/s_csinhf.c (__csinhf): Likewise.
47514         * math/s_csinhl.c (__csinhl): Likewise.
47515         * math/s_csinl.c (__csinl): Likewise.
47516         * math/libm-test.inc (ccos_test): Add more tests.
47517         (ccosh_test): Likewise.
47518         (csin_test): Likewise.
47519         (csinh_test): Likewise.
47521 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47523         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47524         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47525         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47526         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47527         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47528         powerpc/power5+/fpu folders.
47529         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47532 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47536 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47538         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47539         additions to variable.
47540         [$(config-machine) = x86_64] (modules-names): Likewise.
47541         ($(objpfx)tst-audit3): Remove dependency.
47542         ($(objpfx)tst-audit3.out): Likewise.
47543         ($(objpfx)tst-audit4): Likewise.
47544         ($(objpfx)tst-audit4.out): Likewise.
47545         ($(objpfx)tst-audit5): Likewise.
47546         ($(objpfx)tst-audit5.out): Likewise.
47547         ($(objpfx)tst-audit6): Likewise.
47548         ($(objpfx)tst-audit6.out): Likewise.
47549         ($(objpfx)tst-audit7): Likewise.
47550         ($(objpfx)tst-audit7.out): Likewise.
47551         (tst-audit3-ENV): Remove variable.
47552         (tst-audit4-ENV): Likewise.
47553         (tst-audit5-ENV): Likewise.
47554         (tst-audit6-ENV): Likewise.
47555         (tst-audit7-ENV): Likewise.
47556         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47557         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47558         addition to variable.
47559         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47560         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47561         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47562         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47563         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47564         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47565         tst-audit3, tst-audit4 and tst-audit5.
47566         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47567         tst-audit6 and tst-audit7.
47568         [$(subdir) = elf] (modules-names): Add audit modules for those
47569         tests.
47570         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47571         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47572         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47573         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47574         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47575         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47576         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47577         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47578         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47579         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47580         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47581         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47582         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47583         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47584         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47585         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47586         Likewise.
47587         [$(subdir) = elf && $(config-cflags-avx) = yes]
47588         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47589         [$(subdir) = elf && $(config-cflags-avx) = yes]
47590         (CFLAGS-tst-auditmod4a.c): Likewise.
47591         [$(subdir) = elf && $(config-cflags-avx) = yes]
47592         (CFLAGS-tst-auditmod4b.c): Likewise.
47593         [$(subdir) = elf && $(config-cflags-avx) = yes]
47594         (CFLAGS-tst-auditmod6b.c): Likewise.
47595         [$(subdir) = elf && $(config-cflags-avx) = yes]
47596         (CFLAGS-tst-auditmod6c.c): Likewise.
47597         [$(subdir) = elf && $(config-cflags-avx) = yes]
47598         (CFLAGS-tst-auditmod7b.c): Likewise.
47599         * elf/tst-audit3.c: Move to ...
47600         * sysdeps/x86_64/tst-audit3.c: ... here.
47601         * elf/tst-audit4.c: Move to ...
47602         * sysdeps/x86_64/tst-audit4.c: ... here.
47603         * elf/tst-audit5.c: Move to ...
47604         * sysdeps/x86_64/tst-audit5.c: ... here.
47605         * elf/tst-audit6.c: Move to ...
47606         * sysdeps/x86_64/tst-audit6.c: ... here.
47607         * elf/tst-audit7.c: Move to ...
47608         * sysdeps/x86_64/tst-audit7.c: ... here.
47609         * elf/tst-auditmod3a.c: Move to ...
47610         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47611         * elf/tst-auditmod3b.c: Move to ...
47612         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47613         * elf/tst-auditmod4a.c: Move to ...
47614         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47615         * elf/tst-auditmod4b.c: Move to ...
47616         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47617         * elf/tst-auditmod5a.c: Move to ...
47618         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47619         * elf/tst-auditmod5b.c: Move to ...
47620         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47621         * elf/tst-auditmod6a.c: Move to ...
47622         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47623         * elf/tst-auditmod6b.c: Move to ...
47624         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47625         * elf/tst-auditmod6c.c: Move to ...
47626         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47627         * elf/tst-auditmod7a.c: Move to ...
47628         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47629         * elf/tst-auditmod7b.c: Move to ...
47630         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47632 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47634         [BZ #15366]
47635         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47636         define unconditionally.
47637         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47638         define unconditionally.
47639         (INT8_C, INT16_C, etc.): Likewise.
47641 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47643         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47644         __ehdr_start with hidden visibility.
47646         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47648 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47650         * math/libm-test.inc (cos_test): Use accurate hex constants.
47651         (sincost_test): Likewise.
47653 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47655         * math/libm-test.inc (catan_test): Add more tests.
47656         (catanh_test): Likewise.
47658         * math/s_catanf.c (__catanf): Use suffixed floating-point
47659         constants.
47660         * math/s_catanhf.c (__catanhf): Likewise.
47661         * math/s_catanhl.c (__catanhl): Likewise.
47662         * math/s_catanl.c (__catanl): Likewise.
47664         [BZ #15394]
47665         * math/s_catan.c (__catan): Calculate imaginary part of result
47666         with log1p not log unless computing log of number close to 0.
47667         * math/s_catanf.c (__catanf): Likewise.
47668         * math/s_catanl.c (__catanl): Likewise.
47669         * math/s_catanh.c (__catanh): Calculate real part of result with
47670         log1p not log unless computing log of number close to 0.
47671         * math/s_catanhf.c (__catanhf): Likewise.
47672         * math/s_catanhl.c (__catanhl): Likewise.
47673         * math/libm-test.inc (catan_test): Add more tests.
47674         (catanh_test): Likewise.
47675         * sysdeps/i386/fpu/libm-test-ulps: Update.
47676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47678 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47680         * benchtests/Makefile: Mention files in which fast and slow
47681         paths of math functions are implemented.
47683 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47685         * sysdeps/posix/timespec_get.c: New file.
47687 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47689         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47690         POWER.
47691         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47692         for POWER.
47693         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47694         powerpc/power5/fpu folders.
47695         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47696         * benchtests/Makefile: Add modf testcase.
47697         * benchtests/bench-modf.c: New file: Benchmark test for mo
47699 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47701         [BZ #14888]
47702         * time/Makefile (tests): Add tst-strptime-whitespace.
47703         * time/strptime_l.c (get_number): Use ISSPACE.
47704         (__strptime_internal): Likewise.
47705         * time/tst-strptime-whitespace.c: New test case.
47707 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47709         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47710         member.
47711         (_nss_files_init): Set it here.
47713 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47715         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47716         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47717         unsigned.
47719 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47721         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47723 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47725         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47726         size just once.
47728 2013-04-21  David S. Miller  <davem@davemloft.net>
47730         * po/ru.po: Update Russion translation from translation project.
47732 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47734         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47735         and setfsgid.
47737 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47739         * configure.in: Remove i386 configure warning. Remove i386 case.
47740         * configure: Regenerate.
47741         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47742         Add example to error message.
47743         * sysdeps/i386/configure: Regenerate.
47745 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47748         slowtan.
47749         * benchtests/cos-inputs: New file.
47750         * benchtests/slowcos-inputs: New file.
47751         * benchtests/slowcos.c: New file.
47752         * benchtests/slowtan-inputs: New file.
47753         * benchtests/slowtan.c: New file.
47754         * benchtests/tan-inputs: New file.
47756 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47758         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47759         considered kosher.
47761 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47763         * benchtests/Makefile: Include cppflags-iterator.mk to add
47764         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47766         * Makefile.in (bench-clean): New target.
47767         * benchtests/Makefile (bench-clean): Likewise.
47769 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47771         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47773 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47775         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47777 2013-04-15  Andreas Schwab  <schwab@suse.de>
47779         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47780         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47781         * nscd/pwdcache.c (cache_addpw): Likewise.
47782         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47783         more than recsize.
47785 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47787         * benchtests/Makefile (bench): Write all output to
47788         bench-out.tmp together.
47790 2013-04-15  Andreas Schwab  <schwab@suse.de>
47792         * nscd/nscd.c (main): Don't fork again after closing files.
47794 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47796         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47798         * benchtests/Rules (bench-deps): Collect dependencies into a
47799         single variable.  Add Makefile to dependencies.
47800         ($(objpfx)bench-%.c): Depend on bench-deps.
47802 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47803             Xavier Roche  <roche+kml2@exalead.com>
47805         [BZ #15361]
47806         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47807         just that it's a file descriptor.
47808         * manual/llio.texi (Synchronizing AIO Operations): Update description
47809         for EBADF error from aio_fsync.
47811 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47813         * Rules (bench): Move target definition...
47814         * benchtests/Makefile: ... here.
47816 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47818         * math/libm-test.inc (cos_test): Fix PI/2 test.
47819         (sincos_test): Likewise.
47820         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47821         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47823 2013-04-11  Andreas Schwab  <schwab@suse.de>
47825         [BZ #13988]
47826         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47827         accept exponent character only when digits were seen.
47828         * stdio-common/Makefile (tests): Add bug26.
47829         * stdio-common/bug26.c: New file.
47831         [BZ #14293]
47832         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47833         non-freeable.
47835 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47837         * Makeconfig (rtld-prefix): Define built linker prefix.
47838         * Rules (run-bench): Use it.
47839         * math/Makefile (run-regen-ulps): Likewise.
47841         * Rules (bench): Remove eval.
47843 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47844             Roland McGrath  <roland@hack.frob.com>
47845             Ondrej Bilka  <neleai@seznam.cz>
47847         [BZ #15346]
47848         * time/getdate.c: Include ctype.h and alloca.h.
47849         (__getdate_r): Trim leading and trailing spaces of input.
47850         * time/tst-getdate.c (tests): Add tests with leading and
47851         trailing spaces.
47853 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47855         [BZ #14280]
47856         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47857         when computing value.
47859 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47861         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47862         Use testrun.sh to run libm tests.
47864         [BZ #15309]
47865         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47867 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47869         [BZ #15264]
47870         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47872 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47874         * Makefile.in (regen-ulps): New target.
47875         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47876         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47877         [ifneq (no,$(PERL)] (regen-ulps): New target.
47878         [ifeq (no,$(PERL)] (regen-ulps): New target.
47879         * math/libm-test.inc (ulps_file_name): Define.
47880         (output_dir): New variable.
47881         (options): Add "output-dir" option.
47882         (parse_opt): Handle 'o' case.
47883         (main): If output_dir is non-NULL use it as a prefix
47884         otherwise use "".
47885         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47887 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47889         [BZ #10060, #10062]
47890         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47891         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47892         fail configure if __sync_val_compare_and_swap is not inlined.
47893         * sysdeps/i386/configure: Regenerate.
47894         * configure.in: Build for i686 when configured for i386.
47895         * configure: Regenerate.
47896         * README: Remove i386 reference.
47898 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47900         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47901         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47903 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47905         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47906         (lmsnanval): New variables.
47907         (F): Add conversion tests.
47908         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47909         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47911         * stdio-common/tstdiomisc.c (F): Properly collect individual
47912         tests' results.
47914         [BZ #14686, #15336]
47915         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47916         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47917         Instead, use input NaN values or generate a qNaN by arithmetic
47918         operation.  Also fix bugs to comply with the standard.
47919         * math/libm-test.inc (remainder_test): Add more tests.
47921         [BZ #15335, #15342]
47922         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47923         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47924         input NaN values or generate a qNaN by arithmetic operation.
47926         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47927         unreachable code.
47929         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47930         definitions.
47932 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47934         [BZ #14478]
47935         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47936         underflowed result.
47937         * math/s_cexpf.c (__cexpf): Likewise.
47938         * math/s_cexpl.c (__cexpl): Likewise.
47939         * math/libm-test.inc (cexp_test): Add more tests.
47941 2013-04-03  Andreas Schwab  <schwab@suse.de>
47943         [BZ #15330]
47944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47945         order arrays from heap if bigger than alloca cutoff.
47947 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47949         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47950         (SNAN_TESTS_double): Refer to GCC PR56831.
47951         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47952         GCC PR56828.
47954 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47956         * Rules (bench): Move bench.out after the run is complete.
47958         * Rules (bench): Echo currently running benchmark.
47960         * benchtests/Makefile (bench): Add atan and slowatan.
47961         * benchtests/atan-inputs: New file.
47962         * benchtests/slowatan-inputs: New file.
47963         * benchtests/slowatan.c: New file.
47965         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47966         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47967         its value.
47969         [BZ #15305]
47970         * sysdeps/unix/sysv/linux/kernel-features.h
47971         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47972         __ASSUME_XFS_RESTRICTED_CHOWN.
47973         * sysdeps/unix/sysv/linux/pathconf.c
47974         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47975         Save and restore errno.
47977 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47979         [BZ #15327]
47980         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47981         arguments using __kernel_casinh.
47982         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47983         arguments using __kernel_casinhf.
47984         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47985         arguments using __kernel_casinhl.
47986         * math/libm-test.inc (cacosh_test): Add more tests.
47987         * sysdeps/i386/fpu/libm-test-ulps: Update.
47988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47990 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47992         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47993         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47995         * bench/Makefile (bench): Add sin and slowsin.
47996         * benchtests/sin-inputs: New file.
47997         * benchtests/slowsin-inputs: New file.
47998         * benchtests/slowsin.c: New file.
48000         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48001         (bench): Add slowexp and slowpow.
48002         (exp-ITER): Increase iterations.
48003         (pow-ITER): Likewise.
48004         * benchtests/exp-inputs: Change input.
48005         * benchtests/pow-inputs: Likewise.
48006         * benchtests/slowexp-inputs: New file.
48007         * benchtests/slowexp.c: New file.
48008         * benchtests/slowpow-inputs: New file.
48009         * benchtests/slowpow.c: New file.
48011 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48013         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48014         instructions.
48015         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48016         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48017         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48018         * benchtests/Makefile: Add rint benchtest.
48019         * benchtests/rint-inputs: Input for rint benchtest.
48021 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48023         * Versions.def (libm): Add GLIBC_2.18.
48024         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48025         hidden libm prototypes.
48026         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48027         * math/Makefile (libm-calls): Add s_issignaling.
48028         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48029         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48030         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48031         declaration.
48032         * math/math.h [__USE_GNU] (issignaling): New macro.
48033         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48034         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48035         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48036         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48037         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48038         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48039         * manual/arith.texi (issignaling): New section.
48040         * manual/libm-err-tab.pl (@all_functions): Update comment.
48041         * math/gen-libm-test.pl (parse_args): Apply special handling for
48042         issignaling.
48043         * math/libm-test.inc (print_float, issignaling_test): New
48044         functions.
48045         (check_float_internal): Add issignaling checks.
48046         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48047         default definition.
48048         * sysdeps/powerpc/math-tests.h: New file.
48049         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48050         tests.
48051         * math/test-snan.c (TEST_FUNC): Likewise.
48053 2013-03-30  David S. Miller  <davem@davemloft.net>
48055         * po/de.po: Update from translation team.
48057 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48059         [BZ #10357]
48060         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48061         imaginary part less than 1.0 and real part less than 0.5
48062         specially.
48063         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48064         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48065         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48066         (cacos_test): Add more tests.
48067         (casin_test): Likewise.
48068         (casinh_test): Likewise.
48069         * sysdeps/i386/fpu/libm-test-ulps: Update.
48070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48072 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48074         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48075         ONE with its value.
48077         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48078         (__pow_mp): Replace ONE and MONE with their values.
48079         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48080         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48081         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48082         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48083         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48084         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48086         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48088         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48089         (__pow_mp): Replace ZERO and MZERO with their values.
48090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48091         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48092         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48094         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48095         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48096         (__sqr): Likewise.
48098         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48100         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48102 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48104         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48105         Declare with __attribute__ ((weak)).
48106         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48107         Call __call_tls_dtors only if it's not NULL.
48109 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48111         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48112         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48113         magic __ehdr_start linker symbol if it's defined.
48114         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48115         them up here if it was already done.
48117         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48118         (_dl_aux_init): Use const in cast when setting it.
48119         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48120         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48121         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48123         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48124         Declare them here.
48125         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48126         * csu/libc-tls.c: Nor here.
48127         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48129         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48130         (__libc_message): Never call vsyslog.
48132 2013-03-28  Alan Modra  <amodra@gmail.com>
48134         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48135         Define as empty.
48136         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48137         Likewise.
48139 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48141         [BZ #15214]
48142         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48143         underflow.
48144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48146 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48148         [BZ #15304]
48149         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48150         Don't add gid passed as argument.
48152         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48154 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48156         [BZ #15307]
48157         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48158         imaginary part between 1.0 and 1.5 and real part less than 0.5
48159         specially.
48160         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48161         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48162         * math/libm-test.inc (cacos_test): Add more tests.
48163         (casin_test): Likewise.
48164         (casinh_test): Likewise.
48165         * sysdeps/i386/fpu/libm-test-ulps: Update.
48166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48168 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48170         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48171         constants.
48172         (norm): Likewise.
48173         (denorm): Likewise.
48174         (__dbl_mp): Likewise.
48175         (add_magnitudes): Likewise.
48176         (sub_magnitudes): Likewise.
48177         (__add): Likewise.
48178         (__sub): Likewise.
48179         (__mul): Likewise.
48180         (__sqr): Likewise.
48181         (__inv): Likewise.
48182         (__dvd): Likewise.
48184         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48185         commented code.
48186         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48187         (__dubcos): Likewise.
48188         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48189         (__ieee754_acos): Likewise.
48190         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48191         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48192         (__exp1): Likewise.
48193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48195         (log1): Likewise.
48196         (my_log2): Likewise.
48197         (checkint): Likewise.
48198         * sysdeps/ieee754/dbl-64/e_remainder.c
48199         (__ieee754_remainder): Likewise.
48200         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48201         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48202         (bsloww): Likewise.
48203         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48205         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48206         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48207         MANTISSA_STORE_T to store computations on mantissa.  Use
48208         macros for rounding and division.
48209         (denorm): Likewise.
48210         (__dbl_mp): Likewise.
48211         (add_magnitudes): Likewise.
48212         (sub_magnitudes): Likewise.
48213         (__mul): Likewise.
48214         (__sqr): Likewise.
48215         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48216         powers of two in terms of TWOPOW macro.
48217         (mp_no): Make type of mantissa as MANTISSA_T.
48218         [!RADIXI]: Define RADIXI.
48219         [!TWO52]: Define TWO52.
48220         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48222 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48224         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48225         llroundl symbol when building for PPC32.
48227 2013-03-24  Mark H Weaver  <mhw@netris.org>
48229         * manual/arith.texi (Normalization Functions): Fix prototypes for
48230         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48232 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48234         [BZ #13889]
48235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48236         high value to check if expl overflow.
48237         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48238         to check for underflow and overflow.
48239         * math/libm-test.inc: Add exp test.
48241 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48243         [BZ #11120]
48244         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48245         with NOT_IN_libc.
48247 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48249         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48250         symbol.
48252 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48254         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48255         wrap blocks consisting of several statements.
48257         * sysdeps/generic/math-tests.h: New file.
48258         * sysdeps/i386/fpu/math-tests.h: Likewise.
48259         * math/test-snan.c: Include it.
48260         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48262 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48264         [BZ #15285]
48265         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48266         (__ieee754_j0l): Do not improve calculations using cos of twice
48267         input for inputs above LDBL_MAX / 2.0L.
48268         (__ieee754_y0l): Likewise.
48269         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48270         (__ieee754_j1l): Do not improve calculations using cos of twice
48271         input for inputs above LDBL_MAX / 2.0L.
48272         (__ieee754_y1l): Likewise.
48273         * math/libm-test.inc (j0_test): Add another test.
48274         (j1_test): Likewise.
48275         (y0_test): Likewise.
48276         (y1_test): Likewise.
48277         * sysdeps/i386/fpu/libm-test-ulps: Update.
48279 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48281         * Rules ($(objpfx)bench-%.c): Include code from a C source
48282         file.
48284 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48286         [BZ #15287]
48287         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48288         imaginary part 1.0 and real part less than 0.5 specially.
48289         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48290         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48291         * math/libm-test.inc (cacos_test): Add more tests.
48292         (casin_test): Likewise.
48293         (casinh_test): Likewise.
48294         * sysdeps/i386/fpu/libm-test-ulps: Update.
48295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48297 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48299         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48300         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48302 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48304         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48305         * config.make.in (config-cflags-sse4): Remove variable.
48306         (config-cflags-avx): Likewise.
48307         (config-cflags-sse2avx): Likewise.
48308         (config-cflags-novzeroupper): Likewise.
48309         (config-asflags-i686): Likewise.
48310         (have-mfma4): Likewise.
48311         (have-as-vis3): Likewise.
48312         (MIG): Likewise.
48313         * configure.in (MIG): Do not AC_SUBST.
48314         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48315         (libc_cv_cc_sse4): Do not AC_SUBST.
48316         (libc_cv_cc_avx): Likewise.
48317         (libc_cv_cc_sse2avx): Likewise.
48318         (libc_cv_cc_novzeroupper): Likewise.
48319         (libc_cv_cc_fma4): Likewise.
48320         (libc_cv_as_i686): Likewise.
48321         (libc_cv_sparc_as_vis3): Likewise.
48322         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48323         LIBC_CONFIG_VAR.
48324         (config-asflags-i686): Likewise.
48325         (config-cflags-avx): Likewise.
48326         (config-cflags-sse2avx): Likewise.
48327         (have-mfma4): Likewise.
48328         (config-cflags-novzeroupper): Likewise.
48329         * sysdeps/mach/configure.in (MIG): Likewise.
48330         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48331         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48332         LIBC_CONFIG_VAR.
48333         (config-cflags-avx): Likewise.
48334         (config-cflags-sse2avx): Likewise.
48335         (have-mfma4): Likewise.
48336         (config-cflags-novzeroupper): Likewise.
48337         * configure: Regenerated.
48338         * sysdeps/i386/configure: Likewise.
48339         * sysdeps/mach/configure: Likewise.
48340         * sysdeps/sparc/configure: Likewise.
48341         * sysdeps/x86_64/configure: Likewise.
48343 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48345         [BZ #14812]
48346         * locale/programs/localedef.c (options): Put N_ translation marker
48347         on argument names, not just descriptions.
48349 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48351         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48353 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48355         [BZ #14176]
48356         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48358 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48360         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48361         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48362         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48363         [!BEFORE_ABORT] (before_abort): New function.
48364         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48365         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48366         (writev_for_fatal): New function.
48367         (WRITEV_FOR_FATAL): New macro; call that.
48368         (backtrace_and_maps): New function.
48369         (BEFORE_ABORT): New macro; call that.
48370         (struct str_list): Type removed.
48371         (__libc_message, __libc_fatal): Functions removed.
48372         Include <sysdeps/posix/libc_fatal.c> instead.
48374 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48376         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48377         constants.
48378         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48379         double constants.
48381 2013-03-19  Andreas Schwab  <schwab@suse.de>
48383         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48384         * sysdeps/gnu/configure: Regenerate.
48386         * configure.in: Substitute libc_cv_rtlddir.
48387         * configure: Regenerate.
48388         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48389         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48390         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48391         * elf/Makefile (install-others, CFLAGS-interp.c)
48392         (ldso_install, common-ldd-rewrite): Likewise.
48393         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48394         $(inst_slibdir)/$(rtld-installed-name).
48395         * scripts/rellns-sh: Add -p option.
48396         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48397         for source.
48399 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401         * manual/nptl.texi: Renamed to ...
48402         * manual/threads.texi: ... this.
48403         * manual/Makefile (chapters): Update.
48405 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48407         [BZ #14812]
48408         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48409         on argument names, not just descriptions.
48410         * malloc/memusagestat.c (options): Likewise.
48411         * nss/getent.c (options): Likewise.
48413 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48415         [BZ #14812]
48416         * iconv/iconv_prog.c (options): Put N_ translation marker
48417         on argument names, not just descriptions.
48418         * iconv/iconvconfig.c (options): Likewise.
48420 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48422         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48423         implementation which is faster on all x86_64 architectures.
48424         Tested on AMD, Intel Nehalem, SNB, IVB.
48425         * sysdeps/x86_64/strnlen.S: Likewise.
48427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48428         Remove all multiarch strlen and strnlen versions.
48429         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48430         Remove strlen and strnlen related parts.
48432         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48433         Inline strlen part.
48434         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48436         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48437         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48438         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48439         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48440         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48441         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48443 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48445         * manual/memory.texi (Malloc Tunable Parameters):
48446         Sort parameters alphabetically. Add comments for missing entries.
48448 2013-03-17  David S. Miller  <davem@davemloft.net>
48450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48452 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48454         [BZ #15283]
48455         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48456         for arguments at most half maximum finite value.
48457         * math/libm-test.inc (j0_test): Add more tests.
48458         (j1_test): Likewise.
48459         (y0_test): Likewise.
48460         (y1_test): Likewise.
48461         * sysdeps/i386/fpu/libm-test-ulps: Update.
48462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48464         [BZ #14155]
48465         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48466         1 / x and functions P and Q for arguments above 0x1p256L.
48467         (__ieee754_y0l): Likewise.
48468         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48469         (__ieee754_y1l): Likewise.
48470         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48471         (j1_test): Likewise.
48472         (y0_test): Likewise.
48473         (y1_test): Likewise.
48475 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48477         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48478         variable.
48480 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48482         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48483         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48484         zero since it's initialized to EXEC_PAGESIZE.
48486         * sysdeps/unix/sysv/linux/ldsodefs.h
48487         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48488         * sysdeps/generic/ldsodefs.h: ... here.
48490 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48492         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48494         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48495         math/test-snan.c.
48496         * math/test-snan.c: Renamed from
48497         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48498         * math/Makefile (tests): Add test-snan.
48499         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48500         test-powerpc-snan.
48502         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48503         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48504         functions.
48505         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48506         __builtin_nan family of functions.
48507         * math/libm-test.inc (initialize): Initialize qnan_value with
48508         __builtin_nan family of functions.
48509         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48510         Remove variables.
48511         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48512         Remove functions.
48513         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48514         storage class.  Initialize qNaN_var and sNaN_var with
48515         __builtin_nan and __builtin_nans families of functions,
48516         respectively.
48518         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48519         (sqrt_test): Remove duplicate test with qNaN input.
48520         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48521         (round_test, signbit_test, significand_test): Note missing +/-Inf
48522         as well as qNaN tests.
48524         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48525         qNaN_var.  Fix a few strings, too.
48526         * math/libm-test.inc (nan_value): Rename to qnan_value.
48527         * math/gen-libm-test.pl (%beautify): Adjust to that.
48528         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48529         * math/test-misc.c (main): Likewise.
48530         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48531         to __qnan_bytes, and __qnan_union, respectively.
48532         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48533         Likewise.
48534         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48535         and lqnanval, respectively.
48536         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48537         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48538         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48539         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48541         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48542         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48543         doubles.
48545         * math/test-misc.c (main): Fix copy'n'pastos.
48546         * misc/tst-efgcvt.c (special): Likewise.
48548         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48549         Remove declarations.
48551 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48553         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48554         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48555         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48556         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48558 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48560         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48561         macro to return vdso values correctly in IFUNC implementations.
48562         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48563         Optimization by using IFUNC.
48565 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566             Richard Henderson  <rth@redhat.com>
48567             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48569         * Makefile.in (bench): New target.
48570         * NEWS: Mention the benchmark framework.
48571         * Rules (bench): Likewise.
48572         (binaries-bench): Generate binaries for functions to
48573         benchmark.
48574         * benchtests/Makefile: New makefile for benchmark tests.
48575         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48576         programs.
48577         * benchtests/exp-inputs: New input file for EXP function.
48578         * benchtests/pow-inputs: New input file for POW function.
48579         * scripts/bench.pl: New script to generate source files for
48580         benchmark programs.
48582 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48584         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48585         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48586         computations on mantissa.  Use macros for rounding and
48587         division.
48588         (denorm): Likewise.
48589         (__dbl_mp): Likewise.
48590         (add_magnitudes): Likewise.
48591         (sub_magnitudes): Likewise.
48592         (__mul): Likewise.
48593         (__sqr): Likewise.
48594         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48595         powers of two in terms of TWOPOW macro.
48596         (mp_no): Make type of mantissa as MANTISSA_T.
48597         [!RADIXI]: Define RADIXI.
48598         [!TWO52]: Define TWO52.
48599         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48601         * manual/nptl.texi (cindex): Modify threads to pthreads.
48603 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48605         * sysdeps/x86_64/preconfigure: Regenerated.
48607 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48609         [BZ #14155]
48610         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48611         0x1p28 and above.
48612         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48613         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48614         0x1p28 and above.
48615         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48616         * math/libm-test.inc (j0_test): Do not allow one spurious
48617         underflow exception.
48618         (y1_test): Likewise.
48620 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48622         * manual/Makefile (chapters): Add nptl.
48623         * manual/debug.texi (Debugging Support): Add link to Threads
48624         chapter.
48625         * manual/nptl.texi: New file.
48627         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48629 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48631         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48632         for non-NULL pointer before the memory validity test. Pointed
48633         out by Holger Brunck <holger.brunck@keymile.com>.
48635 2013-03-13  Andreas Schwab  <schwab@suse.de>
48637         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48638         instead of .os.
48640 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48642         * timezone/zic.c: Update from tzcode 2013b.
48644 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48646         * manual/install.texi (Configuring and compiling):
48647         Mention i686 and i586.
48648         * INSTALL: Regenerate.
48650 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48652         * sysdeps/init_array/elf-init.c: New file.
48653         * csu/elf-init.c
48654         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48655         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48657         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48658         __gmon_start__ as global, but as static with a .preinit_array pointer.
48659         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48660         * sysdeps/init_array/crti.S: New file, empty except for comments.
48661         * sysdeps/init_array/crtn.S: Likewise.
48663 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48665         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48666         definining bcopy.
48667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48668         Remove Prefer_SSE_for_memop.
48669         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48670         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48671         HAS_PREFER_SSE_FOR_MEMOP.
48672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48673         memset-x86-64.
48674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48675         Remove bzero, memset ifunc support.
48676         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48677         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48678         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48679         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48681 2013-03-11  Andreas Schwab  <schwab@suse.de>
48683         [BZ #15234]
48684         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48685         by SHLIB_COMPAT.
48686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48687         (GLIBC_2.16): Remove pthread_atfork.
48689 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48691         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48692         (ptestcases.h): Likewise.
48694 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48696         * Makeconfig ($(common-objpfx)config.status): Depend on
48697         sysdeps/*/preconfigure{,.in} too.
48699 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48701         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48702         (__free_hook): Use void * instead of __malloc_ptr_t.
48703         (__malloc_hook): Likewise.
48704         (__realloc_hook): Likewise.
48705         (__memalign_hook): Likewise.
48706         (__after_morecore_hook): Likewise.
48707         * malloc/arena.c (save_malloc_hook): Likewise.
48708         (save_free_hook): Likewise.
48709         * malloc/hooks.c (malloc_hook_ini): Likewise.
48710         (realloc_hook_ini): Likewise.
48711         (memalign_hook_ini): Likewise.
48712         * malloc/malloc.c (malloc_hook_ini): Likewise.
48713         (realloc_hook_ini): Likewise.
48714         (memalign_hook_ini): Likewise.
48715         (__free_hook): Likewise.
48716         (__malloc_hook): Likewise.
48717         (__realloc_hook): Likewise.
48718         (__memalign_hook): Likewise.
48719         (__libc_malloc): Likewise.
48720         (__libc_free): Likewise.
48721         (__libc_realloc): Likewise.
48722         (__libc_memalign): Likewise.
48723         (__libc_valloc): Likewise.
48724         (__libc_pvalloc): Likewise.
48725         (__libc_calloc): Likewise.
48726         (__posix_memalign): Likewise.
48727         * malloc/morecore.c (__sbrk): Likewise.
48728         (__default_morecore): Likewise.
48730         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48732         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48733         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48734         __malloc_ptrdiff_t.
48736         * malloc/malloc.h (__malloc_size_t): Remove macro.
48737         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48738         __malloc_size_t.
48739         (old_memalign_hook): Likewise.
48740         (old_realloc_hook): Likewise.
48741         (struct hdr): Likewise.
48742         (flood): Likewise.
48743         (mallochook): Likewise.
48744         (memalignhook): Likewise.
48745         (reallochook): Likewise.
48746         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48747         (tr_old_realloc_hook): Likewise.
48748         (tr_old_memalign_hook): Likewise.
48749         (tr_mallochook): Likewise.
48750         (tr_reallochook): Likewise.
48751         (tr_memalignhook): Likewise.
48753 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48756         default_ldbl_pack and using as default implementation.
48757         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48758         implementation.
48759         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48760         redundant definition.
48761         (ldbl_insert_mantissa): Likewise.
48762         (ldbl_canonicalize): Likewise.
48763         (ldbl_nearbyint): Likewise.
48764         (ldbl_pack): Rename to ldbl_pack_ppc.
48765         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48766         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48767         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48769 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48772         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48773         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48774         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48777         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48778         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48780 2013-03-07  Andreas Jaeger  <aj@suse.de>
48782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48783         bits/mman-linux.h.
48785 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48787         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48788         Include mpa.h and declare __MPEXP.
48789         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48790         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48791         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48792         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48793         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48794         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48795         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48797         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48798         (__slowpow): Use long double EXPL and LOGL functions to
48799         compute POW.
48800         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48801         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48803         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48804         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48808         intermediate variable to calculate exponent.
48809         (__sqr): Likewise.
48810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48811         Likewise.
48812         (__sqr): Likewise.
48814         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48815         [!NO__SQR]: Define __sqr.
48816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48817         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48818         sysdeps/ieee754/dbl-64/mpa.c.
48819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48821         [BZ #12723]
48822         * posix/Makefile (tests): Add tst-pathconf.
48823         * posix/tst-pathconf.c: New test case.
48824         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48825         _PC_PIPE_BUF.
48826         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48828 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48830         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48832 2013-03-06  Andreas Jaeger  <aj@suse.de>
48834         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48835         definition via __MAP_ANONYMOUS.
48837         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48838         it's not part of Linux headers.
48840         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48841         (MAP_HUGE_MASK): Define.
48843         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48844         Define.
48845         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48846         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48847         Define.
48848         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48849         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48850         Define.
48851         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48852         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48853         Define.
48854         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48856         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48857         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48858         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48859         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48860         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48861         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48863         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48864         Handle f2fs.
48866         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48867         Handle f2fs and efivarfs.
48869         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48870         f2fs.
48872         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48873         (EFIVARFS_MAGIC): Add.
48874         (F2FS_LINK_MAX): Add.
48876 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48878         * stdio-common/vfprintf.c: Replace __builtin_expect with
48879         __glibc_unlikely.
48881 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48883         [BZ #13550]
48884         * sysdeps/generic/bp-sym.h: Remove file.
48885         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48886         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48887         <bp-sym.h> and <bp-asm.h>.
48888         (__longjmp): Don't use BP_SYM.
48889         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48890         and <bp-asm.h>.
48891         (memcpy): Don't use BP_SYM.
48892         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48893         <bp-sym.h> and <bp-asm.h>.
48894         (memcpy): Don't use BP_SYM.
48895         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48896         <bp-asm.h>.
48897         (memcpy): Don't use BP_SYM.
48898         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48899         <bp-asm.h>.
48900         (memset): Don't use BP_SYM.
48901         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48902         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48903         (__bzero): Don't use BP_SYM.
48904         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48905         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48906         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48907         <bp-sym.h> and <bp-asm.h>.
48908         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48909         pointers.
48910         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48911         <bp-sym.h> and <bp-asm.h>.
48912         (memcpy): Don't use BP_SYM.
48913         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48914         <bp-sym.h> and <bp-asm.h>.
48915         (memset): Don't use BP_SYM.
48916         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48917         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48918         (__bzero): Don't use BP_SYM.
48919         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48920         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48921         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48922         <bp-sym.h> and <bp-asm.h>.
48923         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48924         pointers.
48925         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48926         <bp-sym.h> and <bp-asm.h>.
48927         (memcpy): Don't use BP_SYM.
48928         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48929         <bp-sym.h> and <bp-asm.h>.
48930         (memset): Don't use BP_SYM.
48931         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48932         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48933         (__bzero): Don't use BP_SYM.
48934         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48935         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48937         <bp-sym.h> and <bp-asm.h>.
48938         (__memchr): Don't use BP_SYM.
48939         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48940         <bp-sym.h> and <bp-asm.h>.
48941         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48942         pointers.
48943         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48944         <bp-sym.h> and <bp-asm.h>.
48945         (memcpy): Don't use BP_SYM.
48946         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48947         <bp-sym.h> and <bp-asm.h>.
48948         (__mempcpy): Don't use BP_SYM.
48949         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48950         <bp-sym.h> and <bp-asm.h>.
48951         (__memrchr): Don't use BP_SYM.
48952         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48953         <bp-sym.h> and <bp-asm.h>.
48954         (memset): Don't use BP_SYM.
48955         (__bzero): Likewise.
48956         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48957         <bp-sym.h> and <bp-asm.h>.
48958         (__rawmemchr): Don't use BP_SYM.
48959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48960         <bp-sym.h> and <bp-asm.h>.
48961         (__STRCMP): Don't use BP_SYM.
48962         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48963         <bp-sym.h> and <bp-asm.h>.
48964         (strchr): Don't use BP_SYM.
48965         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48966         <bp-sym.h> and <bp-asm.h>.
48967         (__strchrnul): Don't use BP_SYM.
48968         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48969         <bp-sym.h> and <bp-asm.h>.
48970         (strlen): Don't use BP_SYM.
48971         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48972         <bp-sym.h> and <bp-asm.h>.
48973         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48974         pointers.
48975         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48976         <bp-sym.h> and <bp-asm.h>.
48977         (__strnlen): Don't use BP_SYM.
48978         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48979         <bp-sym.h> and <bp-asm.h>.
48980         (__GI__setjmp): Don't use BP_SYM.
48981         (_setjmp): Likewise.
48982         (__sigsetjmp): Likewise.
48983         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48984         (L(start_addresses)): Don't use BP_SYM.
48985         (_start): Likewise.
48986         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48987         <bp-asm.h>.
48988         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48989         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48990         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48991         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48992         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48993         <bp-asm.h>.
48994         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48995         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48996         about bounded pointers.
48997         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48998         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48999         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49000         <bp-asm.h>.
49001         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49002         about bounded pointers.  Remove GKM FIXME comments.
49003         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49004         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49005         <bp-asm.h>.
49006         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49007         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49008         Remove GKM FIXME comments.
49009         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49010         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49011         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49012         <bp-asm.h>.
49013         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49014         about bounded pointers.  Remove GKM FIXME comment.
49015         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49016         and <bp-asm.h>.
49017         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49018         pointers.
49019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49020         <bp-sym.h> and <bp-asm.h>.
49021         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49023         <bp-sym.h> and <bp-asm.h>.
49024         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49025         comment.
49027 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49029         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49030         call free(NULL).
49032 2013-03-05  David S. Miller  <davem@davemloft.net>
49034         * po/es.po: Update from translation team.
49036 2013-03-05  Andreas Jaeger  <aj@suse.de>
49038         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49039         <bits/mman-linux.h>.
49040         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49041         is fine.
49042         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49043         <bits/mman-linux.h> to end of file.
49044         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49045         is fine.
49046         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49047         <bits/mman-linux.h> to end of file.
49048         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49049         is fine.
49050         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49051         <bits/mman-linux.h> to end of file.
49053         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49054         (MCL_CURRENT, MCL_FUTURE): Define here.
49056 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49058         [BZ #15232]
49059         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49060         attribute_hidden.
49061         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49063 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49065         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49066         fourth parameter needed for rt_sigprocmask syscall.
49067         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49068         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49069         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49070         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49071         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49072         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49074 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49076         [BZ #13550]
49077         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49078         comment about bounded pointers.
49079         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49080         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49082 2013-03-04  Andreas Jaeger  <aj@suse.de>
49084         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49085         common definitions.
49087         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49088         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49089         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49090         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49091         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49092         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49094 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49096         [BZ #15055]
49097         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49098         __ieee754_sqrl instead of __sqrl.
49100 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49102         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49103         * sysdeps/powerpc/fpu_control.h: ... here.
49104         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49105         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49106         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49107         * sysdeps/powerpc/bits/mathinline.h: ... here.
49109 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49111         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49112         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49113         to just [NEED_DL_SYSINFO_DSO].
49114         * elf/dl-support.c: Likewise.
49115         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49116         * elf/rtld.c (dl_main): Likewise.
49117         * elf/setup-vdso.h (setup_vdso): Likewise.
49118         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49119         * sysdeps/unix/sysv/linux/dl-sysdep.c
49120         (_dl_discover_osversion): Likewise.
49122 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49124         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49125         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49127 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49129         * NEWS: Mention libm performance improvements and non-x86 PI
49130         futex support.
49132         * csu/libc-start.c (__pthread_initialize_minimal): Change
49133         function arguments.
49134         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49136 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49138         [BZ #13550]
49139         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49140         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49141         <bp-sym.h> and <bp-asm.h>.
49142         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49143         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49144         and <bp-asm.h>.
49145         (memcpy): Don't use BP_SYM.
49146         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49147         <bp-asm.h>.
49148         (__mpn_add_n): Don't use BP_SYM.
49149         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49150         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49151         and <bp-asm.h>.
49152         (__mpn_addmul_1): Don't use BP_SYM.
49153         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49154         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49155         <bp-sym.h>.
49156         (_setjmp): Don't use BP_SYM.
49157         (__novmx_setjmp): Likewise.
49158         (__GI__setjmp): Likewise.
49159         (__vmx_setjmp): Likewise.
49160         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49161         <bp-sym.h>.
49162         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49163         (__bzero): Don't use BP_SYM.
49164         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49165         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49166         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49167         <bp-sym.h> and <bp-asm.h>.
49168         (memcpy): Don't use BP_SYM.
49169         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49170         <bp-sym.h> and <bp-asm.h>.
49171         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49172         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49173         <bp-sym.h> and <bp-asm.h>.
49174         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49175         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49176         <bp-asm.h>.
49177         (__mpn_lshift): Don't use BP_SYM.
49178         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49179         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49180         <bp-asm.h>.
49181         (memset): Don't use BP_SYM.
49182         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49183         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49184         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49185         <bp-asm.h>.
49186         (__mpn_mul_1): Don't use BP_SYM.
49187         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49188         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49189         <bp-sym.h> and <bp-asm.h>.
49190         (memcmp): Don't use BP_SYM.
49191         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49192         <bp-sym.h> and <bp-asm.h>.
49193         (memcpy): Don't use BP_SYM.
49194         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49195         <bp-sym.h> and <bp-asm.h>.
49196         (memset): Don't use BP_SYM.
49197         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49198         <bp-sym.h> and <bp-asm.h>.
49199         (strncmp): Don't use BP_SYM.
49200         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49201         <bp-sym.h> and <bp-asm.h>.
49202         (memcpy): Don't use BP_SYM.
49203         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49204         <bp-sym.h> and <bp-asm.h>.
49205         (memset): Don't use BP_SYM.
49206         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49207         <bp-sym.h> and <bp-asm.h>.
49208         (__memchr): Don't use BP_SYM.
49209         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49210         <bp-sym.h> and <bp-asm.h>.
49211         (memcmp): Don't use BP_SYM.
49212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49213         <bp-sym.h> and <bp-asm.h>.
49214         (memcpy): Don't use BP_SYM.
49215         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49216         <bp-sym.h> and <bp-asm.h>.
49217         (__mempcpy): Don't use BP_SYM.
49218         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49219         <bp-sym.h> and <bp-asm.h>.
49220         (__memrchr): Don't use BP_SYM.
49221         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49222         <bp-sym.h> and <bp-asm.h>.
49223         (memset): Don't use BP_SYM.
49224         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49225         <bp-sym.h> and <bp-asm.h>.
49226         (__rawmemchr): Don't use BP_SYM.
49227         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49228         <bp-sym.h> and <bp-asm.h>.
49229         (__STRCMP): Don't use BP_SYM.
49230         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49231         <bp-sym.h> and <bp-asm.h>.
49232         (strchr): Don't use BP_SYM.
49233         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49234         <bp-sym.h> and <bp-asm.h>.
49235         (__strchrnul): Don't use BP_SYM.
49236         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49237         <bp-sym.h> and <bp-asm.h>.
49238         (strlen): Don't use BP_SYM.
49239         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49240         <bp-sym.h> and <bp-asm.h>.
49241         (strncmp): Don't use BP_SYM.
49242         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49243         <bp-sym.h> and <bp-asm.h>.
49244         (__strnlen): Don't use BP_SYM.
49245         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49246         <bp-asm.h>.
49247         (__mpn_rshift): Don't use BP_SYM.
49248         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49249         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49250         <bp-sym.h> and <bp-asm.h>.
49251         (__sigsetjmp): Don't use BP_SYM.
49252         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49253         (L(start_addresses)): Don't use BP_SYM.
49254         (_start): Likewise.
49255         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49256         <bp-asm.h>.
49257         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49258         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49259         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49260         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49261         <bp-asm.h>.
49262         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49263         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49264         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49265         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49266         <bp-asm.h>.
49267         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49268         comments.
49269         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49270         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49271         <bp-asm.h>.
49272         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49273         FIXME comments.
49274         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49275         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49276         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49277         <bp-asm.h>.
49278         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49279         comment.
49280         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49281         and <bp-asm.h>.
49282         (strncmp): Don't use BP_SYM,
49283         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49284         <bp-asm.h>.
49285         (__mpn_sub_n): Don't use BP_SYM.
49286         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49287         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49288         and <bp-asm.h>.
49289         (__mpn_submul_1): Don't use BP_SYM.
49290         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49292         <bp-sym.h> and <bp-asm.h>.
49293         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49295         <bp-sym.h> and <bp-asm.h>.
49296         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49297         comment.
49299 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49302         Use ZK to minimize writes to Z.
49303         (sub_magnitudes): Simplify code a bit.
49304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49305         Use ZK to minimize writes to Z.
49306         (sub_magnitudes): Simplify code a bit.
49308 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49310         * csu/gmon-start.c: Add special exception to license text.
49312 2013-02-27  Richard Henderson  <rth@redhat.com>
49314         * scripts/config.guess: Update from config.git.
49315         * scripts/config.sub: Likewise.
49317 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49319         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49321         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49323         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49325         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49327         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49329 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49331         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49332         [$(build-shared = yes].
49334 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49336         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49337         (__mul): Reduce iterations for calculating mantissa.
49339         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49340         MPTWO.
49341         (__mpranred): Likewise.
49343         [BZ #15160]
49344         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49345         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49347 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49349         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49350         Define __attribute__.
49352 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49355         unused.
49356         * posix/regex_internal.h (__attribute): Remove.
49357         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49358         (re_string_context_at): Likewise.
49359         (bitset_not): Use __attribute__ and mark function as possibly
49360         unused.
49361         (bitset_merge): Likewise.
49362         (bitset_mask): Likewise.
49363         (re_string_char_size_at): Likewise.
49364         (re_string_wchar_at): Likewise.
49365         (re_string_elem_size_at): Likewise.
49367 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49369         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49370         code.
49371         (cc32): Likewise.
49373         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49374         (__acr): Likewise.
49375         (__cpy): Likewise.
49376         (norm): Likewise.
49377         (denorm): Likewise.
49378         (__dbl_mp): Likewise.
49379         (add_magnitudes): Likewise.
49380         (sub_magnitudes): Likewise.
49381         (__mul): Likewise.
49382         (__inv): Likewise.
49384         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49385         style.
49387         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49388         style.
49390         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49391         code.
49393         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49394         up changes with default code.
49395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49396         Likewise.
49398 2013-02-24  Allan McRae  <allan@archlinux.org>
49400         * manual/socket.texi (The Internet Namespace): Order menu items
49401         to match that in the file.
49403         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49404         node listing of the info page menu.
49406 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49408         [BZ #13550]
49409         * sysdeps/i386/bp-asm.h: Remove file.
49410         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49411         (PARMS): Do not use macros from bp-asm.h.
49412         (S1): Likewise.
49413         (S2): Likewise.
49414         (SIZE): Likewise.
49415         (__mpn_add_n): Do not use BP_SYM
49416         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49417         "bp-asm.h".
49418         (PARMS): Do not use macros from bp-asm.h.
49419         (S1): Likewise.
49420         (SIZE): Likewise.
49421         (__mpn_addmul_1): Do not use BP_SYM
49422         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49423         "bp-asm.h".
49424         (PARMS): Do not use macros from bp-asm.h.
49425         (SIGMSK): Likewise.
49426         (_setjmp): Likewise.  Do not use BP_SYM.
49427         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49428         "bp-asm.h".
49429         (PARMS): Do not use macros from bp-asm.h.
49430         (SIGMSK): Likewise.
49431         (setjmp): Likewise.  Do not use BP_SYM.
49432         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49433         "bp-asm.h".
49434         (PARMS): Do not use macros from bp-asm.h.
49435         (__frexp): Do not use BP_SYM.
49436         (frexp): Likewise.
49437         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49438         "bp-asm.h".
49439         (PARMS): Do not use macros from bp-asm.h.
49440         (__frexpf): Do not use BP_SYM.
49441         (frexpf): Likewise.
49442         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49443         "bp-asm.h".
49444         (PARMS): Do not use macros from bp-asm.h.
49445         (__frexpl): Do not use BP_SYM.
49446         (frexpl): Likewise.
49447         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49448         "bp-asm.h".
49449         (PARMS): Do not use macros from bp-asm.h.
49450         (__remquo): Do not use BP_SYM.
49451         (remquo): Likewise.
49452         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49453         "bp-asm.h".
49454         (PARMS): Do not use macros from bp-asm.h.
49455         (__remquof): Do not use BP_SYM.
49456         (remquof): Likewise.
49457         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49458         "bp-asm.h".
49459         (PARMS): Do not use macros from bp-asm.h.
49460         (__remquol): Do not use BP_SYM.
49461         (remquol): Likewise.
49462         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49463         "bp-asm.h".
49464         (PARMS): Do not use macros from bp-asm.h.
49465         (DEST): Likewise.
49466         (SRC): Likewise.
49467         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49468         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49469         "bp-asm.h".
49470         (PARMS): Do not use macros from bp-asm.h.
49471         (strlen): Do not use BP_SYM.
49472         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49473         "bp-asm.h".
49474         (PARMS): Do not use macros from bp-asm.h.
49475         (S1): Likewise.
49476         (S2): Likewise.
49477         (SIZE): Likewise.
49478         (__mpn_add_n): Do not use BP_SYM.
49479         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49480         "bp-asm.h".
49481         (PARMS): Do not use macros from bp-asm.h.
49482         (S1): Likewise.
49483         (SIZE): Likewise.
49484         (__mpn_addmul_1): Do not use BP_SYM.
49485         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49486         weak_alias.
49487         (bzero): Likewise.
49488         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49489         "bp-asm.h".
49490         (PARMS): Do not use macros from bp-asm.h.
49491         (S): Likewise.
49492         (SIZE): Likewise.
49493         (__mpn_lshift): Do not use BP_SYM.
49494         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49495         "bp-asm.h".
49496         (PARMS): Do not use macros from bp-asm.h.
49497         (DEST): Likewise.
49498         (SRC): Likewise.
49499         (LEN): Likewise.
49500         (memcpy): Likewise.  Do not use BP_SYM.
49501         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49502         libc_hidden_def and weak_alias.
49503         (mempcpy): Do not use BP_SYM in weak_alias.
49504         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49505         "bp-asm.h".
49506         (PARMS): Do not use macros from bp-asm.h.
49507         (DEST): Likewise.
49508         (LEN): Likewise.
49509         [!BZERO_P] (CHR): Likewise.
49510         (memset): Likewise.  Do not use BP_SYM.
49511         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49512         "bp-asm.h".
49513         (PARMS): Do not use macros from bp-asm.h.
49514         (S1): Likewise.
49515         (SIZE): Likewise.
49516         (__mpn_mul_1): Do not use BP_SYM.
49517         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49518         "bp-asm.h".
49519         (PARMS): Do not use macros from bp-asm.h.
49520         (S): Likewise.
49521         (SIZE): Likewise.
49522         (__mpn_rshift): Do not use BP_SYM.
49523         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49524         "bp-asm.h".
49525         (PARMS): Do not use macros from bp-asm.h.
49526         (STR): Likewise.
49527         (CHR): Likewise.
49528         (strchr): Likewise.  Do not use BP_SYM.
49529         (index): Do not use BP_SYM in weak_alias.
49530         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49531         "bp-asm.h".
49532         (PARMS): Do not use macros from bp-asm.h.
49533         (DEST): Likewise.
49534         (SRC): Likewise.
49535         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49536         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49537         "bp-asm.h".
49538         (PARMS): Do not use macros from bp-asm.h.
49539         (strlen): Do not use BP_SYM.
49540         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49541         "bp-asm.h".
49542         (PARMS): Do not use macros from bp-asm.h.
49543         (S1): Likewise.
49544         (S2): Likewise.
49545         (SIZE): Likewise.
49546         (__mpn_sub_n): Do not use BP_SYM.
49547         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49548         "bp-asm.h".
49549         (PARMS): Do not use macros from bp-asm.h.
49550         (S1): Likewise.
49551         (SIZE): Likewise.
49552         (__mpn_submul_1): Do not use BP_SYM.
49553         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49554         "bp-asm.h".
49555         (PARMS): Do not use macros from bp-asm.h.
49556         (S1): Likewise.
49557         (S2): Likewise.
49558         (SIZE): Likewise.
49559         (__mpn_add_n): Do not use BP_SYM.
49560         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49561         weak_alias.
49562         (bzero): Likewise.
49563         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49564         "bp-asm.h".
49565         (PARMS): Do not use macros from bp-asm.h.
49566         (BLK2): Likewise.
49567         (LEN): Likewise.
49568         (memcmp): Do not use BP_SYM.
49569         (bcmp): Do not use BP_SYM in weak_alias.
49570         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49571         "bp-asm.h".
49572         (PARMS): Do not use macros from bp-asm.h.
49573         (DEST): Likewise.
49574         (SRC): Likewise.
49575         (LEN): Likewise.
49576         (memcpy): Likewise.  Do not use BP_SYM.
49577         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49578         "bp-asm.h".
49579         (PARMS): Do not use macros from bp-asm.h.
49580         (DEST): Likewise.
49581         (SRC): Likewise.
49582         (LEN): Likewise.
49583         (memmove): Likewise.  Do not use BP_SYM.
49584         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49585         "bp-asm.h".
49586         (PARMS): Do not use macros from bp-asm.h.
49587         (DEST): Likewise.
49588         (SRC): Likewise.
49589         (LEN): Likewise.
49590         (__mempcpy): Likewise.  Do not use BP_SYM.
49591         (mempcpy): Do not use BP_SYM in weak_alias.
49592         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49593         "bp-asm.h".
49594         (PARMS): Do not use macros from bp-asm.h.
49595         (DEST): Likewise.
49596         (LEN): Likewise.
49597         [!BZERO_P] (CHR): Likewise.
49598         (memset): Likewise.  Do not use BP_SYM.
49599         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49600         "bp-asm.h".
49601         (PARMS): Do not use macros from bp-asm.h.
49602         (STR2): Likewise.
49603         (strcmp): Do not use BP_SYM.
49604         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49605         "bp-asm.h".
49606         (PARMS): Do not use macros from bp-asm.h.
49607         (STR): Likewise.
49608         (DELIM): Likewise.
49609         [USE_AS_STRTOK_R] (SAVE): Likewise.
49610         (FUNCTION): Likewise.  Do not use BP_SYM.
49611         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49612         aliases.
49613         (strtok_r): Likewise.
49614         (__GI___strtok_r): Likewise.
49615         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49616         (PARMS): Do not use macros from bp-asm.h.
49617         (S): Likewise.
49618         (SIZE): Likewise.
49619         (__mpn_lshift): Do not use BP_SYM.
49620         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49621         (PARMS): Do not use macros from bp-asm.h.
49622         (STR): Likewise.
49623         (CHR): Likewise.
49624         (__memchr): Do not use BP_SYM.
49625         (memchr): Do not use BP_SYM in weak_alias.
49626         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49627         (PARMS): Do not use macros from bp-asm.h.
49628         (BLK2): Likewise.
49629         (LEN): Likewise.
49630         (memcmp): Do not use BP_SYM.
49631         (bcmp): Do not use BP_SYM in weak_alias.
49632         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49633         (PARMS): Do not use macros from bp-asm.h.
49634         (S1): Likewise.
49635         (SIZE): Likewise.
49636         (__mpn_mul_1): Do not use BP_SYM.
49637         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49638         "bp-asm.h".
49639         (PARMS): Do not use macros from bp-asm.h.
49640         (STR): Likewise.
49641         (CHR): Likewise.
49642         (__rawmemchr): Do not use BP_SYM.
49643         (rawmemchr): Do not use BP_SYM in weak_alias.
49644         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49645         (PARMS): Do not use macros from bp-asm.h.
49646         (S): Likewise.
49647         (SIZE): Likewise.
49648         (__mpn_rshift): Do not use BP_SYM.
49649         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49650         (PARMS): Do not use macros from bp-asm.h.
49651         (SIGMSK): Likewise.
49652         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49653         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49654         (_start): Do not use BP_SYM.
49655         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49656         (PARMS): Do not use macros from bp-asm.h.
49657         (DEST): Likewise.
49658         (SRC): Likewise.
49659         (__stpcpy): Likewise.  Do not use BP_SYM.
49660         (stpcpy): Do not use BP_SYM in weak_alias.
49661         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49662         "bp-asm.h".
49663         (PARMS): Do not use macros from bp-asm.h.
49664         (DEST): Likewise.
49665         (SRC): Likewise.
49666         (LEN): Likewise.
49667         (__stpncpy): Likewise.  Do not use BP_SYM.
49668         (stpncpy): Do not use BP_SYM in weak_alias.
49669         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49670         (PARMS): Do not use macros from bp-asm.h.
49671         (STR): Likewise.
49672         (CHR): Likewise.
49673         (strchr): Likewise.  Do not use BP_SYM.
49674         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49675         "bp-asm.h".
49676         (PARMS): Do not use macros from bp-asm.h.
49677         (STR): Likewise.
49678         (CHR): Likewise.
49679         (__strchrnul): Likewise.  Do not use BP_SYM.
49680         (strchrnul): Do not use BP_SYM in weak_alias.
49681         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49682         "bp-asm.h".
49683         (PARMS): Do not use macros from bp-asm.h.
49684         (STOP): Likewise.
49685         (strcspn): Do not use BP_SYM.
49686         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49687         "bp-asm.h".
49688         (PARMS): Do not use macros from bp-asm.h.
49689         (STR): Likewise.
49690         (STOP): Likewise.
49691         (strpbrk): Likewise.  Do not use BP_SYM.
49692         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49693         "bp-asm.h".
49694         (PARMS): Do not use macros from bp-asm.h.
49695         (STR): Likewise.
49696         (CHR): Likewise.
49697         (strrchr): Likewise.  Do not use BP_SYM.
49698         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49699         (PARMS): Do not use macros from bp-asm.h.
49700         (SKIP): Likewise.
49701         (strspn): Do not use BP_SYM.
49702         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49703         (PARMS): Do not use macros from bp-asm.h.
49704         (STR): Likewise.
49705         (DELIM): Likewise.
49706         (SAVE): Likewise.
49707         (FUNCTION): Likewise.  Do not use BP_SYM.
49708         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49709         aliases.
49710         (strtok_r): Likewise.
49711         (__GI___strtok_r): Likewise.
49712         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49713         (PARMS): Do not use macros from bp-asm.h.
49714         (S1): Likewise.
49715         (S2): Likewise.
49716         (SIZE): Likewise.
49717         (__mpn_sub_n): Do not use BP_SYM.
49718         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49719         "bp-asm.h".
49720         (PARMS): Do not use macros from bp-asm.h.
49721         (S1): Likewise.
49722         (SIZE): Likewise.
49723         (__mpn_submul_1): Do not use BP_SYM.
49724         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49725         <bp-sym.h>.
49726         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49727         and <bp-asm.h>.
49728         (PARMS): Do not use macros from bp-asm.h.
49729         (FLAGS): Likewise.
49730         (PTID): Likewise.
49731         (TLS): Likewise.
49732         (CTID): Likewise.
49733         (__clone): Do not use BP_SYM.
49734         (clone): Do not use BP_SYM in weak_alias.
49735         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49736         and <bp-asm.h>.
49737         (PARMS): Do not use macros from bp-asm.h.
49738         (LEN): Likewise.
49739         (__mmap64): Do not use BP_SYM.
49740         (mmap64): Do not use BP_SYM in weak_alias.
49741         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49742         <bp-sym.h> and <bp-asm.h>.
49743         (PARMS): Do not use macros from bp-asm.h.
49744         (__posix_fadvise64_l64): Do not use BP_SYM.
49745         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49746         (PARMS): Do not use macros from bp-asm.h.
49747         (NSOPS): Likewise.
49748         (semtimedop): Do not use BP_SYM.
49749         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49750         and <bp-asm.h>.
49752 2013-02-21  Allan McRae  <allan@archlinux.org>
49754         * manual/message.texi (Charset conversion in gettext):
49755         Move @end statement to beginning of line.
49757 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49760         static.
49761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49762         Likewise.
49764         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49765         (denorm): Likewise.
49766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49769 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49771         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49772         tail-call to the resolved function if pltexit isn't needed.
49774 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49777         or Y being zero as being unlikely.
49778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49779         Likewise.
49781 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49783         * manual/nss.texi (System Databases and Name Service Switch):
49784         Remove frobnicate @pxref.
49786 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49788         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49789         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49791 2013-02-20  Petr Machata  <pmachata@redhat.com>
49793         * elf/elf.h (R_ARM_TARGET1): New macro.
49794         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49795         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49796         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49797         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49798         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49799         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49800         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49801         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49802         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49803         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49804         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49805         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49806         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49807         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49808         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49809         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49810         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49811         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49812         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49813         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49814         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49815         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49816         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49817         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49818         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49819         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49820         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49821         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49822         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49823         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49824         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49825         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49826         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49827         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49828         (R_ARM_THM_GOT_BREL12): Likewise.
49829         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49830         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49831         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49832         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49833         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49834         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49835         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49836         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49837         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49839 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49841         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49842         __attribute_used__ to __attribute__ ((unused)).
49844 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49846         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49847         powerpc mpa.c.
49848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49849         comment formatting.
49850         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49852 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49854         [BZ #13550]
49855         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49856         Remove macro.
49857         (ENTER): Remove both macro definitions.
49858         (LEAVE): Likewise.
49859         (CHECK_BOUNDS_LOW): Likewise.
49860         (CHECK_BOUNDS_HIGH): Likewise.
49861         (CHECK_BOUNDS_BOTH): Likewise.
49862         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49863         (RETURN_BOUNDED_POINTER): Likewise.
49864         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49865         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49866         (POP_ERRNO_LOCATION_RETURN): Likewise.
49867         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49868         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49869         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49870         macros.
49871         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49872         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49873         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49874         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49875         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49876         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49877         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49878         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49879         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49880         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49881         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49882         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49883         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49884         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49885         removed macros.
49886         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49887         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49888         macros.
49889         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49890         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49891         * sysdeps/i386/i586/memset.S (memset): Likewise.
49892         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49893         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49894         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49895         macros.
49896         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49897         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49898         Change uses of L(2) to L(out).
49899         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49900         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49901         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49902         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49903         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49904         removed macros.
49905         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49906         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49907         macros.
49908         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49909         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49910         (RETURN): Do not use macro LEAVE.
49911         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49912         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49913         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49914         * sysdeps/i386/i686/memset.S (memset): Likewise.
49915         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49916         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49917         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49918         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49919         Likewise.
49920         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49921         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49922         L(1_2) and L(1_3) into L(1).
49923         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49924         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49925         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49926         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49927         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49928         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49929         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49930         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49931         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49932         macros.
49933         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49934         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49935         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49936         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49937         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49938         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49939         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49940         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49941         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49942         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49943         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49944         * sysdeps/i386/strspn.S (strspn): Likewise.
49945         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49946         conditional code.
49947         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49948         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49949         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49950         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49951         L(1_3) into L(1_1).
49952         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49953         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49954         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49955         macros.
49956         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49958 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49960         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49961         macro.
49963 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49965         * math/atest-exp.c (exp_mpn): Remove ROUND.
49966         * math/atest-exp2.c (exp_mpn): Likewise.
49967         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49969         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49970         * stdlib/tst-tls-atexit-lib.c: Likewise.
49971         * stdlib/tst-tls-atexit.c: Likewise.
49973 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49975         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49976         and __attribute_alloc_size__.
49978 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49980         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49981         __attribute_alloc_size__.
49982         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49983         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49985 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49987         * include/programs/xmalloc.h: New file.
49988         * catgets/gencat.c: Include it.
49989         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49990         * elf/pldd.c: Likewise.
49991         * iconv/iconv_charmap.c: Likewise.
49992         * iconv/iconvconfig.c: Likewise.
49993         * iconv/strtab.c: Likewise.
49994         * locale/programs/locale.c: Likewise.
49995         * locale/programs/localedef.h: Likewise.
49996         * locale/programs/simple-hash.c: Likewise.
49997         * nscd/nscd.h: Likewise.
49998         * nss/makedb.c: Likewise.
49999         * sysdeps/generic/ldconfig.h: Likewise.
50001 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50003         * Versions.def: Add GLIBC_2.18.
50004         * include/link.h (struct link_map): New member l_tls_dtor_count.
50005         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50006         (__call_tls_dtors): Likewise.
50007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50008         __cxa_thread_atexit_impl.
50009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50010         Likewise.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50012         Likewise.
50013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50014         Likewise.
50015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50016         Likewise.
50017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50019         Likewise.
50020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50021         Likewise.
50022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50024         Likewise.
50025         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50026         (tests): Add test case tst-tls-atexit.
50027         (modules-names): Add shared library for tst-tls-atexit.
50028         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50029         (GLIBC_PRIVATE): Add __call_tls_dtors.
50030         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50031         for libstdc++.
50032         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50033         * stdlib/tst-tls-atexit.c: New test case.
50034         * stdlib/tst-tls-atexit-lib.c: New test case.
50036         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50038         * elf/Versions (ld): Add _dl_find_dso_for_object.
50039         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50040         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50041         (dl_open_worker): Use _dl_find_dso_for_object.
50042         * elf/dl-sym.c (do_sym): Likewise.
50043         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50045 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50047         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50048         Syntactic changes only.
50049         (_dl_runtime_profile): Do a tail-call to the resolved function.
50051 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50053         [BZ #13550]
50054         * sysdeps/x86_64/bp-asm.h: Remove file.
50055         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50056         <bp-sym.h> and <bp-asm.h>.
50057         (__clone): Do not use BP_SYM.
50058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50059         <bp-sym.h> and <bp-asm.h>.
50060         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50061         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50062         "bp-asm.h".
50063         (_setjmp): Do not use BP_SYM.
50064         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50065         "bp-asm.h".
50066         (setjmp): Do not use BP_SYM.
50067         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50068         libc_hidden_def.
50069         (mempcpy): Do not use BP_SYM in weak_alias.
50070         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50071         "bp-asm.h".
50072         (strchr): Do not use BP_SYM.
50073         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50074         "bp-asm.h".
50075         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50076         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50077         (_start): Do not use BP_SYM.
50078         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50079         "bp-asm.h".
50080         (strcat): Do not use BP_SYM.
50081         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50082         "bp-asm.h".
50083         (STRCMP): Do not use BP_SYM.
50084         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50085         "bp-asm.h".
50086         (STRCPY): Do not use BP_SYM.
50087         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50088         "bp-asm.h".
50089         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50090         "bp-asm.h".
50091         (FUNCTION): Do not use BP_SYM.
50092         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50093         weak_alias.
50094         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50096 2013-02-17  Andreas Jaeger  <aj@suse.de>
50098         * time/Versions: Sort entries.
50099         * string/Versions: Likewise.
50100         * resolv/Versions: Likewise.
50101         * posix/Versions: Likewise.
50102         * iconv/Versions: Likewise.
50103         * elf/Versions: Likewise.
50104         * wcsmbs/Versions: Likewise.
50106 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50108         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50109         loop termination condition.
50111         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50112         variable to calculate EZ.
50113         (__sqr): Likewise.
50115         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50116         the lower precision input.
50118 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50120         [BZ #13550]
50121         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50122         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50123         (run-via-rtld-prefix): Do not handle %-bp tests.
50124         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50125         (all-object-suffixes): Remove .ob.
50126         (bppfx): Remove variable.
50127         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50128         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50129         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50130         [$(build-bounded) = yes] (libtype.ob): Likewise.
50131         * Makerules (elide-routines.ob): Remove variable.
50132         (do-tests-clean): Do not handle *-bp.out.
50133         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50134         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50135         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50136         (tests): Do not include $(tests-bp.out).
50137         (xtests): Do not include $(xtests-bp.out).
50138         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50139         [$(build-bounded) = yes] ($(addprefix
50140         $(objpfx),$(binaries-bounded))): Remove rule.
50141         ($(objpfx)%-bp.out): Remove rule.
50142         * config.make.in (build-bounded): Remove variable.
50143         * crypt/Makefile [$(build-bounded) = yes]
50144         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50145         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50146         append to variable.
50147         [$(build-bounded) = yes] (install-lib): Likewise.
50148         [$(build-bounded) = yes] (generated): Likewise.
50149         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50150         Remove rule.
50151         * intl/Makefile [$(build-bounded) = yes]
50152         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50153         * math/Makefile [$(build-bounded) = yes]
50154         ($(tests:%=$(objpfx)%-bp): Likewise.
50155         * misc/Makefile [$(build-bounded) = yes]
50156         ($(objpfx)tst-tsearch-bp): Likewise.
50157         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50158         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50159         Remove dependency.
50160         * string/Makefile (o-objects.ob): Remove variable.
50161         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50162         (CFLAGS-.ob): Remove variable.
50163         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50164         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50165         both definitions of variable.
50166         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50167         (ASFLAGS-.ob): Remove variable.
50169 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50171         [BZ #13550]
50172         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50173         Remove __BOUNDED_POINTERS__ from condition.
50174         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50175         * string/bits/string2.h [!__NO_STRING_INLINES &&
50176         !__BOUNDED_POINTERS__]: Likewise.
50177         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50178         Likewise.
50179         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50180         Remove conditional code.
50181         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50182         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50183         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50184         condition.
50186         [BZ #13550]
50187         * csu/libc-start.c: Do not include <bp-sym.h>.
50188         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50189         * elf/dl-open.c: Do not include <bp-sym.h>.
50190         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50191         * math/fegetenv.c: Do not include <bp-sym.h>.
50192         (fegetenv): Do not use BP_SYM in versioned symbols.
50193         * nptl/sysdeps/pthread/bits/libc-lockP.h
50194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50195         <bp-sym.h>.
50196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50197         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50199         (__pthread_mutex_destroy): Likewise.
50200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50201         (__pthread_mutex_lock): Likewise.
50202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50203         (__pthread_mutex_trylock): Likewise.
50204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50205         (__pthread_mutex_unlock): Likewise.
50206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50207         (__pthread_mutexattr_init): Likewise.
50208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50209         (__pthread_mutexattr_destroy): Likewise.
50210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50211         (__pthread_mutexattr_settype): Likewise.
50212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50213         (__pthread_rwlock_init): Likewise.
50214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50215         (__pthread_rwlock_destroy): Likewise.
50216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50217         (__pthread_rwlock_rdlock): Likewise.
50218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50219         (__pthread_rwlock_tryrdlock): Likewise.
50220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50221         (__pthread_rwlock_wrlock): Likewise.
50222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50223         (__pthread_rwlock_trywrlock): Likewise.
50224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50225         (__pthread_rwlock_unlock): Likewise.
50226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50227         (__pthread_key_create): Likewise.
50228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50229         (__pthread_setspecific): Likewise.
50230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50231         (__pthread_getspecific): Likewise.
50232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50233         Likewise.
50234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50235         (_pthread_cleanup_push_defer): Likewise.
50236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50237         (_pthread_cleanup_pop_restore): Likewise.
50238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50239         (pthread_setcancelstate): Likewise.
50240         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50241         <bp-sym.h>.
50242         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50243         (memchr): Do not use BP_SYM in weak_alias.
50244         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50245         (fegetenv): Do not use BP_SYM in versioned symbols.
50246         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50247         (fesetenv): Do not use BP_SYM in versioned symbols.
50248         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50249         (feupdateenv): Do not use BP_SYM in versioned symbols.
50250         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50251         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50252         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50253         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50254         (open64): Do not use BP_SYM in weak_alias.
50255         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50256         (fegetenv): Do not use BP_SYM in versioned symbols.
50257         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50258         (fesetenv): Do not use BP_SYM in versioned symbols.
50259         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50260         (feupdateenv): Do not use BP_SYM in versioned symbols.
50261         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50262         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50263         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50264         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50265         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50266         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50267         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50268         <bp-sym.h>.
50269         (__libc_start_main): Do not use BP_SYM.
50271 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50274         redundant return line.
50275         (norm): Likewise.
50276         (denorm): Likewise.
50277         (dbl_mp): Likewise.
50278         (sub_magnitudes): Likewise.
50279         (__add): Likewise.
50280         (__sub): Likewise.
50281         (__mul): Likewise.
50282         (__inv): Likewise.
50283         (__dvd): Likewise.
50284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50285         (norm): Likewise.
50286         (denorm): Likewise.
50287         (dbl_mp): Likewise.
50288         (sub_magnitudes): Likewise.
50289         (__add): Likewise.
50290         (__sub): Likewise.
50291         (__mul): Likewise.
50292         (__inv): Likewise.
50293         (__dvd): Likewise.
50295         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50296         instead of __mul.
50297         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50298         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50299         (cc32): Likewise.
50301         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50302         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50303         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50304         of __mul for squares.
50305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50306         function
50307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50308         Likewise.
50309         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50310         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50312 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50314         [BZ #13550]
50315         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50316         code.
50317         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50318         prototype or function definition.  Rename ubp_* variables and
50319         parameters.  Remove argv definitions conditional on
50320         [__BOUNDED_POINTERS__].
50321         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50322         * elf/dl-runtime.c (_dl_fixup): Likewise.
50323         * include/set-hooks.h (RUN_HOOK): Likewise.
50324         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50325         definition.
50326         * string/strcpy.c (strcpy): Do not use __unbounded.
50327         * sysdeps/generic/frame.h (struct layout): Likewise.
50328         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50329         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50330         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50331         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50332         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50333         (__backtrace): Likewise.
50334         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50335         use __ptrvalue.
50336         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50337         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50338         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50339         Likewise.
50340         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50341         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50342         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50343         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50344         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50345         Do not use __unbounded.
50346         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50347         Rename __unboundedrlimits parameter to rlimits in prototype.
50348         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50349         Do not use __unbounded.
50350         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50351         not use __ptrvalue.
50352         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50353         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50354         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50355         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50356         __ptrvalue or __unbounded.
50357         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50358         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50359         use __unbounded.
50360         (__new_msgctl): Do not use __ptrvalue.
50361         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50362         __unbounded.
50363         (__libc_msgrcv): Do not use __ptrvalue.
50364         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50365         startup_info): Do not use __unbounded.
50366         (__libc_start_main): Likewise.  Rename ubp_* variables and
50367         parameters.  Remove argv definitions conditional on
50368         [__BOUNDED_POINTERS__].
50369         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50370         __ptrvalue.
50371         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50372         use __unbounded.
50373         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50374         or __ptrvalue.
50375         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50376         use __unbounded.
50377         (__new_shmctl): Do not use __ptrvalue.
50378         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50379         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50380         Likewise.
50381         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50382         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50383         (__libc_sigaction): Likewise.
50384         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50385         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50386         Likewise.
50387         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50389 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50391         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50393         * string/mempcpy.c: Implement by calling memcpy.
50395 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50400         evaluation.
50402         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50403         values in the mantissa.
50405         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50406         minimize writes to Z.
50407         (sub_magnitudes): Simplify code a bit.
50409 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50411         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50412         from the message.  The linker prefixes all warnings with that already.
50414 2013-02-12  Andreas Schwab  <schwab@suse.de>
50416         [BZ #15078]
50417         * posix/regexec.c (extend_buffers): Add parameter min_len.
50418         (check_matching): Pass minimum needed length.
50419         (clean_state_log_if_needed): Likewise.
50420         (get_subexp): Likewise.
50421         * posix/Makefile (tests): Add bug-regex34.
50422         (bug-regex34-ENV): Define.
50423         * posix/bug-regex34.c: New file.
50425         [BZ #11561]
50426         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50427         elements compare against the byte sequence of it, not its name.
50428         * posix/Makefile (tests): Add bug-regex35.
50429         (bug-regex35-ENV): Define.
50430         * posix/bug-regex35.c: New file.
50432 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50434         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50435         comment.
50436         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50437         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50438         (CHECK_EOL): Add undef.
50440 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50442         * bits/stdlib-bsearch.h: New file.
50443         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50444         * stdlib/stdlib.h: Likewise.
50446 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50448         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50449         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50450         declaration.
50451         * manual/search.texi (Array Search Function): Add missing const in
50452         lfind prototype.
50453         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50454         declaration to use rlim_t.
50455         (Basic Scheduling Functions): Remove erroneous const from
50456         sched_getparam prototype.  Remove erroneous * from
50457         sched_get_priority_max and sched_get_priority_min prototypes.
50458         (Resource Usage): Fix summary @comment on vtimes to refer to
50459         sys/vtimes.h rather than vtimes.h.
50460         Add missing *s in vtimes prototype.
50461         (Limits on Resources): Fix ulimit prototype to return long int.
50462         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50463         prototypes to use long int rather than double.
50464         (BSD Random): Fix initstate and setstate to use char *, not void *.
50465         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50466         prototype to make second argument 'struct aiocb64 *const[]'.
50467         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50468         (Status of AIO Operations): Remove erroneous const in aio_return and
50469         aio_return64 prototypes.
50470         (Synchronizing I/O): Fix sync prototype to return void.
50471         * manual/startup.texi (Suboptions): Remove an erroneous const in
50472         getsubopt prototype.
50473         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50474         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50475         use size_t rather than int.
50476         (Scanning All Users): Likewise for getpwent_r.
50477         (Setting Groups): Add missing const to setgroups prototype.
50478         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50479         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50480         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50481         'const void *' rather than 'const char *'.
50482         (Host Address Functions): Likewise for inet_ntop.
50483         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50484         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50485         ssize_t for return value.
50486         (Sending Data): Likewise for send, sendto, sendmsg.
50487         (Socket Option Functions): Add a missing const in setsockopt prototype.
50488         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50489         use wchar_t for the argument.
50490         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50491         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50492         take no arguments.
50493         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50494         double/float/long double for second argument.
50495         Fix return types of significand, significandf, significandl.
50496         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50497         argument in fchmod prototype.
50498         (File Owner): Use uid_t and gid_t in fchown prototype.
50499         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50500         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50501         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50502         use 'const struct dirent **' as argument types to CMP function pointer
50503         argument.
50504         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50505         (File Times): Fix summary magic @comment for struct utimbuf and utime
50506         to refer to utime.h, not time.h.
50507         * manual/string.texi (Argz Functions): Add missing const in
50508         argz_extract and argz_next prototypes.
50509         (Finding Tokens in a String): Likewise for basename.
50510         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50511         (Copying and Concatenation): Fix typo in wmemmove prototype.
50512         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50513         (Signal Stack): Remove erroneous const in sigstack prototype.
50514         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50515         prototype.
50516         (Simple Calendar Time): Likewise for stime.
50517         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50518         prototype.
50519         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50520         say sys/sysctl.h instead.
50521         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50522         and vsyslog prototypes.
50524 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50526         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50527         Remove.
50529 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50531         * misc/sys/mman.h: Fix typo in mremap comment.
50533 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50535         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50536         the '\0' terminator.
50538 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50540         [BZ #13550]
50541         * debug/segfault.c: Don't include <bp-checks.h>.
50542         * sysdeps/generic/bp-checks.h: Remove file.
50543         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50544         (__GETDENTS): Don't use CHECK_N.
50545         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50546         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50547         (__getgroups): Don't use CHECK_N.
50548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50549         (setgroups): Don't use CHECK_N.
50550         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50551         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50552         (__libc_msgrcv): Don't use CHECK_N.
50553         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50554         (__libc_msgsnd): Don't use CHECK_N.
50555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50556         <bp-checks.h>.
50557         (__libc_pread): Don't use CHECK_N.
50558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50559         include <bp-checks.h>.
50560         (__libc_pread64): Don't use CHECK_N.
50561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50562         include <bp-checks.h>.
50563         (__libc_pwrite): Don't use CHECK_N.
50564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50565         include <bp-checks.h>.
50566         (__libc_pwrite64): Don't use CHECK_N.
50567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50568         <bp-checks.h>.
50569         (__libc_pread): Don't use CHECK_N.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50571         include <bp-checks.h>.
50572         (__libc_pread64): Don't use CHECK_N.
50573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50574         include <bp-checks.h>.
50575         (__libc_pwrite): Don't use CHECK_N.
50576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50577         include <bp-checks.h>.
50578         (__libc_pwrite64): Don't use CHECK_N.
50579         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50580         (do_pread): Don't use CHECK_N.
50581         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50582         (do_pread64): Don't use CHECK_N.
50583         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50584         (do_pwrite): Don't use CHECK_N.
50585         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50586         (do_pwrite64): Don't use CHECK_N.
50587         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50588         (__libc_readv): Don't use CHECK_N.
50589         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50590         (semop): Don't use CHECK_N.
50591         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50592         <bp-checks.h>.
50593         (semtimedop): Don't use CHECK_N.
50594         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50595         (__libc_pread): Don't use CHECK_N.
50596         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50597         <bp-checks.h>.
50598         (__libc_pread64): Don't use CHECK_N.
50599         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50600         <bp-checks.h>.
50601         (__libc_pwrite): Don't use CHECK_N.
50602         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50603         <bp-checks.h>.
50604         (__libc_pwrite64): Don't use CHECK_N.
50605         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50606         <bp-checks.h>.
50607         (__libc_msgrcv): Don't use CHECK_N.
50608         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50609         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50610         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50611         (__libc_writev): Don't use CHECK_N.
50613 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50615         * string/strcpy.c: Removed unused variable.
50617         * Makeconfig (+sysdep-includes): Define with := rather than =.
50618         Use an existing include/ subdir of each sysdeps dir before it.
50620 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50622         * nscd/connection.c (register_traced_file): Comment function.
50623         [HAVE_INOTIFY] (union __inev): Define.
50624         [HAVE_INOTIFY] (inotify_check_files): New function.
50625         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50626         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50627         clear_db_cache.
50628         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50630 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50632         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50633         loaded if not already and that a failure is permanent.
50635 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50637         [BZ #15006]
50638         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50639         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50641 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50643         [BZ #13550]
50644         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50645         (CHECK_1_NULL_OK): Likewise.
50646         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50647         (__fxstat): Do not use CHECK_1.
50648         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50649         <bp-checks.h>.
50650         (___fxstat64): Do not use CHECK_1.
50651         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50652         <bp-checks.h>.
50653         (__fxstatat): Do not use CHECK_1.
50654         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50655         <bp-checks.h>.
50656         (__fxstatat64): Do not use CHECK_1.
50657         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50658         <bp-checks.h>.
50659         (__fxstat): Do not use CHECK_1.
50660         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50661         <bp-checks.h>.
50662         (__fxstatat): Do not use CHECK_1.
50663         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50664         <bp-checks.h>.
50665         (__getresgid): Do not use CHECK_1.
50666         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50667         <bp-checks.h>.
50668         (__getresuid): Do not use CHECK_1.
50669         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50670         <bp-checks.h>.
50671         (__lxstat): Do not use CHECK_1.
50672         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50673         <bp-checks.h>.
50674         (__old_msgctl): Do not use CHECK_1.
50675         (__new_msgctl): Likewise.
50676         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50677         <bp-checks.h>.
50678         (__new_setrlimit): Do not use CHECK_1.
50679         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50680         <bp-checks.h>.
50681         (__old_shmctl): Do not use CHECK_1.
50682         (__new_shmctl): Likewise.
50683         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50684         <bp-checks.h>.
50685         (__xstat): Do not use CHECK_1.
50686         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50687         (__lxstat): Do not use CHECK_1.
50688         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50689         <bp-checks.h>.
50690         (___lxstat64): Do not use CHECK_1.
50691         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50692         (__old_msgctl): Do not use CHECK_1.
50693         (__new_msgctl): Likewise.
50694         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50695         <bp-checks.h>.
50696         (__gettimeofday): Do not use CHECK_1.
50697         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50698         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50699         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50700         <bp-checks.h>.
50701         (__gettimeofday): Do not use CHECK_1.
50702         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50703         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50704         (__new_shmctl): Do not use CHECK_1.
50705         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50706         <bp-checks.h>.
50707         (do_sigtimedwait): Do not use CHECK_1.
50708         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50709         <bp-checks.h>.
50710         (do_sigwaitinfo): Do not use CHECK_1.
50711         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50712         <bp-checks.h>.
50713         (msgctl): Do not use CHECK_1.
50714         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50715         <bp-checks.h>.
50716         (shmctl): Do not use CHECK_1.
50717         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50718         (ustat): Do not use CHECK_1.
50719         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50720         <bp-checks.h>.
50721         (__fxstat): Do not use CHECK_1.
50722         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50723         <bp-checks.h>.
50724         (__fxstatat): Do not use CHECK_1.
50725         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50726         <bp-checks.h>.
50727         (__lxstat): Do not use CHECK_1.
50728         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50729         <bp-checks.h>.
50730         (__xstat): Do not use CHECK_1.
50731         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50732         (__xstat): Do not use CHECK_1.
50733         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50734         (___xstat64): Do not use CHECK_1.
50736         [BZ #13550]
50737         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50738         definitions.
50739         (CHECK_BOUNDS_HIGH): Likewise.
50740         * string/strcpy.c: Do not include <bp-checks.h>.
50741         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50743 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50745         * nscd/nscd-client.h (__nscd_drop_map_ref):
50746         Add __attribute__ ((unused)).
50747         * nis/nss-nisplus.h (niserr2nss): Likewise.
50749         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50750         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50752         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50753         Remove inline keyword.
50754         * include/rounding-mode.h (round_away): Likewise.
50755         * libio/wfileops.c (adjust_wide_data): Likewise.
50756         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50757         (__m128i_strloadu_tolower): Likewise.
50758         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50759         (__m128i_strloadu_tolower): Likewise.
50760         * time/mktime.c (ydhms_diff): Likewise.
50761         * locale/elem-hash.h (elem_hash): Likewise.
50762         * locale/setlocale.c (setdata): Likewise.
50763         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50764         (re_string_wchar_at): Likewise.
50765         (bitset_not, bitset_merge, bitset_mask): Likewise.
50766         [!(__GNUC__ > 3)] (inline): Remove macro.
50767         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50768         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50769         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50770         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50771         * string/memcmp.c (memcmp_bytes): Likewise.
50772         * locale/programs/locarchive.c (compute_hashval): Likewise.
50773         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50774         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50775         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50776         * nss/getent.c (print_rpc, print_protocols): Likewise.
50777         (print_passwd, print_group, print_aliases): Likewise.
50778         * nis/nss-nisplus.h (niserr2nss): Likewise.
50779         * nscd/connections.c (restart_p): Likewise.
50780         Change return type to bool.
50782 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50784         * Makeconfig (all-Depend-files): Add existing
50785         $(sorted-subdirs:=/Depend) files.
50786         (all-subdirs): Remove nss.
50787         * sysdeps/unix/inet/Subdirs: Add it here instead.
50788         * hesiod/Depend: New file.
50790         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50791         instead of calling alloca.
50793         * io/lseek.c (__lseek): Rename to __libc_lseek.
50794         Define __lseek as an alias.
50796         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50798 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50800         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50801         else clause and remove check for non-standard endianness.
50803 2013-02-04  David S. Miller  <davem@davemloft.net>
50805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50807 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50809         [BZ #13550]
50810         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50811         (__ubp_memchr): Remove prototype.
50812         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50813         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50814         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50815         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50816         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50817         Remove alias.
50818         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50819         (__ubp_memchr): Likewise.
50820         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50821         (__ubp_memchr): Likewise.
50822         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50823         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50824         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50825         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50826         CHECK_STRING.
50827         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50828         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50829         (__getcwd): Do not use CHECK_STRING.
50830         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50831         <bp-checks.h>.
50832         (__real_chown): Do not use CHECK_STRING.
50833         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50834         <bp-checks.h>.
50835         (fchownat): Do not use CHECK_STRING.
50836         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50837         CHECK_STRING.
50838         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50839         <bp-checks.h>.
50840         (__lchown): Do not use CHECK_STRING.
50841         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50842         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50843         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50844         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50846         include <bp-checks.h>.
50847         (truncate64): Do not use CHECK_STRING.
50848         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50849         <bp-checks.h>.
50850         (__real_chown): Do not use CHECK_STRING.
50851         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50852         <bp-checks.h>.
50853         (__lchown): Do not use CHECK_STRING.
50854         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50855         <bp-checks.h>.
50856         (__chown): Do not use CHECK_STRING.
50857         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50858         <bp-checks.h>.
50859         (truncate64): Do not use CHECK_STRING.
50860         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50861         Likewise.
50862         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50863         (__xmknod): Do not use CHECK_STRING.
50864         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50865         <bp-checks.h>.
50866         (__xmknodat): Do not use CHECK_STRING.
50867         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50868         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50870 2013-02-04  Andreas Schwab  <schwab@suse.de>
50872         [BZ #14142]
50873         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50874         * include/netdb.h: Likewise for h_errno.
50875         * elf/tst-stackguard1.c: Include <tls.h>.
50877 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50879         * elf/link.h (struct link_map): Extend the l_addr comment.
50880         * include/link.h (struct link_map): Likewise.
50882 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50884         [BZ #13550]
50885         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50886         (BOUNDED_1): Remove macro.
50887         * debug/backtrace.c: Don't include <bp-checks.h>.
50888         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50889         (__backtrace): Likewise.
50890         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50891         <bp-checks.h>.
50892         (__backtrace): Don't use BOUNDED_1.
50893         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50894         <bp-checks.h>.
50895         (__backtrace): Don't use BOUNDED_1.
50896         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50897         (__backtrace): Don't use BOUNDED_1.
50898         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50899         (shmat): Don't use BOUNDED_N.
50901 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50903         [BZ #13550]
50904         * sysdeps/generic/bp-start.h: Remove file.
50905         * csu/libc-start.c: Don't include <bp-start.h>.
50906         (LIBC_START_MAIN): Set up __environ directly instead of using
50907         INIT_ARGV_and_ENVIRON.
50908         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50909         <bp-start.h>.
50911         [BZ #13550]
50912         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50913         definitions.
50914         (CHECK_FCNTL): Likewise.
50915         (CHECK_N_PAGES): Likewise.
50917         [BZ #13550]
50918         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50919         definitions.
50920         (CHECK_SIGSET_NULL_OK): Likewise.
50921         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50922         <bp-checks.h>.
50923         (sigpending): Don't use CHECK_SIGSET.
50924         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50925         <bp-checks.h>.
50926         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50927         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50928         <bp-checks.h>.
50929         (do_sigsuspend): Don't use CHECK_SIGSET.
50930         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50931         use CHECK_SIGSET.
50932         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50933         (do_sigwait): Don't use CHECK_SIGSET.
50934         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50935         use CHECK_SIGSET.
50936         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50937         include <bp-checks.h>.
50938         (sigpending): Don't use CHECK_SIGSET.
50939         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50940         include <bp-checks.h>.
50941         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50942         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50943         <bp-checks.h>.
50944         (sigpending): Don't use CHECK_SIGSET.
50945         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50946         <bp-checks.h>.
50947         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50949         [BZ #13550]
50950         * sysdeps/generic/bp-semctl.h: Remove file.
50951         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50952         <bp-checks.h> and <bp-semctl.h>.
50953         (__old_semctl): Don't use CHECK_SEMCTL.
50954         (__new_semctl): Likewise.
50955         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50956         and <bp-semctl.h>.
50957         (__old_semctl): Don't use CHECK_SEMCTL.
50958         (__new_semctl): Likewise.
50959         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50960         <bp-checks.h> and <bp-semctl.h>.
50961         (__old_semctl): Don't use CHECK_SEMCTL.
50962         (__new_semctl): Likewise.
50963         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50964         <bp-checks.h> and <bp-semctl.h>.
50965         (semctl): Don't use CHECK_SEMCTL.
50967         [BZ #13550]
50968         * Makerules (elide-bp-thunks): Remove variable.
50969         (elide-routines.oS): Don't use $(elide-bp-thunks).
50970         (elide-routines.os): Likewise.
50971         (elide-routines.o): Likewise.
50972         (elide-routines.op): Likewise.
50973         (elide-routines.og): Likewise.
50974         (objects): Don't use $(bp-thunks).
50975         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50976         include.
50977         (common-generated): Do not add s-proto-bp.d.
50978         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50979         (int): Likewise.
50980         (typ): Likewise.
50981         Do not generate makefile rules for bounded-pointer thunks.
50982         * sysdeps/generic/bp-thunks.h: Remove file.
50983         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50984         * sysdeps/unix/s-proto-bp.S: Likewise.
50986         [BZ #15062]
50987         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50988         parts of result separately when argument is not close to line from
50989         -i to i and one part of argument is small.
50990         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50991         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50992         * math/libm-test.inc (cacos_test): Add more tests.
50993         (casin_test): Likewise.
50994         (casinh_test): Likewise.
50995         * sysdeps/i386/fpu/libm-test-ulps: Update.
50996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998 2013-01-31  David S. Miller  <davem@davemloft.net>
51000         * po/de.po: Update from translation team.
51002 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51004         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51006 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51008         * configure.in (_AC_PROG_CC_C89): New definition.
51009         * configure: Regenerate.
51011         * configure.in (AC_PROG_CPP): New definition.
51012         * configure: Regenerate.
51014 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51016         * debug/tst-backtrace.h: New file.
51017         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51018         (ret): Remove variable.
51019         (x): Likewise.
51020         (FAIL): Remove macro.
51021         (NO_INLINE): Likewise.
51022         (fn1): Use match function instead of strstr.
51023         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51024         (ret): Remove variable.
51025         (x): Likewise.
51026         (FAIL): Remove macro.
51027         (NO_INLINE): Likewise.
51028         (fn): Use match function instead of strstr.
51029         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51030         (ret): Remove variable.
51031         (x): Likewise.
51032         (FAIL): Remove macro.
51033         (NO_INLINE): Likewise.
51034         (handle_signal): Use match function instead of strstr.
51035         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51036         (ret): Remove variable.
51037         (x): Likewise.
51038         (FAIL): Remove macro.
51039         (NO_INLINE): Likewise.
51040         (handle_signal): Use match function instead of strstr.
51042 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51044         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51046 2013-01-23  David S. Miller  <davem@davemloft.net>
51048         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51049         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51050         argument of CAS if possible.
51051         * sysdeps/sparc/sparc64/bits/atomic.h
51052         (__arch_compare_and_exchange_val_32_acq): Likewise.
51053         (__arch_compare_and_exchange_val_64_acq): Likewise.
51055 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51057         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51058         * sysdeps/posix/ulimit.c: ... this.
51059         Include <limits.h>.
51060         * sysdeps/unix/bsd/ulimit.c: Remove file.
51062 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51064         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51065         (LDFLAGS-tst-array5): Likewise.
51067 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51069         [BZ #15036]
51070         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51071         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51072         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51073         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51075 2013-01-21  David S. Miller  <davem@davemloft.net>
51077         * sysdeps/sparc/backtrace.c: New file.
51078         * sysdeps/sparc/sparc32/backtrace.h: New file.
51079         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51080         * sysdeps/sparc/sparc64/backtrace.h: New file.
51081         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51082         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51083         -funwind-tables.
51085 2013-01-21  Andreas Schwab  <schwab@suse.de>
51087         [BZ #15020]
51088         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51089         closed its stdout.
51091 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51094         "mpa2.h".
51095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51097 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51098             Mark Mitchell  <mark@codesourcery.com>
51099             Tom de Vries  <tom@codesourcery.com>
51100             Paul Pluzhnikov  <ppluzhnikov@google.com>
51102         * debug/tst-backtrace2.c: New file.
51103         * debug/tst-backtrace3.c: Likewise.
51104         * debug/tst-backtrace4.c: Likewise.
51105         * debug/tst-backtrace5.c: Likewise.
51106         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51107         (CFLAGS-tst-backtrace3.c): Likewise.
51108         (CFLAGS-tst-backtrace4.c): Likewise.
51109         (CFLAGS-tst-backtrace5.c): Likewise.
51110         (LDFLAGS-tst-backtrace2): Likewise.
51111         (LDFLAGS-tst-backtrace3): Likewise.
51112         (LDFLAGS-tst-backtrace4): Likewise.
51113         (LDFLAGS-tst-backtrace5): Likewise.
51114         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51115         tst-backtrace4 and tst-backtrace5.
51117 2013-01-18  Anton Blanchard  <anton@samba.org>
51118             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51120         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51121         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51122         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51123         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51125         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51126         "+r" and remove output regs list as redundant.  Add explicit inline
51127         asm to specify register of return val to work around compiler codegen
51128         bug.  Remove (int) cast on return value.  Add return type parameter to
51129         use in macro so that this macro does not truncate return value for
51130         64-bit values.
51131         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51132         pass to INTERNAL_VSYSCALL_NCS.
51133         (INLINE_VSYSCALL): Add 'long int' as return type to
51134         INTERNAL_VSYSCALL_NCS macro invocation.
51135         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51136         INTERNAL_VSYSCALL_NCS macro invocation.
51137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51139 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51141         [BZ #14496]
51142         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51143         Fix application of SIMD FP exception mask.
51145         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51146         mp_no from a power of two.
51147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51148         __mpexp_twomm1.  Use __pow_mp.
51150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51151         multiplication.
51153 2013-01-17  David S. Miller  <davem@davemloft.net>
51155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51157 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51159         [BZ #15023]
51160         * include/complex.h: Condition contents on [!_COMPLEX_H].
51161         (__kernel_casinhf): New prototype.
51162         (__kernel_casinh): Likewise.
51163         (__kernel_casinhl): Likewise.
51164         * math/Makefile (libm_calls): Add k_casinh.
51165         * math/k_casinh.c: New file.
51166         * math/k_casinhf.c: Likewise.
51167         * math/k_casinhl.c: Likewise.
51168         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51169         finite nonzero arguments.
51170         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51171         finite nonzero arguments.
51172         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51173         finite nonzero arguments.
51174         * math/s_casinh.c: Do not include <float.h>.
51175         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51176         * math/s_casinhf.c: Do not include <float.h>.
51177         (__casinhf): Move code for finite nonzero arguments to
51178         k_casinhf.c.
51179         * math/s_casinhl.c: Do not include <float.h>.
51180         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51181         redefine.
51182         (__casinhl): Move code for finite nonzero arguments to
51183         k_casinhl.c.
51184         * math/libm-test.inc (cacos_test): Add more tests.
51185         * sysdeps/i386/fpu/libm-test-ulps: Update.
51186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51188 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51190         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51191         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51192         [!HAVE_MREMAP]: Remove [defined linux] case.
51193         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51195 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51197         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51199 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51201         * elf/elf.h (R_386_SIZE32): New relocation.
51202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51203         R_386_SIZE32.
51204         (elf_machine_rela): Likewise.
51205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51206         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51208 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51210         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51211         (FP_FAST_FMA): Do not define.
51212         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51213         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51214         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51215         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51216         !_SOFT_FLOAT]: Likewise.
51217         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51218         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51219         value.
51220         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51221         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51222         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51223         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51224         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51225         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51226         file.
51228 2013-01-16  Andreas Schwab  <schwab@suse.de>
51230         [BZ #14327]
51231         * include/stdlib.h (__mktemp): Add declaration.
51232         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51233         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51235 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51237         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51238         definitions.
51239         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51240         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51241         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51242         definitions here.
51243         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51244         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51245         definitions.
51246         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51247         and ONE.
51248         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51249         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51250         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51251         definitions.
51252         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51253         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51254         definitions.
51255         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51257         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51259 2013-01-15  David S. Miller  <davem@davemloft.net>
51261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51262         trunc{,f} to libm-sysdep_routes.
51263         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51265         file.
51266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51268         file.
51269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51270         file.
51271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51273         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51274         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51275         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51276         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51277         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51278         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51281         nearbyint{,f} to libm-sysdep_routes.
51282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51284         New file.
51285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51286         file.
51287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51288         New file.
51289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51290         file.
51291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51293         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51294         file.
51295         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51296         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51297         file.
51298         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51299         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51300         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51302         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51303         libc_feholdexcept and libc_fesetenv.
51305 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51307         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51309 2013-01-14  David S. Miller  <davem@davemloft.net>
51311         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51312         (SPARC_ASM_VIS2_IFUNC): Likewise.
51313         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51315         use of 'siam' instruction.
51316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51317         Likewise.
51318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51319         Likewise.
51320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51321         Likewise.
51322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51327         file.
51328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51329         file.
51330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51331         file.
51332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51333         file.
51334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51335         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51336         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51339         new VIS2 routines.
51340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51343         Likewise.
51344         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51345         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51347         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51349         routines to libm-sysdep_routines.
51350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51353         fdim/fdimf to libm-sysdep_routines.
51354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51355         file.
51356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51358         file.
51359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51362         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51363         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51364         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51365         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51367 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51369         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51370         to optimize copies.
51372         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51377         local variable MPTWO.
51378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51379         Likewise.
51381 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51383         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51384         GLOB_NOESCAPE.
51386 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51388         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51390 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51392         * manual/pattern.texi (glob_t): Document gl_flags.
51393         (glob64_t): Likewise.
51395 2013-01-11  David S. Miller  <davem@davemloft.net>
51397         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51398         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51399         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51400         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51401         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51402         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51403         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51404         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51405         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51406         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51407         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51408         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51409         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51411         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51412         sparc V9 rather than using V8 code.
51413         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51414         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51416         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51417         Move to...
51418         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51419         Here.
51421 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51423         [BZ #14941]
51424         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51425         not in the main loop.
51426         * configure: Regenerated.
51428 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51430         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51431         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51432         to just #else.
51433         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51434         [!__GLIBC_HAVE_LONG_LONG] case.
51435         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51436         condition to just #else.
51437         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51438         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51439         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51440         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51441         unconditional.
51442         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51443         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51444         #elif condition to just #else.
51445         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51446         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51447         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51448         #elif condition to just #else.
51450 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51452         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51453         (EF_MIPS_ARCH_64): Fix value.
51454         (EF_MIPS_ARCH_32R2): New.
51455         (EF_MIPS_ARCH_64R2): New.
51457 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51459         * Makeconfig (+link-pie-before-libc): New.
51460         (+link-pie-after-libc): Likewise.
51461         (+link-pie-tests): Likewise.
51462         (+link-pie): Rewritten.
51463         (link-before-libc): Remove $(config-LDFLAGS).
51464         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51465         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51466         (config-LDFLAGS): Renamed to ...
51467         (rtld-LDFLAGS): This.
51468         (rtld-tests-LDFLAGS): New macro.
51469         (link-libc-rpath-link): Likewise.
51470         (link-libc-tests-rpath-link): Likewise.
51471         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51472         (link-libc): Prepand $(link-libc-rpath-link).
51473         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51474         (test-program-prefix): New macro.
51475         (test-via-rtld-prefix): Likewise.
51476         (test-program-cmd): Likewise.
51477         (host-test-program-cmd): Likewise.
51478         * Makefile ($(common-objpfx)testrun.sh): Replace
51479         $(run-program-prefix) with $(test-program-prefix).
51480         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51481         $(rtld-LDFLAGS).
51482         ($(common-objpfx)shlib.lds): Likewise.
51483         (build-module-helper): Likewise.
51484         ($(common-objpfx)format.lds): Likewise.
51485         * Rules (binaries-pie-tests): New.
51486         (binaries-pie-notests): Likewise.
51487         (binaries-pie): Rewritten.
51488         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51489         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51490         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51491         (make-test-out): Replace $(host-built-program-cmd) with
51492         $(host-test-program-cmd).
51493         * config.make.in (build-hardcoded-path-in-tests): New variable.
51494         * configure.in (--enable-hardcoded-path-in-tests): New configure
51495         option.
51496         (hardcoded_path_in_tests): New AC_SUBST.
51497         * configure: Regenerated.
51498         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51499         $(built-program-cmd) with $(test-program-cmd).
51500         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51501         (test_program_cmd): This.
51502         * elf/Makefile ($(objpfx)order.out): Run test with
51503         $(test-program-prefix).
51504         ($(objpfx)order2.out): Likewise.
51505         ($(objpfx)tst-initorder.out): Likewise.
51506         ($(objpfx)tst-initorder2.out): Likewise.
51507         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51508         $(test-program-cmd).
51509         ($(objpfx)tst-array1-static.out): Likewise.
51510         ($(objpfx)tst-array2.out): Likewise.
51511         ($(objpfx)tst-array3.out): Likewise.
51512         ($(objpfx)tst-array4.out): Likewise.
51513         ($(objpfx)tst-array5.out): Likewise.
51514         ($(objpfx)tst-array5-static.out): Likewise.
51515         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51516         $(test-program-cmd).
51517         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51518         $(run-program-prefix) with $(test-program-prefix).
51519         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51520         (test_program_prefix): This.
51521         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51522         $(run-program-prefix) with $(test-program-prefix).
51523         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51524         (test_program_prefix): This.
51525         * iconvdata/tst-tables.sh: Likewise.
51526         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51527         $(run-program-prefix) with $(test-program-prefix).
51528         ($(objpfx)tst-translit.out): Likewise.
51529         ($(objpfx)tst-gettext2.out): Likewise.
51530         ($(objpfx)tst-gettext4.out): Likewise.
51531         ($(objpfx)tst-gettext6.out): Likewise.
51532         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51533         (test_program_prefix): This.
51534         * intl/tst-gettext2.sh: Likewise.
51535         * intl/tst-gettext4.sh  Likewise.
51536         * intl/tst-gettext6.sh: Likewise.
51537         * intl/tst-translit.sh: Likewise.
51538         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51539         with $(test-program-cmd).
51540         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51541         $(run-program-prefix) with $(test-program-prefix).
51542         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51543         (test_program_prefix): This.
51544         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51545         $(run-program-prefix) with $(test-program-prefix).
51546         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51547         (test_program_prefix): This.
51548         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51549         * posix/Makefile ($(objpfx)globtest.out): Replace
51550         $(run-via-rtld-prefix) and $(test-wrapper) with
51551         $(test-program-prefix) and $(test-via-rtld-prefix).
51552         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51553         $(test-program-prefix).
51554         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51555         $(host-test-program-cmd).
51556         (tst-spawn-ARGS): Likewise.
51557         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51558         $(test-program-prefix).
51559         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51560         (test_via_rtld_prefix): This.
51561         (test_wrapper): Renamed to ...
51562         (test_program_prefix): This.
51563         (run_program_prefix): Replaced by test_program_prefix.
51564         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51565         (test_program_prefix): This.
51566         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51567         with $(host-test-program-cmd).
51568         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51569         $(run-program-prefix) with $(test-program-prefix).
51570         ($(objpfx)tst-printf.out): Likewise.
51571         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51572         $(test-program-cmd).
51573         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51574         (test_program_prefix): This.
51575         * stdio-common/tst-unbputc.sh: Likewise.
51576         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51577         $(run-program-prefix) with $(test-program-prefix).
51578         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51579         (test_program_prefix): This.
51580         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51581         $(built-program-cmd) with $(test-program-cmd).
51583 2013-01-11  Andreas Jaeger  <aj@suse.de>
51585         [BZ #15003]
51586         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51587         value. Sync with Linux 3.7.
51589 2013-01-10  David S. Miller  <davem@davemloft.net>
51591         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51592         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51593         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51595 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51597         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51598         never set.
51599         * configure: Regenerated.
51601 2013-01-10  David S. Miller  <davem@davemloft.net>
51603         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51604         sparc V9 rather than using V8 code.
51605         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51606         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51608 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51610         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51611         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51612         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51613         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51614         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51615         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51616         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51617         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51618         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51619         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51620         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51621         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51622         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51623         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51624         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51625         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51626         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51627         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51628         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51629         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51630         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51631         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51632         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51633         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51634         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51635         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51636         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51638 2013-01-10  David S. Miller  <davem@davemloft.net>
51640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51642 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51644         * posix/Makefile (tests-static): New variable.
51645         (tests): Add $(tests-static).
51646         (tst-exec-static-ARGS): New variable.
51647         (tst-spawn-static-ARGS): Likewise.
51648         * posix/tst-exec-static.c: New file.
51649         * posix/tst-spawn-static.c: Likewise.
51650         * posix/tst-exec.c: Support run directly.
51651         * posix/tst-spawn.c: Likewise.
51653 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51655         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51656         long.
51657         * math/bits/mathcalls.h (llrint): Likewise.
51658         (llround): Likewise.
51659         * stdlib/stdlib.h (struct drand48_data): Likewise.
51660         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51661         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51662         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51663         Likewise.
51664         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51665         Likewise.
51666         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51667         (elf_greg_t): Likewise.
51668         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51669         (__jmp_buf): Likewise.
51670         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51671         definitions.
51672         (llrint): Likewise, for all definitions.
51673         (llrintl): Likewise.
51675         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51676         Remove [__GNUC__] condition.
51677         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51678         condition to just [__USE_ISOC99].
51679         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51681 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51683         [BZ #14200]
51684         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51685         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51686         defined.
51687         (_POSIX_V6_ILP32_OFF32): Likewise.
51688         (_XBS5_ILP32_OFF32): Likewise.
51689         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51690         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51692 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51694         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51697         doubles __mpexp_twomm1.  Adjust usage.
51698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51699         Remove.
51701 2013-01-10  Andreas Schwab  <schwab@suse.de>
51703         [BZ #14964]
51704         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51705         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51707 2013-01-09  David S. Miller  <davem@davemloft.net>
51709         [BZ #15003]
51710         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51711         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51712         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51713         (TCP_FASTOPEN): Define.
51714         (tcp_repair_opt): New structure.
51715         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51716         enum values.
51717         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51718         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51719         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51720         (tcp_cookie_transactions): New structure.
51722 2013-01-09  Anton Blanchard  <anton@samba.org>
51724         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51725         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51726         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51727         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51729 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51731         * include/features.h (__USE_ANSI): Remove.
51733 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51735         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51737         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51739 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51741         * sysdeps/s390/fpu/libm-test-ulps: Update.
51743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51745         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51746         (__acr): Likewise.
51747         (__cpy): Likewise.
51748         (norm): Likewise.
51749         (denorm): Likewise.
51750         (__mp_dbl): Likewise.
51751         (__dbl_mp): Likewise.
51752         (add_magnitudes): Likewise.
51753         (sub_magnitudes): Likewise.
51754         (__add): Likewise.
51755         (__sub): Likewise.
51756         (__mul): Likewise.
51757         (__inv): Likewise.
51758         (__dvd): Likewise.
51759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51760         (__acr): Likewise.
51761         (__cpy): Likewise.
51762         (norm): Likewise.
51763         (denorm): Likewise.
51764         (__mp_dbl): Likewise.
51765         (__dbl_mp): Likewise.
51766         (add_magnitudes): Likewise.
51767         (sub_magnitudes): Likewise.
51768         (__add): Likewise.
51769         (__sub): Likewise.
51770         (__mul): Likewise.
51771         (__inv): Likewise.
51772         (__dvd): Likewise.
51773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51774         (__acr): Likewise.
51775         (__cpy): Likewise.
51776         (norm): Likewise.
51777         (denorm): Likewise.
51778         (__mp_dbl): Likewise.
51779         (__dbl_mp): Likewise.
51780         (add_magnitudes): Likewise.
51781         (sub_magnitudes): Likewise.
51782         (__add): Likewise.
51783         (__sub): Likewise.
51784         (__mul): Likewise.
51785         (__inv): Likewise.
51786         (__dvd): Likewise.
51788 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51790         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51791         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51792         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51793         2 && __USE_EXTERN_INLINES]: Likewise.
51795 2013-01-08  Andreas Jaeger  <aj@suse.de>
51797         [BZ# 14985]
51798         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51799         Remove.
51800         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51801         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51803 2013-01-07  Anton Blanchard  <anton@samba.org>
51805         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51806         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51807         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51808         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51809         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51810         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51811         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51812         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51814         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51815         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51816         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51817         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51818         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51819         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51820         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51821         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51822         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51823         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51825         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51826         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51827         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51828         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51829         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51830         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51831         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51832         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51834         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51835         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51837         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51838         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51839         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51840         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51841         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51842         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51843         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51844         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51845         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51846         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51847         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51849 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51851         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51852         (__MALLOC_PMT): Likewise.
51853         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51854         [__GNUC__], only on [_LIBC].
51855         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51856         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51857         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51858         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51859         forward declaration.
51860         (realloc_hook_ini): Likewise.
51861         (memalign_hook_ini): Likewise.
51862         (__libc_memalign): Do not use __MALLOC_PMT in variable
51863         declaration.
51864         (__libc_valloc): Likewise.
51865         (__libc_pvalloc): Likewise.
51866         (__libc_calloc): Likewise.
51867         (__posix_memalign): Likewise.
51869         [BZ #14996]
51870         * math/s_casinh.c: Include <float.h>.
51871         (__casinh): Do not do computation with squaring and square root
51872         for large arguments.
51873         * math/s_casinhf.c: Include <float.h>.
51874         (__casinhf): Do not do computation with squaring and square root
51875         for large arguments.
51876         * math/s_casinhl.c: Include <float.h>.
51877         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51878         (__casinhl): Do not do computation with squaring and square root
51879         for large arguments.
51880         * math/libm-test.inc (casin_test): Add more tests.
51881         (casinh_test): Likewise.
51882         * sysdeps/i386/fpu/libm-test-ulps: Update.
51883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51885 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51887         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51888         (__x86_64_raw_data_cache_size): Likewise.
51889         (__x86_64_data_cache_size_half): Likewise.
51890         (__x86_64_raw_data_cache_size_half): Likewise.
51891         (__x86_64_shared_cache_size): Likewise.
51892         (__x86_64_raw_shared_cache_size): Likewise.
51893         (__x86_64_shared_cache_size_half): Likewise.
51894         (__x86_64_raw_shared_cache_size_half): Likewise.
51895         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51896         to ...
51897         (__x86_data_cache_size): This.
51898         (__x86_64_raw_data_cache_size): Renamed to ...
51899         (__x86_raw_data_cache_size): This.
51900         (__x86_64_data_cache_size_half): Renamed to ...
51901         (__x86_data_cache_size_half): This.
51902         (__x86_64_raw_data_cache_size_half): Renamed to ...
51903         (__x86_raw_data_cache_size_half): This.
51904         (__x86_64_shared_cache_size): Renamed to ...
51905         (__x86_shared_cache_size): This.
51906         (__x86_64_raw_shared_cache_size): Renamed to ...
51907         (__x86_raw_shared_cache_size): This.
51908         (__x86_64_shared_cache_size_half): Renamed to ...
51909         (__x86_shared_cache_size_half): This.
51910         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51911         (__x86_raw_shared_cache_size_half): This.
51912         * sysdeps/x86_64/memcpy.S: Updated.
51913         * sysdeps/x86_64/memset.S: Likewise.
51914         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51915         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51916         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51918 2013-01-04  David S. Miller  <davem@davemloft.net>
51920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51922 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51924         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51925         1 to avoid redefinition warning.
51926         (__USE_GNU): Don't define.
51927         (init_signaling_nan): Protoize.
51929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51931 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51935         (__cpymn): Likewise.
51936         (norm): Remove commented code.
51937         (denorm): Likewise.
51938         (__mp_dbl): Likewise.
51939         (__inv): Likewise.
51940         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51941         (__cpymn): Likewise.
51942         (norm): Remove commented code.
51943         (denorm): Likewise.
51944         (__mp_dbl): Likewise.
51945         (__inv): Likewise.
51947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51948         mp_no value for 1.0 and 2.0.
51949         (norm): Use RADIXI instead of radixi.d.
51950         (denorm): Likewise.
51951         (__mul): Use 0.0 instead of zero.d.
51952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51953         mp_no value for 1.0 and 2.0.
51954         (norm): Use RADIXI instead of radixi.d.
51955         (denorm): Likewise.
51956         (__mul): Use 0.0 instead of zero.d.
51958 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51960         [BZ #14994]
51961         * math/s_casinh.c (__casinh): Reduce finite argument to first
51962         quadrant then set signs of results at the end.
51963         * math/s_casinhf.c (__casinhf): Likewise.
51964         * math/s_casinhl.c (__casinhl): Likewise.
51965         * math/libm-test.inc (casin_test): Add more tests.
51966         (casinh_test): Likewise.
51967         * sysdeps/i386/fpu/libm-test-ulps: Update.
51968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51970 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51972         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51974         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51976         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51977         declarations.
51978         (denorm): Likewise.
51979         (__mp_dbl): Likewise.
51980         (__inv): Likewise.
51982         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51983         and adjust the header comment.
51985         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51986         variable name from declaration.
51988 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51991         Initialize COMMON_CPUID_INDEX_7 element.
51992         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51993         (CPUID_RTM): Likewise.
51994         (HAS_RTM): Likewise.
51995         (COMMON_CPUID_INDEX_7): New enum.
51997 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51999         [BZ #14981]
52000         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52001         size is zero, record memory as freed.
52003 2013-01-03  Andreas Jaeger  <aj@suse.de>
52005         * po/ia.po: Add new Interlingua translation.
52007 2012-01-03  Allan McRae  <allan@archlinux.org>
52009         * locale/programs/localedef.c: Fix description of '--posix' flag.
52011 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52013         * NEWS: Update dates in second copyright notice.
52014         * README: Update copyright dates in example.
52015         * manual/libc.texinfo: Update copyright dates.
52016         * scripts/test-installation.pl: Update copyright date in --version
52017         output.
52019         * hurd/ctty-input.c: Fix copyright notice formatting.
52020         * hurd/ctty-output.c: Likewise.
52021         * hurd/dtable.c: Likewise.
52022         * hurd/hurd-raise.c: Likewise.
52023         * hurd/hurdprio.c: Likewise.
52024         * hurd/msgportdemux.c: Likewise.
52025         * misc/sys/file.h: Likewise.
52026         * misc/sys/ioctl.h: Likewise.
52027         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52028         * sysdeps/mach/hurd/chdir.c: Likewise.
52029         * sysdeps/mach/hurd/fchdir.c: Likewise.
52030         * sysdeps/mach/hurd/rename.c: Likewise.
52031         * sysdeps/mach/hurd/rmdir.c: Likewise.
52032         * sysdeps/mach/hurd/seekdir.c: Likewise.
52033         * sysdeps/mach/hurd/setsid.c: Likewise.
52034         * sysdeps/posix/wait3.c: Likewise.
52036         * All files with FSF copyright notices: Update copyright dates
52037         using scripts/update-copyrights.
52038         * intl/plural.c: Regenerated.
52039         * locale/programs/charmap-kw.h: Likewise.
52040         * locale/programs/locfile-kw.h: Likewise.
52042 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52044         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52045         four values.
52047         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52048         calculation loop and add branch prediction.
52050         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52051         check access beyond bounds of m1np.
52053         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52054         MPTWO.
52055         (__inv): Remove local variable MPTWO to use the global
52056         constant.
52057         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52059         variable MPTWO.
52060         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52061         MP3HALFS static const.
52063 2013-01-01  David S. Miller  <davem@davemloft.net>
52065         * po/ca.po: Update from translation team.
52067 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52069         * scripts/update-copyrights: New file.
52070         * Makeconfig: Reformat copyright notice.
52071         * ctype/ctype.h: Likewise.
52072         * debug/swprintf_chk.c: Likewise.
52073         * elf/dl-cache.c: Likewise.
52074         * elf/dl-debug.c: Likewise.
52075         * elf/dl-object.c: Likewise.
52076         * grp/initgroups.c: Likewise.
52077         * hurd/Makefile: Likewise.
52078         * hurd/hurd/signal.h: Likewise.
52079         * hurd/hurdfault.c: Likewise.
52080         * hurd/hurdioctl.c: Likewise.
52081         * hurd/hurdlookup.c: Likewise.
52082         * hurd/intr-msg.c: Likewise.
52083         * iconv/gconv_open.c: Likewise.
52084         * libio/swprintf.c: Likewise.
52085         * locale/lc-ctype.c: Likewise.
52086         * locale/nl_langinfo.c: Likewise.
52087         * mach/Machrules: Likewise.
52088         * mach/Makefile: Likewise.
52089         * malloc/obstack.h: Likewise.
52090         * manual/Makefile: Likewise.
52091         * manual/tsort.awk: Likewise.
52092         * misc/bits/stab.def: Likewise.
52093         * nis/nis_print_group_entry.c: Likewise.
52094         * nis/nis_table.c: Likewise.
52095         * nis/nss_compat/compat-pwd.c: Likewise.
52096         * nis/nss_compat/compat-spwd.c: Likewise.
52097         * po/Makefile: Likewise.
52098         * posix/fnmatch.c: Likewise.
52099         * posix/regex.h: Likewise.
52100         * resolv/Makefile: Likewise.
52101         * resolv/nss_dns/dns-network.c: Likewise.
52102         * resolv/res_hconf.c: Likewise.
52103         * scripts/gen-sorted.awk: Likewise.
52104         * soft-fp/soft-fp.h: Likewise.
52105         * stdio-common/printf.h: Likewise.
52106         * stdlib/monetary.h: Likewise.
52107         * stdlib/random.c: Likewise.
52108         * stdlib/random_r.c: Likewise.
52109         * sysdeps/generic/Makefile: Likewise.
52110         * sysdeps/gnu/Makefile: Likewise.
52111         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52113         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52115         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52116         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52117         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52119         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52120         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52121         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52122         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52123         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52124         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52126         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52127         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52128         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52132         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52134         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52135         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52136         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52137         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52138         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52139         * sysdeps/mach/hurd/errnos.awk: Likewise.
52140         * sysdeps/mach/hurd/fork.c: Likewise.
52141         * sysdeps/mach/hurd/getcwd.c: Likewise.
52142         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52143         * sysdeps/mach/hurd/mmap.c: Likewise.
52144         * sysdeps/mach/hurd/utimes.c: Likewise.
52145         * sysdeps/mach/hurd/xmknod.c: Likewise.
52146         * sysdeps/posix/profil.c: Likewise.
52147         * sysdeps/posix/readdir_r.c: Likewise.
52148         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52149         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52150         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52151         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52153         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52154         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52155         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52157         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52158         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52159         * sysdeps/pthread/lio_listio.c: Likewise.
52160         * sysdeps/sparc/dl-procinfo.h: Likewise.
52161         * sysdeps/unix/i386/sysdep.S: Likewise.
52162         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52163         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52164         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52165         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52167         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52168         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52169         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52170         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52171         * sysdeps/wordsize-32/divdi3.c: Likewise.
52172         * time/sys/time.h: Likewise.
52173         * wcsmbs/Makefile: Likewise.
52175 2013-01-01  David S. Miller  <davem@davemloft.net>
52177         * po/fr.po: Update from translation team.
52179         * catgets/gencat.c: Update copyright year.
52180         * csu/version.c: Likewise.
52181         * debug/catchsegv.sh: Likewise.
52182         * debug/pcprofiledump.c: Likewise.
52183         * debug/xtrace.sh: Likewise.
52184         * elf/ldconfig.c: Likewise.
52185         * elf/ldd.bash.in: Likewise.
52186         * elf/pldd.c: Likewise.
52187         * elf/sotruss.ksh: Likewise.
52188         * elf/sprof.c: Likewise.
52189         * iconv/iconv_prog.c: Likewise.
52190         * iconv/iconvconfig.c: Likewise.
52191         * locale/programs/locale.c: Likewise.
52192         * locale/programs/localedef.c: Likewise.
52193         * login/programs/pt_chown.c: Likewise.
52194         * malloc/memusage.sh: Likewise.
52195         * malloc/memusagestat.c: Likewise.
52196         * malloc/mtrace.pl: Likewise.
52197         * nscd/nscd.c: Likewise.
52198         * nss/getent.c: Likewise.
52199         * nss/makedb.c: Likewise.
52200         * posix/getconf.c: Likewise.
52202 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52204         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52205         numbers.
52207 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52209         * math/bits/mathcalls.h (modf): Use __nonnull.
52211 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52213         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52214         (split): Use macro CN instead of the bare value.
52215         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52216         could be used.
52217         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52218         instead of the bare value.
52219         (power1): Likewise.
52221 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52224         __ATAN_TWOM.
52225         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52227         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52228         their values.
52229         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52231         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52232         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52234 2012-12-28  Andreas Jaeger  <aj@suse.de>
52236         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52237         values are from Linux 3.7.
52239         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52240         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52242 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52244         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52245         TRUE case.
52247         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52248         (norm): Likewise.
52249         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52250         variables with preprocessor constants.
52251         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52252         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52253         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52255 2012-12-27  Bruno Haible  <bruno@clisp.org>
52257         [BZ #14317]
52258         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52259         only if needed.
52261 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52263         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52264         and use variable directly.
52265         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52267         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52268         MPONE.
52269         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52270         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52271         variable MPONE.
52272         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52274         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52275         include directive.  Remove local variable MPONE.
52276         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52277         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52278         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52280 2012-12-25  David S. Miller  <davem@davemloft.net>
52282         * version.h (RELEASE): Set to "development".
52283         (VERSION): Set to "2.17.90".
52284         * NEWS: Add 2.18 section.
52286 2012-12-21  David S. Miller  <davem@davemloft.net>
52288         * po/hr.po: Update from translation team.
52290 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52292         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52294 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52296         * NEWS:  Mention new memcpy for MIPS.
52298 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52300         * manual/contrib.texi (Contributors): Spelling correction.
52302 2012-12-15  David S. Miller  <davem@davemloft.net>
52304         * po/ru.po: Update from translation team.
52306 2012-12-13  David S. Miller  <davem@davemloft.net>
52308         * NEWS: Mention IFUNC testsuite enhancements.
52310         * po/pl.po: Update from translation team.
52311         * po/bg.po: Likewise.
52313         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52314         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52316 2012-12-11  David S. Miller  <davem@davemloft.net>
52318         * po/sv.po: Update from translation team.
52320         * po/vi.po: Update from translation team.
52322         * po/cs.po: Update from translation team.
52324         * po/de.po: Update from translation team.
52325         * po/eo.po: Likewise.
52326         * po/nl.po: Likewise.
52328 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52330         [BZ #14246]
52331         * manual/argp.texi (Argp Helper Functions): Move node to follow
52332         Argp Parsing State.
52334         [BZ #14872]
52335         * manual/conf.texi (Limits on File System Capacity): Mention if
52336         terminating null is included in the max size.
52338 2012-12-10  Andreas Jaeger  <aj@suse.de>
52340         * po/cs.po: Update from translation team.
52342 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52344         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52345         void pointer and cast to uintptr_t.
52346         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52347         path.
52348         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52349         * sysdeps/s390/s390-64/memset.S: Likewise.
52351 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52353         [BZ #14833]
52354         * menual/message.texi (Message Translation): Fix typos.
52355         (Helper programs for gettext): Likewise.
52357 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52359         [BZ #14898]
52360         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52361         Change to -1.
52363 2012-12-07  David S. Miller  <davem@davemloft.net>
52365         * po/libc.pot: Update.
52367 2012-12-07  Richard Henderson  <rth@redhat.com>
52369         [BZ #10114]
52370         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52371         normal/normal case to before the switch.
52372         (_FP_DIV): Likewise.
52374 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52375             Mike Frysinger  <vapier@gentoo.org>
52377         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52378         check for __NR_fadvise64_64.
52380 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52382         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52383         0, not just to plain "0" as a statement.
52384         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52385         with cw.
52387 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52389         * NEWS: Use sourceware.org in Bugzilla URL.
52391 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52394         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52396         * stdio-common/tst-put-error.c (do_test): Add newline to the
52397         padded test to ensure flush.
52399 2012-12-05  Jeff Law  <law@redhat.com>
52401         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52403 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52405         * README: Don't refer to ports add-on as distributed separately.
52406         Mention AArch64 in list of systems supported in the ports add-on.
52408         * LICENSES: Add more non-FSF copyright and license notices.
52410         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52411         ((unused)).
52413         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52415         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52416         10000 as width of padded output.
52418 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52420         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52422         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52423         variable LX with __attribute__ ((unused)).
52424         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52425         Likewise.
52426         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52428         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52429         with __attribute__ ((unused)).
52431 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52433         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52435 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52437         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52438         (CFLAGS-nldbl-acos.c): New variable.
52439         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52440         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52441         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52442         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52443         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52444         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52445         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52446         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52447         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52448         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52449         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52450         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52451         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52452         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52453         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52454         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52455         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52456         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52457         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52458         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52459         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52460         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52461         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52462         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52463         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52464         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52465         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52466         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52467         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52468         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52469         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52470         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52471         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52472         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52473         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52474         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52475         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52476         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52477         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52478         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52479         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52480         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52481         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52482         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52483         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52484         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52485         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52486         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52487         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52488         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52489         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52490         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52491         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52492         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52493         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52494         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52495         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52496         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52497         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52498         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52499         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52500         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52501         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52502         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52503         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52504         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52505         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52506         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52507         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52508         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52509         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52510         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52511         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52512         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52513         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52514         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52515         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52516         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52517         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52518         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52519         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52520         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52521         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52522         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52523         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52524         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52525         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52526         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52527         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52528         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52529         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52530         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52531         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52532         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52533         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52534         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52535         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52538         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52540         [BZ #14914]
52541         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52542         whole low double instead of just low 47 bits when splitting values
52543         into two parts.
52545 2012-12-03  Allan McRae  <allan@archlinux.org>
52547         * manual/stdio.texi (Predefined Printf Handlers): Remove
52548         @hsep and @vsep usage.
52550 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52552         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52553         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52555 2012-12-03  Jeff Law  <law@redhat.com>
52557         * time/sys/time.h (settimeofday): Do not mark TV argument
52558         as __nonnull.
52560 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52562         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52563         when currently writing and seek to current position when not.
52564         * libio/Makefile (tests): Remove bug-fclose1.
52565         * libio/bug-fclose1.c: Delete.
52567 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52569         * manual/arith.texi (feenableexcept): Fix typo.
52570         (fedisableexcept): Likewise.
52572 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52574         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52575         second, differently-typed declaration, rather than a cast.
52577 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52579         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52580         * include/rpc/svc.h: ... here.
52582 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52584         [BZ #13013]
52585         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52586         depending n and resplen2 to catch cases where answer
52587         equals answerp2.
52589 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52591         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52592         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52594 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52598 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52600         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52602 2012-11-28  Jeff Law  <law@redhat.com>
52604         [BZ #13761]
52605         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52606         dataset_temporary.  Track alloca usage into alloca_used.
52607         If dataset is large allocate and release it via malloc/free.
52609 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52611         [BZ #14197]
52612         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52614 2012-11-28  David S. Miller  <davem@davemloft.net>
52616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52618 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52620         [BZ #14803]
52621         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52622         of pi/2 rounded to nearest to 64 bits.
52623         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52624         nearest to 64 bits.
52625         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52626         bits.
52628 2012-11-28  Jeff Law <law@redhat.com>
52629             Martin Osvald <mosvald@redhat.com>
52631         [BZ #14889]
52632         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52633         * sunrpc/svc.c: Include time.h.
52634         (__svc_accept_failed): New function.
52635         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52636         any reason other than EINTR, call __svc_accept_failed.
52637         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52638         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52640 2012-11-28  Andreas Schwab  <schwab@suse.de>
52642         * scripts/abilist.awk: Also handle indirect functions in .opd
52643         section.
52645 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52647         [BZ #13881]
52648         * sysdeps/x86/fpu/powl_helper.c: New file.
52649         * sysdeps/x86/fpu/Makefile: Likewise.
52650         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52651         (p3): New object.
52652         (__ieee754_powl): Use __powl_helper for finite arguments except
52653         integer exponents below 8.
52654         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52655         (p3): New object.
52656         (__ieee754_powl): Use __powl_helper for finite arguments except
52657         integer exponents below 8.
52658         * math/libm-test.inc (pow_test): Add more tests and enable some
52659         previously disabled tests.
52660         * sysdeps/i386/fpu/libm-test-ulps: Update.
52661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52663 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52664             Carlos O'Donell  <carlos_odonell@mentor.com>
52666         * nss/makedb.c (is_prime): Assert that input is odd and greater
52667         than 4.  Note that fact in a comment too.
52668         (next_prime): Add 4 to input.
52670 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52672         [BZ #11741]
52673         * libio/Makefile (tests): Add test case tst-fwrite-error.
52674         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52675         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52676         * libio/tst-fwrite-error.c: New test case.
52678 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52680         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52681         before casting to void *.
52682         * include/libc-internal.h (__pointer_type): New macro.
52683         (__integer_if_pointer_type_sub): Likewise.
52684         (__integer_if_pointer_type): Likewise.
52685         (cast_to_integer): Likewise.
52686         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52687         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52688         before casting to atomic64_t.
52689         (atomic_exchange_acq): Likewise.
52690         (__arch_exchange_and_add_body): Likewise.
52691         (__arch_add_body): Likewise.
52692         (atomic_add_negative): Likewise.
52693         (atomic_add_zero): Likewise.
52695 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52697         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52698         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52699         (add_fdes): Likewise.
52700         (linear_search_fdes): Likewise.
52701         (binary_search_unencoded_fdes): Likewise.
52703 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52705         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52707 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52709         * configure.in: Autodetect C++ header directories.
52710         * configure: Regenerated.
52712 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52714         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52716 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52720 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52722         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52723         LDBL_MANT_DIG == 106]: Disable some tests.
52724         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52725         Likewise.
52726         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52727         Likewise.
52729         [BZ #14871]
52730         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52731         input for small inputs.  Return +/- pi/2 for large inputs.
52732         * math/libm-test.inc (atan_test): Add more tests.
52734         * sysdeps/generic/unwind-dw2-fde-glibc.c
52735         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52736         __attribute__ ((unused)).
52738         [BZ #14645]
52739         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52740         x * y if x and y are nonzero and z is zero.
52742         [BZ #14811]
52743         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52744         nonzero exponents with absolute value below 0x1p-117 to +/-
52745         0x1p-117.
52747         [BZ #14869]
52748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52749         up arguments below 2**-450, not just those below 2**-500.
52750         * math/libm-test.inc (hypot_test): Add another test.
52752         [BZ #14868]
52753         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52754         Return a+b for ratio over 2**120, not 2**60.
52755         * math/libm-test.inc (hypot_test): Add another test.
52757         * math/libm-test.inc (clog_test): Use
52758         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52759         (clog10_test): Likewise.
52761         [BZ #6778]
52762         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52764 2012-11-22  Andreas Schwab  <schwab@suse.de>
52766         * sysdeps/i386/fpu/libm-test-ulps: Update.
52768 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52770         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52771         printf output with newline.
52773 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52775         [BZ #14865]
52776         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52777         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52778         -z nodlopen, -z initfirst and -z execstack support.
52779         * configure: Regenerated.
52781         * elf/elf.h (DF_1_NODIRECT): New macro.
52782         (DF_1_IGNMULDEF): Likewise.
52783         (DF_1_NOKSYMS): Likewise.
52784         (DF_1_NOHDR): Likewise.
52785         (DF_1_EDITED): Likewise.
52786         (DF_1_NORELOC): Likewise.
52787         (DF_1_SYMINTPOSE): Likewise.
52788         (DF_1_GLOBAUDIT): Likewise.
52789         (DF_1_SINGLETON): Likewise.
52790         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52791         DT_1_SUPPORTED_MASK bits.
52792         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52794 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52796         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52798 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52800         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52801         macro.
52803         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52804         (sendmmsg): Move declarations...
52805         * socket/sys/socket.h: ... here.
52806         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52807         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52808         include it from...
52809         * socket/recvmmsg.c: ... this new file.
52810         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52811         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52812         definition of __sendmmsg hidden.
52813         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52814         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52815         Move ENOSYS stub into and include it from...
52816         * socket/sendmmsg.c: ... this new file.
52817         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52818         (sysdep_routines): Move recvmmsg and sendmmsg...
52819         * socket/Makefile (routines): ... here.
52820         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52821         (GLIBC_PRIVATE): Add __sendmmsg.
52822         * include/sys/socket.h (__sendmmsg): Add declarations.
52823         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52824         sendmmsg.
52826 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52828         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52829         variable I1 with __attribute__ ((unused)).
52830         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52832 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52834         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52835         DUMMY variables with __attribute__ ((unused)).
52837         * bits/byteswap.h: Include <bits/types.h>.
52838         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52840 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52842         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52843         string_t.  Do not manually set errno.
52844         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52845         length with __strnlen.  Make sure to both set errno and return it on
52846         failure.
52848 2012-11-19  David S. Miller  <davem@davemloft.net>
52850         With help from Joseph Myers.
52851         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52852         very large arguments properly.
52853         * math/libm-test.inc (atan_test): New tests.
52854         (atan2_test): New tests.
52855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52858 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52860         [BZ #14856]
52861         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52862         Define to 3.
52864         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52865         [POSIX] (EADDRNOTAVAIL): Likewise.
52866         [POSIX] (EAFNOSUPPORT): Likewise.
52867         [POSIX] (EALREADY): Likewise.
52868         [POSIX] (ECONNABORTED): Likewise.
52869         [POSIX] (ECONNREFUSED): Likewise.
52870         [POSIX] (ECONNRESET): Likewise.
52871         [POSIX] (EDESTADDRREQ): Likewise.
52872         [POSIX] (EDQUOT): Likewise.
52873         [POSIX] (EHOSTUNREACH): Likewise.
52874         [POSIX] (EIDRM): Likewise.
52875         [POSIX] (EISCONN): Likewise.
52876         [POSIX] (ELOOP): Likewise.
52877         [POSIX] (EMULTIHOP): Likewise.
52878         [POSIX] (ENETDOWN): Likewise.
52879         [POSIX] (ENETUNREACH): Likewise.
52880         [POSIX] (ENOBUFS): Likewise.
52881         [POSIX] (ENODATA): Likewise.
52882         [POSIX] (ENOLINK): Likewise.
52883         [POSIX] (ENOMSG): Likewise.
52884         [POSIX] (ENOPROTOOPT): Likewise.
52885         [POSIX] (ENOSR): Likewise.
52886         [POSIX] (ENOSTR): Likewise.
52887         [POSIX] (ENOTCONN): Likewise.
52888         [POSIX] (ENOTSOCK): Likewise.
52889         [POSIX] (EOPNOTSUPP): Likewise.
52890         [POSIX] (EOVERFLOW): Likewise.
52891         [POSIX] (EPROTO): Likewise.
52892         [POSIX] (EPROTONOSUPPORT): Likewise.
52893         [POSIX] (EPROTOTYPE): Likewise.
52894         [POSIX] (ESTALE): Likewise.
52895         [POSIX] (ETIME): Likewise.
52896         [POSIX] (ETXTBSY): Likewise.
52897         [POSIX] (EWOULDBLOCK): Likewise.
52898         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52899         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52900         [POSIX] (SEEK_CUR): Likewise.
52901         [POSIX] (SEEK_END): Likewise.
52902         [POSIX || UNIX98] (mode_t): Do not require.
52903         [POSIX] (off_t): Likewise.
52904         [POSIX] (pid_t): Likewise.
52905         [POSIX] (sys/stat.h): Do not allow header.
52906         [POSIX] (unistd.h): Likewise.
52907         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52908         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52909         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52910         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52911         require.
52912         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52913         sigevent): Specify elements.
52914         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52915         entry.
52916         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52917         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52919         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52920         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52921         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52922         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52923         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52924         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52925         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52926         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52927         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52928         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52929         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52930         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52931         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52932         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52933         Likewise.
52934         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52935         Likewise.
52936         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52937         Likewise.
52938         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52939         Likewise.
52940         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52941         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52942         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52943         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52944         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52945         Specify lower bound on value.
52946         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52947         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52948         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52949         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52950         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52951         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52952         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52953         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52954         value.
52955         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52956         as optional.
52957         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52958         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52959         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52960         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52961         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52962         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52963         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52964         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52965         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52966         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52967         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52968         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52969         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52970         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52971         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52972         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52973         entry.
52974         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52975         optional.
52976         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52977         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52978         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52979         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52980         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52981         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52982         Likewise.
52983         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52984         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52985         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52986         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52987         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52988         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52989         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52990         as optional.
52991         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52992         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52993         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52994         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52995         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52996         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52997         specify as optional.
52998         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52999         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53000         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53001         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53002         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53003         [XPG3] (NL_LANGMAX): Likewise.
53004         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53005         [POSIX || XPG3] (NL_NMAX): Likewise.
53006         [POSIX || XPG3] (NL_SETMAX): Likewise.
53007         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53008         [XPG3] (NZERO): Likewise.
53009         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53010         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53011         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53012         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53013         (REG_ERANGE): Expect.
53014         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53015         optional-constant.
53016         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53017         Use (void) in prototype.
53018         [POSIX] (*_t): Allow.
53019         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53020         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53021         (WRDE_BADVAL): Expect.
53023         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53024         expect.
53025         [XPG3 || XPG4] (O_RSYNC): Likewise.
53026         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53027         Likewise.
53028         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53029         [XPG3 || XPG4] (sigqueue): Likewise.
53030         [XPG3 || XPG4] (sigtimedwait): Likewise.
53031         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53032         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53033         [XPG3 || XPG4] (vsnprintf): Likewise.
53034         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53035         Likewise.
53036         [XPG3 || XPG4] (blksize_t): Likewise.
53037         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53038         Likewise.
53039         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53040         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53041         [XPG3 || XPG4] (struct itimerspec): Likewise.
53042         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53043         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53044         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53045         [XPG3 || XPG4] (clockid_t): Likewise.
53046         [XPG3 || XPG4] (timer_t): Likewise.
53047         [XPG3 || XPG4] (clock_getres): Likewise.
53048         [XPG3 || XPG4] (clock_gettime): Likewise.
53049         [XPG3 || XPG4] (clock_settime): Likewise.
53050         [XPG3 || XPG4] (nanosleep): Likewise.
53051         [XPG3 || XPG4] (timer_create): Likewise.
53052         [XPG3 || XPG4] (timer_delete): Likewise.
53053         [XPG3 || XPG4] (timer_gettime): Likewise.
53054         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53055         [XPG3 || XPG4] (timer_settime): Likewise.
53056         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53057         [XPG3 || XPG4] (getlogin_r): Likewise.
53058         [XPG3 || XPG4] (pread): Likewise.
53059         [XPG3 || XPG4] (pthread_atfork): Likewise.
53060         [XPG3 || XPG4] (pwrite): Likewise.
53062         [BZ #14835]
53063         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53064         <bits/siginfo.h>.
53066 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53068         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53069         finalizing MALLSTREAM.
53071         * sysdeps/mach/hurd/syncfs.c: New file.
53073 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53075         [BZ #14719]
53076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53077         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53078         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53079         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53080         (_nss_dns_gethostbyname4_r): Likewise.
53081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53082         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53084 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53086         [BZ #13763]
53087         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53089 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53091         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53092         * elf/cache.c (print_entry): Print ",AArch64" for
53093         FLAG_AARCH64_LIB64
53095         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53096         * elf/cache.c (print_entry): Print ",hard-float" for
53097         FLAG_ARM_LIBHF.
53099 2012-11-18  David S. Miller  <davem@davemloft.net>
53101         With help from Joseph Myers.
53102         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53103         cutoff to 2**-13.
53104         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53105         cutoff to 2**-25.
53106         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53107         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53108         small.
53109         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53110         * math/libm-test.inc (y0_test): New tests.
53111         (y1_test): New tests.
53112         * sysdeps/i386/fpu/libm-test-ulps: Update.
53113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53116 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53118         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53119         64-bit targets.
53120         * configure: Regenerated.
53122 2012-11-17  David S. Miller  <davem@davemloft.net>
53124         [BZ #14811]
53125         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53126         nonzero exponents with absolute value below 0x1p-128 to +/-
53127         0x1p-128.
53129 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53131         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53133         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53135         * posix/getconf-speclist.c: New file.
53136         * posix/posix-envs.def: Likewise.
53137         * posix/confstr.c (START_ENV_GROUP): New macro.
53138         (END_ENV_GROUP): Likewise.
53139         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53140         (KNOWN_PRESENT_ENV_STRING): Likewise.
53141         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53142         (UNKNOWN_ENVIRONMENT): Likewise.
53143         (confstr): Include posix-envs.def instead of handling
53144         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53145         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53146         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53147         (END_ENV_GROUP): Likewise.
53148         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53149         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53150         (UNKNOWN_ENVIRONMENT): Likewise.
53151         (__sysconf): Include posix-envs.def instead of handling associated
53152         cases directly here.
53153         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53154         preprocessing getconf-speclist.c rather than running getconf or
53155         generating empty file.
53157 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53159         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53161 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53163         [BZ #14672]
53164         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53166 2012-11-16  David S. Miller  <davem@davemloft.net>
53168         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53169         smaller than LDBL_EPSILON/2.0L, just return xm1.
53171 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53173         * elf/tst-array1.c (init): Set constructor priority to 1000.
53174         (fini): Set destructor priority to 1000.
53175         * elf/tst-array2dep.c: Likewise.
53177 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53179         [BZ #11741]
53180         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53181         (_IO_new_file_xsputn): Also return EOF if none of the input
53182         data was written when overflow failed.
53183         * libio/iopadn.c (_IO_padn): Likewise.
53184         * libio/iowpadn.c (_IO_wpadn): Likewise.
53185         * stdio-common/tst-put-error.c: Add copyright notice.
53186         (do_test): Add case for printing padded string.
53187         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53188         _IO_padn returned error.
53189         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53190         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53191         return EOF.
53193 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53195         * libio/libioP.h: Add comment note that the references to C++
53196         bits are now obsolete.
53198 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53200         * math/libm-test.inc (check_complex): Use asprintf.
53202 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53204         * debug/pcprofiledump.c (print_version): Update copyright year.
53205         * malloc/memusagestat.c (print_version): Likewise.
53207 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53209         [BZ #14831]
53210         * elf/Makefile (tests): Add tst-audit8.
53211         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53212         ($(objpfx)tst-audit8.out): New target.
53213         (tst-audit8-ENV): New variable.
53214         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53215         audit if l_reloc_result is NULL.
53216         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53217         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53218         * elf/tst-audit8.c: New file.
53220 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53222         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53223         * misc/Makefile (CFLAGS-select.c): Define.
53224         * posix/Makefile (CFLAGS-pause.c): Define.
53226 2012-11-13  David S. Miller  <davem@davemloft.net>
53228         * crypt/Makefile: Move test targets after toplevel Rules
53229         inclusion.  Grab any necessary sysdep routines when linking.
53230         * crypt/md5.c (md5_process_block): Remove define, we will always
53231         name it __md5_process_block.
53232         (md5_finish_ctx): Update md5_process_block call.
53233         (md5_stream): Likewise.
53234         (md5_process_bytes): Likewise.
53235         (md5_process_block): Rename to __md5_process_block and move to ...
53236         * crypt/md5-block.c: ... here.
53237         * crypt/sha256.c (sha256_process_block): Move to ...
53238         * crypt/sha256-block.c: ... here.
53239         * crypt/sha512.c (sha512_process_block): Move to ...
53240         * crypt/sha512-block.c: ... here.
53241         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53242         path.
53243         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53244         * sysdeps/sparc/sparc64/multiarch/Makefile
53245         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53246         crypt subdir.
53247         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53248         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53249         multiarch changes.
53250         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53251         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53252         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53253         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53254         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53255         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53256         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53257         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53258         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53259         file.
53260         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53261         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53262         file.
53263         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53265 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53267         * timezone/tzselect.ksh: Update from tzcode git revision
53268         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53269         * timezone/zdump.c: Likewise.
53270         * timezone/zic.c: Likewise.
53271         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53272         in TZVERSION setting, not $(PKGVERSION).
53273         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53274         REPORT_BUGS_TO settings.
53276         [BZ #14838]
53277         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53278         macro.
53280 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53282         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53283         detection to immediately after _FP_ROUND().
53284         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53285         bits are 0.
53287 2012-11-11  David S. Miller  <davem@davemloft.net>
53289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53290         inttypes.h
53291         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53292         __close rather than their public counterparts.
53294 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53296         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53297         file.
53298         [UNIX98] (sem_timedwait): Do not expect.
53299         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53300         [XPG4 || UNIX98] (sockatmark): Do not expect.
53301         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53302         (clock_getcpuclockid): Do not expect.
53303         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53304         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53305         Do not expect.
53306         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53307         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53308         [UNIX98] (vwscanf): Likewise.
53309         [UNIX98] (vswscanf): Likewise.
53311 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53313         * timezone/version.h: Remove file.
53314         * timezone/README: Do not refer to version.h.
53315         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53316         $(objpfx)version.h.
53317         ($(objpfx)zdump.o): Likewise.
53318         ($(objpfx)version.h): New target.
53320         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53321         2012i.
53322         * timezone/README: Don't mention modification to tzselect.ksh.
53323         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53324         work on unmodified tzselect.ksh.  Substitute version numbers in
53325         tzselect.ksh.
53327         * Makefile (format-me): Remove.
53328         (INSTALL): Adjust indentation.  Use commands directly instead of
53329         using $(format-me).
53331         * aclocal.m4 (ACX_PKGVERSION): New macro.
53332         (ACX_BUGURL): Likewise.
53333         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53334         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53335         (REPORT_BUGS_TO): Likewise.
53336         * configure: Regenerated.
53337         * config.h.in (PKGVERSION): New macro.
53338         (REPORT_BUGS_TO): Likewise.
53339         * config.make.in (PKGVERSION): New variable.
53340         (PKGVERSION_TEXI): Likewise.
53341         (REPORT_BUGS_TO): Likewise.
53342         (REPORT_BUGS_TEXI): Likewise.
53343         * Makefile (format-me): Use -I$(common-objpfx)manual.
53344         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53345         ($(common-objpfx)manual/%): New target.
53346         (manual/%): Remove target.
53347         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53348         (print_version): Use PKGVERSION.
53349         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53350         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53351         and REPORT_BUGS_TO.
53352         ($(objpfx)xtrace): Likewise.
53353         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53354         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53355         (print_version): Use PKGVERSION.
53356         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53357         (do_version): Use PKGVERSION.
53358         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53359         REPORT_BUGS_TO.
53360         (common-ldd-rewrite): Likewise.
53361         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53362         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53363         (print_version): Use PKGVERSION.
53364         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53365         * elf/pldd.c (argp_program_bug_address): Remove variable.
53366         (more_help): New function.
53367         (argp): Use more_help.
53368         (print_version): Use PKGVERSION.
53369         * elf/sln.c (main): Use PKGVERSION.
53370         (usage): Use REPORT_BUGS_TO.
53371         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53372         (top level): Use PKGVERSION.
53373         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53374         (print_version): Use PKGVERSION.
53375         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53376         (print_version): Use PKGVERSION.
53377         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53378         (print_version): Use PKGVERSION.
53379         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53380         (print_version): Use PKGVERSION.
53381         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53382         (print_version): Use PKGVERSION.
53383         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53384         (print_version): Use PKGVERSION.
53385         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53386         and BUGURL.
53387         ($(objpfx)memusage): Likewise.
53388         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53389         (do_version): Use PKGVERSION.
53390         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53391         (print_version): Use PKGVERSION.
53392         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53393         ($PKGVERSION): New variable.
53394         ($REPORT_BUGS_TO): Likewise.
53395         (usage): Use $REPORT_BUGS_TO.
53396         (top level): Use $PKGVERSION.
53397         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53398         ($(objpfx)pkgvers.texi): New rule.
53399         ($(objpfx)stamp-pkgvers): Likewise.
53400         * manual/install.texi: Include pkgvers.texi.
53401         (--with-pkgversion): Document new configure option.
53402         (--with-bugurl): Likewise.
53403         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53404         than necessarily for this particular distribution.  Use
53405         REPORT_BUGS_TO for where to report bugs.
53406         * INSTALL: Regenerated.
53407         * manual/libc.texinfo: Include pkgvers.texi.
53408         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53409         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53410         (print_version): Use PKGVERSION.
53411         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53412         (print_version): Use PKGVERSION.
53413         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53414         (print_version): Use PKGVERSION.
53415         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53416         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53417         macro.
53418         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53419         (print_version): Use PKGVERSION.
53420         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53421         (print_version): Use PKGVERSION.
53422         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53423         and PKGVERSION.
53425         * timezone/checktab.awk: Update from tzcode 2012i.
53426         * timezone/ialloc.c: Likewise.
53427         * timezone/private.h: Likewise.
53428         * timezone/scheck.c: Likewise.
53429         * timezone/tzfile.h: Likewise.
53430         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53431         (TZVERSION): Hardcode tzcode version number.
53432         * timezone/zdump.c: Update from tzcode 2012i.
53433         * timezone/zic.c: Likewise.
53434         * timezone/version.h: New file.
53435         * timezone/README: Describe version.h.  Update upstream location.
53437         [BZ #14824]
53438         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53439         (mktemp): Enable declaration.
53440         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53442         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53444         Likewise.
53445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53446         Likewise.
53447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53448         Likewise.
53449         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53450         Likewise.
53451         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53452         Likewise.
53453         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53454         Likewise.
53456         [BZ #14821]
53457         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53458         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53459         for copies of such integer values.
53460         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53461         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53463 2012-11-09  Andreas Jaeger  <aj@suse.de>
53465         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53466         definitions and declarations that are provided by
53467         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53469 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53471         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53472         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53473         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53474         definition.
53476 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53478         * elf/elf.h: Update comment before AArch64 relocations.
53480 2012-11-07  David S. Miller  <davem@davemloft.net>
53482         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53483         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53484         (__start_context): Declare.
53485         (__makecontext_ret): Delete.
53486         (__makecontext): Hook up __start_context instead of
53487         __makecontext_ret.
53488         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53489         (sysdep_routines): Add __start_context when in stdlib.
53491 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53493         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53494         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53495         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53496         hardcoded "nm".
53497         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53498         (READELF): New variable.  Use it instead of hardcoded "readelf".
53500 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53502         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53503         * sysdeps/x86/Makefile: Here.
53504         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53505         * sysdeps/x86/tst-xmmymm.sh: This.
53507 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53509         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53510         expectations.
53511         [UNIX98] (pthread_barrier_t): Do not expect.
53512         [UNIX98] (pthread_barrierattr_t): Likewise.
53513         [UNIX98] (pthread_spinlock_t): Likewise.
53514         [UNIX98] (pthread_barrier_destroy): Likewise.
53515         [UNIX98] (pthread_barrier_init): Likewise.
53516         [UNIX98] (pthread_barrier_wait): Likewise.
53517         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53518         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53519         [UNIX98] (pthread_barrierattr_init): Likewise.
53520         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53521         [UNIX98] (pthread_getcpuclockid): Likewise.
53522         [UNIX98] (pthread_mutex_timedlock): Likewise.
53523         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53524         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53525         [UNIX98] (pthread_sigmask): Likewise.
53526         [UNIX98] (pthread_spin_destroy): Likewise.
53527         [UNIX98] (pthread_spin_init): Likewise.
53528         [UNIX98] (pthread_spin_lock): Likewise.
53529         [UNIX98] (pthread_spin_trylock): Likewise.
53530         [UNIX98] (pthread_spin_unlock): Likewise.
53531         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53532         Do not expect.
53533         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53534         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53535         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53536         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53537         [XPG3 || XPG4] (pthread_key_t): Likewise.
53538         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53539         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53540         [XPG3 || XPG4] (pthread_once_t): Likewise.
53541         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53542         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53543         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53544         [XPG3 || XPG4] (pthread_t): Likewise.
53546         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53547         not expect.
53548         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53550         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53551         Change function return type to int.
53553         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53554         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53555         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53556         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53557         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53558         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53559         [!POSIX] (posix_madvise): Likewise.
53560         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53561         && !UNIX98].
53562         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53563         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53564         (mode_t): Likewise.
53565         (posix_mem_offset): Likewise.
53566         (posix_typed_mem_get_info): Likewise.
53567         (posix_typed_mem_open): Likewise.
53569         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53570         Change condition to [XOPEN2K8].
53572         * conform/conformtest.pl: Preprocess allow-header data with -x c
53573         instead of from stdin.
53574         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53575         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53576         [C99-based standards] (cerfc): Likewise.
53577         [C99-based standards] (cexp2): Likewise.
53578         [C99-based standards] (cexpm1): Likewise.
53579         [C99-based standards] (clog10): Likewise.
53580         [C99-based standards] (clog1p): Likewise.
53581         [C99-based standards] (clog2): Likewise.
53582         [C99-based standards] (clgamma): Likewise.
53583         [C99-based standards] (ctgamma): Likewise.
53584         [C99-based standards] (cerff): Likewise.
53585         [C99-based standards] (cerfcf): Likewise.
53586         [C99-based standards] (cexp2f): Likewise.
53587         [C99-based standards] (cexpm1f): Likewise.
53588         [C99-based standards] (clog10f): Likewise.
53589         [C99-based standards] (clog1pf): Likewise.
53590         [C99-based standards] (clog2f): Likewise.
53591         [C99-based standards] (clgammaf): Likewise.
53592         [C99-based standards] (ctgammaf): Likewise.
53593         [C99-based standards] (cerfl): Likewise.
53594         [C99-based standards] (cerfcl): Likewise.
53595         [C99-based standards] (cexp2l): Likewise.
53596         [C99-based standards] (cexpm1l): Likewise.
53597         [C99-based standards] (clog10l): Likewise.
53598         [C99-based standards] (clog1pl): Likewise.
53599         [C99-based standards] (clog2l): Likewise.
53600         [C99-based standards] (clgammal): Likewise.
53601         [C99-based standards] (ctgammal): Likewise.
53602         * conform/data/inttypes.h-data [C99-based standards]: Include
53603         stdint.h-data.  Remove all expectations for stdint.h contents.
53604         [C99-based standards] (PRI*): Do not allow.
53605         [C99-based standards] (SCN*): Likewise.
53606         [C99-based standards] (*_t): Likewise.
53607         [C99-based-standards] (PRId8): Expect macro.
53608         [C99-based-standards] (PRIi8): Likewise.
53609         [C99-based-standards] (PRIo8): Likewise.
53610         [C99-based-standards] (PRIu8): Likewise.
53611         [C99-based-standards] (PRIx8): Likewise.
53612         [C99-based-standards] (PRIX8): Likewise.
53613         [C99-based-standards] (SCNd8): Likewise.
53614         [C99-based-standards] (SCNi8): Likewise.
53615         [C99-based-standards] (SCNo8): Likewise.
53616         [C99-based-standards] (SCNu8): Likewise.
53617         [C99-based-standards] (SCNx8): Likewise.
53618         [C99-based-standards] (PRIdLEAST8): Likewise.
53619         [C99-based-standards] (PRIiLEAST8): Likewise.
53620         [C99-based-standards] (PRIoLEAST8): Likewise.
53621         [C99-based-standards] (PRIuLEAST8): Likewise.
53622         [C99-based-standards] (PRIxLEAST8): Likewise.
53623         [C99-based-standards] (PRIXLEAST8): Likewise.
53624         [C99-based-standards] (SCNdLEAST8): Likewise.
53625         [C99-based-standards] (SCNiLEAST8): Likewise.
53626         [C99-based-standards] (SCNoLEAST8): Likewise.
53627         [C99-based-standards] (SCNuLEAST8): Likewise.
53628         [C99-based-standards] (SCNxLEAST8): Likewise.
53629         [C99-based-standards] (PRIdFAST8): Likewise.
53630         [C99-based-standards] (PRIiFAST8): Likewise.
53631         [C99-based-standards] (PRIoFAST8): Likewise.
53632         [C99-based-standards] (PRIuFAST8): Likewise.
53633         [C99-based-standards] (PRIxFAST8): Likewise.
53634         [C99-based-standards] (PRIXFAST8): Likewise.
53635         [C99-based-standards] (SCNdFAST8): Likewise.
53636         [C99-based-standards] (SCNiFAST8): Likewise.
53637         [C99-based-standards] (SCNoFAST8): Likewise.
53638         [C99-based-standards] (SCNuFAST8): Likewise.
53639         [C99-based-standards] (SCNxFAST8): Likewise.
53640         [C99-based-standards] (PRId16): Likewise.
53641         [C99-based-standards] (PRIi16): Likewise.
53642         [C99-based-standards] (PRIo16): Likewise.
53643         [C99-based-standards] (PRIu16): Likewise.
53644         [C99-based-standards] (PRIx16): Likewise.
53645         [C99-based-standards] (PRIX16): Likewise.
53646         [C99-based-standards] (SCNd16): Likewise.
53647         [C99-based-standards] (SCNi16): Likewise.
53648         [C99-based-standards] (SCNo16): Likewise.
53649         [C99-based-standards] (SCNu16): Likewise.
53650         [C99-based-standards] (SCNx16): Likewise.
53651         [C99-based-standards] (PRIdLEAST16): Likewise.
53652         [C99-based-standards] (PRIiLEAST16): Likewise.
53653         [C99-based-standards] (PRIoLEAST16): Likewise.
53654         [C99-based-standards] (PRIuLEAST16): Likewise.
53655         [C99-based-standards] (PRIxLEAST16): Likewise.
53656         [C99-based-standards] (PRIXLEAST16): Likewise.
53657         [C99-based-standards] (SCNdLEAST16): Likewise.
53658         [C99-based-standards] (SCNiLEAST16): Likewise.
53659         [C99-based-standards] (SCNoLEAST16): Likewise.
53660         [C99-based-standards] (SCNuLEAST16): Likewise.
53661         [C99-based-standards] (SCNxLEAST16): Likewise.
53662         [C99-based-standards] (PRIdFAST16): Likewise.
53663         [C99-based-standards] (PRIiFAST16): Likewise.
53664         [C99-based-standards] (PRIoFAST16): Likewise.
53665         [C99-based-standards] (PRIuFAST16): Likewise.
53666         [C99-based-standards] (PRIxFAST16): Likewise.
53667         [C99-based-standards] (PRIXFAST16): Likewise.
53668         [C99-based-standards] (SCNdFAST16): Likewise.
53669         [C99-based-standards] (SCNiFAST16): Likewise.
53670         [C99-based-standards] (SCNoFAST16): Likewise.
53671         [C99-based-standards] (SCNuFAST16): Likewise.
53672         [C99-based-standards] (SCNxFAST16): Likewise.
53673         [C99-based-standards] (PRId32): Likewise.
53674         [C99-based-standards] (PRIi32): Likewise.
53675         [C99-based-standards] (PRIo32): Likewise.
53676         [C99-based-standards] (PRIu32): Likewise.
53677         [C99-based-standards] (PRIx32): Likewise.
53678         [C99-based-standards] (PRIX32): Likewise.
53679         [C99-based-standards] (SCNd32): Likewise.
53680         [C99-based-standards] (SCNi32): Likewise.
53681         [C99-based-standards] (SCNo32): Likewise.
53682         [C99-based-standards] (SCNu32): Likewise.
53683         [C99-based-standards] (SCNx32): Likewise.
53684         [C99-based-standards] (PRIdLEAST32): Likewise.
53685         [C99-based-standards] (PRIiLEAST32): Likewise.
53686         [C99-based-standards] (PRIoLEAST32): Likewise.
53687         [C99-based-standards] (PRIuLEAST32): Likewise.
53688         [C99-based-standards] (PRIxLEAST32): Likewise.
53689         [C99-based-standards] (PRIXLEAST32): Likewise.
53690         [C99-based-standards] (SCNdLEAST32): Likewise.
53691         [C99-based-standards] (SCNiLEAST32): Likewise.
53692         [C99-based-standards] (SCNoLEAST32): Likewise.
53693         [C99-based-standards] (SCNuLEAST32): Likewise.
53694         [C99-based-standards] (SCNxLEAST32): Likewise.
53695         [C99-based-standards] (PRIdFAST32): Likewise.
53696         [C99-based-standards] (PRIiFAST32): Likewise.
53697         [C99-based-standards] (PRIoFAST32): Likewise.
53698         [C99-based-standards] (PRIuFAST32): Likewise.
53699         [C99-based-standards] (PRIxFAST32): Likewise.
53700         [C99-based-standards] (PRIXFAST32): Likewise.
53701         [C99-based-standards] (SCNdFAST32): Likewise.
53702         [C99-based-standards] (SCNiFAST32): Likewise.
53703         [C99-based-standards] (SCNoFAST32): Likewise.
53704         [C99-based-standards] (SCNuFAST32): Likewise.
53705         [C99-based-standards] (SCNxFAST32): Likewise.
53706         [C99-based-standards] (PRId64): Likewise.
53707         [C99-based-standards] (PRIi64): Likewise.
53708         [C99-based-standards] (PRIo64): Likewise.
53709         [C99-based-standards] (PRIu64): Likewise.
53710         [C99-based-standards] (PRIx64): Likewise.
53711         [C99-based-standards] (PRIX64): Likewise.
53712         [C99-based-standards] (SCNd64): Likewise.
53713         [C99-based-standards] (SCNi64): Likewise.
53714         [C99-based-standards] (SCNo64): Likewise.
53715         [C99-based-standards] (SCNu64): Likewise.
53716         [C99-based-standards] (SCNx64): Likewise.
53717         [C99-based-standards] (PRIdLEAST64): Likewise.
53718         [C99-based-standards] (PRIiLEAST64): Likewise.
53719         [C99-based-standards] (PRIoLEAST64): Likewise.
53720         [C99-based-standards] (PRIuLEAST64): Likewise.
53721         [C99-based-standards] (PRIxLEAST64): Likewise.
53722         [C99-based-standards] (PRIXLEAST64): Likewise.
53723         [C99-based-standards] (SCNdLEAST64): Likewise.
53724         [C99-based-standards] (SCNiLEAST64): Likewise.
53725         [C99-based-standards] (SCNoLEAST64): Likewise.
53726         [C99-based-standards] (SCNuLEAST64): Likewise.
53727         [C99-based-standards] (SCNxLEAST64): Likewise.
53728         [C99-based-standards] (PRIdFAST64): Likewise.
53729         [C99-based-standards] (PRIiFAST64): Likewise.
53730         [C99-based-standards] (PRIoFAST64): Likewise.
53731         [C99-based-standards] (PRIuFAST64): Likewise.
53732         [C99-based-standards] (PRIxFAST64): Likewise.
53733         [C99-based-standards] (PRIXFAST64): Likewise.
53734         [C99-based-standards] (SCNdFAST64): Likewise.
53735         [C99-based-standards] (SCNiFAST64): Likewise.
53736         [C99-based-standards] (SCNoFAST64): Likewise.
53737         [C99-based-standards] (SCNuFAST64): Likewise.
53738         [C99-based-standards] (SCNxFAST64): Likewise.
53739         [C99-based-standards] (PRIdMAX): Likewise.
53740         [C99-based-standards] (PRIiMAX): Likewise.
53741         [C99-based-standards] (PRIoMAX): Likewise.
53742         [C99-based-standards] (PRIuMAX): Likewise.
53743         [C99-based-standards] (PRIxMAX): Likewise.
53744         [C99-based-standards] (PRIXMAX): Likewise.
53745         [C99-based-standards] (SCNdMAX): Likewise.
53746         [C99-based-standards] (SCNiMAX): Likewise.
53747         [C99-based-standards] (SCNoMAX): Likewise.
53748         [C99-based-standards] (SCNuMAX): Likewise.
53749         [C99-based-standards] (SCNxMAX): Likewise.
53750         [C99-based-standards] (PRIdPTR): Likewise.
53751         [C99-based-standards] (PRIiPTR): Likewise.
53752         [C99-based-standards] (PRIoPTR): Likewise.
53753         [C99-based-standards] (PRIuPTR): Likewise.
53754         [C99-based-standards] (PRIxPTR): Likewise.
53755         [C99-based-standards] (PRIXPTR): Likewise.
53756         [C99-based-standards] (SCNdPTR): Likewise.
53757         [C99-based-standards] (SCNiPTR): Likewise.
53758         [C99-based-standards] (SCNoPTR): Likewise.
53759         [C99-based-standards] (SCNuPTR): Likewise.
53760         [C99-based-standards] (SCNxPTR): Likewise.
53761         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53762         allow.
53763         * conform/data/stdint.h-data: Update comments to clarify
53764         requirements.
53765         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53766         type.
53767         [C99-based standards] (INT8_MAX): Likewise.
53768         [C99-based standards] (INT16_MIN): Likewise.
53769         [C99-based standards] (INT16_MAX): Likewise.
53770         [C99-based standards] (INT32_MIN): Likewise.
53771         [C99-based standards] (INT32_MAX): Likewise.
53772         [C99-based standards] (INT64_MIN): Likewise.
53773         [C99-based standards] (INT64_MAX): Likewise.
53774         [C99-based standards] (UINT8_MAX): Likewise.
53775         [C99-based standards] (UINT16_MAX): Likewise.
53776         [C99-based standards] (UINT32_MAX): Likewise.
53777         [C99-based standards] (UINT64_MAX): Likewise.
53778         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53779         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53780         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53781         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53782         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53783         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53784         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53785         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53786         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53787         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53788         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53789         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53790         [C99-based standards] (INT_FAST8_MIN): Likewise.
53791         [C99-based standards] (INT_FAST8_MAX): Likewise.
53792         [C99-based standards] (INT_FAST16_MIN): Likewise.
53793         [C99-based standards] (INT_FAST16_MAX): Likewise.
53794         [C99-based standards] (INT_FAST32_MIN): Likewise.
53795         [C99-based standards] (INT_FAST32_MAX): Likewise.
53796         [C99-based standards] (INT_FAST64_MIN): Likewise.
53797         [C99-based standards] (INT_FAST64_MAX): Likewise.
53798         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53799         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53800         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53801         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53802         [C99-based standards] (INTPTR_MIN): Likewise.
53803         [C99-based standards] (INTPTR_MAX): Likewise.
53804         [C99-based standards] (UINTPTR_MAX): Likewise.
53805         [C99-based standards] (INTMAX_MIN): Likewise.
53806         [C99-based standards] (INTMAX_MAX): Likewise.
53807         [C99-based standards] (UINTMAX_MAX): Likewise.
53808         [C99-based standards] (PTRDIFF_MIN): Likewise.
53809         [C99-based standards] (PTRDIFF_MAX): Likewise.
53810         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53811         [C99-based standards] (SIZE_MAX): Likewise.
53812         [C99-based standards] (WCHAR_MAX): Likewise.
53813         [C99-based standards] (WINT_MAX): Likewise.
53814         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53815         constraint on value.
53816         [C99-based standards] (WCHAR_MIN): Likewise.
53817         [C99-based standards] (WINT_MIN): Likewise.
53818         [C99-based standards] (*_t): Allow.
53819         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53820         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53821         Include math.h-data and complex.h-data.  Remove all expectations
53822         of math.h and complex.h contents.
53823         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53824         at end of line.
53825         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53826         (struct tm): Expect tag.
53827         [C99-based-standards] (wcstof): Expect function.
53828         [C99-based-standards] (wcstold): Likewise.
53829         [C99-based-standards] (wcstoll): Likewise.
53830         [C99-based-standards] (wcstoull): Likewise.
53831         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53832         macro-int-constant.  Specify type.
53833         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53834         constraint on value.
53835         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53836         Specify type.
53837         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53838         Specify value.
53839         [ISO C standards]: Do not allow headers.
53840         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53841         wcs[abcdefghijklmnopqrstuvwxyz]*.
53842         [ISO C standards] (*_t): Do not allow.
53843         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53844         Expect function.
53845         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53846         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53847         Specify type.
53848         [ISO C standards]: Do not allow headers.
53849         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53850         is[abcdefghijklmnopqrstuvwxyz]*.
53851         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53852         to[abcdefghijklmnopqrstuvwxyz]*.
53853         [ISO C standards] (*_t): Do not allow.
53854         * conform/data/stdalign.h-data: New file.
53855         * conform/data/stdbool.h-data: Likewise.
53856         * conform/data/stdnoreturn.h-data: Likewise.
53858 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53860         [BZ #14815]
53861         * manual/filesys.texi (Directory Entries): Typo fix.
53862         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53864 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53866         * elf/elf.h (EM_AARCH64): New macro.
53867         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53868         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53869         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53870         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53871         (R_AARCH64_TLSDESC): Likewise.
53872         (NT_ARM_TLS): Likewise.
53873         (NT_ARM_HW_BREAK): Likewise.
53874         (NT_ARM_HW_WATCH): Likewise.
53876 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53878         [BZ #14811]
53879         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53880         (__ieee754_powl): Saturate nonzero exponents with absolute value
53881         below 0x1p-79 to +/- 0x1p-79.
53882         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53883         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53884         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53885         nonzero exponents with absolute value below 0x1p-32 to +/-
53886         0x1p-32.
53887         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53888         (__ieee754_powl): Saturate nonzero exponents with absolute value
53889         below 0x1p-79 to +/- 0x1p-79.
53890         * math/libm-test.inc (pow_test): Add more tests.
53892 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53894         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53895         _dl_s390_cap_flags with kernel. Increase string length.
53896         (_dl_s390_platforms): Add z196 and zEC12.
53898 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53900         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53901         Change XOPEN21K to XOPEN2K.
53903 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53905         * string/memmove.c: Use memcpy when possible.
53907 2012-11-06  Andreas Jaeger  <aj@suse.de>
53909         * po/eo.po: Update from translation team.
53911 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53913         [BZ #14793]
53914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53915         exponent and small x and y exponents, scale x or y up.  Increase
53916         by 2 the exponent used in scaling up.
53917         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53919         * math/libm-test.inc (fma_test): Add more tests.
53920         (fma_test_towardzero): Likewise.
53921         (fma_test_downward): Likewise.
53922         (fma_test_upward): Likewise.
53924 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53926         [BZ #14805]
53927         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53928         fenv_t *.
53930         [BZ #14801]
53931         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53932         namespace for names of struct fields.
53933         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53934         fenv_t fields.
53935         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53936         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53938 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53940         [BZ #3665]
53941         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53943 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53945         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53946         PTR_DEMANGLE.
53948         [BZ #5246]
53949         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53950         PTR_DEMANGLE.
53952 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53954         [BZ #14797]
53955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53956         definitely overflow as x * y not x * y + z.
53957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53958         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53959         * math/libm-test.inc (fma_test): Add more tests.
53960         (fma_test_towardzero): Likewise.
53961         (fma_test_downward): Likewise.
53962         (fma_test_upward): Likewise.
53964 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53966         [BZ #157]
53968         * include/stub-tag.h: Remove file.
53969         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53970         '#include' of it.
53971         * manual/maint.texi (Porting): Don't reference it.
53972         * Makerules ($(objpfx)stubs): Likewise.
53973         * dirent/closedir.c: Don't include <stub-tag.h>.
53974         * dirent/dirfd.c: Likewise.
53975         * dirent/fdopendir.c: Likewise.
53976         * dirent/getdents.c: Likewise.
53977         * dirent/getdents64.c: Likewise.
53978         * dirent/opendir.c: Likewise.
53979         * dirent/readdir.c: Likewise.
53980         * dirent/readdir64.c: Likewise.
53981         * dirent/readdir64_r.c: Likewise.
53982         * dirent/readdir_r.c: Likewise.
53983         * dirent/rewinddir.c: Likewise.
53984         * dirent/seekdir.c: Likewise.
53985         * dirent/telldir.c: Likewise.
53986         * gmon/profil.c: Likewise.
53987         * grp/setgroups.c: Likewise.
53988         * inet/if_index.c: Likewise.
53989         * io/access.c: Likewise.
53990         * io/chdir.c: Likewise.
53991         * io/chmod.c: Likewise.
53992         * io/chown.c: Likewise.
53993         * io/close.c: Likewise.
53994         * io/dup.c: Likewise.
53995         * io/dup2.c: Likewise.
53996         * io/dup3.c: Likewise.
53997         * io/euidaccess.c: Likewise.
53998         * io/faccessat.c: Likewise.
53999         * io/fchdir.c: Likewise.
54000         * io/fchmod.c: Likewise.
54001         * io/fchmodat.c: Likewise.
54002         * io/fchown.c: Likewise.
54003         * io/fchownat.c: Likewise.
54004         * io/fcntl.c: Likewise.
54005         * io/flock.c: Likewise.
54006         * io/fstatfs.c: Likewise.
54007         * io/fstatfs64.c: Likewise.
54008         * io/fstatvfs.c: Likewise.
54009         * io/fstatvfs64.c: Likewise.
54010         * io/futimens.c: Likewise.
54011         * io/fxstat.c: Likewise.
54012         * io/fxstat64.c: Likewise.
54013         * io/fxstatat.c: Likewise.
54014         * io/fxstatat64.c: Likewise.
54015         * io/getcwd.c: Likewise.
54016         * io/isatty.c: Likewise.
54017         * io/lchmod.c: Likewise.
54018         * io/lchown.c: Likewise.
54019         * io/link.c: Likewise.
54020         * io/linkat.c: Likewise.
54021         * io/lseek.c: Likewise.
54022         * io/lseek64.c: Likewise.
54023         * io/lxstat64.c: Likewise.
54024         * io/mkdir.c: Likewise.
54025         * io/mkdirat.c: Likewise.
54026         * io/mkfifo.c: Likewise.
54027         * io/mkfifoat.c: Likewise.
54028         * io/open.c: Likewise.
54029         * io/open64.c: Likewise.
54030         * io/openat.c: Likewise.
54031         * io/openat64.c: Likewise.
54032         * io/pipe.c: Likewise.
54033         * io/pipe2.c: Likewise.
54034         * io/poll.c: Likewise.
54035         * io/posix_fadvise.c: Likewise.
54036         * io/posix_fadvise64.c: Likewise.
54037         * io/posix_fallocate.c: Likewise.
54038         * io/posix_fallocate64.c: Likewise.
54039         * io/read.c: Likewise.
54040         * io/readlink.c: Likewise.
54041         * io/readlinkat.c: Likewise.
54042         * io/rmdir.c: Likewise.
54043         * io/sendfile.c: Likewise.
54044         * io/sendfile64.c: Likewise.
54045         * io/statfs.c: Likewise.
54046         * io/statfs64.c: Likewise.
54047         * io/statvfs.c: Likewise.
54048         * io/statvfs64.c: Likewise.
54049         * io/symlink.c: Likewise.
54050         * io/symlinkat.c: Likewise.
54051         * io/ttyname.c: Likewise.
54052         * io/ttyname_r.c: Likewise.
54053         * io/umask.c: Likewise.
54054         * io/unlink.c: Likewise.
54055         * io/unlinkat.c: Likewise.
54056         * io/utime.c: Likewise.
54057         * io/utimensat.c: Likewise.
54058         * io/write.c: Likewise.
54059         * io/xmknod.c: Likewise.
54060         * io/xmknodat.c: Likewise.
54061         * io/xstat.c: Likewise.
54062         * io/xstat64.c: Likewise.
54063         * login/getpt.c: Likewise.
54064         * login/grantpt.c: Likewise.
54065         * login/unlockpt.c: Likewise.
54066         * math/e_acoshl.c: Likewise.
54067         * math/e_acosl.c: Likewise.
54068         * math/e_asinl.c: Likewise.
54069         * math/e_atan2l.c: Likewise.
54070         * math/e_atanhl.c: Likewise.
54071         * math/e_coshl.c: Likewise.
54072         * math/e_expl.c: Likewise.
54073         * math/e_fmodl.c: Likewise.
54074         * math/e_gammal_r.c: Likewise.
54075         * math/e_hypotl.c: Likewise.
54076         * math/e_j0l.c: Likewise.
54077         * math/e_j1l.c: Likewise.
54078         * math/e_jnl.c: Likewise.
54079         * math/e_lgammal_r.c: Likewise.
54080         * math/e_log10l.c: Likewise.
54081         * math/e_log2l.c: Likewise.
54082         * math/e_logl.c: Likewise.
54083         * math/e_powl.c: Likewise.
54084         * math/e_rem_pio2l.c: Likewise.
54085         * math/e_sinhl.c: Likewise.
54086         * math/e_sqrtl.c: Likewise.
54087         * math/fclrexcpt.c: Likewise.
54088         * math/fedisblxcpt.c: Likewise.
54089         * math/feenablxcpt.c: Likewise.
54090         * math/fegetenv.c: Likewise.
54091         * math/fegetexcept.c: Likewise.
54092         * math/fegetround.c: Likewise.
54093         * math/feholdexcpt.c: Likewise.
54094         * math/fesetenv.c: Likewise.
54095         * math/fesetround.c: Likewise.
54096         * math/feupdateenv.c: Likewise.
54097         * math/fgetexcptflg.c: Likewise.
54098         * math/fraiseexcpt.c: Likewise.
54099         * math/fsetexcptflg.c: Likewise.
54100         * math/ftestexcept.c: Likewise.
54101         * math/k_cosl.c: Likewise.
54102         * math/k_rem_pio2l.c: Likewise.
54103         * math/k_sinl.c: Likewise.
54104         * math/k_tanl.c: Likewise.
54105         * math/s_asinhl.c: Likewise.
54106         * math/s_atanl.c: Likewise.
54107         * math/s_cbrtl.c: Likewise.
54108         * math/s_erfl.c: Likewise.
54109         * math/s_expm1l.c: Likewise.
54110         * math/s_log1pl.c: Likewise.
54111         * math/s_tanhl.c: Likewise.
54112         * misc/acct.c: Likewise.
54113         * misc/brk.c: Likewise.
54114         * misc/chflags.c: Likewise.
54115         * misc/chroot.c: Likewise.
54116         * misc/fchflags.c: Likewise.
54117         * misc/fgetxattr.c: Likewise.
54118         * misc/flistxattr.c: Likewise.
54119         * misc/fremovexattr.c: Likewise.
54120         * misc/fsetxattr.c: Likewise.
54121         * misc/fsync.c: Likewise.
54122         * misc/ftruncate.c: Likewise.
54123         * misc/futimes.c: Likewise.
54124         * misc/futimesat.c: Likewise.
54125         * misc/getdomain.c: Likewise.
54126         * misc/getdtsz.c: Likewise.
54127         * misc/gethostid.c: Likewise.
54128         * misc/gethostname.c: Likewise.
54129         * misc/getloadavg.c: Likewise.
54130         * misc/getpagesize.c: Likewise.
54131         * misc/getsysstats.c: Likewise.
54132         * misc/getxattr.c: Likewise.
54133         * misc/gtty.c: Likewise.
54134         * misc/ioctl.c: Likewise.
54135         * misc/lgetxattr.c: Likewise.
54136         * misc/listxattr.c: Likewise.
54137         * misc/llistxattr.c: Likewise.
54138         * misc/lremovexattr.c: Likewise.
54139         * misc/lsetxattr.c: Likewise.
54140         * misc/lutimes.c: Likewise.
54141         * misc/madvise.c: Likewise.
54142         * misc/mincore.c: Likewise.
54143         * misc/mlock.c: Likewise.
54144         * misc/mlockall.c: Likewise.
54145         * misc/mmap.c: Likewise.
54146         * misc/mprotect.c: Likewise.
54147         * misc/msync.c: Likewise.
54148         * misc/munlock.c: Likewise.
54149         * misc/munlockall.c: Likewise.
54150         * misc/munmap.c: Likewise.
54151         * misc/preadv.c: Likewise.
54152         * misc/preadv64.c: Likewise.
54153         * misc/ptrace.c: Likewise.
54154         * misc/pwritev.c: Likewise.
54155         * misc/pwritev64.c: Likewise.
54156         * misc/readv.c: Likewise.
54157         * misc/reboot.c: Likewise.
54158         * misc/remap_file_pages.c: Likewise.
54159         * misc/removexattr.c: Likewise.
54160         * misc/revoke.c: Likewise.
54161         * misc/select.c: Likewise.
54162         * misc/setdomain.c: Likewise.
54163         * misc/setegid.c: Likewise.
54164         * misc/seteuid.c: Likewise.
54165         * misc/sethostid.c: Likewise.
54166         * misc/sethostname.c: Likewise.
54167         * misc/setregid.c: Likewise.
54168         * misc/setreuid.c: Likewise.
54169         * misc/setxattr.c: Likewise.
54170         * misc/sstk.c: Likewise.
54171         * misc/stty.c: Likewise.
54172         * misc/swapoff.c: Likewise.
54173         * misc/swapon.c: Likewise.
54174         * misc/sync.c: Likewise.
54175         * misc/syncfs.c: Likewise.
54176         * misc/syscall.c: Likewise.
54177         * misc/truncate.c: Likewise.
54178         * misc/ualarm.c: Likewise.
54179         * misc/usleep.c: Likewise.
54180         * misc/ustat.c: Likewise.
54181         * misc/utimes.c: Likewise.
54182         * misc/vhangup.c: Likewise.
54183         * misc/writev.c: Likewise.
54184         * posix/_exit.c: Likewise.
54185         * posix/alarm.c: Likewise.
54186         * posix/execve.c: Likewise.
54187         * posix/fexecve.c: Likewise.
54188         * posix/fork.c: Likewise.
54189         * posix/fpathconf.c: Likewise.
54190         * posix/getaddrinfo.c: Likewise.
54191         * posix/getegid.c: Likewise.
54192         * posix/geteuid.c: Likewise.
54193         * posix/getgid.c: Likewise.
54194         * posix/getgroups.c: Likewise.
54195         * posix/getlogin.c: Likewise.
54196         * posix/getlogin_r.c: Likewise.
54197         * posix/getpgid.c: Likewise.
54198         * posix/getpid.c: Likewise.
54199         * posix/getppid.c: Likewise.
54200         * posix/getresgid.c: Likewise.
54201         * posix/getresuid.c: Likewise.
54202         * posix/getsid.c: Likewise.
54203         * posix/getuid.c: Likewise.
54204         * posix/glob64.c: Likewise.
54205         * posix/nanosleep.c: Likewise.
54206         * posix/pathconf.c: Likewise.
54207         * posix/pause.c: Likewise.
54208         * posix/posix_madvise.c: Likewise.
54209         * posix/pread.c: Likewise.
54210         * posix/pread64.c: Likewise.
54211         * posix/pwrite.c: Likewise.
54212         * posix/pwrite64.c: Likewise.
54213         * posix/sched_getaffinity.c: Likewise.
54214         * posix/sched_getp.c: Likewise.
54215         * posix/sched_gets.c: Likewise.
54216         * posix/sched_primax.c: Likewise.
54217         * posix/sched_primin.c: Likewise.
54218         * posix/sched_rr_gi.c: Likewise.
54219         * posix/sched_setaffinity.c: Likewise.
54220         * posix/sched_setp.c: Likewise.
54221         * posix/sched_sets.c: Likewise.
54222         * posix/sched_yield.c: Likewise.
54223         * posix/setgid.c: Likewise.
54224         * posix/setlogin.c: Likewise.
54225         * posix/setpgid.c: Likewise.
54226         * posix/setresgid.c: Likewise.
54227         * posix/setresuid.c: Likewise.
54228         * posix/setsid.c: Likewise.
54229         * posix/setuid.c: Likewise.
54230         * posix/sleep.c: Likewise.
54231         * posix/spawni.c: Likewise.
54232         * posix/sysconf.c: Likewise.
54233         * posix/times.c: Likewise.
54234         * posix/wait.c: Likewise.
54235         * posix/wait3.c: Likewise.
54236         * posix/wait4.c: Likewise.
54237         * posix/waitpid.c: Likewise.
54238         * resolv/gai_sigqueue.c: Likewise.
54239         * resource/getpriority.c: Likewise.
54240         * resource/getrlimit.c: Likewise.
54241         * resource/getrusage.c: Likewise.
54242         * resource/nice.c: Likewise.
54243         * resource/setpriority.c: Likewise.
54244         * resource/setrlimit.c: Likewise.
54245         * resource/ulimit.c: Likewise.
54246         * rt/aio_cancel.c: Likewise.
54247         * rt/aio_fsync.c: Likewise.
54248         * rt/aio_read.c: Likewise.
54249         * rt/aio_sigqueue.c: Likewise.
54250         * rt/aio_suspend.c: Likewise.
54251         * rt/aio_write.c: Likewise.
54252         * rt/clock_getres.c: Likewise.
54253         * rt/clock_gettime.c: Likewise.
54254         * rt/clock_nanosleep.c: Likewise.
54255         * rt/clock_settime.c: Likewise.
54256         * rt/lio_listio.c: Likewise.
54257         * rt/mq_close.c: Likewise.
54258         * rt/mq_getattr.c: Likewise.
54259         * rt/mq_notify.c: Likewise.
54260         * rt/mq_open.c: Likewise.
54261         * rt/mq_receive.c: Likewise.
54262         * rt/mq_send.c: Likewise.
54263         * rt/mq_setattr.c: Likewise.
54264         * rt/mq_timedreceive.c: Likewise.
54265         * rt/mq_timedsend.c: Likewise.
54266         * rt/mq_unlink.c: Likewise.
54267         * rt/shm_open.c: Likewise.
54268         * rt/shm_unlink.c: Likewise.
54269         * rt/timer_create.c: Likewise.
54270         * rt/timer_delete.c: Likewise.
54271         * rt/timer_getoverr.c: Likewise.
54272         * rt/timer_gettime.c: Likewise.
54273         * rt/timer_settime.c: Likewise.
54274         * setjmp/__longjmp.c: Likewise.
54275         * setjmp/setjmp.c: Likewise.
54276         * signal/kill.c: Likewise.
54277         * signal/killpg.c: Likewise.
54278         * signal/raise.c: Likewise.
54279         * signal/sigaction.c: Likewise.
54280         * signal/sigaltstack.c: Likewise.
54281         * signal/sigblock.c: Likewise.
54282         * signal/sigignore.c: Likewise.
54283         * signal/sigintr.c: Likewise.
54284         * signal/signal.c: Likewise.
54285         * signal/sigpause.c: Likewise.
54286         * signal/sigpending.c: Likewise.
54287         * signal/sigqueue.c: Likewise.
54288         * signal/sigreturn.c: Likewise.
54289         * signal/sigset.c: Likewise.
54290         * signal/sigsetmask.c: Likewise.
54291         * signal/sigstack.c: Likewise.
54292         * signal/sigsuspend.c: Likewise.
54293         * signal/sigtimedwait.c: Likewise.
54294         * signal/sigvec.c: Likewise.
54295         * signal/sigwait.c: Likewise.
54296         * signal/sigwaitinfo.c: Likewise.
54297         * signal/sysv_signal.c: Likewise.
54298         * socket/accept.c: Likewise.
54299         * socket/accept4.c: Likewise.
54300         * socket/bind.c: Likewise.
54301         * socket/connect.c: Likewise.
54302         * socket/getpeername.c: Likewise.
54303         * socket/getsockname.c: Likewise.
54304         * socket/getsockopt.c: Likewise.
54305         * socket/isfdtype.c: Likewise.
54306         * socket/listen.c: Likewise.
54307         * socket/recv.c: Likewise.
54308         * socket/recvfrom.c: Likewise.
54309         * socket/recvmsg.c: Likewise.
54310         * socket/send.c: Likewise.
54311         * socket/sendmsg.c: Likewise.
54312         * socket/sendto.c: Likewise.
54313         * socket/setsockopt.c: Likewise.
54314         * socket/shutdown.c: Likewise.
54315         * socket/sockatmark.c: Likewise.
54316         * socket/socket.c: Likewise.
54317         * socket/socketpair.c: Likewise.
54318         * stdio-common/ctermid.c: Likewise.
54319         * stdio-common/cuserid.c: Likewise.
54320         * stdio-common/remove.c: Likewise.
54321         * stdio-common/rename.c: Likewise.
54322         * stdio-common/renameat.c: Likewise.
54323         * stdio-common/tempname.c: Likewise.
54324         * stdlib/getcontext.c: Likewise.
54325         * stdlib/makecontext.c: Likewise.
54326         * stdlib/setcontext.c: Likewise.
54327         * stdlib/swapcontext.c: Likewise.
54328         * stdlib/system.c: Likewise.
54329         * streams/fattach.c: Likewise.
54330         * streams/fdetach.c: Likewise.
54331         * streams/getmsg.c: Likewise.
54332         * streams/getpmsg.c: Likewise.
54333         * streams/putmsg.c: Likewise.
54334         * streams/putpmsg.c: Likewise.
54335         * sysdeps/unix/bsd/getpt.c: Likewise.
54336         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54337         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54338         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54340         Likewise.
54341         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54342         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54343         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54344         * sysvipc/msgctl.c: Likewise.
54345         * sysvipc/msgget.c: Likewise.
54346         * sysvipc/msgrcv.c: Likewise.
54347         * sysvipc/msgsnd.c: Likewise.
54348         * sysvipc/semctl.c: Likewise.
54349         * sysvipc/semget.c: Likewise.
54350         * sysvipc/semop.c: Likewise.
54351         * sysvipc/semtimedop.c: Likewise.
54352         * sysvipc/shmat.c: Likewise.
54353         * sysvipc/shmctl.c: Likewise.
54354         * sysvipc/shmdt.c: Likewise.
54355         * sysvipc/shmget.c: Likewise.
54356         * termios/tcdrain.c: Likewise.
54357         * termios/tcflow.c: Likewise.
54358         * termios/tcflush.c: Likewise.
54359         * termios/tcgetattr.c: Likewise.
54360         * termios/tcgetpgrp.c: Likewise.
54361         * termios/tcsendbrk.c: Likewise.
54362         * termios/tcsetattr.c: Likewise.
54363         * termios/tcsetpgrp.c: Likewise.
54364         * time/adjtime.c: Likewise.
54365         * time/clock.c: Likewise.
54366         * time/getitimer.c: Likewise.
54367         * time/gettimeofday.c: Likewise.
54368         * time/setitimer.c: Likewise.
54369         * time/settimeofday.c: Likewise.
54370         * time/stime.c: Likewise.
54371         * time/time.c: Likewise.
54373 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54375         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54376         /usr/old/bin.
54378         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54379         instead of spaces.
54380         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54382 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54384         [BZ #14796]
54385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54386         FE_TONEAREST before applying Dekker multiplication and Knuth
54387         addition.  Clear inexact exceptions and check for exact zero
54388         results afterwards.
54389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54390         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54392         * math/libm-test.inc (fma_test): Add more tests.
54393         (fma_test_towardzero): Likewise.
54394         (fma_test_downward): Likewise.
54395         (fma_test_upward): Likewise.
54396         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54397         function.
54398         (libc_fesetround): New macro.
54399         (libc_fesetroundf): Likewise.
54400         (libc_fesetroundl): Likewise.
54401         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54402         function.
54403         (libc_fesetround_387): Likewise.
54404         (libc_fesetroundf): New macro.
54405         (libc_fesetround): Likewise.
54406         (libc_fesetroundl): Likewise.
54407         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54408         function.
54409         (libc_fesetroundf): New macro.
54410         (libc_fesetround): Likewise.
54411         (libc_fesetroundl): Likewise.
54412         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54413         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54414         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54415         libm_hidden_ver.
54416         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54417         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54418         libm_hidden_def.
54419         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54420         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54421         libm_hidden_ver.
54422         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54423         libm_hidden_def.
54425         [BZ #3439]
54426         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54427         integer constant usable in #if and use that to give value to enum
54428         constant.
54429         (FE_DIVBYZERO): Likewise.
54430         (FE_UNDERFLOW): Likewise.
54431         (FE_OVERFLOW): Likewise.
54432         (FE_INVALID): Likewise.
54433         (FE_INVALID_SNAN): Likewise.
54434         (FE_INVALID_ISI): Likewise.
54435         (FE_INVALID_IDI): Likewise.
54436         (FE_INVALID_ZDZ): Likewise.
54437         (FE_INVALID_IMZ): Likewise.
54438         (FE_INVALID_COMPARE): Likewise.
54439         (FE_INVALID_SOFTWARE): Likewise.
54440         (FE_INVALID_SQRT): Likewise.
54441         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54442         (FE_TONEAREST): Likewise.
54443         (FE_TOWARDZERO): Likewise.
54444         (FE_UPWARD): Likewise.
54445         (FE_DOWNWARD): Likewise.
54446         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54447         (FE_DIVBYZERO): Likewise.
54448         (FE_OVERFLOW): Likewise.
54449         (FE_UNDERFLOW): Likewise.
54450         (FE_INEXACT): Likewise.
54451         (FE_TONEAREST): Likewise.
54452         (FE_DOWNWARD): Likewise.
54453         (FE_UPWARD): Likewise.
54454         (FE_TOWARDZERO): Likewise.
54455         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54456         (FE_UNDERFLOW): Likewise.
54457         (FE_OVERFLOW): Likewise.
54458         (FE_DIVBYZERO): Likewise.
54459         (FE_INVALID): Likewise.
54460         (FE_TONEAREST): Likewise.
54461         (FE_TOWARDZERO): Likewise.
54462         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54463         (FE_OVERFLOW): Likewise.
54464         (FE_UNDERFLOW): Likewise.
54465         (FE_DIVBYZERO): Likewise.
54466         (FE_INEXACT): Likewise.
54467         (FE_TONEAREST): Likewise.
54468         (FE_TOWARDZERO): Likewise.
54469         (FE_UPWARD): Likewise.
54470         (FE_DOWNWARD): Likewise.
54471         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54472         (FE_DIVBYZERO): Likewise.
54473         (FE_OVERFLOW): Likewise.
54474         (FE_UNDERFLOW): Likewise.
54475         (FE_INEXACT): Likewise.
54476         (FE_TONEAREST): Likewise.
54477         (FE_DOWNWARD): Likewise.
54478         (FE_UPWARD): Likewise.
54479         (FE_TOWARDZERO): Likewise.
54481 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54483         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54485 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54487         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54488         commands.  Quote $PWD.
54489         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54490         -x" by "export".
54491         (remove_newlines): Remove.
54493 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54495         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54496         * stdlib/stdlib.h (atof): Moved to ...
54497         * include/bits/stdlib-float.h: Here.  New file.
54498         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54499         * stdlib/bits/stdlib-float.h: New file.
54500         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54501         -mno-sse -mno-mmx.
54502         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54503         <xmmintrin.h>.
54505 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54507         * conform/conformtest.pl (@headers): Add fenv.h.
54508         * conform/data/fenv.h-data: New file.
54509         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54510         include of <math/fenv.h>.
54512         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54513         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54514         && !UNIX98].  Enables tests for XOPEN2K8.
54515         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54516         POSIX2008]: Likewise.
54518         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54519         (struct rusage): Do not expect type or its members.
54521         [BZ #3439]
54522         * math/math.h (FP_NAN): Define macro to integer constant usable in
54523         #if and use that to give value to enum constant.
54524         (FP_INFINITE): Likewise.
54525         (FP_ZERO): Likewise.
54526         (FP_SUBNORMAL): Likewise.
54527         (FP_NORMAL): Likewise.
54529 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54531         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54532         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54533         arguments.
54535 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54537         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54538         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54539         autoconf-time if not.
54540         * configure.in: Remove AC_PREREQ.
54542 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54544         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54545         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54546         of the internal implementation.
54548 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54550         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54551         except include of <misc/sys/syslog.h>.
54553 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54556         function returns with a NULL context exit with zero.
54558 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54560         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54562 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54564         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54565         (run_program_cmd): This.
54566         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54567         (tst_langinfo): New variable.  Use it.
54569 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54571         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54572         floating point opcodes.
54574 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54576         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54577         variable.
54579         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54581         * sysdeps/mach/hurd/powerpc: Remove directory.
54582         * sysdeps/mach/powerpc: Likewise.
54584 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54586         * scripts/check-local-headers.sh: Ignore c++ headers.
54588 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54590         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54591         __libc_cleanup_region_start argument.
54593 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54595         [BZ #14784]
54596         [BZ #14785]
54597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54598         x * y using scaling, not as x * y + z.
54599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54600         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54601         * math/libm-test.inc (fma_test): Add more tests.
54602         (fma_test_towardzero): Likewise.
54603         (fma_test_downward): Likewise.
54604         (fma_test_upward): Likewise.
54606 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54608         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54610 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54612         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54613         New variable.
54615 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54617         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54619 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54622         Fix sort order.
54623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54624         Likewise.
54626 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54629         Fix the order of the list for glibc 2.17.
54630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54631         Likewise.
54633 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54637 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54639         [BZ #14610]
54640         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54641         for low part of x being zero before using __atanl (y).
54642         * math/libm-test.inc (atan2_test): Add another test.
54644         * manual/install.texi (Configuring and compiling): Document
54645         general use of test-wrapper and test-wrapper-env.
54646         * INSTALL: Regenerated.
54648         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54649         (__fma): Do not extract and scale down low bits on after-rounding
54650         systems when result rounded to normal precision would have normal
54651         exponent.
54652         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54653         (__fmal): Do not extract and scale down low bits on after-rounding
54654         systems when result rounded to normal precision would have normal
54655         exponent.
54656         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54657         (__fmal): Do not extract and scale down low bits on after-rounding
54658         systems when result rounded to normal precision would have normal
54659         exponent.
54660         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54661         macro.
54662         (fma_test): Add more tests.
54663         (fma_test_towardzero): Likewise.
54664         (fma_test_downward): Likewise.
54665         (fma_test_upward): Likewise.
54667 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54669         * sysdeps/i386/tininess.h: Renamed to ...
54670         * sysdeps/x86/tininess.h: This.
54671         * sysdeps/x86_64/tininess.h: Removed.
54673 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54675         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54676         input.  Use $(build-program-cmd).
54677         ($(objpfx)tst-array1-static.out): Likewise.
54678         ($(objpfx)tst-array2.out): Likewise.
54679         ($(objpfx)tst-array3.out): Likewise.
54680         ($(objpfx)tst-array4.out): Likewise.
54681         ($(objpfx)tst-array5.out): Likewise.
54682         ($(objpfx)tst-array5-static.out): Likewise.
54684 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54686         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54687         if defined.
54689         * nss/nsswitch.h (nss_interface_function): Provide new
54690         macro for use with NSS functions.
54691         * grp/initgroups.c: Use new macro.
54692         * nss/getXXbyYY.c: Likewise.
54693         * nss/getXXbyYY_r.c: Likewise.
54694         * nss/getXXent.c: Likewise.
54695         * nss/getXXent_r.c: Likewise.
54696         * sysdeps/posix/getaddrinfo.c: Likewise.
54698 2012-10-30  Andreas Jaeger  <aj@suse.de>
54700         * po/ru.po: Update Russion translation from translation project.
54702 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54704         [BZ #14152]
54705         [BZ #14783]
54706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54707         result and shift together with sticky bit instead of replicating
54708         round-to-nearest rounding.
54709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54711         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54712         missing underflow exceptions.
54713         (fma_test_towardzero): Add more tests.
54714         (fma_test_downward): Likewise.
54715         (fma_test_upward): Likewise.
54717         [BZ #14047]
54718         * sysdeps/generic/tininess.h: New file.
54719         * sysdeps/i386/tininess.h: Likewise.
54720         * sysdeps/sh/tininess.h: Likewise.
54721         * sysdeps/x86_64/tininess.h: Likewise.
54722         * stdlib/tst-strtod-underflow.c: Likewise.
54723         * stdlib/tst-tininess.c: Likewise.
54724         * stdlib/strtod_l.c: Include <tininess.h>.
54725         (round_and_return): Do not set errno for exact underflow cases.
54726         Force an underflow exception when setting errno for underflow.
54727         Determine underflow based on rounding to normal precision if
54728         TININESS_AFTER_ROUNDING.
54729         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54730         ERANGE for exact underflow cases.
54731         * stdlib/Makefile (tests): Add tst-tininess and
54732         tst-strtod-underflow.
54733         ($(objpfx)tst-tininess): Use $(link-libm).
54734         ($(objpfx)tst-strtod-underflow): Likewise.
54736 2012-10-30  Andreas Jaeger  <aj@suse.de>
54738         [BZ#14767]
54739         * elf/Makefile (tests): Remove conditional for have-initfini-array
54740         since this is now always required and the variable does not exist
54741         anymore.
54742         (tests-static): Likewise.
54743         (modules-names): Likewise.
54745         * po/eo.po: Add Esperanto translation from translation project.
54747         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54748         merged with constructor/destructor.
54749         (init_array): Likewise.
54750         * elf/tst-array2dep.c (fini_array): Likewise.
54751         (init_array): Likewise.
54753 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54755         * manual/message.texi: Delete @cartouche tags.
54757 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54759         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54760         EOPNOTSUPP.
54761         * sysdeps/mach/hurd/fsync.c: Likewise.
54763         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54764         [_POSIX_REALTIME_SIGNALS]: Change condition to
54765         [_POSIX_REALTIME_SIGNALS > 0].
54767 2012-10-27  Andreas Jaeger  <aj@suse.de>
54769         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54770         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54772         [__WORDSIZE != 64]: Likewise.
54774 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54776         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54777         *  iconvdata/tst-tables.sh: Likewise.
54779 2012-10-25  David S. Miller  <davem@davemloft.net>
54781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54782         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54783         of strtoull.
54785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54786         ifunc-impl-list.c
54787         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54788         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54789         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54790         file.
54792 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54794         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54795         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54796         __getdirentries.
54798 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54799             Jim Blandy  <jimb@codesourcery.com>
54801         * scripts/cross-test-ssh.sh: New file.
54802         * manual/install.texi (Configuring and compiling): Document use of
54803         cross-test-ssh.sh.
54804         * INSTALL: Regenerated.
54806 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54808         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54809         EOPNOTSUPP.
54811 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54813         * Makeconfig (run-program-prefix): Fix comment.
54815 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54816             Jim Blandy  <jimb@codesourcery.com>
54818         * Makeconfig (test-wrapper): New variable,
54819         (test-wrapper-env): Likewise.
54820         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54821         (run-built-tests): Define to yes.
54822         (run-program-prefix): Use $(test-wrapper).
54823         (built-program-cmd): Likewise.
54824         * Rules (make-test-out): Use $(test-wrapper-env) and
54825         $(host-built-program-cmd).
54826         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54827         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54828         tst-pathopt.sh.
54829         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54830         $(test-wrapper-env) to tst-rtld-load-self.sh.
54831         ($(objpfx)order2.out): Use $(test-wrapper).
54832         ($(objpfx)tst-initorder.out): Likewise.
54833         ($(objpfx)tst-initorder2.out): Likewise.
54834         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54835         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54836         (test_wrapper_env): New variable.  Use it to run ld.so.
54837         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54838         Use it to run ld.so.
54839         (test_wrapper_env): Likewise.
54840         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54841         $(test-wrapper) to run-iconv-test.sh.
54842         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54843         (ICONV): Use $test_wrapper.
54844         * posix/Makefile ($(objpfx)globtest.out): Pass
54845         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54846         globtest.sh, not $(run-program-prefix).
54847         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54848         (test_wrapper): Likewise.
54849         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54850         set together with run_via_rtld_prefix.
54851         (run_program_prefix): Define in terms of test_wrapper and
54852         run_via_rtld_prefix.
54854 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54856         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54857         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54858         Targets removed.
54860         [BZ #14743]
54861         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54862         Declare __clock_getres, __clock_gettime, __clock_settime,
54863         __clock_nanosleep, and __clock_getcpuclockid.
54864         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54865         Remove librt_hidden_def (clock_gettime).
54866         * sysdeps/unix/clock_gettime.c: Likewise.
54867         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54868         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54869         * rt/clock_getres.c: Define __clock_getres as an alias.
54870         * sysdeps/posix/clock_getres.c: Likewise.
54871         * rt/clock_settime.c: Define __clock_settime as an alias.
54872         * sysdeps/unix/clock_settime.c: Likewise.
54873         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54874         * sysdeps/unix/clock_nanosleep.c: Likewise.
54875         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54876         * rt/clock-compat.c: New file.
54877         * rt/Makefile (librt-routines): Add clock-compat and move
54878         $(clock-routines) to ...
54879         (routines): ... here, new variable.
54880         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54881         Don't add get_clockfreq here.
54882         * rt/Versions (libc: GLIBC_2.17): New version set.
54883         Add clock_* symbols here.
54884         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54885         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54886         (GLIBC_2.17): Add clock_* symbols.
54887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54891         Likewise.
54892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54893         Likewise.
54894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54898         * NEWS: Mention the move.
54900         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54901         Use __open, __read, __close rather than their public counterparts.
54902         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54903         (__get_clockfreq_via_cpuinfo): Likewise.
54904         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54905         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54907         * config.h.in (HAVE_IFUNC): New #undef.
54908         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54909         was successful.
54910         * configure: Regenerated.
54912 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54914         * configure.in: Move READELF check to start of file.
54915         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54916         libc_cv_asm_gnu_indirect_function in the process.
54917         * configure: Regenerated.
54919 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54921         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54922         send the output to /dev/null.
54923         (libc_cv_cc_with_libunwind): Likewise.
54924         (libc_cv_as_noexecstack): Likewise.
54925         * configure: Regenerate.
54927 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54929         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54931         * posix/globtest.sh (TMPDIR): Do not set.
54932         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54933         (testout): Likewise.
54935 2012-10-24  Andreas Jaeger  <aj@suse.de>
54937         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54938         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54939         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54940         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54941         posix_fadvise64, posix_fallocate64.
54943         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54944         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54945         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54946         Likewise.
54947         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54948         Likewise.
54949         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54951         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54952         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54953         <bits/fcntl-linux.h>.
54954         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54957         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54958         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54959         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54960         [__WORDSIZE != 64]: Likewise.
54962 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54964         * Makeconfig (run-built-tests): New variable.
54965         * Rules [$(cross-compiling) = yes]: Change condition to
54966         [$(run-built-tests) = no].
54967         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54968         to [$(run-built-tests) = yes].
54969         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54970         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54971         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54972         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54973         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54974         * io/Makefile [$(cross-compiling) = no]: Likewise.
54975         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54976         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54977         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54978         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54979         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54980         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54981         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54982         * string/Makefile [$(cross-compiling) = no]: Likewise.
54984         * posix/Makefile ($(objpfx)globtest.out): Pass
54985         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54986         $(rtld-installed-name).
54987         * posix/globtest.sh (elf_objpfx): Remove variable.
54988         (rtld_installed_name): Likewise.
54989         (library_path): Likewise.
54990         (run_program_prefix): New variable.  Use for running globtest
54991         binary.
54993 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54994             Joseph Myers  <joseph@codesourcery.com>
54996         * Makeconfig (host-built-program-cmd): New variable.
54997         * elf/Makefile (tst-stackguard1-ARGS): Use
54998         $(host-built-program-cmd).
54999         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55000         (tst-spawn-ARGS): Likewise.
55001         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55003 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55004             Jim Blandy  <jimb@codesourcery.com>
55006         * Makeconfig (run-via-rtld-prefix): New variable.
55007         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55008         (built-program-cmd): Likewise.
55010 2012-10-22  Andreas Jaeger  <aj@suse.de>
55012         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55013         __O_RSYNC if it exists, otherwise to O_SYNC.
55015 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55016             Joseph Myers  <joseph@codesourcery.com>
55018         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55019         /dev/null.
55020         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55021         from /dev/null
55022         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55023         /dev/null.
55025 2012-10-22  Andreas Jaeger  <aj@suse.de>
55027         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55028         Define always.
55029         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55032         bits/fcntl-linux.h.
55034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55035         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55038         to __O_LARGEFILE.
55039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55040         to __O_LARGEFILE.
55042 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55043             Joseph Myers  <joseph@codesourcery.com>
55045         * config.make.in (NM): New variable.
55047 2012-10-21  Andreas Jaeger  <aj@suse.de>
55049         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55050         definitions and declarations that are provided by
55051         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55053 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55055         [BZ #14683]
55056         * elf/Makefile (tests-static): Add tst-leaks1-static.
55057         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55058         ($(objpfx)tst-leaks1-static): New rule.
55059         ($(objpfx)tst-leaks1-static-mem): Likewise.
55060         (tst-leaks1-static-ENV): New macro.
55061         * elf/dl-open.c (dl_open_worker): Check the main application
55062         only if SHARED is defined.
55063         * elf/tst-leaks1-static.c: New file.
55065 2012-10-20  Andreas Jaeger  <aj@suse.de>
55067         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55068         generic values for Linux.
55069         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55070         and declarations that are provided by <bits/fcntl-linux.h> and
55071         include <bits/fcntl-linux.h>.
55072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55075 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55077         * io/fcntl.h: Move include of <bits/types.h> to the top and
55078         include it unconditionally.
55080 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55082         * wcsmbs/Makefile (tests-ifunc): New variable.
55083         (tests): Add $(tests-ifunc).
55084         * wcsmbs/test-wcschr-ifunc.c: New file.
55085         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55086         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55087         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55088         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55089         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55091         * string/Makefile (tests-ifunc): New variable.
55092         (tests): Add $(tests-ifunc).
55093         * string/test-memccpy.c (TEST_NAME): New macro.
55094         * string/test-memchr.c (TEST_NAME): Likewise.
55095         * string/test-memcmp.c (TEST_NAME): Likewise.
55096         * string/test-memcpy.c (TEST_NAME): Likewise.
55097         * string/test-memmem.c (TEST_NAME): Likewise.
55098         * string/test-memmove.c (TEST_NAME): Likewise.
55099         * string/test-memset.c (TEST_NAME): Likewise.
55100         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55101         * string/test-stpcpy.c (TEST_NAME): Likewise.
55102         * string/test-stpncpy.c (TEST_NAME): Likewise.
55103         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55104         * string/test-strcasestr.c (TEST_NAME): Likewise.
55105         * string/test-strcat.c (TEST_NAME): Likewise.
55106         * string/test-strchr.c (TEST_NAME): Likewise.
55107         * string/test-strcmp.c(TEST_NAME): Likewise.
55108         * string/test-strcpy.c (TEST_NAME): Likewise.
55109         * string/test-strcspn.c (TEST_NAME): Likewise.
55110         * string/test-strlen.c (TEST_NAME): Likewise.
55111         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55112         * string/test-strncmp.c (TEST_NAME): Likewise.
55113         * string/test-strncpy.c (TEST_NAME): Likewise.
55114         * string/test-strnlen.c (TEST_NAME): Likewise.
55115         * string/test-strpbrk.c (TEST_NAME): Likewise.
55116         * string/test-strrchr.c (TEST_NAME): Likewise.
55117         * string/test-strspn.c (TEST_NAME): Likewise.
55118         * string/test-strstr.c (TEST_NAME): Likewise.
55119         * string/test-bcopy-ifunc.c: New file.
55120         * string/test-bzero-ifunc.c: Likewise.
55121         * string/test-memccpy-ifunc.c: Likewise.
55122         * string/test-memchr-ifunc.c: Likewise.
55123         * string/test-memcmp-ifunc.c: Likewise.
55124         * string/test-memcpy-ifunc.c: Likewise.
55125         * string/test-memmem-ifunc.c: Likewise.
55126         * string/test-memmove-ifunc.c: Likewise.
55127         * string/test-mempcpy-ifunc.c: Likewise.
55128         * string/test-memset-ifunc.c: Likewise.
55129         * string/test-rawmemchr-ifunc.c: Likewise.
55130         * string/test-stpcpy-ifunc.c: Likewise.
55131         * string/test-stpncpy-ifunc.c: Likewise.
55132         * string/test-strcasecmp-ifunc.c: Likewise.
55133         * string/test-strcasestr-ifunc.c: Likewise.
55134         * string/test-strcat-ifunc.c: Likewise.
55135         * string/test-strchr-ifunc.c: Likewise.
55136         * string/test-strchrnul-ifunc.c: Likewise.
55137         * string/test-strcmp-ifunc.c: Likewise.
55138         * string/test-strcpy-ifunc.c: Likewise.
55139         * string/test-strcspn-ifunc.c: Likewise.
55140         * string/test-strlen-ifunc.c: Likewise.
55141         * string/test-strncasecmp-ifunc.c: Likewise.
55142         * string/test-strncat-ifunc.c: Likewise.
55143         * string/test-strncmp-ifunc.c: Likewise.
55144         * string/test-strncpy-ifunc.c: Likewise.
55145         * string/test-strnlen-ifunc.c: Likewise.
55146         * string/test-strpbrk-ifunc.c: Likewise.
55147         * string/test-strrchr-ifunc.c: Likewise.
55148         * string/test-strspn-ifunc.c: Likewise.
55149         * string/test-strstr-ifunc.c: Likewise.
55151         * debug/Makefile (tests-ifunc): New variable.
55152         (tests): Add $(tests-ifunc).
55153         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55154         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55155         * debug/test-stpcpy_chk-ifunc.c: New file.
55156         * debug/test-strcpy_chk-ifunc.c: Likewise.
55158 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55160         [BZ #13601]
55161         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55162         header is not read in.
55164 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55166         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55167         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55168         directly.  Pass built executable to script as
55169         $(built-program-cmd).
55170         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55171         $testprogram without using LD_LIBRARY_PATH and $ldso.
55173         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55174         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55175         $(rtld-installed-name).
55176         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55177         (rtld_installed_name): Likewise.
55178         (library_path): Likewise.
55179         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55180         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55181         $(run-program-prefix) to tst-tables.sh.
55182         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55183         it to run tst-table-from and tst-table-to.
55184         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55185         Pass it to tst-table.sh.
55186         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55187         $(run-program-prefix) to tst-gettext.sh.
55188         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55189         tst-translit.sh.
55190         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55191         tst-gettext2.sh.
55192         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55193         to run tst-gettext.
55194         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55195         to run tst-gettext2.
55196         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55197         to run tst-translit.
55198         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55199         $(run-program-prefix) to tst-mtrace.sh.
55200         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55201         to run tst-mtrace.
55202         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55203         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55204         $(rtld-installed-name).
55205         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55206         (rtld_installed_name): Likewise.
55207         (run_program_prefix): New variable.  Use it to run wordexp-test.
55209         * Makeconfig (ARCH): Remove all definitions.
55210         (machine): Likewise.
55211         [ARCH]: Remove conditional code.
55212         [!objdir]: Give error.
55213         [!objdir] (objpfx): Remove.
55214         [!objdir] (common-objpfx): Likewise.
55215         [!objdir] (common-objdir): Likewise.
55216         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55217         AC_CONFIG_FILES call.
55218         * configure: Regenerated.
55220         [BZ #13888]
55221         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55222         or TMPDIR.
55223         (testout): Likewise.
55225         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55226         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55227         $(rtld-installed-name).
55228         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55229         (rtld_installed_name): Likwise.
55230         (runit): Remove function.
55231         (run_getconf): New variable,  Use it for running getconf binary.
55233 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55235         [BZ #14716]
55236         * string/test-memmem.c (check_result): New function.
55237         (do_one_test): Use it.
55238         (check1): New function.
55239         (test_main): Use it.
55241 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55243         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55245 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55247         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55248         (_G_LSEEK64): Likewise.
55249         (_G_MMAP64): Likewise.
55250         (_G_FSTAT64): Likewise.
55251         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55252         (_G_LSEEK64): Likewise.
55253         (_G_MMAP64): Likewise.
55254         (_G_FSTAT64): Likewise.
55255         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55256         unconditional.  Call __mmap64 directly.
55257         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55258         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55259         __lseek64 directly.
55260         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55261         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55262         __mmap64 directly.
55263         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55264         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55265         __lseek64 directly.
55266         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55267         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55268         __lseek64 directly.
55269         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55270         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55271         __lseek64 directly.
55272         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55273         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55274         __fxstat64 directly.
55275         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55276         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55277         unconditional.
55278         (freopen64) [!_G_OPEN64]: Remove conditional code.
55279         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55280         unconditional.
55281         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55282         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55283         unconditional.
55284         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55285         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55286         unconditional.
55287         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55288         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55289         unconditional.
55290         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55291         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55292         unconditional.
55293         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55294         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55295         unconditional.
55296         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55297         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55298         unconditional.
55299         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55301 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55303         [BZ #12140]
55304         * manual/memory.texi (Malloc Tunable Parameters): Add note
55305         about free list pointers overwriting some perturb bytes.
55306         Wording suggested by Roland McGrath.
55308 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55310         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55311         (lgamma_test): Likewise.
55312         (tgamma_test): Likewise.
55314 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55316         [BZ #14700]
55317         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55318         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55320 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55322         * NEWS: Mention BZ #14716.
55323         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55324         when removing AVAILABLE1_USES_J macro.
55326 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55328         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55329         (__bswap_64): __uint64_t for unsigned 64-bit int.
55331 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55333         * include/string.h (memmem): Declare libc hidden alias.
55334         * string/memmem.c (memmem): Define libc hidden alias.
55335         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55336         __read, __close instead of open, read, close.
55338 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55340         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55341         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55342         global and hidden.
55343         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55344         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55345         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55346         Likewise.
55347         (__rawmemchr_sse2): Likewise.
55348         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55349         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55350         (__strchr_sse2): Likewise.
55351         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55352         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55353         (__strcasecmp_sse2): Likewise.
55354         (__strncasecmp_sse2): Likewise.
55355         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55356         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55357         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55358         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55359         (__strrchr_sse2): Likewise.
55360         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55361         ifunc-impl-list.c.
55362         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55363         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55364         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55365         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55366         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55368         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55369         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55370         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55371         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55372         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55373         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55374         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55375         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55376         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55377         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55378         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55379         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55380         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55381         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55382         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55383         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55384         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55385         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55386         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55387         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55388         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55389         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55390         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55391         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55393         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55394         global and hidden.
55395         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55396         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55397         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55398         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55399         Likewise.
55400         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55401         Likewise.
55402         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55403         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55404         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55405         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55406         ifunc-impl-list.c.
55407         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55408         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55409         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55410         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55411         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55412         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55413         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55414         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55415         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55416         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55417         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55418         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55419         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55420         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55421         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55422         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55423         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55424         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55425         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55426         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55427         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55428         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55429         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55430         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55431         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55432         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55433         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55434         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55435         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55436         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55437         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55438         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55439         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55440         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55441         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55442         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55443         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55444         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55445         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55446         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55447         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55449         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55450         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55451         * include/ifunc-impl-list.h: New file.
55452         * misc/ifunc-impl-list.c: Likewise.
55453         * misc/Makefile (routines): Add ifunc-impl-list.
55454         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55455         * string/test-string.h: Include <ifunc-impl-list.h>.
55456         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55457         TEST_NAME]: New variables.
55458         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55459         are defined.
55460         (test_init): Call __libc_ifunc_impl_list to initialize
55461         func_list if TEST_IFUNC and TEST_NAME are defined.
55463         * string/Makefile (strop-tests): Add bcopy and bzero.
55464         * string/test-bcopy.c: New file.
55465         * string/test-bzero.c: Likewise.
55466         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55467         defined.
55468         * string/test-memset.c: Support bzero test if TEST_BZERO is
55469         defined.
55470         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55471         __libc_memmove.
55472         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55473         __libc_memset.
55474         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55475         of memset.
55477 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55479         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55480         * configure: Regenerated.
55482         * Makeconfig (+link-static-before-libc): Don't include
55483         $(link-static-libc).
55485         * libio/libio.h (_IO_pos_t): Remove.
55487 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55489         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55490         McGrath.
55492 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55494         * crypt/crypt-entry.c: Include fips-private.h.
55495         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55496         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55497         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55498         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55500 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55502         * crypt/crypt-private.h: Include stdbool.h.
55503         (_ufc_setup_salt_r): Return bool.
55504         * crypt/crypt-entry.c: Include errno.h.
55505         (__crypt_r): Return NULL with EINVAL for bad salt.
55506         * crypt/crypt_util.c (bad_for_salt): New.
55507         (_ufc_setup_salt_r): Check that salt is long enough and within
55508         the specified alphabet.
55509         * crypt/badsalttest.c: New file.
55510         * crypt/Makefile (tests): Add it.
55511         ($(objpfx)badsalttest): New.
55513 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55515         * NEWS: Add entry for BZ #14602.
55517 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55519         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55520         type-generic.
55521         * math/libm-test.inc: Update comment listing what functions and
55522         macros are tested.
55523         (isgreater_test): New function.
55524         (isgreaterequal_test): Likewise.
55525         (isless_test): Likewise.
55526         (islessequal_test): Likewise.
55527         (islessgreater_test): Likewise.
55528         (isunordered_test): Likewise.
55529         (main): Call the new functions.
55531 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55533         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55534         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55535         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55536         * sysdeps/i386/configure: Regenerated.
55537         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55538         * sysdeps/mach/configure: Regenerated.
55539         * sysdeps/mach/hurd/configure: Regenerated.
55540         * sysdeps/powerpc/configure: Regenerated.
55541         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55542         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55543         * sysdeps/s390/s390-32/configure: Regenerated.
55544         * sysdeps/s390/s390-64/configure: Regenerated.
55545         * sysdeps/sh/configure: Regenerated.
55546         * sysdeps/sparc/configure: Regenerated.
55547         * sysdeps/unix/sysv/linux/configure: Regenerated.
55548         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55549         * sysdeps/x86_64/configure: Regenerated.
55551         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55552         defined.  Don't check if MAP is NULL.
55554 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55556         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55557         (_G_stat64): Likewise.
55558         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55559         (_G_stat64): Likewise.
55560         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55561         instead of struct _G_stat64.
55562         * libio/fileops.c (mmap_remap_check): Likewise.
55563         (decide_maybe_mmap): Likewise.
55564         (_IO_new_file_seekoff): Likewise.
55565         (_IO_file_stat): Likewise.
55566         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55567         _G_off64_t.
55568         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55569         instead of struct _G_stat64.
55570         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55572 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55574         [BZ #14602]
55575         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55576         Replace with ...
55577         (CHECK_EOL): New macro.
55578         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55579         CHECK_EOL.
55580         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55581         Replace with CHECK_EOL.
55582         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55583         Replace with CHECK_EOL.
55585 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55587         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55588         type-generic.
55589         * math/libm-test.inc: Update comment listing what functions and
55590         macros are tested.
55591         (finite_test): New function.
55592         (isinf_test): Likewise.
55593         (isnan_test): Likewise.
55594         (fpclassify_test): Test subnormal input.
55595         (isfinite_test): Likewise.
55596         (isnormal_test): Likewise.
55597         (main): Call the new functions.
55599 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55601         [BZ #14660]
55602         * Makerules (%.dynsym): Force C locale when running
55603         $(OBJDUMP) --dynamic-syms.
55605 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55607         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55608         <stdint.h>.
55610 2012-10-06  David S. Miller  <davem@davemloft.net>
55612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55613         upper 32-bits of the length value in %o2 since we use branch-on-register
55614         tests which consider the entire 64-bit register.
55616 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55618         * string/test-strstr.c (check2): Add a test for page boundary.
55620 2012-10-05  David S. Miller  <davem@davemloft.net>
55622         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55623         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55624         file.
55625         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55626         sysdep_routines.
55627         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55628         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55629         and bzero when HWCAP_SPARC_CRYPTO is present.
55631 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55633         [BZ #14602]
55634         * string/test-strstr.c (check2): New function.
55635         (test_main): Call check2.
55637         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55638         and bug-strchr1.
55639         * string/bug-strcasestr1.c (do_test): Moved to ...
55640         * string/test-strcasestr.c (check1): Here.  New function.
55641         (do_one_test): Break out result checking code into ...
55642         (check_result): This.  New function.
55643         (do_one_test): Call check_result.
55644         (test_main): Call check1.
55645         * string/bug-strchr1.c (do_test): Moved to ...
55646         * string/test-strchr.c (check1): Here.  New function.
55647         (do_one_test): Break out result checking code into ...
55648         (check_result): This.  New function.
55649         (do_one_test): Call check_result.
55650         (test_main): Call check1.
55651         * string/bug-strstr1.c (main): Moved to ...
55652         * string/test-strstr.c (check1): Here.  New function.
55653         (do_one_test): Break out result checking code into ...
55654         (check_result): This.  New function.
55655         (do_one_test): Call check_result.
55656         (test_main): Call check1.
55657         * string/bug-strcasestr1.c: Removed.
55658         * string/bug-strchr1.c: Likewise.
55659         * string/bug-strstr1.c: Likewise.
55661         * elf/Makefile (dl-routines): Add hwcaps.
55662         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55663         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55664         (_dl_important_hwcaps): Moved to ...
55665         * elf/dl-hwcaps.c: Here.  New file.
55666         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55668         [BZ #14557]
55669         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55670         if IS_IN_rtld isn't defined.
55672         * elf/dl-support.c (_dl_sysinfo_map): New.
55673         Include "get-dynamic-info.h" and "setup-vdso.h".
55674         (_dl_non_dynamic_init): Call setup_vdso.
55675         * elf/dynamic-link.h: Don't include <assert.h>.
55676         (elf_get_dynamic_info): Moved to ...
55677         * elf/get-dynamic-info.h: Here.  New file.
55678         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55679         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55680         * elf/setup-vdso.h: Here.  New file.
55681         * elf/rtld.c: Include "setup-vdso.h".
55682         (dl_main): Call setup_vdso.
55684 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55686         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55687         creal in comment listing functions tested.  List finite, isinf,
55688         isnan, isless, islessequal, isgreater, isgreaterequal,
55689         islessgreater, isunordered, lgamma_r and pow10 as functions and
55690         macros not tested.  Mention which functions not tested are aliases
55691         for other functions.  Fix typo.  Note that signs of NaNs are not
55692         tested.
55694         * scripts/config.guess: Update from config.git.
55695         * scripts/config.sub: Likewise.
55697 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55699         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55700         * misc/madvise.c (madvise): Renamed to __madvise.
55701         Make madvise a weak alias.
55702         * include/sys/mman.h: Declare __madvise.
55703         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55704         * sysdeps/unix/syscalls.list
55705         (madvise): Make __madvise the strong name, and madvise a weak alias.
55706         * sysdeps/unix/sysv/linux/syscalls.list
55707         (madvise, mmap): Remove redundant entries.
55708         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55709         * malloc/malloc.c (mtrim): Likewise.
55710         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55712 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55714         * sysdeps/mach/hurd/dl-cache.c: File removed.
55715         * config.h.in (USE_LDCONFIG): New #undef.
55716         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55717         * configure: Regenerated.
55718         * elf/Makefile (dl-routines): Add dl-cache only under
55719         [$(use-ldconfig) = yes].
55720         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55721         cache on [USE_LDCONFIG].
55722         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55723         [USE_LDCONFIG].
55724         * elf/rtld.c (dl_main): Likewise.
55726 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55728         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55729         _SC_LEVEL4_CACHE_LINESIZE.
55731 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55733         * sysdeps/unix/bsd/confstr.h: File removed.
55735 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55737         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55738         sys/sdt-config.h.
55740 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55742         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55743         Make 'mapoff' field ElfW(Off) rather than off_t.
55745 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55747         * nscd/Makefile: Remove nscd-cflags and all its users.
55748         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55749         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55751         [BZ #10631]
55752         * malloc.c (malloc_printerr): Clarify error message.
55754 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55756         [BZ #14648]
55757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55758         Set bit_FMA_Usable if FMA is supported.
55759         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55760         macro.
55761         (bit_FMA4_Usable): Updated.
55762         (index_FMA_Usable): New macro.
55763         (CPUID_FMA): Likewise.
55764         (HAS_FMA): Defined with bit_FMA_Usable.
55766 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55768         * bits/types.h (__swblk_t): Type removed.
55769         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55770         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55772         (__SWBLK_T_TYPE): Likewise.
55773         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55774         (__SWBLK_T_TYPE): Likewise.
55775         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55776         (__SWBLK_T_TYPE): Likewise.
55777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55778         (__SWBLK_T_TYPE): Likewise.
55780 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55781             Honza Horak <hhorak@redhat.com>
55783         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55784         (xdr_mapname): Use YPMAXMAP as maxsize.
55785         (xdr_peername): Use YPMAXPEER as maxsize.
55786         (xdr_keydat): Use YPAXRECORD as maxsize.
55787         (xdr_valdat): Use YPMAXRECORD as maxsize.
55789 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55791         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55793         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55794         * csu/init-first.c: ... here.
55795         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55796         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55797         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55798         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55799         * sysdeps/i386/init-first.c: File removed.
55800         * sysdeps/sh/init-first.c: File removed.
55802 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55804         [BZ #14645]
55805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55806         if x * y might underflow to zero and z is zero.
55807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55808         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55809         * math/libm-test.inc (min_subnorm_value): New variable.
55810         (fma_test): Add more tests.
55811         (fma_test_towardzero): Likewise.
55812         (fma_test_downward): Likewise.
55813         (fma_test_upward): Likewise.
55814         (initialize): Set min_subnorm_value.
55816 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55818         [BZ #14638]
55819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55820         0 + 0.
55821         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55822         mode for addition resulting in exact zero.
55823         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55824         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55825         exact 0 + 0.
55826         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55828         * math/libm-test.inc (fma_test): Add more tests.
55829         (fma_test_towardzero): New function.
55830         (fma_test_downward): Likewise.
55831         (fma_test_upward): Likewise.
55832         (main): Call the new functions.
55834 2012-09-28  David S. Miller  <davem@davemloft.net>
55836         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55838 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55840         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55841         instead of SIGALRM.
55843         * sysdeps/gnu/_G_config.h: Moved to ...
55844         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55845         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55846         * sysdeps/generic/_G_config.h: ... here.
55848         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55850         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55852         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55853         Conditionalize target on [libnss_test1.so-version].
55855         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55857         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55858         (elfobjdir): Move out of conditionals.
55860         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55861         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55862         (__nss_lookup_function): Conditionalize label remove_from_tree on
55863         [!DO_STATIC_NSS || SHARED], matching its only use.
55865 2012-09-28  David S. Miller  <davem@davemloft.net>
55867         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55868         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55869         file.
55870         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55871         sysdep_routines.
55872         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55873         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55874         when HWCAP_SPARC_CRYPTO is present.
55876 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55878         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55880 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55882         [BZ #6530]
55883         * stdio-common/vfprintf.c (process_string_arg): Revert
55884         2000-07-22 change.
55886 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55888         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55889         for testcase.
55890         * stdio-common/tst-sprintf.c: Include <locale.h>
55891         (main): Test sprintf's handling of incomplete multibyte
55892         characters.
55894 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55896         * elf/dl-runtime.c (VERSYMIDX): Removed.
55897         * elf/dl-version.c (VERSYMIDX): Likewise.
55898         * elf/do-rel.h (VERSYMIDX): Likewise.
55899         (VALIDX): Likewise.
55900         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55901         * elf/rtld.c (VALIDX): Likewise.
55902         (ADDRIDX): Likewise.
55903         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55904         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55905         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55906         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55907         (VALIDX): Likewise.
55908         (ADDRIDX): Likewise.
55910 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55912         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55914 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55916         [BZ #11438]
55917         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55918         to global scope.
55919         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55920         addresses are in the same scope as 192.0.2/24.
55921         * posix/gai.conf: Document new scope table defaults.
55923 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55925         [BZ #5298]
55926         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55927         for ftell.  Compute offsets from write pointers instead.
55928         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55930 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55932         [BZ #14543]
55933         * libio/Makefile (tests): New test case tst-fseek.
55934         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55935         combination works in wide mode.
55936         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55937         state when the external buffer state changes.
55939 2012-09-27  David S. Miller  <davem@davemloft.net>
55941         [BZ #14376]
55942         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55943         pass reloc->r_addend in as the 'high' argument to
55944         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55948 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55950         * rt/tst-aio2.c: Include <pthread.h>.
55951         * rt/tst-aio3.c: Likewise.
55953 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55955         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55957 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55959         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55960         contents on [SHARED].
55962 2012-09-26  Marek Polacek  <polacek@redhat.com>
55964         [BZ #14530]
55965         [BZ #13741]
55966         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55967         for C++ and GCC <4.3 as well as for non GCC compilers.
55969 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55973 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55975         * Makefile.in (all, install): Declare with .PHONY.
55976         Reported by Michael Hope <michael.hope@linaro.org>.
55978 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55980         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55981         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55982         system header.
55983         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55984         Likewise.
55985         (sydep_routines): Add the new and the internal functions.
55986         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55987         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55989         (GLIBC_2.17): Add the new function.
55990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55991         (GLIBC_2.17): Likewise.
55992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55993         (GLIBC_2.17): Likewise.
55994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55995         (GLIBC_2.17): Likewise.
55996         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55998 2012-09-25  Alan Modra  <amodra@gmail.com>
56000         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56001         Add release barrier before setting once_control to say
56002         initialisation is done.  Add hints on lwarx.  Use macro in
56003         place of isync.
56004         (clear_once_control): Add release barrier.
56006 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56008         [BZ #13629]
56009         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56010         specially.
56011         * math/s_clog10.c (__clog10): Likewise.
56012         * math/s_clog10f.c (__clog10f): Likewise.
56013         * math/s_clog10l.c (__clog10l): Likewise.
56014         * math/s_clogf.c (__clogf): Likewise.
56015         * math/s_clogl.c (__clogl): Likewise.
56016         * math/Makefile (libm-calls): Add x2y2m1.
56017         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56018         (__x2y2m1): Likewise.
56019         (__x2y2m1l): Likewise.
56020         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56021         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56022         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56023         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56024         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56025         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56026         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56027         * sysdeps/i386/fpu/libm-test-ulps: Update.
56028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56030         [BZ #14621]
56031         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56032         int as type of variable DEPTH.
56033         (glob): Use size_t instead of int as type of variables NEWCOUNT
56034         and OLD_PATHC.
56036 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56038         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56039         Add s_sincosf-sse2.
56040         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56041         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56042         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56043         macros for using routine as __sincosf_ia32.
56044         Use macro for function declaration and weak_alias.
56045         * sysdeps/i386/fpu/libm-test-ulps: Update.
56047         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56050         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56051         subnormal argument.
56052         * math/s_cexpf.c (__cexpf): Likewise.
56053         * math/s_csinf.c (__csinf): Likewise.
56054         * math/s_csinhf.c (__csinhf): Likewise.
56055         * math/s_ctanf.c (__ctanf): Likewise.
56056         * math/s_ctanhf.c (__ctanhf): Likewise.
56057         * math/s_ccosh.c (__ccoshf): Likewise.
56058         * math/s_cexp.c (__cexpl): Likewise.
56059         * math/s_csin.c (__csin): Likewise.
56060         * math/s_csinh.c (__csinh): Likewise.
56061         * math/s_ctan.c (__ctan): Likewise.
56062         * math/s_ctanh.c (ctanh): Likewise.
56063         * math/s_ccoshl.c (__ccoshl): Likewise.
56064         * math/s_cexpl.c (__cexpl): Likewise.
56065         * math/s_csinl.c (__csinl): Likewise.
56066         * math/s_csinhl.c (__csinhl): Likewise.
56067         * math/s_ctanl.c (__ctanl): Likewise.
56068         * math/s_ctanhl.c (__ctanhl): Likewise.
56070 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56072         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56073         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56074         (_IO_off_t): Define to __off_t, not _G_off_t.
56075         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56076         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56077         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56078         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56079         type of __dummy and __dummy2 fields.
56080         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56081         (_G_ssize_t): Likewise.
56082         (_G_off_t): Likewise.
56083         (_G_pid_t): Likewise.
56084         (_G_uid_t): Likewise.
56085         (_G_wchar_t): Likewise.
56086         (_G_wint_t): Likewise.
56087         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56088         (_G_ssize_t): Likewise.
56089         (_G_off_t): Likewise.
56090         (_G_pid_t): Likewise.
56091         (_G_uid_t): Likewise.
56092         (_G_wchar_t): Likewise.
56093         (_G_wint_t): Likewise.
56094         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56095         (_G_ssize_t): Likewise.
56096         (_G_off_t): Likewise.
56097         (_G_pid_t): Likewise.
56098         (_G_uid_t): Likewise.
56099         (_G_wchar_t): Likewise.
56100         (_G_wint_t): Likewise.
56102 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56104         * malloc/arena.c: Include malloc-sysdep.h.
56105         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56106         is sufficient to shrink the heap or an unmap is needed.
56107         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56108         new function check_may_shrink_heap.
56109         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56110         new function check_may_shrink_heap.
56112 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56114         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56115         comments.
56117 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56119         * catgets/test-gencat.sh: Add "set -e".
56120         * elf/tst-pathopt.sh: Likewise.
56121         * grp/tst_fgetgrent.sh: Likewise.
56122         * iconvdata/run-iconv-test.sh: Likewise.
56123         * intl/tst-gettext.sh: Likewise.
56124         * intl/tst-gettext2.sh: Likewise.
56125         * intl/tst-gettext4.sh: Likewise.
56126         * intl/tst-gettext6.sh: Likewise.
56127         * intl/tst-translit.sh: Likewise.
56128         * io/ftwtest-sh: Likewise.
56129         * libio/test-freopen.sh: Likewise.
56130         * malloc/tst-mtrace.sh: Likewise.
56131         * posix/globtest.sh: Likewise.
56132         * posix/tst-getconf.sh: Likewise.
56133         * posix/wordexp-tst.sh: Likewise.
56134         * stdio-common/tst-printf.sh: Likewise.
56135         * stdio-common/tst-unbputc.sh: Likewise.
56136         * stdlib/tst-fmtmsg.sh: Likewise.
56137         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56138         * catgets/Makefile: Do not specify -e option when running
56139         testsuite shell scripts.
56140         * elf/Makefile: Likewise.
56141         * grp/Makefile: Likewise.
56142         * iconvdata/Makefile: Likewise.
56143         * intl/Makefile: Likewise.
56144         * io/Makefile: Likewise.
56145         * libio/Makefile: Likewise.
56146         * malloc/Makefile: Likewise.
56147         * posix/Makefile: Likewise.
56148         * stdio-common/Makefile: Likewise.
56149         * stdlib/Makefile: Likewise.
56150         * sysdeps/x86_64/Makefile: Likewise.
56152         * io/ftwtest-sh: Add copyright header.
56153         * posix/globtest.sh: Likewise.
56154         * posix/tst-getconf.sh: Likewise.
56155         * posix/wordexp-tst.sh: Likewise.
56156         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56158 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56160         [BZ #13679]
56161         * Makeconfig (+link): Defined as $(+link-static) if
56162         $(build-shared) isn't yes.
56163         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56164         isn't yes.
56165         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56167         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56169         [BZ #14562]
56170         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56171         new chunk size with MALLOC_ALIGN_MASK.
56173 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56175         [BZ #5044]
56176         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56177         <rounding-mode.h>.
56178         (__printf_fphex): Determine rounding using get_rounding_mode and
56179         round_away.
56180         * stdio-common/tst-printf-round.c (struct hex_test): New
56181         structure.
56182         (hex_tests): New variable.
56183         (test_hex_in_one_mode): New function.
56184         (do_test): Also run tests for hex float output.
56186 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56188         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56189         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56190         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56191         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56192         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56193         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56194         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56195         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56197 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56199         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56200         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56201         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56202         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56204 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56206         [BZ #14579]
56207         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56208         mode only.
56209         * elf/tst-rtld-load-self.sh: New test.
56210         * elf/Makefile: Run it.
56212 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56214         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56215         (tst-writev-ENV): Remove.
56216         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56218 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56220         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56222 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56224         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56225         unconditional.
56226         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56227         Likewise.
56228         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56229         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56230         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56231         Likewise.
56233 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56235         [BZ #14587]
56236         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56237         * config.make.in (have-cpp-asm-debuginfo): Removed.
56238         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56239         * configure: Regenerated.
56241 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56243         [BZ #5044]
56244         * stdio-common/printf_fp.c: Include <stdbool.h> and
56245         <rounding-mode.h>.
56246         (___printf_fp): Determine rounding using get_rounding_mode and
56247         round_away.
56248         * stdio-common/tst-printf-round.c: New file.
56249         * stdio-common/Makefile (tests): Add tst-printf-round.
56250         (link-libm): New variable.
56251         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56253 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56255         [BZ #14576]
56256         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56257         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56258         Likewise.
56259         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56260         Likewise.
56262 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56264         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56265         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56266         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56267         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56269 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56271         [BZ #14518]
56272         * include/rounding-mode.h: New file.
56273         * sysdeps/generic/get-rounding-mode.h: Likewise.
56274         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56275         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56276         (MAX_VALUE): New macro.
56277         (MIN_VALUE): Likewise.
56278         (overflow_value): New function.
56279         (underflow_value): Likewise.
56280         (round_and_return): Use overflow_value and underflow_value to
56281         determine return values in overflow and underflow cases.  Use
56282         round_away to determine rounding depending on rounding mode.
56283         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56284         determine return values in overflow and underflow cases.
56285         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56286         (struct test_results): New structure.
56287         (struct test): Use struct test_results to store expected results
56288         for all rounding modes.
56289         (TEST): Include expected results for all rounding modes.
56290         (test_in_one_mode): New function.
56291         (do_test): Use test_in_one_mode to compute and check results.
56292         Check results for all rounding modes.
56293         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56294         $(link-libm).
56296 2012-12-09  Allan McRae  <allan@archlinux.org>
56298         * sysdeps/i386/fpu/libm-test-ulps: Update
56300 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56302         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56303         (_G_int32_t): Likewise.
56304         (_G_uint16_t): Likewise.
56305         (_G_uint32_t): Likewise.
56306         (_G_HAVE_BOOL): Likewise.
56307         (_G_HAVE_ATEXIT): Likewise.
56308         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56309         (_G_HAVE_IO_FILE_OPEN): Likewise.
56310         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56311         (_G_int32_t): Likewise.
56312         (_G_uint16_t): Likewise.
56313         (_G_uint32_t): Likewise.
56314         (_G_HAVE_BOOL): Likewise.
56315         (_G_HAVE_ATEXIT): Likewise.
56316         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56317         (_G_HAVE_IO_FILE_OPEN): Likewise.
56318         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56319         (_G_int32_t): Likewise.
56320         (_G_uint16_t): Likewise.
56321         (_G_uint32_t): Likewise.
56322         (_G_HAVE_BOOL): Likewise.
56323         (_G_HAVE_ATEXIT): Likewise.
56324         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56325         (_G_HAVE_IO_FILE_OPEN): Likewise.
56327 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56329         * csu/libc-tls.c: Update copyright years.
56331 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56333         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56334         [!_G_USING_THUNKS]: Remove conditional code.
56335         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56336         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56338         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56339         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56340         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56341         (_G_VTABLE_LABEL_PREFIX): Likewise.
56342         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56343         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56344         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56345         (_G_VTABLE_LABEL_PREFIX): Likewise.
56346         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56347         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56348         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56349         (_G_VTABLE_LABEL_PREFIX): Likewise.
56350         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56352 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56354         * libio/Makefile: Include ../Makeconfig before tests.
56355         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56356         only if $(build-shared) is yes.
56358         * iconv/gconv_db.c: Update copyright years.
56360 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56362         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56363         unwind info if defined PIC. Fix special cases description.
56364         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56366         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56367         DP_HI_MASK entry.
56368         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56370 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56372         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56374         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56375         is NULL.
56377         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56378         (LDLIBS-tst-chk4): This.
56379         (LDFLAGS-tst-chk5): Renamed to ...
56380         (LDLIBS-tst-chk5): This.
56381         (LDFLAGS-tst-chk6): Renamed to ...
56382         (LDLIBS-tst-chk6): This.
56383         (LDFLAGS-tst-lfschk4): Renamed to ...
56384         (LDLIBS-tst-lfschk4): This.
56385         (LDFLAGS-tst-lfschk5): Renamed to ...
56386         (LDLIBS-tst-lfschk5): This.
56387         (LDFLAGS-tst-lfschk6): Renamed to ...
56388         (LDLIBS-tst-lfschk6): This.
56390         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56391         on $(common-objpfx)soversions.mk.
56393 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56395         [BZ #10014]
56396         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56397         example host name.
56399 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56401         * malloc/arena.c (arena_get_retry): New function that gets
56402         another arena for the caller to try its request on.
56403         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56404         current arena cannot fulfill the request.
56405         (__libc_memalign): Likewise.
56406         (__libc_memalign): Likewise.
56407         (__libc_pvalloc): Likewise.
56408         (__libc_calloc): Likewise.
56410 2012-09-05  John Tobey  <john.tobey@gmail.com>
56412         [BZ #13542]
56413         * manual/arith.texi (Operations on Complex): Fix description
56414         of carg branch cut.
56416 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56418         [BZ #10014]
56419         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56420         host name.
56422         [BZ #10038]
56423         * manual/memory.texi (Memory): Make order of menu items match
56424         order of sections.
56426 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56428         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56429         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56430         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56432 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56434         * csu/libc-tls.c (static_dtv): Renamed to ...
56435         (_dl_static_dtv): This.  Make it global.
56436         (_dl_initial_dtv): Removed.
56437         (__libc_setup_tls): Updated.
56438         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56439         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56440         DL_INITIAL_DTV.
56442 2012-09-06  Petr Machata  <pmachata@redhat.com>
56444         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56445         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56446         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56447         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56449 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56451         [BZ #14545]
56452         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56453         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56454         freeing dtv[-1].
56456 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56458         [BZ #14544]
56459         * Makeconfig (link-static-before-libc): Replace $(+prector)
56460         with $(+prectorT).
56461         (link-static-after-libc): Replace $(+postctor) with
56462         $(+postctorT).
56463         (link-bounded): Replace $(+prector)/$(+postctor) with
56464         $(+prectorT)/$(+postctorT).
56465         (+prectorT): New macro.
56466         (+postctorT): Likewise.
56468 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56470         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56471         (round_str): Handle values above the maximum for IBM long double
56472         as inexact.
56473         * stdlib/tst-strtod-round.c (tests): Regenerated.
56475 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56477         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56478         assembler flag.
56479         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56480         zarch_nohighgprs around the zarch optimized routines.
56481         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56482         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56483         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56484         for zarch.
56486 2012-09-05  David S. Miller  <davem@davemloft.net>
56488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56490         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56491         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56492         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56493         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56494         entries.
56496 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56498         * malloc/arena.c: Fold copyright years.
56499         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56501 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56503         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56505 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56507         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56509 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56511         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56512         change internal state upon failure.
56514 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56516         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56517         * malloc/memusage.c (mmap): Likewise.
56518         (mmap64, mremap): Likewise.  Adjust name in comment.
56520 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56522         * libio/fileops.c: Fix typos in comments.
56523         * libio/oldfileops.c: Likewise.
56524         * libio/wfileops.c: Likewise.
56526 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56528         [BZ #1349]
56529         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56530         (tst-malloc-usable-ENV): Set environment for test case.
56531         * malloc/hooks.c (malloc_check_get_size): New function to get
56532         requested size.
56533         * malloc/malloc.c (musable): Use malloc_check_get_size.
56534         * malloc/tst-malloc-usable.c: New test case.
56536 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56538         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56540 2012-09-05  Allan McRae  <allan@archlinux.org>
56542         [BZ #13966]
56543         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56544         determine header location.
56545         * configure: Regenerated.
56547 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56549         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56550         float format.
56551         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56552         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56553         format.
56554         (test): Regenerate.
56556 2012-09-04  David S. Miller  <davem@davemloft.net>
56558         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56559         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56560         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56562 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56564         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56565         failures.
56567         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56569 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56571         [BZ #9914]
56572         * libio/iogetdelim.c: Include <limits.h>.
56573         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56574         + len + 1 would overflow.
56576 2012-09-03  Andreas Jaeger  <aj@suse.de>
56578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56579         * sysdeps/i386/fpu/libm-test-ulps: Update.
56581 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56583         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56584         Add s_sinf-sse2, s_conf-sse2.
56586         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56587         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56588         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56589         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56591         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56592         for using routine as __sinf_ia32.
56593         Use macro for function declaration and weak_alias.
56594         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56595         for using routine as __cosf_ia32.
56596         Use macro for function declaration and weak_alias.
56598         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56599         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56601         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56602         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56605         * math/libm-test.inc (cos_test): Add more test cases.
56606         (sin_test): Likewise.
56607         (sincos_test): Likewise.
56609 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56611         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56612         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56613         hidden.
56614         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56616 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56618         [BZ #14538]
56619         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56620         first element of the GOT.
56621         (elf_machine_load_address): Return the difference between
56622         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56624 2012-09-01  Allan McRae  <allan@archlinux.org>
56626         [BZ #13412]
56627         * configure.in (AWK): Require gawk version 3.0 or later.
56628         * configure: Regenerated.
56630 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56632         * sysdeps/unix/sysv/linux/kernel-features.h
56633         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56635         [__NR_clock_getres]: Make code unconditional.
56636         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56637         (clock_getcpuclockid): Remove code left unreachable by removal of
56638         conditionals.
56639         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56640         code unconditional.
56641         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56642         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56643         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56644         Make code unconditional.
56645         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56646         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56647         * sysdeps/unix/sysv/linux/clock_settime.c
56648         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56649         conditional code.
56650         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56651         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56653 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56655         [BZ #14476]
56656         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56657         scripts/test-installation.pl.
56659         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56660         and $ld_so_version if it is set.
56662 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56664         [BZ #14516]
56665         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56666         failure if reading from procfs failed.
56667         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56669 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56671         * sysdeps/unix/sysv/linux/kernel-features.h
56672         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56673         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56674         Remove conditional code.
56675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56676         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56677         Remove conditional code.
56678         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56679         * sysdeps/unix/sysv/linux/i386/fxstat.c
56680         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56681         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56682         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56683         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56684         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56685         * sysdeps/unix/sysv/linux/i386/lxstat.c
56686         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56687         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56688         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56689         Remove conditional code.
56690         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56691         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56692         Remove conditional code.
56693         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56694         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56695         <kernel-features.h>.
56696         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56697         Remove.
56698         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56699         Remove conditional code.
56700         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56701         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56702         Remove conditional.
56704 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56706         [BZ #5400]
56707         * NEWS: Add fixed bug number.
56709 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56711         [BZ #14519]
56712         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56713         underflowing exponent in case of negative sign.
56714         * stdlib/tst-strtod-round-data: Add more tests.
56715         * stdlib/tst-strtod-round.c (tests): Regenerated.
56717         [BZ #3479]
56718         * stdlib/strtod_l.c (NDIG): Remove.
56719         (HEXNDIG): Likewise.
56720         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56721         smallest representable value.
56722         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56723         lie within an exact representation of 1/2 ulp of the result.
56724         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56725         unconditionally.
56726         (TENS_P9_IDX): Define unconditionally.
56727         (TENS_P9_SIZE): Likewise.
56728         (TENS_P10_IDX): Likewise.
56729         (TENS_P10_SIZE): Likewise.
56730         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56731         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56732         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56733         entries for 10^2^13 and 10^2^14.
56734         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56735         (TENS_P13_IDX): Define.
56736         (TENS_P13_SIZE): Likewise.
56737         (TENS_P14_IDX): Likewise.
56738         (TENS_P14_SIZE): Likewise.
56739         (_fpioconst_pow10): Change array size to
56740         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56741         unconditional.
56742         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56743         1024]: Add entries for 10^2^13 and 10^2^14.
56744         [LAST_POW10 > _LAST_POW10]: Remove #error.
56745         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56746         (_fpioconst_pow10): Change array size to
56747         FPIOCONST_POW10_ARRAY_SIZE.
56748         * stdlib/gen-fpioconst.c: New file.
56749         * stdlib/gen-tst-strtod-round.c: Likewise.
56750         * stdlib/tst-strtod-round-data: Likewise.
56751         * stdlib/tst-strtod-round.c: Likewise.
56752         * stdlib/Makefile (tests): Add tst-strtod-round.
56754         [BZ #14459]
56755         * stdlib/strtod_l.c: Include <stdint.h>.
56756         (NDEBUG): Do not define.
56757         (round_and_return): Change EXPONENT parameter to type intmax_t.
56758         Rearrange calculations to avoid internal overflow possibilities.
56759         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56760         Rearrange calculations to avoid internal overflow possibilities.
56761         Assert that number fits inside MPNSIZE limbs.
56762         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56763         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56764         calculations and add assertions to avoid internal overflow
56765         possibilities.  Add casts to avoid signed/unsigned operations.
56766         * stdlib/tst-strtod-overflow.c: New file.
56767         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56769 2012-08-25  Marek Polacek  <polacek@redhat.com>
56771         * time/time.h: Fix some typos in comments.
56773 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56775         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56776         * posix/tst-rfc3484-2.c: Likewise.
56777         * posix/tst-rfc3484-3.c: Likewise.
56779 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56781         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56782         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56784 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56786         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56787         #include of fxstatat64.c.
56789 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56791         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56792         * shadow/getspent_r.c: Likewise.
56793         * shadow/getspnam.c: Likewise.
56794         * shadow/getspnam_r.c: Likewise.
56795         * gshadow/getsgent.c: Likewise.
56796         * gshadow/getsgent_r.c: Likewise.
56797         * gshadow/getsgnam.c: Likewise.
56798         * gshadow/getsgnam_r.c: Likewise.
56799         * inet/getnetbyad.c: Likewise.
56800         * inet/getnetbyad_r.c: Likewise.
56801         * inet/getnetbynm.c: Likewise.
56802         * inet/getnetbynm_r.c: Likewise.
56803         * inet/getnetent.c: Likewise.
56804         * inet/getnetent_r.c: Likewise.
56805         * inet/getproto.c: Likewise.
56806         * inet/getproto_r.c: Likewise.
56807         * inet/getprtent.c: Likewise.
56808         * inet/getprtent_r.c: Likewise.
56809         * inet/getprtname.c: Likewise.
56810         * inet/getprtname_r.c: Likewise.
56811         * inet/getrpcbyname.c: Likewise.
56812         * inet/getrpcbyname_r.c: Likewise.
56813         * inet/getrpcbynumber.c: Likewise.
56814         * inet/getrpcbynumber_r.c: Likewise.
56815         * inet/getrpcent.c: Likewise.
56816         * inet/getrpcent_r.c: Likewise.
56817         * inet/getaliasent.c: Likewise.
56818         * inet/getaliasent_r.c: Likewise.
56819         * inet/getaliasname.c: Likewise.
56820         * inet/getaliasname_r.c: Likewise.
56821         * nscd/getgrgid_r.c: Likewise.
56822         * nscd/getgrnam_r.c: Likewise.
56823         * nscd/gethstbyad_r.c: Likewise.
56824         * nscd/gethstbynm3_r.c: Likewise.
56825         * nscd/getpwnam_r.c: Likewise.
56826         * nscd/getpwuid_r.c: Likewise.
56827         * nscd/getsrvbynm_r.c: Likewise.
56828         * nscd/getsrvbypt_r.c: Likewise.
56829         * nscd/gai.c: Likewise.
56831         * configure.in (build_nscd): New substituted variable, set
56832         by --disable-build-nscd and defaults to $use_nscd.
56833         * configure: Regenerated.
56834         * config.make.in (build-nscd): New substituted variable.
56835         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56836         Change conditional to require [$(build-nscd) = yes] as well.
56837         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56839         [BZ# 13696]
56840         * configure.in (use_nscd): New substituted variable, set by
56841         --disable-nscd.  If enabled, define USE_NSCD.
56842         * configure: Regenerated.
56843         * config.h.in: Add USE_NSCD.
56844         * config.make.in (use-nscd): New substituted variable.
56845         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56846         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56847         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56848         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56849         (CFLAGS-getgrnam_r.c): Likewise.
56850         (CFLAGS-initgroups.c): Likewise.
56851         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56852         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56853         Variables removed.
56854         * inet/getnetgrent_r.c
56855         (nscd_setnetgrent): New function, broken out of ...
56856         (setnetgrent): ... here.  Call it.
56857         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56858         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56859         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56860         * nscd/Makefile (routines, aux): Move definitions after include of
56861         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56862         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56863         Conditionalize on [USE_NSCD].
56864         (is_nscd, nscd_init_cb): Likewise.
56865         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56866         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56867         * nss/nss_db/db-init.c: Likewise.
56868         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56869         [USE_NSCD].
56870         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56871         (make_request): Use it.
56872         (cache_valid_p): New function.
56873         (__check_pf): Use it.
56874         * NEWS: Add item for --disable-nscd.
56876 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56878         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56879         to support sed >= 4.2.1-20-ga9bf076.
56880         * configure: Regenerated.
56882 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56884         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56885         Conditionalize whole body on [IREL].
56887 2012-08-22  Jeff Law <law@redhat.com>
56889         [BZ #14505]
56890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56891         if the family is PF_UNSPEC.
56893 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56895         * Makerules (lib-version): Rename from V.
56896         (install-lib-nosubdir): Change V to lib-version.
56898 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56900         [BZ #14252]
56901         * powerpc32/power6/wcschr.c: New file.
56902         * powerpc32/power6/wcscpy.c: New file.
56903         * powerpc32/power6/wcsrchr.c: New file.
56904         * powerpc64/power6/wcschr.c: New file.
56905         * powerpc64/power6/wcscpy.c: New file.
56906         * powerpc64/power6/wcsrchr.c: New file.
56908 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56910         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56911         (two_way_short_needle): Use it.
56912         * string/strstr.c (AVAILABLE1_USES_J): Define.
56913         * string/strcasestr.c: Likewise.
56915         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56916         array references.
56917         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56919         [BZ #11607]
56920         * NEWS: Add an entry.
56921         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56922         define their defaults.
56923         (two_way_short_needle): Detect end-of-string on-the-fly.
56924         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56925         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56926         * string/bug-strcasestr1.c: New test.
56927         * string/Makefile: Run it.
56929 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56931         [BZ #11607]
56932         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56933         the first character.
56935 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56937         * csu/elf-init.c (__libc_csu_irel): Function removed.
56938         * csu/libc-start.c (apply_irel): New function.
56939         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56941 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56943         * sysdeps/unix/sysv/linux/kernel-features.h
56944         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56945         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56946         <kernel-features.h>.
56947         [__NR_fadvise64_64]: Make code unconditional.
56948         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56949         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56950         !__NR_fadvise64_64)]: Likewise.
56951         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56952         !__NR_fadvise64_64))]: Likewise.
56953         [__NR_fadvise64]: Make code unconditional.
56954         [!__NR_fadvise64]: Remove conditional code.
56955         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56956         <kernel-features.h>.
56957         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56958         unconditional.
56959         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56960         conditional code.
56961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56962         not include <kernel-features.h>.
56963         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56964         unconditional.
56965         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56966         conditional code.
56967         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56968         include <kernel-features.h>.
56969         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56970         unconditional.
56971         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56972         conditional code.
56974 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56976         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56977         slight instruction rearrangements per scrollpipe analysis.
56978         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56980 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56982         * manual/syslog.texi (syslog; vsyslog, closelog):
56983         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56984         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56986         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56987         DSOCAPS to match condition on defining it.
56989 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56991         * sysdeps/unix/sysv/linux/kernel-features.h
56992         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56994         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56995         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56997         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56998         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57000         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57001         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57003         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57004         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57006         * sysdeps/unix/sysv/linux/kernel-features.h
57007         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57008         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57009         unconditional.
57010         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57011         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57012         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57013         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57014         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57015         Make code unconditional.
57016         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57017         (__mmap64) [!__NR_mmap2]: Likewise.
57018         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57019         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57020         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57021         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57022         [__NR_mmap2]: Make code unconditional.
57023         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57024         (__mmap64) [!__NR_mmap2]: Likewise.
57026 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57028         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57030 2012-08-18  Andreas Jaeger  <aj@suse.de>
57032         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57034 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57036         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57037         * include/unistd.h (__have_sock_cloexec): Likewise.
57038         (__have_pipe2): Likewise.
57039         (__have_dup3): Likewise.
57041 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57043         [BZ #9685]
57044         * include/unistd.h (__have_pipe2): Change define into an extern int.
57045         (__have_dup3): Likewise.
57046         * socket/have_sock_cloexec.c: Include fcntl.h.
57047         (__have_pipe2): New variable.
57048         (__have_dup3): Likewise.
57050 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57052         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57054 2012-08-17  Marek Polacek  <polacek@redhat.com>
57056         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57057         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57059 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57061         * configure.in: Add AC_SUBST for sysheaders.
57062         * configure: Regenerated.
57063         * config.make.in (sysheaders): New substituted variable.
57065         * sysdeps/unix/mkfifo.c: Moved ...
57066         * sysdeps/posix/mkfifo.c: ... here.
57067         * sysdeps/unix/mkfifoat.c: Moved ...
57068         * sysdeps/posix/mkfifoat.c: ... here.
57070         * sysdeps/unix/utime.c: Moved ...
57071         * sysdeps/posix/utime.c: ... here.
57073         * sysdeps/unix/time.c: Moved ...
57074         * sysdeps/posix/time.c: ... here.
57075         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57076         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57078         * sysdeps/unix/nice.c: Moved ...
57079         * sysdeps/posix/nice.c: ... here.
57081         * sysdeps/unix/alarm.c: Moved ...
57082         * sysdeps/posix/alarm.c: ... here.
57084         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57086 2012-08-17  Jeff Law <law@redhat.com>
57088         * intl/Makefile (codeset_mo): New variable.
57089         ($(codeset_mo)): New target.
57090         (tst-codeset.out): Depend on that.  Remove explicit rule.
57091         (tst-gettext3.out, tst-gettext5.out): Likewise.
57092         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57093         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57094         * intl/tst-codeset.sh: Remove.
57095         * intl/tst-gettext3.sh: Likewise.
57096         * intl/tst-gettext5.sh: Likewise.
57098 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57100         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57101         * sysdeps/unix/syscalls.list: ... here.
57103         * sysdeps/posix/getaddrinfo.c
57104         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57105         (gaiconf_init, gaiconf_reload): Use them.
57106         [!_STATBUF_ST_NSEC]
57107         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57108         Define using time_t rather than struct timespec.
57110         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57111         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57112         Macros removed.
57113         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57114         [!NO_THREADS].
57115         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57116         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57117         Likewise.
57119         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57120         __libc_cleanup_push argument.
57122         * bits/param.h: New file.
57123         * misc/sys/param.h: New file.
57124         * include/sys/param.h: New file.
57125         * misc/Makefile (headers): Add bits/param.h.
57126         * sysdeps/generic/sys/param.h: File removed.
57127         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57128         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57129         * sysdeps/mach/hurd/bits/param.h: New file.
57130         * sysdeps/mach/hurd/sys/param.h: File removed.
57132         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57133         last change.
57135         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57136         [_IO_MTSAFE_IO].
57137         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57138         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57139         New macros.
57141         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57142         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57143         rather than -D_IO_MTSAFE_IO conditionally.
57144         * stdio-common/Makefile (CPPFLAGS): Likewise.
57145         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57146         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57147         Use $(libio-mtsafe).
57148         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57149         of -D_IO_MTSAFE_IO.
57150         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57151         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57152         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57153         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57154         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57155         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57156         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57157         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57158         (CFLAGS-fread_u_chk.c): Likewise.
57159         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57160         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57161         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57162         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57163         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57164         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57165         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57166         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57167         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57169         * libio/Makefile: Test [$(libc-reentrant) = yes]
57170         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57172         * Makeconfig
57173         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57174         * sysdeps/pthread/configure: File removed.
57175         * sysdeps/pthread/Makeconfig: New file.
57176         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57177         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57179 2012-08-16  Gary Benson  <gbenson@redhat.com>
57181         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57182         unmapping the first object in a namespace.
57184 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57186         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57187         (__internal_setnetgrent): ... this.  Add internal_function to
57188         definition.  Add libc_hidden_def.
57189         (setnetgrent): Update caller.
57190         (internal_endnetgrent): Renamed to ...
57191         (__internal_endnetgrent): ... this.  Add internal_function to
57192         definition.  Add libc_hidden_def.
57193         (endnetgrent): Update caller.
57194         (internal_getnetgrent_r): Renamed to ...
57195         (__internal_getnetgrent_r): ... this.  Add internal_function to
57196         definition.  Add libc_hidden_def.
57197         (__getnetgrent_r): Update caller.
57198         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57200 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57202         * stdlib/longlong.h: Update from GCC.
57204 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57206         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57207         on _QL, which is set by umul_ppmm but never used.
57208         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57209         variables, which are set by GMP macros but never used.
57210         * stdio-common/_itowa.c (_itowa): Likewise.
57211         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57212         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57214 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57216         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57217         struct La_sh_regs is not constant.
57218         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57219         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57220         and struct La_sparc64_regs are not constant.
57222 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57224         * sysdeps/unix/sysv/linux/kernel-features.h
57225         (__ASSUME_POSIX_TIMERS): Remove.
57226         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57227         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57228         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57229         Make code unconditional.
57230         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57231         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57232         Make code unconditional.
57233         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57234         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57235         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57236         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57237         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57238         Make code unconditional.
57239         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57240         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57241         (__libc_missing_posix_timers): Remove.
57243 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57245         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57246         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57248         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57250         * elf/dl-sym.c: Include <stdlib.h>.
57252         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57253         constants, which avoids warnings in 32-bit builds.
57255         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57256         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57258         * misc/lseek.c: File moved to ...
57259         * io/lseek.c: ... here.
57261         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57263         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57264         shifting LEN more than 31 bits at once.
57266 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57268         [BZ #14195]
57269         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57270         segmentation fault for a case of two empty input strings.
57271         * string/test-strncasecmp.c (check1): Renamed to...
57272         (bz12205): ...this.
57273         (bz14195): Add new testcase for two empty input strings and N > 0.
57274         (test_main): Call new testcase, adapt for renamed function.
57276 2012-08-15  Andreas Jaeger  <aj@suse.de>
57278         [BZ #14090]
57279         * crypt/md5test2.c: New test, based on test supplied by Serge
57280         Belyshev <belyshev@depni.sinp.msu.ru>.
57281         * crypt/Makefile (xtests): Add md5test-giant..
57282         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57284 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57286         [BZ #14090]
57287         * crypt/md5.c (md5_process_block): Don't assume the buffer
57288         length is less than 2**32.
57289         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57290         length is less than 2**64.
57292 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57294         * string/str-two-way.h: Include <sys/param.h>.
57295         (MAX): Macro removed.
57297         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57298         Move #define and #undef of memmove to just before and after
57299         including <string.h>.
57301         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57302         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57303         and after including <string.h>.  Move declarations of
57304         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57305         to before #include "string/memmove.c".
57307         * include/dirent.h: Declare __getdirentries.
57309         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57310         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57312 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57314         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57315         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57316         * sysdeps/i386/configure: Regenerated.
57317         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57318         STABS_CURRENT_FILE, and STABS_FUN.
57319         (END): Remove call to STABS_FUN_END.
57320         (STABS_CURRENT_FILE1): Delete.
57321         (STABS_CURRENT_FILE): Likewise.
57322         (STABS_FUN): Likewise.
57323         (STABS_FUN_END): Likewise.
57324         (STABS_FUN2): Likewise.
57325         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57326         * sysdeps/x86_64/configure: Regenerated.
57328 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57330         * elf/dl-open.c: Include <atomic.h>.
57331         * elf/dl-lookup.c: Likewise.
57333 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57335         * sysdeps/unix/sysv/linux/kernel-features.h
57336         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57337         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57338         unconditionally.
57339         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57340         unconditionally.
57341         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57342         condition on __ASSUME_CLONE_THREAD_FLAGS.
57344 2012-08-14  Andreas Jaeger  <aj@suse.de>
57346         * sysdeps/i386/fpu/libm-test-ulps: Update.
57348 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57350         * include/atomic.h (atomic_exchange_and_add): Split into ...
57351         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57352         New atomic macros.
57354 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57358 2012-08-13  Jeff Law <law@redhat.com>
57360         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57361         null byte in the output string.
57363 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57365         * sysdeps/unix/sysv/linux/kernel-features.h
57366         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57367         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57368         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57369         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57370         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57371         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57372         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57374 2012-08-09  Jeff Law <law@redhat.com>
57376         [BZ #13939]
57377         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57378         When avoid_arena is set, don't retry in the that arena.  Pick the
57379         next one, whatever it might be.
57380         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57381         (arena_lock): Pass in new parameter to arena_get2.
57382         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57383         arena_get2.
57384         (__libc_malloc): Unify retrying after main arena failure with
57385         __libc_memalign version.
57386         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57388 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57390         [BZ #14166]
57391         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57392         to __redirect_strstr.
57393         (__strstr_sse42): Use typeof __redirect_strstr.
57394         (__strstr_ia32): Likewise.
57395         (__libc_strstr): New prototype.
57396         (strstr): Renamed to ...
57397         (__libc_strstr): This.
57398         (strstr): New strong alias of __libc_strstr.
57399         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57400         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57401         __redirect_time.
57402         Include <time.h>.
57403         (__libc_time): New prototype.
57404         (time_ifunc): Replace time with __libc_time.
57405         (time): New strong alias and hidden definition of __libc_time.
57406         (__GI_time): Remove strong alias.
57407         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57408         Include <stddef.h>.
57409         (memmove): Redefined to __redirect_memmove.
57410         (__memmove_sse2): Use typeof __redirect_memmove.
57411         (__memmove_ssse3): Likewise.
57412         (__memmove_ssse3_back): Likewise.
57413         (__libc_memmove): New prototype.
57414         (memmove): Renamed to ...
57415         (__libc_memmove): This.
57416         (memmove): New strong alias of __libc_memmove.
57418 2012-08-08  Mark Salter  <msalter@redhat.com>
57420         * elf/elf.h
57421         (R_MN10300_TLS_GD): Define.
57422         (R_MN10300_TLS_LD): Likewise.
57423         (R_MN10300_TLS_LDO): Likewise.
57424         (R_MN10300_TLS_GOTIE): Likewise.
57425         (R_MN10300_TLS_IE): Likewise.
57426         (R_MN10300_TLS_LE): Likewise.
57427         (R_MN10300_TLS_DTPMOD): Likewise.
57428         (R_MN10300_TLS_DTPOFF): Likewise.
57429         (R_MN10300_TLS_TPOFF): Likewise.
57430         (R_MN10300_SYM_DIFF): Likewise.
57431         (R_MN10300_ALIGN): Likewise.
57432         (R_MN10300_NUM): Update.
57434 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57437         Remove.
57439 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57441         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57443         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57444         sysdeps/unix -> sysdeps/posix move.
57445         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57447 2012-08-07      Allan McRae     <allan@archlinux.org>
57449         [BZ #14303]
57450         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57451         (SUNOS_CPP): Likewise.
57452         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57453         not found.
57454         (open_input): Call CPP using execvp.
57456 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57458         * sysdeps/unix/sysv/linux/kernel-features.h
57459         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57460         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57461         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57462         (__ASSUME_WAITID_SYSCALL): Likewise.
57463         * sysdeps/unix/sysv/linux/dl-execstack.c
57464         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57465         code unconditional.
57466         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57467         conditional code.
57468         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57469         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57470         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57471         code.
57472         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57473         unconditional.
57474         [__ASSUME_WAITID_SYSCALL]: Likewise.
57475         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57477 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57479         * sysdeps/unix/closedir.c: Renamed to ...
57480         * sysdeps/posix/closedir.c: ... here.
57481         * sysdeps/unix/dirfd.c: Renamed to ...
57482         * sysdeps/posix/dirfd.c: ... here.
57483         * sysdeps/unix/dirstream.h: Renamed to ...
57484         * sysdeps/posix/dirstream.h: ... here.
57485         * sysdeps/unix/fdopendir.c: Renamed to ...
57486         * sysdeps/posix/fdopendir.c: ... here.
57487         * sysdeps/unix/opendir.c: Renamed to ...
57488         * sysdeps/posix/opendir.c: ... here.
57489         * sysdeps/unix/readdir.c: Renamed to ...
57490         * sysdeps/posix/readdir.c: ... here.
57491         * sysdeps/unix/readdir_r.c: Renamed to ...
57492         * sysdeps/posix/readdir_r.c: ... here.
57493         * sysdeps/unix/rewinddir.c: Renamed to ...
57494         * sysdeps/posix/rewinddir.c: ... here.
57495         * sysdeps/unix/seekdir.c: Renamed to ...
57496         * sysdeps/posix/seekdir.c: ... here.
57497         * sysdeps/unix/telldir.c: Renamed to ...
57498         * sysdeps/posix/telldir.c: ... here.
57499         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57500         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57501         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57502         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57504         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57505         * bits/fcntl.h: ... here.
57507         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57508         not 0.
57509         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57510         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57511         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57512         (struct flock): Move l_start, l_len to the beginning.
57513         Use __pid_t for l_pid.
57514         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57515         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57516         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57517         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57518         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57519         [__USE_LARGEFILE64] (struct flock64): New type.
57520         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57522         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57523         * bits/dirent.h: ... here.
57525         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57526         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57528 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57530         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57531         Change from 2.6.0 to 2.6.16.
57532         * sysdeps/unix/sysv/linux/configure: Regenerated.
57533         * sysdeps/unix/sysv/linux/kernel-features.h
57534         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57535         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57536         version.
57537         (__ASSUME_UTIMES): Likewise.
57538         (__ASSUME_CLONE_STOPPED): Remove.
57539         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57540         architectures, not kernel version.
57541         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57542         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57543         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57544         (__ASSUME_WAITID_SYSCALL): Likewise.
57545         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57546         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57547         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57548         refer to older versions.
57550 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57552         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57553         Define alphasort64 as an alias.
57554         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57555         Define versionsort64 as an alias.
57556         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57557         Define scandir64 as an alias.
57558         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57559         Define scandirat64 as an alias.
57560         * dirent/alphasort64.c (alphasort64):
57561         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57562         * dirent/versionsort64.c: Likewise.
57563         * dirent/scandir64.c: Likewise.
57564         * dirent/scandirat64.c: Likewise.
57565         * sysdeps/wordsize-64/alphasort.c: File removed.
57566         * sysdeps/wordsize-64/alphasort64.c: File removed.
57567         * sysdeps/wordsize-64/scandir.c: File removed.
57568         * sysdeps/wordsize-64/scandir64.c: File removed.
57569         * sysdeps/wordsize-64/scandirat.c: File removed.
57570         * sysdeps/wordsize-64/scandirat64.c: File removed.
57571         * sysdeps/wordsize-64/versionsort.c: File removed.
57572         * sysdeps/wordsize-64/versionsort64.c: File removed.
57573         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57574         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57575         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57576         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57577         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57578         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57579         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57580         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57582         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57584         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57586         [defined __arch64__ || defined __sparcv9]
57587         (__INO_T_MATCHES_INO64_T): New macro.
57588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57589         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57590         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57591         * sysdeps/unix/sysv/linux/bits/dirent.h
57592         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57593         (_DIRENT_MATCHES_DIRENT64): New macro.
57595         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57596         Define lockf64 as an alias.
57597         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57598         Define fseeko64 as an alias.
57599         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57600         Define ftello64 as an alias.
57601         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57602         Define _IO_fgetpos64 and fgetpos64 as aliases.
57603         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57604         Define _IO_fsetpos64 and fsetpos64 as aliases.
57605         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57606         Conditionalize body on this.
57607         * libio/fseeko64.c: Likewise.
57608         * libio/ftello64.c: Likewise.
57609         * libio/iofgetpos64.c: Likewise.
57610         * libio/iofsetpos64.c: Likewise.
57611         * sysdeps/wordsize-64/lockf.c: File removed.
57612         * sysdeps/wordsize-64/lockf64.c: File removed.
57613         * sysdeps/wordsize-64/fseeko.c: File removed.
57614         * sysdeps/wordsize-64/fseeko64.c: File removed.
57615         * sysdeps/wordsize-64/ftello.c: File removed.
57616         * sysdeps/wordsize-64/ftello64.c: File removed.
57617         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57618         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57619         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57620         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57621         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57622         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57623         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57624         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57625         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57626         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57627         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57628         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57629         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57630         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57632         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57634         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57636         [defined __arch64__ || defined __sparcv9]
57637         (__OFF_T_MATCHES_OFF64_T): New macro.
57638         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57639         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57640         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57641         (__OFF_T_MATCHES_OFF64_T): New macro.
57643 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57645         * stdlib/secure-getenv.c (__secure_getenv): Replace
57646         GLIBC_2_16 with GLIBC_2_17.
57648 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57650         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57651         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57653 2012-08-03  David S. Miller  <davem@davemloft.net>
57655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57657 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57660         Remove.
57661         (__ASSUME_CORRECT_SI_PID): Likewise.
57662         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57663         (__ASSUME_TMPFS_NAME): Likewise.
57664         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57665         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57666         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57667         (HAVE_AUX_SECURE): Make definition unconditional.
57668         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57669         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57671 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57673         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57674         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57675         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57676         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57677         __eloop_threshold instead of SYMLOOP_MAX.
57679         * sysdeps/generic/eloop-threshold.h: New file.
57680         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57681         of MAXSYMLINKS.
57682         * elf/chroot_canon.c (chroot_canon): Likewise.
57684 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57686         [BZ #13717]
57687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57688         Change to 2.6.0 everywhere.
57689         * sysdeps/unix/sysv/linux/configure: Regenerated.
57690         * sysdeps/unix/sysv/linux/kernel-features.h
57691         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57692         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57693         kernel versions.
57694         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57695         (__ASSUME_FUTEX_REQUEUE): Remove.
57696         (__ASSUME_STATFS64): Define unconditionally.
57697         (__ASSUME_AT_SECURE): Likewise.
57698         (__ASSUME_CORRECT_SI_PID): Likewise.
57699         (__ASSUME_TGKILL): Define without depending on kernel version for
57700         i386.
57701         (__ASSUME_UTIMES): Likewise.
57702         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57703         kernel version.
57704         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57705         (__ASSUME_TMPFS_NAME): Likewise.
57706         * README: Update reference to Linux kernel versions.
57708 2012-08-02  Marek Polacek  <polacek@redhat.com>
57710         [BZ# 14150]
57711         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57712         libc_cv_asm_type_prefix with %.
57713         * configure: Regenerated.
57714         * include/libc-symbols.h: Remove comment about
57715         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57716         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57717         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57718         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57719         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57720         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57721         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57722         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57723         * elf/tst-unique2mod1.c: Likewise.
57724         * elf/tst-unique1mod2.c: Likewise.
57725         * elf/tst-unique1mod1.c: Likewise.
57726         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57727         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57728         Replace ASM_TYPE_DIRECTIVE with .type.
57729         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57730         * sysdeps/i386/sysdep.h: Likewise.
57731         * sysdeps/x86_64/sysdep.h: Likewise.
57732         * sysdeps/sh/sysdep.h: Likewise.
57733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57734         Do not define ASM_TYPE_DIRECTIVE.
57735         * sysdeps/powerpc/sysdep.h: Likewise.
57736         * sysdeps/powerpc/powerpc32/sysdep.h:
57737         Replace ASM_TYPE_DIRECTIVE with .type.
57738         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57739         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57740         * sysdeps/i386/fpu/e_powf.S: Likewise.
57741         * sysdeps/i386/fpu/e_expl.S: Likewise.
57742         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57743         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57744         * sysdeps/i386/fpu/e_pow.S: Likewise.
57745         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57746         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57747         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57748         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57749         * sysdeps/i386/fpu/e_log2.S: Likewise.
57750         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57751         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57752         * sysdeps/i386/fpu/e_powl.S: Likewise.
57753         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57754         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57755         * sysdeps/i386/fpu/e_logl.S: Likewise.
57756         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57757         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57758         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57759         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57760         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57761         * sysdeps/i386/fpu/e_log.S: Likewise.
57762         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57763         * sysdeps/i386/fpu/e_logf.S: Likewise.
57764         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57765         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57766         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57767         * sysdeps/i386/fpu/e_log10.S: Likewise.
57768         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57769         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57770         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57771         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57772         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57773         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57774         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57775         * sysdeps/i386/i686/strtok.S: Likewise.
57776         * sysdeps/i386/i386-mcount.S: Likewise.
57777         * sysdeps/i386/strtok.S: Likewise.
57778         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57779         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57780         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57781         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57782         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57783         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57784         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57785         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57786         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57787         * sysdeps/x86_64/_mcount.S: Likewise.
57788         * sysdeps/x86_64/strtok.S: Likewise.
57789         * sysdeps/sh/_mcount.S: Likewise.
57791 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57793         * libio/iofopen.c: Include <fcntl.h>.
57794         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57795         (_IO_fopen64, fopen64): Define as aliases.
57796         * libio/iofopen64.c: Include <fcntl.h>.
57797         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57798         Conditionalize body on this.
57799         * sysdeps/wordsize-64/iofopen.c: File removed.
57800         * sysdeps/wordsize-64/iofopen64.c: File removed.
57802 2012-08-01  Marek Polacek  <polacek@redhat.com>
57804         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57805         Use dlfcn directly instead of a variable.
57806         (binfmt-subdir): Do not define.
57807         (dlfcn): Likewise.
57809 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57811         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57812         Remove all definitions.
57813         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57814         <kernel-features.h>.
57815         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57816         (miss_F_GETOWN_EX): Remove all definitions.
57817         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57818         macro definition.
57819         [!__ASSUME_FCNTL64]: Remove conditional code.
57820         [__ASSUME_FCNTL64]: Make code unconditional.
57821         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57822         <kernel-features.h>.
57823         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57824         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57825         (lockf64) [__NR_fcntl64]: Make code unconditional.
57826         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57828         * sysdeps/unix/sysv/linux/kernel-features.h
57829         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57830         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57831         Make code unconditional.
57832         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57833         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57835         [__NR_vfork]: Make code unconditional.
57836         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57837         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57839         [__NR_vfork]: Make code unconditional.
57840         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57841         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57843 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57845         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57846         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57848         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57849         Define mkstemp64 as an alias.
57850         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57851         Define mkstemps64 as an alias.
57852         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57853         Define mkostemp64 as an alias.
57854         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57855         Define mkostemps64 as an alias.
57856         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57857         Conditionalize body on this.
57858         * misc/mkostemp64.c: Likewise.
57859         * misc/mkostemps64.c: Likewise.
57860         * misc/mkstemps64.c: Likewise.
57861         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57862         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57863         * sysdeps/wordsize-64/mkostemp.c: File removed.
57864         * sysdeps/wordsize-64/mkstemp.c: File removed.
57865         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57866         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57867         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57868         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57870         [BZ #14138]
57871         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57872         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57873         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57874         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57876         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57877         compat_symbol macros from <shlib-compat.h> rather than the underlying
57878         default_symbol_version and symbol_version macros, so that DEFAULT
57879         lines in shlib-versions are respected.
57880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57882 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57884         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57885         Declare with warn_unused_result.
57886         (setgid, setregid, setegid, setresgid): Likewise.
57887         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57888         Likewise.
57889         * WUR-REPORT: Remove set*id functions.
57891 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57893         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57895 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57897         [BZ #10191]
57898         * include/sys/socket.h (__libc_accept, __libc_accept4):
57899         Add attribute_hidden.
57900         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57902         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57903         use of PTR_MANGLE.
57904         * inet/getnetgrent_r.c (setup): Likewise.
57906         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57908 2012-07-31  David S. Miller  <davem@davemloft.net>
57910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57912 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57914         [BZ #13629]
57915         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57916         value between 1.0 and 2.0 and smaller part has absolute value less
57917         than 1.0.
57918         * math/s_clog10.c (__clog10): Likewise.
57919         * math/s_clog10f.c (__clog10f): Likewise.
57920         * math/s_clog10l.c (__clog10l): Likewise.
57921         * math/s_clogf.c (__clogf): Likewise.
57922         * math/s_clogl.c (__clogl): Likewise.
57923         * math/libm-test.inc (clog_test): Add more tests.
57924         (clog10_test): Likewise.
57925         * sysdeps/i386/fpu/libm-test-ulps: Update.
57926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57928 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57930         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57931         Exit with zero in case no suitable GID is found, and write a
57932         message to standard error.
57934 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57936         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57937         rather than to 1.
57938         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57939         (MAXPATHLEN): Removed.
57940         (NOGROUP, NODEV): New macros.
57941         (setbit, clrbit, isset, isclr): New macros.
57942         (howmany, roundup, powerof2): New macros.
57943         (DEV_BSIZE): New macro.
57945         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57946         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57948         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57949         definition on [!__NO_LONG_DOUBLE_MATH].
57951         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57952         PTR_MANGLE and PTR_DEMANGLE.
57954         * socket/accept4.c (accept4): Rename to __libc_accept4.
57955         Define accept4 as a weak alias.
57957         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57958         on [_DIRENT_HAVE_D_TYPE].
57959         * io/ftw.c (ftw_dir): Likewise.
57961         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57963         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57965         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57966         Use the BSD numbers rather than the arbitrary ones we had.
57967         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57968         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57969         (SIGXCPU, SIGXFSZ): New macros.
57970         (_NSIG): Now 32.
57972         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57973         initializer on [_LIBC_REENTRANT].
57975         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57976         definitions inside [_POSIX_MAPPED_FILES].
57978         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57980         * dirent/opendir.c: Include <fcntl.h>.
57982         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57983         (__libc_getspecific): Likewise.
57984         (__libc_key_create): Likewise.
57986         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57987         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57988         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57989         (tmpfile64): Define as alias.
57990         * sysdeps/wordsize-64/tmpfile.c: File removed.
57991         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57992         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57993         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57995         * stdio-common/vfscanf.c: Include <stdbool.h>.
57996         * nss/makedb.c: Likewise.
57997         * stdio-common/_i18n_number.h: Likewise.
57998         * argp/argp-help.c: Likewise.
57999         * posix/wordexp.c: Likewise.
58000         * sysdeps/posix/spawni.c: Likewise.
58001         * nss/nss_files/files-initgroups.c: Likewise.
58002         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58003         * nss/nss_files/files-initgroups.c: Likewise.
58004         * nss/nss_db/db-netgrp.c: Likewise.
58005         * nss/nss_db/db-initgroups.c: Likewise.
58006         * io/fchmodat.c: Include <sys/stat.h>.
58008         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58009         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58011         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58012         [HAVE_MMAP].
58014         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58015         Add multiple inclusion protection.
58017 2012-07-27  David S. Miller  <davem@davemloft.net>
58019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58021 2012-07-27  Gary Benson  <gbenson@redhat.com>
58023         [BZ #14298]
58024         * elf/rtld.c: Include <stap-probe.h>.
58025         (dl_main): Added static probes "init_start" and "init_complete".
58026         * elf/dl-load.c: Include <stap-probe.h>.
58027         (lose): Take new parameter "nsid".
58028         Added static probe "map_failed".
58029         (_dl_map_object_from_fd): Pass namespace id to lose.
58030         Added static probe "map_start".
58031         (open_verify): Pass namespace id to lose.
58032         * elf/dl-open.c: Include <stap-probe.h>.
58033         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58034         and "reloc_complete".
58035         * elf/dl-close.c: Include <stap-probe.h>.
58036         (_dl_close_worker): Added static probes "unmap_start" and
58037         "unmap_complete".
58038         * elf/rtld-debugger-interface.txt: New file documenting the above.
58040 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58042         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58043         rather than a string variable.
58044         * sunrpc/rpc_main.c (h_output): Likewise.
58045         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58047 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58049         * inet/check_native.c: New file.
58051 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58053         [BZ #13629]
58054         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58055         if larger part has absolute value 1.0.
58056         * math/s_clog10.c (__clog10): Likewise.
58057         * math/s_clog10f.c (__clog10f): Likewise.
58058         * math/s_clog10l.c (__clog10l): Likewise.
58059         * math/s_clogf.c (__clogf): Likewise.
58060         * math/s_clogl.c (__clogl): Likewise.
58061         * math/libm-test.inc (clog_test): Add more tests.
58062         (clog10_test): Likewise.
58063         * sysdeps/i386/fpu/libm-test-ulps: Update.
58064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58066         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58067         (pltexit): Likewise.
58068         (La_regs): Likewise.
58069         (La_retval): Likewise.
58070         (int_retval): Likewise.
58071         Update #error for removed macros to refer only to definitions in
58072         tst-audit.h.
58073         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58074         macro.
58075         (pltexit): Likewise.
58076         (La_regs): Likewise.
58077         (La_retval): Likewise.
58078         (int_retval): Likewise.
58079         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58080         macro.
58081         (pltexit): Likewise.
58082         (La_regs): Likewise.
58083         (La_retval): Likewise.
58084         (int_retval): Likewise.
58085         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58086         macro.
58087         (pltexit): Likewise.
58088         (La_regs): Likewise.
58089         (La_retval): Likewise.
58090         (int_retval): Likewise.
58091         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58092         macro.
58093         (pltexit): Likewise.
58094         (La_regs): Likewise.
58095         (La_retval): Likewise.
58096         (int_retval): Likewise.
58097         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58098         macro.
58099         (pltexit): Likewise.
58100         (La_regs): Likewise.
58101         (La_retval): Likewise.
58102         (int_retval): Likewise.
58103         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58104         macro.
58105         (pltexit): Likewise.
58106         (La_regs): Likewise.
58107         (La_retval): Likewise.
58108         (int_retval): Likewise.
58109         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58110         macro definitions in tst-audit.h.
58111         * sysdeps/i386/tst-audit.h: New file.
58112         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58113         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58114         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58115         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58116         * sysdeps/sh/tst-audit.h: Likewise.
58117         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58118         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58119         * sysdeps/x86_64/tst-audit.h: Likewise.
58121 2012-07-26  Andreas Jaeger  <aj@suse.de>
58123         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58124         ptrace.
58126         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58127         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58128         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58129         PTRACE_O_MASK.
58130         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58131         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58132         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58134         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58135         value.
58137         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58138         _sigsys.
58139         (si_call_addr, si_syscall, si_arch): Define new macro.
58140         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58141         _sigsys.
58142         (si_call_addr, si_syscall, si_arch): Define new marcro.
58143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58144         _sigsys.
58145         (si_call_addr, si_syscall, si_arch): Define new macro.
58146         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58147         _sigsys.
58148         (si_call_addr, si_syscall, si_arch): Define new macro.
58150 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58152         [BZ #13717]
58153         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58154         Change to 2.4.21 where previously 2.4.1.
58155         * sysdeps/unix/sysv/linux/configure: Regenerated.
58156         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58157         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58158         Linux kernel version.
58159         (__ASSUME_STD_AUXV): Remove.
58160         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58161         kernel version.
58162         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58163         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58164         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58165         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58166         (__ASSUME_NETLINK_SUPPORT): Likewise.
58167         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58168         (__no_netlink_support): Remove conditional definition.
58169         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58170         Remove.
58171         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58172         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58173         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58174         (if_nameindex_ioctl): Remove.
58175         (if_nameindex_netlink): Do not handle __no_netlink_support.
58176         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58177         code.
58178         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58179         Remove conditional code.
58180         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58181         code.
58182         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58183         unconditional.
58184         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58185         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58186         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58187         Remove.
58188         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58189         [!__ASSUME_STD_AUXV]: Remove conditional code.
58190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58191         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58192         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58194         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58195         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58196         code.
58197         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58199         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58200         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58201         conditional code.
58202         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58204         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58205         code.
58206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58207         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58208         conditional code.
58209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58210         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58211         code unconditional.
58212         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58213         conditional code.
58214         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58215         unconditional.
58216         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58217         conditional code.
58218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58219         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58220         unconditional.
58221         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58222         conditional code.
58223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58224         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58225         code unconditional.
58226         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58227         conditional code.
58228         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58229         unconditional.
58230         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58231         conditional code.
58232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58233         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58234         code unconditional.
58235         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58236         conditional code.
58237         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58238         unconditional.
58239         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58240         conditional code.
58242 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58244         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58245         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58246         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58247         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58248         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58249         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58250         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58251         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58252         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58253         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58254         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58255         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58256         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58257         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58258         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58259         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58260         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58261         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58262         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58264         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58265         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58266         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58268 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58270         * Versions.def: Add GLIBC_2.17.
58271         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58272         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58273         Introduce __libc_secure_getenv.
58274         * stdlib/Versions (2.17): Add secure_getenv
58275         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58276         * stdlib/secure-getenv.c: Rename __secure_getenv to
58277         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58278         symbol __secure_getenv for GLIBC_2.0.
58279         * stdlib/tst-secure-getenv.c: New.
58280         * stdlib/Makefile (tests): Add testcase.
58281         * manual/startup.texi (Environment Access): Document
58282         secure_getenv.
58283         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58284         __libc_secure_getenv.
58285         * inet/ruserpass.c (ruserpass): Likewise.
58286         * malloc/mtrace.c (mtrace): Likewise.
58287         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58288         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58289         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58290         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58291         HAVE_SECURE_GETENV.
58292         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58293         __secure_getenv to __libc_secure_getenv.
58294         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58296         Likewise.
58297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58298         Likewise.
58299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58301         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58307 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58309         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58310         (struct La_i86_retval): Likewise.
58311         (struct La_x86_64_regs): Likewise.
58312         (struct La_x86_64_retval): Likewise.
58313         (struct La_x32_regs): Likewise.
58314         (struct La_x32_retval): Likewise.
58315         (struct La_ppc32_regs): Likewise.
58316         (struct La_ppc32_retval): Likewise.
58317         (struct La_ppc64_regs): Likewise.
58318         (struct La_ppc64_retval): Likewise.
58319         (struct La_sh_regs): Likewise.
58320         (struct La_sh_retval): Likewise.
58321         (struct La_s390_32_regs): Likewise.
58322         (struct La_s390_32_retval): Likewise.
58323         (struct La_s390_64_regs): Likewise.
58324         (struct La_s390_64_retval): Likewise.
58325         (struct La_sparc32_regs): Likewise.
58326         (struct La_sparc32_retval): Likewise.
58327         (struct La_sparc64_regs): Likewise.
58328         (struct La_sparc64_retval): Likewise.
58329         (struct audit_ifaces): Remove architecture-specific pltenter and
58330         pltexit members.
58331         * sysdeps/i386/ldsodefs.h: New file.
58332         * sysdeps/powerpc/ldsodefs.h: Likewise.
58333         * sysdeps/s390/ldsodefs.h: Likewise.
58334         * sysdeps/sh/ldsodefs.h: Likewise.
58335         * sysdeps/sparc/ldsodefs.h: Likewise.
58336         * sysdeps/x86_64/ldsodefs.h: Likewise.
58338 2012-07-25  Marek Polacek  <polacek@redhat.com>
58340         [BZ #6808]
58341         * math/libm-test.inc (yn_test): Add another test.
58342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58343         to ERANGE when the result is +-Inf.
58344         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58345         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58346         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58347         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58349 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58351         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58352         equal to 0.
58353         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58354         clock_t.
58355         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58357 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58359         * configure.in <sysdeps resolving>: Correct printing
58360         Implies_before.
58361         * configure: Regenerate.
58363 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58365         * math/w_ilogb.c: Include <limits.h>.
58366         * math/w_ilogbl.c: Likewise.
58368 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58370         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58371         va_copy.  Document allowing for unavailable va_copy only as
58372         pre-C99 compatibility.
58373         * manual/string.texi (Copying and Concatenation): Use va_copy
58374         instead of __va_copy in concat example.
58376 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58378         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58379         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58380         it if not null.
58382         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58383         with O_NOLINK passed to __file_name_lookup.
58385         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58386         with O_NOLINK passed to __file_name_lookup.
58388         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58389         negative N or less than NGIDS.
58391         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58392         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58393         enough.  Use memcpy instead of strncpy.
58395 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58397         * elf/Makefile (check-data): Remove.
58398         (localplt.data): New vpath directive.
58399         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58400         instead of $(check-data).
58401         * scripts/data/localplt-generic.data: Move to ...
58402         * sysdeps/generic/localplt.data: ... here.
58403         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58404         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58405         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58407         ... here.
58408         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58410         ... here.
58411         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58413         ... here.
58414         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58416         ... here.
58417         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58419         ... here.
58420         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58422         ... here.
58424 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58426         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58427         PPC32 and PPC64 files.
58428         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58429         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58431 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58433         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58434         __makecontext_ret to ...
58435         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58436         ... here and call exit if uc_link is NULL.  New file.
58437         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58438         __makecontext_ret.S.
58439         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58440         __makecontext_ret to ...
58441         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58442         ... here and call exit if uc_link is NULL.  New file.
58443         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58444         __makecontext_ret.S.
58446 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58448         * elf/elf.h (R_390_IRELATIVE): New definition.
58449         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58450         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58451         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58452         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58453         (elf_machine_lazy_rel): Likewise.
58454         * sysdeps/s390/dl-irel.h: New file.
58455         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58456         * sysdeps/s390/s390-64/memset.S: New asm code.
58457         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58458         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58459         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58460         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58461         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58462         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58463         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58464         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58465         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58466         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58467         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58468         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58469         * sysdeps/s390/s390-32/memset.S: New asm code.
58470         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58472 2012-07-17  Marek Polacek  <polacek@redhat.com>
58474         [BZ #14349]
58475         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58476         * sysdeps/s390/s390-64/configure.in: Likewise.
58477         * sysdeps/sparc/configure.in: Likewise.
58478         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58479         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58480         * sysdeps/i386/configure.in: Likewise.
58481         * sysdeps/x86_64/configure.in: Likewise.
58482         * sysdeps/sh/configure.in: Likewise.
58483         * sysdeps/s390/s390-32/configure: Regenerated.
58484         * sysdeps/s390/s390-64/configure: Likewise.
58485         * sysdeps/x86_64/configure: Likewise.
58486         * sysdeps/sh/configure: Likewise.
58487         * sysdeps/powerpc/powerpc64/configure: Likewise.
58488         * sysdeps/powerpc/powerpc32/configure: Likewise.
58489         * sysdeps/sparc/configure: Likwise.
58490         * sysdeps/i386/configure: Likewise.
58492         * elf/dl-open.c: Comment fixes.
58494 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58496         * Makefile [CXX] (check-data): Remove.
58497         [CXX] (c++-types.data): New vpath directive.
58498         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58499         vpath.  Do not allow for C++ type data being missing.
58500         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58501         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58502         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58503         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58504         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58505         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58506         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58508         ... here.
58509         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58511         ... here.
58512         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58514         ... here.
58515         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58517         ... here.
58518         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58520         ... here.
58521         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58523         ... here.
58524         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58526         ... here.
58527         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58530         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58531         definitions to architecture-specific files.
58532         (TLS_IE): Likewise.
58533         (TLS_LD): Likewise.
58534         (TLS_GD): Likewise.
58535         * sysdeps/i386/tls-macros.h: New file.
58536         * sysdeps/powerpc/tls-macros.h: Likewise.
58537         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58538         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58539         * sysdeps/sh/tls-macros.h: Likewise.
58540         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58541         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58542         * sysdeps/x86_64/tls-macros.h: Likewise.
58544 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58546         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58547         zero value for regular exit case.
58549         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58550         (__start_context): Preserve zero value for regular exit case.
58552 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58553             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58555         * manual/setjmp.texi (setcontext): Clarify normal process
58556         termination when uc_link is the null pointer.
58557         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58558         exit call.
58560 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58562         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58563         preprocessor.  Test for each exception mask separately.
58565 2012-07-16  Andreas Jaeger  <aj@suse.de>
58567         * po/ru.po: Update from translation team.
58569 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58571         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58572         equal to 0.
58573         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58574         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58575         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58576         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58579 2012-07-13  Andreas Jaeger  <aj@suse.de>
58581         * po/fr.po: Update from translation team.
58583 2012-07-12  Marek Polacek  <polacek@redhat.com>
58585         [BZ #14173]
58586         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58587         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58588         loop condition.
58590 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58592         [BZ #13717]
58593         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58594         Change to 2.4.1 where previously 2.4.0.
58595         * sysdeps/unix/sysv/linux/configure: Regenerated.
58596         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58597         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58598         version.
58599         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58600         (__ASSUME_AT_CLKTCK): Remove.
58601         (__ASSUME_AT_PAGESIZE): Likewise.
58602         (__ASSUME_AT_XID): Likewise.
58603         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58604         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58605         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58606         unconditionally.
58607         (HAVE_AUX_PAGESIZE): Likewise.
58608         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58609         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58610         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58612 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58614         [BZ #14307]
58615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58616         the temporary buffer used to invoke __gethostbyname2_r,
58617         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58618         host_data / struct gaih_addrtuple.
58619         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58620         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58621         header file nss/nsswitch.h.
58622         * nss/nsswitch.h (global scope): Add definition of implementation
58623         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58624         resolv/nss_dns/dns-host.c).
58626 2012-07-11  Andreas Jaeger  <aj@suse.de>
58628         * po/fr.po: Update from translation team.
58630         * po/sv.po: Update from translation team
58631         * po/fr.po: Another update from translation team.
58633 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58635         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58636         for subnormals or multiply small sinh result by itself.
58637         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58640 2012-07-11  David S. Miller  <davem@davemloft.net>
58642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58644 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58646         [BZ #14347]
58647         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58648         (INTERNAL_MARK): Shift it here.
58650 2012-07-10  Marek Polacek  <polacek@redhat.com>
58652         [BZ #14151]
58653         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58654         libc_cv_asm_global_directive with .globl.
58655         * configure: Regenerated.
58656         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58657         with .globl.
58658         * sysdeps/i386/configure: Regenerated.
58659         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58660         with .globl.
58661         * sysdeps/x86_64/configure: Regenerated.
58662         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58663         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58664         * elf/tst-unique2mod2.c: Likewise.
58665         * elf/tst-unique2mod1.c: Likewise.
58666         * elf/tst-unique1mod2.c: Likewise.
58667         * elf/tst-unique1mod1.c: Likewise.
58668         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58669         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58670         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58671         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58672         * sysdeps/mach/sysdep.h: Likewise.
58673         * sysdeps/i386/sysdep.h: Likewise.
58674         * sysdeps/i386/i386-mcount.S: Likewise.
58675         * sysdeps/x86_64/_mcount.S: Likewise.
58676         * sysdeps/x86_64/sysdep.h: Likewise.
58677         * sysdeps/sh/_mcount.S: Likewise.
58678         * sysdeps/sh/sysdep.h: Likewise.
58679         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58680         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58681         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58682         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58683         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58684         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58685         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58686         * locale/localeinfo.h: Likewise.
58687         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58688         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58690 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58692         [BZ #14336]
58693         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58694         system".
58695         * manual/message.texi (The Uniforum approach): Likewise.
58696         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58697         (glibc iconv Implementation): Likewise.
58699 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58701         [BZ #14337]
58702         * math/s_clog.c (__clog): Avoid scaling a value down where that
58703         could result in underflow.
58704         * math/s_clog10.c (__clog10): Likewise.
58705         * math/s_clog10f.c (__clog10f): Likewise.
58706         * math/s_clog10l.c (__clog10l): Likewise.
58707         * math/s_clogf.c (__clogf): Likewise.
58708         * math/s_clogl.c (__clogl): Likewise.
58709         * math/libm-test.inc (clog_test): Add more tests.
58710         (clog10_test): Likewise.
58711         * sysdeps/i386/fpu/libm-test-ulps: Update.
58712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58714 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58716         [BZ #14283]
58717         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58718         by 7 not 8 to examine high bit of fractional part.
58720         [BZ #14042]
58721         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58722         for call to __mcount_internal.
58723         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58724         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58725         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58727 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58729         [BZ #14154]
58730         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58731         approximation for values within 0x1p-13f of an odd multiple of
58732         pi/4.
58733         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58734         exception.  Add more tests.
58735         * sysdeps/i386/fpu/libm-test-ulps: Update.
58737         [BZ #6778]
58738         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58739         inputs and return -1 for them.  Do not check for +Inf in case not
58740         reachable for +Inf.
58741         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58742         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58743         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58744         and return -1 for them.  Do not check for +Inf in case not
58745         reachable for +Inf.
58746         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58747         define.
58748         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58749         and return -1 for them.  Do not check for +Inf in case not
58750         reachable for +Inf.
58751         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58752         spurious underflow.
58753         * sysdeps/i386/fpu/libm-test-ulps: Update.
58754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58756 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58758         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58760 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58762         [BZ #14157]
58763         [BZ #14331]
58764         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58765         could result in spurious underflow.  Scale down values above
58766         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58767         * math/s_csqrtf.c (__csqrtf): Likewise.
58768         * math/s_csqrtl.c (__csqrtl): Likewise.
58769         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58770         spurious underflow.
58771         * sysdeps/i386/fpu/libm-test-ulps: Update.
58772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58774 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58776         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58777         xopen-msg.sed.
58778         * catgets/xopen-msg.awk: New file.
58779         * catgets/xopen-msg.sed: Removed.
58781         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58782         po2text.sed.
58783         * intl/po2test.awk: New file.
58784         * intl/po2test.sed: Removed.
58786 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58788         [BZ #14328]
58789         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58790         or multiply small sinh result by itself.
58791         * math/s_ctanf.c (__ctanf): Likewise.
58792         * math/s_ctanh.c (__ctanh): Likewise.
58793         * math/s_ctanhf.c (__ctanhf): Likewise.
58794         * math/s_ctanhl.c (__ctanhl): Likewise.
58795         * math/s_ctanl.c (__ctanl): Likewise.
58796         * math/libm-test.inc (ctan_test_tonearest): New function.
58797         (ctan_test_towardzero): Likewise.
58798         (ctan_test_downward): Likewise.
58799         (ctan_test_upward): Likewise.
58800         (ctanh_test_tonearest): Likewise.
58801         (ctanh_test_towardzero): Likewise.
58802         (ctanh_test_downward): Likewise.
58803         (ctanh_test_upward): Likewise.
58804         (main): Call these new functions.
58805         * sysdeps/i386/fpu/libm-test-ulps: Update.
58806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58808 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58810         * .gitignore: Delete /ports entry.
58812 2012-07-03  Andreas Jaeger  <aj@suse.de>
58814         * po/bg.po: Update from translation team.
58815         * po/cs.po: Likewise.
58816         * po/de.po: Likewise.
58817         * po/hr.po: Likewise.
58818         * po/nl.pl: Likewise.
58819         * po/pl.po: Likewise.
58820         * po/vi.po: Likewise.
58822 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58824         * Makeconfig [!+link] (+link-before-libc): New variable.
58825         [!+link] (+link-after-libc): Likewise.
58826         [!+link] (+link-tests): Likewise.
58827         [!+link] (+link): Define in terms of $(+link-before-libc) and
58828         $(+link-after-libc).
58829         [!+link-static] (+link-static-before-libc): New variable.
58830         [!+link-static] (+link-static-after-libc): Likewise.
58831         [!+link-static] (+link-static-tests): Likewise.
58832         [!+link-static] (+link-static): Define in terms of
58833         $(+link-static-before-libc) and $(+link-static-after-libc).
58834         [build-shared] (link-libc-before-gnulib): New variable.
58835         [build-shared] (link-libc-tests): Likewise.
58836         [build-shared] (link-libc): Define in terms of
58837         $(link-libc-before-gnulib).
58838         [!build-shared] (link-libc-tests): New variable.
58839         (link-libc-static-tests): New variable.
58840         [!gnulib] (gnulib-arch): New variable.
58841         [!gnulib] (gnulib-tests): Likewise.
58842         [!gnulib] (static-gnulib-arch): Likewise.
58843         [!gnulib] (static-gnulib-tests): Likewise.
58844         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58845         Define with "=" instead of ":=".
58846         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58847         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58848         * Rules (binaries-all-notests): New variable.
58849         (binaries-all-tests): Likewise.
58850         (binaries-static-notests): Likewise.
58851         (binaries-static-tests): Likewise.
58852         (binaries-all): Define using $(binaries-all-notests) and
58853         $(binaries-all-tests).
58854         (binaries-static): Define using $(binaries-static-notests) and
58855         $(binaries-static-tests).
58856         (binaries-shared-tests): New variable.
58857         (binaries-shared-notests): Likewise.
58858         (binaries-shared): Remove variable.
58859         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58860         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58861         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58862         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58863         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58864         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58865         * elf/Makefile (sln-modules): New variable.
58866         (extra-objs): Add $(sln-modules:=.o).
58867         (ldconfig-modules): Add static-stubs.
58868         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58869         * elf/static-stubs.c: New file.
58871         [BZ #14283]
58872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58873         by 7 not 8 to examine high bit of fractional part.  Use volatile
58874         variables when splitting into final array of floats if
58875         __FLT_EVAL_METHOD__ != 0.
58876         * math/libm-test.inc (cos_test): Add another test.
58877         (sin_test): Likewise.
58878         * sysdeps/i386/fpu/libm-test-ulps: Update.
58880         [BZ #14273]
58881         * math/libm-test.inc (cosh_test): Add more tests.
58883         * version.h (RELEASE): Set to "development".
58884         (VERSION): Set to "2.16.90".
58886 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58888         * NEWS: Update copyright. Remove last-updated date.
58889         Mention math library bug fixes and timezone data changes.
58890         * README: Mention GNU/Hurd, x32, and HPPA support status.
58892 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58894         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58896 2012-06-27  Andreas Jaeger  <aj@suse.de>
58898         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58900 2012-06-25  Andreas Jaeger  <aj@suse.de>
58902         * sysdeps/s390/fpu/libm-test-ulps: Update.
58904 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58905             Thomas Schwinge  <thomas@codesourcery.com>
58907         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58908         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58910         fanotify_mark.
58912 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58914         * sysdeps/mach/start.c: Remove file.
58915         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58916         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58917         * sysdeps/sh/init-first.c: Likewise.
58919         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58920         registers for frame unwinding purposes, add CFI directives.
58921         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58922         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58923         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58924         Likewise.
58926         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58927         __fortify_fail returning.
58928         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58930         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58931         sysdeps/sh/____longjmp_chk.S.
58932         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58933         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58934         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58935         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58937         * sysdeps/sh/abort-instr.h: New file.
58938         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58939         process in case exit returns.
58941         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58942         initialize the GOT register before use.
58944         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58945         calculation of ARGC > 4.
58947         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58948         meaningful names to some local labels.
58950 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58951             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58953         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58954         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58955         (__arch_compare_and_exchange_val_16_acq): Likewise.
58956         (__arch_compare_and_exchange_val_32_acq): Likewise.
58957         (atomic_exchange_and_add): Fix gUSA sequence.
58958         (atomic_add): Likewise.
58959         (atomic_add_negative): Likewise.
58960         (atomic_add_zero): Likewise.
58961         (atomic_bit_test_set): Likewise.
58963 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58965         [BZ #13579]
58966         * include/link.h (struct link_map): Add l_free_initfini.
58967         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58968         l_initfini.
58969         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58970         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58971         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58972         set.
58974 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58976         * configure.in: Use AC_LANG_SOURCE.
58977         * configure: Regenerate.
58979 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58981         * configure.in (libc_cv_localstatedir): New substituted variable.
58982         * configure: Regenerated.
58983         * config.make.in (localstatedir): New variable, substituted from
58984         libc_cv_localstatedir.
58985         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58986         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58987         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58988         * sysdeps/gnu/configure: Regenerated.
58990 2012-06-21  Jeff Law  <law@redhat.com>
58992         [BZ #14277]
58993         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58994         free.  Simplify list management for _LIBC case.
58996 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58998         [BZ #14273]
58999         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59000         Clear sign bit of 64-bit integer value before comparing against
59001         overflow value.
59003         * sysdeps/mach/configure: Regenerated.
59005 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59007         [BZ #14278]
59008         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59010 2012-06-21  Jeff Law  <law@redhat.com>
59012         [BZ #13882]
59013         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59014         uint16_t for elements in the "seen" array to avoid char overflows.
59015         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59016         * elf/dl-open.c (dl_open_worker): Likewise.
59018 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59020         * scripts/list-sources.sh: Scan PORTS for translations.
59021         * po/libc.pot: Regenerated.
59023 2012-06-21  Andreas Jaeger  <aj@suse.de>
59025         [BZ #12194]
59026         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59027         warning.
59028         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59029         * bits/byteswap-16.h (__bswap_16): Likewise.
59030         * bits/byteswap.h (__bswap_constant_16): Likewise.
59032 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59034         [BZ #14117]
59035         * sysdeps/i386/fpu_control.h: Removed.
59036         * sysdeps/x86_64/fpu_control.h: Moved to ...
59037         * sysdeps/x86/fpu_control.h: Here.
59039         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59040         (_FPU_SETCW): Likewise.
59042 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59044         [BZ #14117]
59045         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59046         * sysdeps/x86/fpu/bits/mathinline.h: This.
59047         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59049         [BZ #14050]
59050         [BZ #14117]
59051         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59052         functions if __x86_64__ is defined.
59054 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59056         * string/endian.h: Add !__ASSEMBLER__ condition for including
59057         conversion interfaces.
59059 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59061         [BZ #14241]
59062         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59063         of ABS(x) in calculating zero to negative powers other than odd
59064         integers.
59065         * math/libm-test.inc (pow_test): Add more tests.
59067 2012-06-15  Andreas Jaeger  <aj@suse.de>
59069         * manual/contrib.texi (Contributors): Update entry of Liubov
59070         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59071         Machado Filho.
59073 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59075         * string/string.h: Add __wur to GNU version of strerror_r.
59077 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59079         [BZ #14229]
59080         * string/Makefile (tests): Add tst-strtok_r.
59081         * string/tst-strtok_r.c: New file.
59082         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59083         RAX_LP/RDX_LP on SAVE_PTR.
59085 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59087         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59089 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59091         * libm_test.inc (csqrt_test): Allow more spurious underflow
59092         exceptions.
59093         (j0_test): Likewise.
59094         (j1_test): Likewise.
59095         (y0_test): Likewise.
59096         (y1_test): Likewise.
59098 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59100         * po/Makefile (libc.pot): Use UTF-8 charset.
59102 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59104         [BZ #14210]
59105         Suppress sign-conversion warning from FD_SET.
59106         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59107         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59108         not unsigned long int.
59109         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59111 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59113         [BZ #14050]
59114         [BZ #14117]
59115         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59116         __extern_always_inline instead of __extern_inline.
59117         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59118         (__signbit): Likewise.
59119         (__signbitl): Support C++ namespace.
59120         (lrintf): New inline function.
59121         (lrint): Likewise.
59122         (llrintf): Likewise.
59123         (llrint): Likewise.
59124         (fmaxf): Likewise.
59125         (fmax): Likewise.
59126         (fminf): Likewise.
59127         (fmin): Likewise.
59128         (rint): Likewise.
59129         (rintf): Likewise.
59130         (ceil): Likewise.
59131         (ceilf): Likewise.
59132         (floor): Likewise.
59133         (floorf): Likewise.
59134         (nearbyint): Likewise.
59135         (nearbyintf): Likewise.
59137 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59139         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59140         non-default versions.
59142 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59144         [BZ #14218]
59145         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59147 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59149         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59150         (FE_UPWARD, FE_DOWNWARD): Don't define.
59151         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59152         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59154         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59155         reading it.
59156         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59157         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59159 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59161         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59162         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59163         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59164         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59166 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59168         [BZ #14117]
59169         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59170         * sysdeps/i386/fpu/Implies: New file.
59171         * sysdeps/x86_64/fpu/Implies: Likewise.
59172         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59173         * sysdeps/x86/fpu/bits/fenv.h: This.
59175         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59176         __SSE_MATH__.
59178 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59180         [BZ #14134]
59181         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59182         character 0xffff that matches the last element of the
59183         conversion table.
59185 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59188         fmodl commit.
59190 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59192         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59193         values higher than 25.6283.
59195 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59197         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59198         subnormal exponent extraction and add some __builtin_expect.
59199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59200         Fix for subnormal mantissa calculation.
59202 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59204         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59205         cpu2 is -1 and errno is not ENOSYS.
59207 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59209         [BZ #14117]
59210         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59211         * sysdeps/x86/bits/string.h: This.
59212         * sysdeps/x86_64/bits/string.h: Removed.
59214         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59215         if not compiling for x86-64, but compiling for >= i486.
59217         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59218         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59220         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59221         New macro from Linux kernel 3.4.0.
59222         (FP_XSTATE_MAGIC2): Likewise.
59223         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59224         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59225         (struct _fpx_sw_bytes): New struct.
59226         (struct _xsave_hdr): Likewise.
59227         (struct _ymmh_state): Likewise.
59228         (struct _xstate): Likewise.
59230         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59231         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59232         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59233         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59234         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59235         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59237         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59238         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59239         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59240         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59241         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59242         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59244 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59246         [BZ #13743]
59247         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59248         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59249         (sysdep_headers): Include sys/platform/ppc.h.
59250         * sysdeps/powerpc/test-gettimebase.c: Test for
59251         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59252         * manual/Makefile (appendices): Include platform.texi.
59253         * manual/contrib.texi (Contributors): Update @node pointers.
59254         * manual/maint.texi (Maintenance): Likewise.
59255         (Platform): New node.
59256         * manual/platform.texi: New file.  Document the new features.
59258 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59259             Jakub Jelinek  <jakub@redhat.com>
59261         [BZ #14188]
59262         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59263         where __builtin_expect is unavailable.
59265 2012-06-03  David S. Miller  <davem@davemloft.net>
59267         * stdlib/longlong.h: Updated from GCC.
59269 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59271         [BZ #14042]
59272         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59273         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59274         __mcount_internal.
59275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59276         (GLIBC_2.16): Likewise.
59278 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59280         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59282 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59285         (default-abi): New variable.
59286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59287         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59288         variable.
59289         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59290         Likewise.
59291         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59292         Likewise.
59293         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59294         Likewise.
59296         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59297         definition.  Document in comment.
59299 2012-06-01  David S. Miller  <davem@davemloft.net>
59301         * stdlib/longlong.h: Updated from GCC.
59303 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59305         [BZ #14117]
59306         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59307         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59308         sys/debugreg.h sys/io.h here.
59309         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59310         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59311         sys/io.h.
59312         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59313         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59314         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59315         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59316         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59317         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59319         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59320         Define only if __x86_64__ is defined.
59322 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59324         [BZ #14048]
59325         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59326         Use int64_t for variable i.
59327         * math/libm-test.inc (fmod_test): Add more tests.
59329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59330         z computation is not scheduled after fetestexcept.
59331         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59332         Use math_force_eval instead of asm to ensure calculation scheduled
59333         before exception test.
59334         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59335         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59337 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59340         computation is not scheduled after fetestexcept.
59342 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59344         [BZ #14117]
59345         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59346         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59348 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59350         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59351         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59353 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59355         [BZ #14117]
59356         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59357         <bits/wordsize.h>.
59358         (__WCHAR_MIN): Support __WORDSIZE == 64.
59359         (__WCHAR_MAX): Likewise.
59361         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59362         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59364         [BZ #14183]
59365         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59366         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59368         [BZ #14117]
59369         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59370         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59372         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59373         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59375         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59376         Defined to 1 if __x86_64__ isn't defined.
59377         (_STAT_VER_LINUX_OLD): New.
59378         (st_atime): Remove duplicate.
59379         (st_mtime): Likewise.
59380         (st_ctime): Likewise.
59382 2012-05-31  David S. Miller  <davem@davemloft.net>
59384         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59385         entries.
59387 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59389         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59390         gen-libm-test.pl.
59392         [BZ #14132]
59393         * elf/dl-reloc.c: Include <_itoa.h>.
59394         (_dl_reloc_bad_type): Remove use of INTUSE.
59395         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59396         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59397         * stdio-common/psiginfo.c (psiginfo): Likewise.
59398         * stdio-common/psignal.c (psignal): Likewise.
59399         * string/strsignal.c (strsignal): Likewise.
59400         * include/signal.h (_sys_siglist): Declare hidden proto.
59401         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59402         INTVARDEF with libc_hidden_data_def.
59403         * stdio-common/itoa-udigits.c: Likewise.
59404         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59405         (_itoa_lower_digits_internal): Remove declaration.
59406         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59407         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59408         (_sys_sigabbrev_internal): Remove aliases.
59409         (_sys_siglist): Define hidden alias.
59411 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59413         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59414         bits/sysctl.h.
59416 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59418         [BZ #14117]
59419         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59420         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59422         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59423         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59424         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59425         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59426         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59427         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59429         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59430         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59431         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59433         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59434         with __addr.
59435         (insw): Likewise.
59436         (insl): Likewise.
59437         (outsb): Likewise.
59438         (outsw): Likewise.
59439         (outsl): Likewise.
59441         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59442         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59443         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59445         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59446         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59447         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59448         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59449         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59450         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59452         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59453         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59455         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59456         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59458         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59459         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59460         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59462         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59463         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59464         to ...
59465         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59467         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59468         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59469         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59471         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59472         for x86-64.
59473         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59475 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59477         * math/math.h (M_El): Use two more decimal places.
59478         (M_LOG2El): Likewise.
59479         (M_LOG10El): Likewise.
59480         (M_LN2l): Likewise.
59481         (M_LN10l): Likewise.
59482         (M_PIl): Likewise.
59483         (M_PI_2l): Likewise.
59484         (M_PI_4l): Likewise.
59485         (M_1_PIl): Likewise.
59486         (M_2_PIl): Likewise.
59487         (M_2_SQRTPIl): Likewise.
59488         (M_SQRT2l): Likewise.
59489         (M_SQRT1_2l): Likewise.
59491 2012-05-31  David S. Miller  <davem@davemloft.net>
59493         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59494         values between float registers.
59495         * sysdeps/sparc/sparc64/memset.S: Likewise.
59496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59498 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59500         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59501         -D_FORTIFY_SOURCE=1.
59502         (CPPFLAGS-tst-longjmp_chk.c): Define.
59503         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59504         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59505         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59506         CFLAGS-tst-wchar-h.c.
59508 2012-05-31  Marek Polacek  <polacek@redhat.com>
59510         [BZ #14132]
59511         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59512         __endmntent_internal): Remove declaration.
59513         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59514         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59515         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59517 2012-05-30  David S. Miller  <davem@davemloft.net>
59519         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59520         (___Q_simulate_exceptions): Use real FP ops rather than writing
59521         into the %fsr.
59522         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59523         Likewise.
59525 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59527         [BZ #14117]
59528         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59529         * sysdeps/x86/bits/xtitypes.h: This.
59531         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59532         * sysdeps/x86/bits/wordsize.h: This.
59534         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59535         * sysdeps/x86/bits/huge_vall.h: This.
59537         * sysdeps/i386/bits/select.h: Removed.
59538         * sysdeps/x86_64/bits/select.h: Renamed to ...
59539         * sysdeps/x86/bits/select.h: This.
59541         * sysdeps/i386/bits/setjmp.h: Removed.
59542         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59543         * sysdeps/x86/bits/setjmp.h: This.
59545         * sysdeps/i386/bits/mathdef.h: Removed.
59546         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59547         * sysdeps/x86/bits/mathdef.h: This.
59549 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59551         [BZ #14132]
59552         * include/sys/socket.h (__connect_internal)
59553         (__libc_sa_len_internal): Remove declaration.
59554         (__connect, __libc_sa_len): Declare hidden_proto.
59555         (SA_LEN): Remove use of INTUSE.
59556         * socket/connect.c: Add libc_hidden_def.
59557         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59558         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59559         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59560         alias.
59561         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59562         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59563         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59564         of adding _internal alias.
59566 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59568         [BZ #14117]
59569         * sysdeps/i386/bits/link.h: Removed.
59570         * sysdeps/i386/bits/linkmap.h: Likewise.
59571         * sysdeps/x86_64/bits/link.h: Renamed to ...
59572         * sysdeps/x86/bits/link.h: This.
59573         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59574         * sysdeps/x86/bits/linkmap.h: This.
59576         * sysdeps/i386/bits/endian.h: Removed.
59577         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59578         * sysdeps/x86/bits/endian.h: This.
59580         * sysdeps/i386/bits/byteswap.h: Removed.
59581         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59582         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59583         * sysdeps/x86/bits/byteswap.h: This.
59584         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59585         * sysdeps/x86/bits/byteswap-16.h: This.
59586         * sysdeps/i386/Implies: Add x86.
59587         * sysdeps/x86_64/Implies: Likewise.
59589 2012-05-30  David S. Miller  <davem@davemloft.net>
59591         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59592         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59593         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59594         (FP_TRAPPING_EXCEPTIONS): Define.
59595         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59596         (FP_TRAPPING_EXCEPTIONS): Define.
59597         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59598         subnormals only when inexact has been signalled or underflow
59599         exceptions are enabled.
59600         (_FP_PACK_CANONICAL): Likewise.
59602 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59604         [BZ #14183]
59605         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59606         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59608 2012-05-30  Richard Henderson  <rth@twiddle.net>
59610         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59611         with #ifndef NOT_IN_libc.
59613         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59614         marked to avoid plt entry.
59616 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59618         [BZ #14112]
59619         * Makeconfig (default-abi): New macro.
59620         (abi-includes): Likewise.
59621         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59622         $(abi-$(default-abi)-lib-soname) for soname if defined.
59623         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59624         abi-variants.
59625         * Makefile (installed-stubs): Likewise.
59626         * include/stubs-biarch.h: Removed.
59627         * scripts/lib-names.awk: Only handle one library at a time.
59628         * scripts/soversions.awk: Remove WORDSIZE support.
59629         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59630         entries.
59631         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59632         Removed.
59633         (syscall-list-default-condition): Likewise.
59634         (syscall-list-default-condition): Likewise.
59635         (syscall-list-includes): Likewise.
59636         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59637         syscall-list-* with abi-*.  Handle undefined abi-variants.
59638         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59639         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59640         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59641         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59642         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59643         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59644         Removed.
59645         (syscall-list-32-options): Likewise.
59646         (syscall-list-32-condition): Likewise.
59647         (syscall-list-64-options): Likewise.
59648         (syscall-list-64-condition): Likewise.
59649         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59650         macro.
59651         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59652         Renamed to ...
59653         (abi-*): This.
59654         (abi-64-ld-soname): New macro.
59655         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59656         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59657         Renamed to ...
59658         (abi-*): This.
59659         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59660         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59662 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59664         * sysdeps/unix/sysv/linux/kernel-features.h
59665         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59666         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59667         include <kernel-features.h>.
59668         [!__NR_ftruncate64]: Remove conditional code.
59669         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59670         [__NR_ftruncate64]: Make code unconditional.
59671         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59672         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59673         include <kernel-features.h>.
59674         [!__NR_ftruncate64]: Remove conditional code.
59675         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59676         [__NR_ftruncate64]: Make code unconditional.
59677         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59679         include <kernel-features.h>.
59680         [!__NR_ftruncate64]: Remove conditional code.
59681         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59682         [__NR_ftruncate64]: Make code unconditional.
59683         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59685         include <kernel-features.h>.
59686         [!__NR_ftruncate64]: Remove conditional code.
59687         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59688         [__NR_ftruncate64]: Make code unconditional.
59689         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59691         * configure.in (libc_cv_fpie): Weaken to a compile test using
59692         LIBC_TRY_CC_OPTION.
59693         * configure: Regenerated.
59695 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59701         Refreshed.
59702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59708         Refreshed.
59710 2012-05-27  David S. Miller  <davem@davemloft.net>
59712         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59713         (___Q_zero): New.
59714         (__Q_simulate_exceptions): Return void.  Change to simulate
59715         exceptions by writing into the %fsr.
59716         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59717         (__Qp_handle_exceptions): Likewise.
59718         (numbers): Delete.
59719         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59720         __Qp_handle_exceptions.
59721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59722         __Qp_handle_exceptions.
59723         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59724         as unused and give dummy FP_RND_NEAREST initializer.
59725         (FP_INHIBIT_RESULTS): Define.
59726         (___Q_simulate_exceptions): Update declaration.
59727         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59728         formatting.
59729         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59730         as unused and give dummy FP_RND_NEAREST initializer.
59731         (__Qp_handle_exceptions): Update declaration.
59732         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59733         formatting.
59735 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59737         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59738         the temporary FPU control word.
59739         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59740         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59741         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59742         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59743         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59744         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59745         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59746         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59747         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59748         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59749         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59751 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59753         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59754         fields.
59756 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59758         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59759         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59760         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59761         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59762         Likewise.
59763         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59764         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59765         Likewise.
59767 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59769         * po/h.po: Update from translation team.
59771 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59773         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59775         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59776         handling of denormals.
59777         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59778         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59779         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59780         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59784         Likewise.
59786 2012-05-26  Marek Polacek  <polacek@redhat.com>
59788         [BZ #14152]
59789         * math/libm-test.inc (fma_test): Don't always expect underflow
59790         exception.
59792 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59794         [BZ #12416]
59795         * elf/tst-execstack.c: Include stackinfo.h.
59796         (do_test): Adjust test case to ensure that pthread_getattr_np
59797         behaviour remains the same after marking stack executable.
59799 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59801         * sysdeps/unix/sysv/linux/kernel-features.h
59802         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59803         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59804         kernel-features.h.
59805         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59806         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59807         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59808         kernel-features.h.
59809         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59810         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59812 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59814         * configure.in: Define the default includes to being none.
59815         * configure: Regenerated.
59817 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59819         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59820         * sysdeps/x86_64/setjmp.S: Likewise.
59821         * sysdeps/i386/bsd-setjmp.S: Likewise.
59822         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59823         * sysdeps/i386/setjmp.S: Likewise.
59824         * sysdeps/i386/__longjmp.S: Likewise.
59825         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59826         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59828         * include/stap-probe.h: New file.
59829         * configure.in: Handle --enable-systemtap.
59830         * configure: Regenerated.
59831         * config.h.in (USE_STAP_PROBE): New #undef.
59832         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59833         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59834         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59836 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59838         [BZ #13717]
59839         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59840         to 2.4.0 where earlier.
59841         * sysdeps/unix/sysv/linux/configure: Regenerated.
59842         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59843         <kernel-features.h>.
59844         [__ASSUME_32BITUIDS]: Make code unconditional.
59845         [!__ASSUME_32BITUIDS]: Remove conditional code.
59846         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59847         <kernel-features.h>.
59848         [__ASSUME_32BITUIDS]: Make code unconditional.
59849         [!__ASSUME_32BITUIDS]: Remove conditional code.
59850         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59851         [__ASSUME_32BITUIDS]: Make code unconditional.
59852         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59853         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59854         <kernel-features.h>.
59855         [__ASSUME_32BITUIDS]: Make code unconditional.
59856         [!__ASSUME_32BITUIDS]: Remove conditional code.
59857         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59858         <kernel-features.h>.
59859         [__ASSUME_32BITUIDS]: Make code unconditional.
59860         [!__ASSUME_32BITUIDS]: Remove conditional code.
59861         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59862         <kernel-features.h>.
59863         [__ASSUME_32BITUIDS]: Make code unconditional.
59864         [!__ASSUME_32BITUIDS]: Remove conditional code.
59865         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59866         <kernel-features.h>.
59867         [__ASSUME_32BITUIDS]: Make code unconditional.
59868         [!__ASSUME_32BITUIDS]: Remove conditional code.
59869         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
59878         <kernel-features.h>.
59879         [__ASSUME_32BITUIDS]: Make code unconditional.
59880         [!__ASSUME_32BITUIDS]: Remove conditional code.
59881         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59882         <kernel-features.h>.
59883         [__ASSUME_32BITUIDS]: Make code unconditional.
59884         [!__ASSUME_32BITUIDS]: Remove conditional code.
59885         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59886         <kernel-features.h>.
59887         [__ASSUME_32BITUIDS]: Make code unconditional.
59888         [!__ASSUME_32BITUIDS]: Remove conditional code.
59889         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59890         <kernel-features.h>.
59891         [__ASSUME_32BITUIDS]: Make code unconditional.
59892         [!__ASSUME_32BITUIDS]: Remove conditional code.
59893         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59894         <kernel-features.h>.
59895         [__NR_setresgid] (__setresgid): Do not declare.
59896         [__ASSUME_32BITUIDS]: Make code unconditional.
59897         [!__ASSUME_32BITUIDS]: Remove conditional code.
59898         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59899         <kernel-features.h>.
59900         [__NR_setresuid] (__setresuid): Do not declare.
59901         [__ASSUME_32BITUIDS]: Make code unconditional.
59902         [!__ASSUME_32BITUIDS]: Remove conditional code.
59903         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59904         <kernel-features.h>.
59905         [__ASSUME_32BITUIDS]: Make code unconditional.
59906         [!__ASSUME_32BITUIDS]: Remove conditional code.
59907         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59908         <kernel-features.h>.
59909         [__ASSUME_32BITUIDS]: Make code unconditional.
59910         [!__ASSUME_32BITUIDS]: Remove conditional code.
59911         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59912         <kernel-features.h>.
59913         [__ASSUME_32BITUIDS]: Make code unconditional.
59914         [!__ASSUME_32BITUIDS]: Remove conditional code.
59915         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59916         <kernel-features.h>.
59917         [__ASSUME_32BITUIDS]: Make code unconditional.
59918         [!__ASSUME_32BITUIDS]: Remove conditional code.
59919         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59920         <kernel-features.h>.
59921         [__ASSUME_32BITUIDS]: Make code unconditional.
59922         [!__ASSUME_32BITUIDS]: Remove conditional code.
59923         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59924         <kernel-features.h>.
59925         [__ASSUME_32BITUIDS]: Make code unconditional.
59926         [!__ASSUME_32BITUIDS]: Remove conditional code.
59927         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59928         <kernel-features.h>.
59929         [__ASSUME_32BITUIDS]: Make code unconditional.
59930         [!__ASSUME_32BITUIDS]: Remove conditional code.
59931         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59932         <kernel-features.h>.
59933         [__ASSUME_32BITUIDS]: Make code unconditional.
59934         [!__ASSUME_32BITUIDS]: Remove conditional code.
59935         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59936         <kernel-features.h>.
59937         [__ASSUME_32BITUIDS]: Make code unconditional.
59938         [!__ASSUME_32BITUIDS]: Remove conditional code.
59939         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59940         <kernel-features.h>.
59941         [__ASSUME_32BITUIDS]: Make code unconditional.
59942         [!__ASSUME_32BITUIDS]: Remove conditional code.
59943         * sysdeps/unix/sysv/linux/kernel-features.h
59944         (__ASSUME_SETRESUID_SYSCALL): Remove.
59945         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59946         (__ASSUME_32BITUIDS): Likewise.
59947         (__ASSUME_LDT_WORKS): Likewise.
59948         (__ASSUME_O_DIRECTORY): Likewise.
59949         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59950         architecture but not kernel version.
59951         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59952         (__ASSUME_MMAP2_SYSCALL): Likewise.
59953         (__ASSUME_STAT64_SYSCALL): Likewise.
59954         (__ASSUME_IPC64): Likewise.
59955         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59956         <kernel-features.h>.
59957         [__ASSUME_32BITUIDS]: Make code unconditional.
59958         [!__ASSUME_32BITUIDS]: Remove conditional code.
59959         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59960         <kernel-features.h>.
59961         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59962         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59963         132096]: Remove conditional code.
59964         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59965         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59966         <kernel-features.h>.
59967         [__ASSUME_32BITUIDS]: Make code unconditional.
59968         [!__ASSUME_32BITUIDS]: Remove conditional code.
59969         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59970         <kernel-features.h>.
59971         [__ASSUME_32BITUIDS]: Make code unconditional.
59972         [!__ASSUME_32BITUIDS]: Remove conditional code.
59973         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59974         <kernel-features.h>.
59975         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59976         unconditional.
59977         (__setresgid): Do not declare.
59978         [__ASSUME_32BITUIDS]: Make code unconditional.
59979         [!__ASSUME_32BITUIDS]: Remove conditional code.
59980         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59981         <kernel-features.h>.
59982         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59983         unconditional.
59984         (__setresuid): Do not declare.
59985         [__ASSUME_32BITUIDS]: Make code unconditional.
59986         [!__ASSUME_32BITUIDS]: Remove conditional code.
59987         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59988         <kernel-features.h>.
59989         [__ASSUME_32BITUIDS]: Make code unconditional.
59990         [!__ASSUME_32BITUIDS]: Remove conditional code.
59991         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59992         <kernel-features.h>.
59993         [__ASSUME_32BITUIDS]: Make code unconditional.
59994         [!__ASSUME_32BITUIDS]: Remove conditional code.
59996 2012-05-25  Richard Henderson  <rth@twiddle.net>
59998         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59999         dl_hwcap to ifunc resolver.
60000         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60001         elf_ifunc_invoke.
60002         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60003         dl_hwcap to ifunc resolver.
60004         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60006 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60008         [BZ #14153]
60009         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60010         for |x| <= 2**-26, not 2**-57.
60011         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60012         exception.
60014 2012-05-24  Jeff Law  <law@redhat.com>
60016         * stdio-common/Makefile (tests): Add bug25.
60017         * stdio-common/bug25.c: New test.
60019 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60021         [BZ #13576]
60022         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60023         multiple of MALLOC_ALIGNMENT in size.
60024         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60026 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60028         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60029         Require >= 256.
60030         (FILENAME_MAX): Use macro-int-constant.
60031         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60032         (_IOFBF): Use macro-int-constant.
60033         (_IOLBF): Likewise.
60034         (_IONBF): Likewise.
60035         (SEEK_CUR): Likewise.
60036         (SEEK_END): Likewise.
60037         (SEEK_SET): Likewise.
60038         (TMP_MAX): Likewise.
60039         (EOF): Use macro-int-constant.  Require < 0.
60040         (NULL): Use macro-constant.  Require == 0.
60041         (stdin): Require type to be FILE *.
60042         (stdout): Likewise.
60043         (stderr): Likewise.
60044         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60045         macro-int-constant.
60046         (EXIT_SUCCESS): Likewise.
60047         (NULL): Use macro-constant.  Require == 0.
60048         (RAND_MAX): Use macro-int-constant.
60049         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60050         [C99-based standards] (strtof): Require function.
60051         [C99-based standards] (strtold): Likewise.
60052         [C99-based standards] (strtoll): Likewise.
60053         [C99-based standards] (strtoull): Likewise.
60054         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60055         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60056         [ISO || ISO99 || ISO11] (math.h): Likewise.
60057         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60058         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60059         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60061 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60063         [BZ #14132]
60064         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60065         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60066         * intl/dgettext.c (DCGETTEXT): Likewise.
60067         * intl/gettext.c (DCGETTEXT): Likewise.
60068         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60069         * posix/regex_internal.h (gettext): Likewise.
60070         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60071         Remove declaration.
60072         * include/argz.h (__argz_count_internal)
60073         (__argz_stringify_internal): Remove declaration.
60074         (__argz_count, __argz_stringify): Declare hidden proto.
60075         * intl/dcgettext.c: Remove use of INTDEF.
60076         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60077         * string/argz-stringify.c: Likewise.
60078         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60079         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60080         Declare hidden proto.
60081         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60082         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60083         Declare hidden proto.
60084         * include/stdio.h (__asprintf_internal): Don't declare.
60085         (__asprintf): Don't define as macro.  Declare hidden proto.
60086         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60087         (__fsetlocking): Declare hidden proto.
60088         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60089         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60090         hidden proto.
60091         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60092         (_IO_setlinebuf): Remove use of INTUSE.
60093         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60094         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60095         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60096         Remove declaration.
60097         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60098         (_IO_do_flush): Remove use of INTUSE.
60099         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60100         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60101         (_IO_adjust_column, _IO_least_wmarker)
60102         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60103         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60104         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60105         (_IO_default_doallocate, _IO_wdefault_doallocate)
60106         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60107         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60108         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60109         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60110         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60111         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60112         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60113         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60114         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60115         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60116         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60117         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60118         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60119         proto.
60120         (_IO_flush_all_internal, _IO_adjust_column_internal)
60121         (_IO_default_uflow_internal, _IO_default_finish_internal)
60122         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60123         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60124         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60125         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60126         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60127         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60128         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60129         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60130         (_IO_file_close_internal, _IO_file_close_it_internal)
60131         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60132         (_IO_file_init_internal, _IO_file_attach_internal)
60133         (_IO_file_fopen_internal, _IO_file_read_internal)
60134         (_IO_file_sync_internal, _IO_file_seek_internal)
60135         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60136         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60137         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60138         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60139         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60140         (_IO_list_all_internal, _IO_link_in_internal)
60141         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60142         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60143         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60144         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60145         (_IO_do_write_internal, _IO_padn_internal)
60146         (_IO_getline_info_internal, _IO_getline_internal)
60147         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60148         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60149         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60150         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60151         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60152         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60153         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60154         with libc_hidden_ver, remove use of INTUSE.
60155         * libio/genops.c: Likewise.
60156         * libio/freopen.c: Likewise.
60157         * libio/freopen64.c: Likewise.
60158         * libio/iofclose.c: Likewise.
60159         * libio/iofdopen.c: Likewise.
60160         * libio/iofflush.c: Likewise.
60161         * libio/iofflush_u.c: Likewise.
60162         * libio/iofgets.c: Likewise.
60163         * libio/iofgets_u.c: Likewise.
60164         * libio/iofopen.c: Likewise.
60165         * libio/iofopncook.c: Likewise.
60166         * libio/iofread.c: Likewise.
60167         * libio/iofread_u.c: Likewise.
60168         * libio/ioftell.c: Likewise.
60169         * libio/iofwrite.c: Likewise.
60170         * libio/iogetline.c: Likewise.
60171         * libio/iogets.c: Likewise.
60172         * libio/iogetwline.c: Likewise.
60173         * libio/iopadn.c: Likewise.
60174         * libio/iopopen.c: Likewise.
60175         * libio/ioseekoff.c: Likewise.
60176         * libio/ioseekpos.c: Likewise.
60177         * libio/iosetbuffer.c: Likewise.
60178         * libio/iosetvbuf.c: Likewise.
60179         * libio/ioungetc.c: Likewise.
60180         * libio/ioungetwc.c: Likewise.
60181         * libio/iovdprintf.c: Likewise.
60182         * libio/iovsprintf.c: Likewise.
60183         * libio/iovsscanf.c: Likewise.
60184         * libio/memstream.c: Likewise.
60185         * libio/obprintf.c: Likewise.
60186         * libio/oldfileops.c: Likewise.
60187         * libio/oldiofclose.c: Likewise.
60188         * libio/oldiofdopen.c: Likewise.
60189         * libio/oldiofopen.c: Likewise.
60190         * libio/oldiopopen.c: Likewise.
60191         * libio/oldstdfiles.c: Likewise.
60192         * libio/putc.c: Likewise.
60193         * libio/setbuf.c: Likewise.
60194         * libio/setlinebuf.c: Likewise.
60195         * libio/stdfiles.c: Likewise.
60196         * libio/strops.c: Likewise.
60197         * libio/vasprintf.c: Likewise.
60198         * libio/vscanf.c: Likewise.
60199         * libio/vsnprintf.c: Likewise.
60200         * libio/vswprintf.c: Likewise.
60201         * libio/wfiledoalloc.c: Likewise.
60202         * libio/wfileops.c: Likewise.
60203         * libio/wgenops.c: Likewise.
60204         * libio/wmemstream.c: Likewise.
60205         * libio/wstrops.c: Likewise.
60206         * libio/__fpurge.c: Likewise.
60207         * libio/__fsetlocking.c: Likewise.
60208         * assert/assert.c: Likewise.
60209         * debug/fgets_chk.c: Likewise.
60210         * debug/fgets_u_chk.c: Likewise.
60211         * debug/fread_chk.c: Likewise.
60212         * debug/fread_u_chk.c: Likewise.
60213         * debug/gets_chk.c: Likewise.
60214         * debug/obprintf_chk.c: Likewise.
60215         * debug/vasprintf_chk.c: Likewise.
60216         * debug/vdprintf_chk.c: Likewise.
60217         * debug/vsnprintf_chk.c: Likewise.
60218         * debug/vsprintf_chk.c: Likewise.
60219         * malloc/mtrace.c: Likewise.
60220         * misc/error.c: Likewise.
60221         * misc/syslog.c: Likewise.
60222         * stdio-common/asprintf.c: Likewise.
60223         * stdio-common/fxprintf.c: Likewise.
60224         * stdio-common/getw.c: Likewise.
60225         * stdio-common/isoc99_fscanf.c: Likewise.
60226         * stdio-common/isoc99_scanf.c: Likewise.
60227         * stdio-common/isoc99_vfscanf.c: Likewise.
60228         * stdio-common/isoc99_vscanf.c: Likewise.
60229         * stdio-common/isoc99_vsscanf.c: Likewise.
60230         * stdio-common/printf-prs.c: Likewise.
60231         * stdio-common/printf_fp.c: Likewise.
60232         * stdio-common/printf_fphex.c: Likewise.
60233         * stdio-common/printf_size.c: Likewise.
60234         * stdio-common/putw.c: Likewise.
60235         * stdio-common/scanf.c: Likewise.
60236         * stdio-common/sprintf.c: Likewise.
60237         * stdio-common/tmpfile.c: Likewise.
60238         * stdio-common/vfprintf.c: Likewise.
60239         * stdio-common/vfscanf.c: Likewise.
60240         * stdlib/strfmon_l.c: Likewise.
60241         * sunrpc/openchild.c: Likewise.
60242         * sunrpc/xdr_stdio.c: Likewise.
60243         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60244         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60246 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60248         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60250         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60251         in the third column, to generate for the shared library an IFUNC
60252         that uses _dl_vdso_vsym.
60253         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60254         * Makeconfig (object-suffixes-noshared): New variable.
60256         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60257         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60258         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60259         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60261         [BZ #14132]
60262         * include/sys/time.h (__gettimeofday): Remove macro.
60263         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60264         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60265         Remove INTDEF.
60266         (__gettimeofday): Add libc_hidden_def.
60267         (gettimeofday): Add libc_hidden_weak.
60268         * sysdeps/mach/gettimeofday.c: Likewise.
60269         * sysdeps/posix/gettimeofday.c: Likewise.
60270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60271         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60272         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60273         (__gettimeofday_internal): Remove strong_alias.
60274         (__gettimeofday): Add libc_hidden_def.
60275         (gettimeofday): Add libc_hidden_weak.
60276         * sysdeps/unix/syscalls.list (gettimeofday):
60277         Remove __gettimeofday_internal alias.
60279 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60280             H.J. Lu  <hongjiu.lu@intel.com>
60282         [BZ #12495]
60283         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60284         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60285         (largebin_index_32_big): New.
60286         (largebin_index): Use it for 16-byte alignment.
60287         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60288         correction with front_misalign.
60290 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60294         Likewise.
60295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60296         Likewise.
60297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60298         Likewise.
60299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60300         Likewise.
60301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60302         Likewise.
60303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60304         Likewise.
60305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60306         Likewise.
60307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60308         Likewise.
60309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60310         Likewise.
60311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60312         Likewise.
60313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60314         Likewise.
60315         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60316         Likewise.
60318         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60319         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60321 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60323         [BZ #10846]
60324         [BZ #14036]
60325         * math/libm-test.inc (exp_test): Add test from bug 14036.
60326         (pow_test): Add test from bug 10846.
60328         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60329         and other flags.
60330         (special_function): Do not include flags in test name.
60331         (parse_args): Likewise.
60332         * sysdeps/i386/fpu/libm-test-ulps: Update.
60333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60334         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60335         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60338         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60339         exceptions.
60340         * math/libm-test.inc ("Philosophy"): Update comment about
60341         exception testing.
60342         (UNDERFLOW_EXCEPTION): New macro.
60343         (UNDERFLOW_EXCEPTION_OK): Likewise.
60344         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60345         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60346         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60347         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60348         (INVALID_EXCEPTION_OK): Update value.
60349         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60350         (OVERFLOW_EXCEPTION_OK): Likewise.
60351         (IGNORE_ZERO_INF_SIGN): Likewise.
60352         (test_exceptions): Handle underflow exceptions.
60353         (acos_test): Update for underflow exception expectations.
60354         (cexp_test): Likewise.
60355         (clog_test): Likewise.
60356         (clog10_test): Likewise.
60357         (csqrt_test): Likewise.
60358         (ctan_test): Likewise.
60359         (ctanh_test): Likewise.
60360         (exp_test): Likewise.
60361         (exp10_test): Likewise.
60362         (exp2_test): Likewise.
60363         (expm1_test): Likewise.
60364         (fma_test): Likewise.
60365         (j0_test): Likewise.
60366         (jn_test): Likewise.
60367         (nexttoward_test): Likewise.
60368         (pow_test): Likewise.
60369         (scalbn_test): Likewise.
60370         (scalbln_test): Likewise.
60371         (tan_test): Likewise.
60372         (y1_test): Likewise.
60373         * sysdeps/i386/fpu/libm-test-ulps: Update.
60374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60376 2012-05-23  David S. Miller  <davem@davemloft.net>
60378         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60379         (__libc_sigaction): Remove unused local variables.
60381 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60383         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60385 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60387         mktime: avoid signed integer overflow
60388         * time/mktime.c (__mktime_internal): Do not mishandle the case
60389         where diff == INT_MIN.
60391         mktime: simplify computation of average
60392         * time/mktime.c (ranged_convert): Use new time_t_avg function
60393         instead of rolling our own (probably-slower) code.
60395         mktime: do not assume signed right shift propagates sign bit
60396         * time/mktime.c (isdst_differ): New static function.
60397         (__mktime_internal): No need to normalize tm_isdst now.
60398         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60399         tm_isdst values.
60401         mktime: merge another wrapv change from gnulib
60402         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60403         from some compilers.
60405         mktime: remove incorrect attempt at unusual arithmetics
60406         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60407         The code didn't really work on such machines anyway.
60408         (TYPE_MINIMUM): Assume two's complement.
60409         (twos_complement_arithmetic): Verify that long_int and time_t
60410         are two's complement (or unsigned, in the latter case).
60412         mktime: check signed shifts on long_int and time_t, too
60413         * time/mktime.c (SHR): Check that shifts work as desired
60414         on the types long_int and time_t too, as SHR is used on
60415         such types.
60417         mktime: do not assume 'long' is wide enough
60418         * time/mktime.c (verify): Move decl up.
60419         (long_int): New type.
60420         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60421         to remove assumption in the code that 'long' is wide enough to
60422         store year values.  This assumption is not true on x32 and on
60423         some non-glibc platforms.
60425         mktime: merge wrapv change from gnulib
60426         * time/mktime.c (WRAPV): New macro.
60427         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60428         (guess_time_tm, __mktime_internal): Do not assume that signed
60429         integer overflow wraps around; modern compilers generate code
60430         where this assumption is no longer valid.
60432 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60434         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60435         Replace "jmp L(pseudo_end)" with "ret".
60436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60437         Likewise.
60439 2012-05-23  Andreas Jaeger  <aj@suse.de>
60441         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60442         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60444 2012-05-23  Andreas Jaeger  <aj@suse.de>
60445             Maximilian Attems  <max@stro.at>
60447         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60448         New macros.
60450 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60452         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60453         code so that pseudo_end is just ret and the stack pointer is
60454         correct also for static library in error case.
60456 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60458         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60459         move to syscalls.list.
60460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60465         * manual/install.texi (Running make install): Do not mention Linux
60466         kernel version for which pt_chown is not needed.
60467         (Linux): Do not mention problems with nscd with 2.0 kernels.
60468         * INSTALL: Regenerated.
60470 2012-05-23  Andreas Jaeger  <aj@suse.de>
60472         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60473         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60474         macro.
60475         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60476         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60477         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60478         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60479         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60480         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60481         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60482         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60483         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60484         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60485         * sysdeps/unix/sysv/linux/bits/in.h
60486         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60488 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60490         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60491         (PREPARE_VERSION): Just use assert instead, it will be elided
60492         under [NDEBUG] anyway.
60494 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60496         * sysdeps/unix/sysv/linux/Makefile: Include
60497         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60498         (sysdep_routines): Remove sysctl.
60499         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60500         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60501         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60502         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60503         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60505 2012-05-22  Andreas Jaeger  <aj@suse.de>
60507         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60508         that pseudo_end is just ret and the stack pointer is correct also
60509         for static library in error case.
60511 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60513         [BZ #14122]
60514         * nss/nsswitch.c (defconfig_entries): New variable.
60515         (__nss_database_lookup): Don't leak defconfig entries.
60516         (nss_parse_service_list): Don't leak on error paths.
60517         (free_database_entries): New function.
60518         (free_defconfig): New function.
60519         (free_mem): Move common code to free_database_entries.
60521 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60523         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60524         Add arch_prctl.
60525         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60528         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60530         New macro.
60531         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60532         (INTERNAL_SYSCALL_TYPES): Likewise.
60533         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60534         (LOAD_REGS_TYPES_[1-6]): Likewise.
60535         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60536         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60538 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60540         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60541         copysignl for GLIBC_2_0.
60542         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60543         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60544         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60545         logbl for GLIBC_2_0.
60546         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60547         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60549 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60551         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60552         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60554         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60555         Use "neg %eax".
60557         * time/mktime.c: Update copyright years.
60559 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60561         mktime: merge comment-quoting-style change from gnulib
60562         * time/mktime.c: Quote 'like this' in comments.
60563         The GNU coding standards suggest that we no longer quote `like this',
60564         as "`" and "'" are typically rendered asymmetrically nowadays.
60565         The typical gnulib style is to quote 'like this' when quoting
60566         code, and "like this" when quoting English.
60568         * time/mktime.c (compile-command): Add "-I.".
60570         mktime: merge mktime-internal.h change from gnulib
60571         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60573         mktime: merge time_r change from gnulib
60574         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60576         mktime: merge DEBUG change from gnulib
60577         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60578         case system <time.h> has a #define.
60580         mktime: merge <sys/types.h> change from gnulib
60581         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60582         since <time.t> is now guaranteed to define time_t.
60584         mktime: merge HAVE_CONFIG_H change from gnulib
60585         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60587 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60590         Use "neg %eax".
60592         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60593         __rlim_t cast.
60594         (struct rusage): Use anonymous union to pad each field to
60595         __syscall_slong_t.
60597 2012-05-21  David S. Miller  <davem@davemloft.net>
60599         * Makefules (o-iterator): Remove .s cases.
60600         (compile-command.s): Delete.
60601         (COMPILE.s): Delete.
60602         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60604 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60606         * configure.in (libc_cv_predef_stack_protector): Only consider
60607         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60608         * configure: Regenerated.
60610 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60613         New macro.  Use R*LP on int and pointer.
60614         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60615         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60616         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60617         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60619         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60620         [__WORDSIZE_TIME64_COMPAT32] instead of
60621         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60622         (struct utmp): Likewise.
60623         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60624         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60625         Renamed to ...
60626         (__WORDSIZE_TIME64_COMPAT32): This.
60627         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60628         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60629         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60630         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60631         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60632         (__WORDSIZE_TIME64_COMPAT32): New macro.
60634 2012-05-21  Andreas Jaeger  <aj@suse.de>
60636         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60637         only if [SHARED]. Add prototype for __wcschr_ia32.
60639 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60641         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60642         of %rbp unmolested in the jmp_buf while mangling the low bits.
60643         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60644         unmolested high bits of %rbp while demangling the low bits.
60645         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60647 2012-05-21  Andreas Jaeger  <aj@suse.de>
60649         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60650         * sunrpc/svc_simple.c: Use it for registerrpc.
60651         * sunrpc/xcrypt.c: Use it for passwd2des.
60653         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60655 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60657         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60658         Don't define if [__SYSCALL_WORDSIZE != 32].
60659         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60660         New macro.
60662 2012-05-21  Bruno Haible  <bruno@clisp.org>
60663             Andreas Jaeger  <aj@suse.de>
60665         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60666         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60667         inptr and inend for must_buffer_ch.
60668         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60669         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60670         * stdio-common/Makefile (tests): Remove bug15.
60671         (bug15-ENV): Remove macro.
60672         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60673         anymore.
60675 2012-05-19  Andreas Jaeger  <aj@suse.de>
60676             Roland McGrath  <roland@hack.frob.com>
60678         * manual/contrib.texi: Completely rewritten. It contains now an
60679         alphabetical list of contributors and their contributions.
60681 2012-05-21  Richard Henderson  <rth@twiddle.net>
60683         * misc/getauxval.c (__getauxval): Use unsigned long int.
60684         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60685         (getauxval): Use unsigned long int.
60687 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60689         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60691 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60693         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60694         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60695         __alignof__ (long double).
60697 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60701 2012-05-20  Richard Henderson  <rth@twiddle.net>
60703         * misc/getauxval.c: New file.
60704         * misc/sys/auxv.h: New file.
60705         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60706         (routines): Add getauxval.
60707         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60708         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60709         * elf/dl-sysdep.c (_dl_auxv): Remove.
60710         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60711         * elf/dl-support.c (_dl_auxv): New variable.
60712         (_dl_aux_init): Initialize it.
60713         * manual/startup.texi (Auxiliary Vector): New node.
60714         * sysdeps/generic/bits/hwcap.h: New file.
60715         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60716         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60717         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60718         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60719         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60720         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60722         Update.
60723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60726         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60732 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60736 2012-05-19  David S. Miller  <davem@davemloft.net>
60738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60740 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60742         [BZ #14123]
60743         * math/s_ccosh.c: Include <float.h>
60744         (__ccosh): Avoid internal overflow calculating sinh and cosh
60745         values before multiplying by sin and cos values.
60746         * math/s_ccoshf.c: Likewise.
60747         * math/s_ccoshl.c: Likewise.
60748         * math/s_csin.c: Likewise.
60749         * math/s_csinf.c: Likewise.
60750         * math/s_csinl.c: Likewise.
60751         * math/s_csinh.c: Likewise.
60752         * math/s_csinhf.c: Likewise.
60753         * math/s_csinhl.c: Likewise.
60754         * math/libm-test.inc (ccos_test): Add more tests.
60755         (ccosh_test): Likewise.
60756         (csin_test): Likewise.
60757         (csinh_test): Likewise.
60758         * sysdeps/i386/fpu/libm-test-ulps: Update.
60759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60761 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60763         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60764         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60766         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60768 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60770         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60771         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60772         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60773         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60774         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60775         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60776         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60777         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60778         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60779         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60780         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60781         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60782         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60783         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60784         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60785         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60786         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60787         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60788         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60789         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60790         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60791         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60792         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60793         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60794         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60795         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60796         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60797         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60798         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60799         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60800         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60802 2012-05-18  Andreas Jaeger  <aj@suse.de>
60804         * csu/.gitignore: Delete.
60806 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60808         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60809         (timex): Use __syscall_slong_t.
60811 2012-05-18  Andreas Jaeger  <aj@suse.de>
60812             Carlos O'Donell  <carlos_odonell@mentor.com>
60814         * manual/install.texi (Configuring and compiling): Update
60815         description about files modified in the source directory.
60816         * INSTALL: Regenerated.
60818 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60820         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60821         value.  Use "or" to set return value to -1.
60822         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60823         negate return value.
60825 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60827         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60828         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60829         failure if the compiler has Graphite support disabled.
60830         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60831         Likewise.
60832         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60833         (CFLAGS-memmove.c): Likewise.
60834         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60835         Likewise.
60837 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60839         * sysdeps/x86_64/x32/_itoa.h: New file.
60841         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60842         getdents system call only if kernel and user dirents have the
60843         same d_ino and d_off.
60845         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60846         LLONG_MAX != LONG_MAX.
60847         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60848         (_fitoa_word): Likewise.
60850         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60851         years.
60852         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60853         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60854         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60856         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60857         include <bits/wordsize.h>.  Check __x86_64__ instead of
60858         __WORDSIZE.
60859         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60860         if __x86_64__ is defined.  Use anonymous union on fpstate.
60862         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60863         anonymous union.
60865 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60867         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60868         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60869         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60870         Refer to _rtld_local_ro instead of _rtld_global_ro.
60871         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60872         Likewise.
60873         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60874         Likewise.
60875         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60876         Likewise.
60877         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60878         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60879         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60881         [BZ #10882]
60882         * sysdeps/powerpc/powerpc32/dl-machine.c
60883         (__elf_machine_runtime_setup) [PROF]: Don't reference
60884         _dl_prof_resolve.
60886 2012-05-18  Andreas Jaeger  <aj@suse.de>
60888         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60889         function only available for GCCs before 3.4 since GCC 3.4
60890         introduced a builtin.
60891         (lrint): Likewise.
60892         (llrintf): Likewise.
60893         (llrint): Likewise.
60894         (fmaxf): Likewise.
60895         (fmax): Likewise.
60896         (fminf): Likewise.
60897         (fmin): Likewise.
60898         (rint): Likewise.
60899         (rintf): Likewise.
60900         (nearbyint): Likewise.
60901         (nearbyintf): Likewise.
60902         (ceil): Likewise.
60903         (ceilf): Likewise.
60904         (floor): Likewise.
60905         (floorf): Likewise.
60907 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60909         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60910         on both fields and cast pointer to __syscall_ulong_t.
60912         * bits/types.h (__fsword_t): New type.
60913         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60914         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60916         (__FSWORD_T_TYPE): Likewise.
60917         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60918         (__FSWORD_T_TYPE): Likewise.
60919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60920         (__FSWORD_T_TYPE): Likewise.
60921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60922         (__FSWORD_T_TYPE): Likewise.
60923         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60924         __SWORD_TYPE with __fsword_t.
60925         (statfs64): Likewise.
60927 2012-05-17  David S. Miller  <davem@davemloft.net>
60929         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60931 2012-05-17  Andreas Jaeger  <aj@suse.de>
60933         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60934         warning.
60936 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60938         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60940 2012-05-17  Andreas Jaeger  <aj@suse.de>
60942         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60943         when it is used.
60945 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60947         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60949 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60951         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60952         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60954 2012-05-17  Andreas Jaeger  <aj@suse.de>
60955             Carlos O'Donell  <carlos_odonell@mentor.com>
60957         [BZ #14059]
60958         * sysdeps/x86_64/multiarch/init-arch.h
60959         (bit_YMM_Usable): Rename to...
60960         (bit_AVX_Usable): ... this.
60961         (bit_FMA4_Usable): New macro.
60962         (bit_XMM_state): New macro.
60963         (bit_YMM_state): New macro.
60964         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60965         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60966         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60967         (CPUID_OSXSAVE): New macro.
60968         (CPUID_AVX): New macro.
60969         (CPUID_FMA4): New macro.
60970         (index_YMM_Usable): Rename to...
60971         (index_AVX_Usable): ... this.
60972         (HAS_AVX): Use HAS_ARCH_FEATURE.
60973         (HAS_FMA4): Likewise.
60974         (HAS_YMM_USABLE): Remove.
60975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60976         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60977         are present.
60978         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60979         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60980         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60981         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60982         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60984 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60986         * math/libm-test.c: Support platforms without multiple rounding modes.
60987         * math/bug-nextafter.c: Support platforms without FP exceptions.
60988         * math/bug-nexttoward.c: Likewise.
60989         * math/test-fenv.c: Likewise.
60990         * math/test-misc.c: Likewise.
60991         * stdlib/bug-getcontext.c: Likewise.
60993 2012-05-17  Andreas Jaeger  <aj@suse.de>
60995         * manual/examples/search.c (critter_cmp): Change signature to
60996         avoid warnings.
60997         * manual/string.texi (Collation Functions): Likewise.
60999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61001         * bits/types.h: Fold copyright years.
61002         * bits/typesizes.h: Likewise.
61003         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61006         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61007         * time/time.h: Likewise.
61009 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61011         [BZ #208]
61012         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61013         in instead of returning them.  Return void.
61014         (__libc_mallinfo): Accumulate over all arenas.
61015         (__malloc_stats): Adjust for change in int_mallinfo interface.
61017 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61019         [BZ #10375]
61020         * configure.in (NM): Add AC_CHECK_TOOL for it.
61021         (libc_extra_cflags): New substituted variable.
61022         Check for -fstack-protector being used implicitly.
61023         * configure: Regenerated.
61024         * config.make.in (config-extra-cflags): New variable,
61025         gets @libc_extra_cflags@.
61026         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61028         [BZ #10375]
61029         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61030         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61031         * configure: Regenerated.
61032         * config.make.in (CPPUNDEFS): New substituted variable.
61033         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61034         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61035         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61039         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61040         (mq_attr): Use __syscall_slong_t.
61042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61044         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61045         Check __x86_64__ instead of __WORDSIZE.
61046         (_STAT_VER_LINUX): Likewise.
61047         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61048         __syscall_ulong_t and __syscall_slong_t.
61049         (stat64): Likewise.
61051 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61055 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61057         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61059 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61061         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61062         __syscall_ulong_t.
61064         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61065         include <bits/wordsize.h>.  Check __x86_64__ instead of
61066         __WORDSIZE.
61067         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61068         defined.
61069         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61071         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61072         include <bits/wordsize.h>.  Check __x86_64__ instead of
61073         __WORDSIZE.
61074         (user_regs_struct): Use "__extension__ unsigned long long"
61075         instead of "unsigned long" if __x86_64__ is defined.
61076         (user): Likewise.  Pad after pointer field if __ILP32__ is
61077         defined.
61079 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61081         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61082         versions 5 to 9.
61083         * configure: Regenerated.
61084         * manual/install.texi (texinfo): Increase version requirement to
61085         4.5 or later.
61086         * INSTALL: Regenerated.
61088         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61090 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61092         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61094         * sysdeps/x86_64/x32/ffs.c: New file.
61096         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61097         __syscall_ulong_t.
61098         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61099         defined.  Use __syscall_ulong_t.
61100         (shminfo): Use __syscall_ulong_t.
61101         (shm_info): Likewise.
61103         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61104         __syscall_ulong_t.
61106         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61107         <bits/wordsize.h>.
61108         (msgqnum_t): Use __syscall_ulong_t.
61109         (msglen_t): Likewise.
61110         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61111         __syscall_ulong_t.
61113         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61114         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61116         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61118         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61119         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61121         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61122         __syscall_slong_t.
61124         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61125         include <bits/wordsize.h>.  Check __x86_64__ instead of
61126         __WORDSIZE.
61128         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61129         "unsigned long long int" if __x86_64__ is defined.
61130         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61132         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61133         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61134         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61136         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61137         <stdint.h>.
61138         (GET_PC): Cast to uintptr_t first.
61139         (GET_FRAME): Likewise.
61140         (GET_STACK): Likewise.
61142         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61143         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61145         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61147         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61148         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61149         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61150         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61151         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61152         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61153         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61154         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61155         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61156         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61157         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61158         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61159         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61160         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61161         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61162         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61163         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61164         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61165         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61166         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61167         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61169         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61170         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61172 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61174         * Makerules (+depfiles): Also collect depfiles from .oS in
61175         $(extra-objs).
61176         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61177         .oS, $(libnldbl-routines)).
61179         * Makerules (native-compile-mkdep-flags): Define.
61180         * sunrpc/Makefile (extra-objs): Add $(addprefix
61181         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61182         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61183         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61184         calling $(make-target-directory).
61186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61188         * bits/types.h (__snseconds_t): Removed.
61189         * time/time.h (struct timespec): Replace __snseconds_t with
61190         __syscall_slong_t.
61191         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61192         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61193         Likewise.
61194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61195         (__SNSECONDS_T_TYPE): Likewise.
61196         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61197         (__SNSECONDS_T_TYPE): Likewise.
61198         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61199         (__SNSECONDS_T_TYPE): Likewise.
61201 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61203         * sysdeps/mach/hurd/bits/typesizes.h
61204         (__SYSCALL_SLONG_TYPE): New macro.
61205         (__SYSCALL_ULONG_TYPE): Likewise.
61207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61209         * bits/types.h (__syscall_slong_t): New type.
61210         (__syscall_ulong_t): Likewise.
61212         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61213         (__SYSCALL_ULONG_TYPE): Likewise.
61214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61215         (__SYSCALL_SLONG_TYPE): Likewise.
61216         (__SYSCALL_ULONG_TYPE): Likewise.
61217         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61218         (__SYSCALL_SLONG_TYPE): Likewise.
61219         (__SYSCALL_ULONG_TYPE): Likewise.
61220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61221         (__SYSCALL_SLONG_TYPE): Likewise.
61222         (__SYSCALL_ULONG_TYPE): Likewise.
61224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61226         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61227         Add sigaltstack-offsets.sym.
61228         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61229         <sigaltstack-offsets.h>.
61230         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61231         longjmp_msg pointer.
61232         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61233         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61234         signal stack.
61235         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61237 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61239         * elf/stackguard-macros.h: Remove file.
61240         * sysdeps/generic/stackguard-macros.h: New file.
61241         * sysdeps/i386/stackguard-macros.h: Likewise.
61242         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61243         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61244         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61245         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61246         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61247         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61248         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61249         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61250         <elf/stackguard-macros.h>.
61252         [BZ #14109]
61253         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61254         __aligned__ in attribute.
61255         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61256         (gregset_t): Likewise.
61258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61260         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61261         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61262         * sysdeps/x86_64/x32/Implies-after: New file.
61264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61266         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61267         and access return value for _dl_profile_fixup.  Use R10_LP to
61268         load frame size.
61270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61272         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61276         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61277         * sysdeps/x86_64/x32/sysdep.h: New file.
61279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61281         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61282         * sysdeps/x86_64/setjmp.S: Likewise.
61284 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61286         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61287         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61288         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61289         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61290         remove unused global constant.
61292 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61294         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61295         include of <not-cancel.h>.
61297 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61299         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61301 2012-05-15  Jeff Law  <law@redhat.com>
61302             Andreas Jaeger  <aj@suse.de>
61304         [BZ #13594]
61305         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61306         out from...
61307         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61308         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61309         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61310         code changing __hst_map_handle.map.
61312 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61314         * configure.in (sysnames): Look for Implies-before and Implies-after
61315         files.
61316         * configure: Regenerated.
61318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61320         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61321         8-byte data alignment with LP_SIZE alignment.
61323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61325         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61326         into R10_LP.
61328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61330         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61334         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61335         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61336         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61337         Likewise.
61338         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61342         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61343         (stackinfo_sub_sp): Likewise.
61345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61347         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61348         RAX_LP.
61350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61352         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61353         into R*_LP.
61355 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61357         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61358         sizes into R*_LP.
61360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61362         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61366         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61367         into R11_LP and load __x86_64_shared_cache_size_half into
61368         R8_LP.
61370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61372         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61373         R8_LP.
61375 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61378         logb for POWER7.
61379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61380         logbf for POWER7.
61381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61382         logbl for POWER7.
61383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61384         powerpc32/power7/fpu/s_logb.c via #include.
61385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61386         powerpc32/power7/fpu/s_logbf.c via #include.
61387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61388         powerpc32/power7/fpu/s_logbl.c via #include.
61390 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61392         * README.libm: Remove file.
61394 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61396         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61397         count for x32.  Use R*_LP and omit operand-size suffix.
61399 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61401         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61402         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61403         * sysdeps/x86_64/x32/shlib-versions: New file.
61405 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61407         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61408         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61409         Use _dl_fatal_printf instead.
61411 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61413         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61414         set if not set by the user.  Do not allow for being unset.
61415         * sysdeps/unix/sysv/linux/configure: Regenerated.
61417 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61419         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61420         the `q' suffix from lea and replace .quad with ASM_ADDR.
61422 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61425         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61426         instead of $17.
61427         (PTR_DEMANGLE): Likewise.
61429 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61431         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61432         (LP_OP): Likewise.
61433         (ASM_ADDR): Likewise.
61434         (RAX_LP): Likewise.
61435         (RBP_LP): Likewise.
61436         (RBX_LP): Likewise.
61437         (RCX_LP): Likewise.
61438         (RDI_LP): Likewise.
61439         (RSI_LP): Likewise.
61440         (RSP_LP): Likewise.
61441         (R8_LP): Likewise.
61442         (R9_LP): Likewise.
61443         (R10_LP): Likewise.
61444         (R10_LP): Likewise.
61445         (R11_LP): Likewise.
61446         (R12_LP): Likewise.
61447         (R13_LP): Likewise.
61448         (R14_LP): Likewise.
61449         (R15_LP): Likewise.
61451 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61453         * sysdeps/x86_64/x32/dl-machine.h: New file.
61455 2012-05-14  Andreas Jaeger  <aj@suse.de>
61457         * manual/Makefile (subdir): Remove export of subdir.
61458         (all): Remove target.
61459         (.PHONY): Remove all from list.
61460         (mkinstalldirs): Remove.
61461         (.PHONY): Remove installdirs from list.
61462         ($(inst_infodir)/libc.info): Use make-target-directory.
61463         (installdirs): Remove.
61464         (subdir_%): Remove.
61465         (glibc-targets): Remove.
61466         (lib): Remove.
61467         (stubs): Remove.
61468         ($(objpfx)stubs ../po/manual.pot): Remove.
61469         ($(objpfx)stamp%): Remove.
61470         (make-target-directory): Remove.
61471         (subdir_install): Remove.
61472         (routines): Remove.
61473         (aux): Remove.
61474         (sources): Remove.
61475         (objects): Remove.
61476         (headers): Remove.
61478         [BZ #13750]
61479         * manual/.gitignore: Remove, it's not needed anymore.
61480         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61481         all files in it.
61482         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61483         directory.
61484         (texis): Renamed to $(objpfx)texis.
61485         (texis-path): New, contains path to generated files.
61486         (chapters.%): Use texis-path for complete path, add extra argument
61487         libc-texinfo.sh.
61488         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61489         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61490         (summary,texi, stamp-summary): Use complete path of
61491         files. Generate files in build dir.
61492         (dir-add.texi): Build in build dir.
61493         (libm-err.texi,stamp-libm-err): Likewise.
61494         (version.texi, stamp-version): Likewise.
61495         (.%c.texi): Likewise.
61496         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61497         (mostlyclean): Remove target.
61498         (realclean): Remove target.
61499         (generated): Add new variable with contents from mostlyclean and
61500         realclean, remove entries duplicated in common-mostlyclean, add
61501         stamp-libm-err and stamp-version.
61502         (generated-dirs): Add libc directory.
61503         ($(inst_infodir)/libc.info): Install files from build dir.
61505         * manual/install.texi (Configuring and compiling): Adjust since
61506         the info files are not part of the tar ball anymore.
61508 2012-05-14  Andreas Jaeger  <aj@suse.de>
61510         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61511         variable.
61513 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61515         [BZ #13717]
61516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61517         to 2.2.0 where earlier.
61518         * sysdeps/unix/sysv/linux/configure: Regenerated.
61519         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61520         Remove conditional code.
61521         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61522         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61523         Remove conditional code.
61524         [!__NR_lchown]: Likewise.
61525         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61526         [__NR_lchown]: Likewise.
61527         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61528         comment referencing __ASSUME_LCHOWN_SYSCALL.
61529         * sysdeps/unix/sysv/linux/i386/sigaction.c
61530         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61531         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61532         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61533         Remove conditional code.
61534         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61535         (__protocol_available): Remove #if 0 code.
61536         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61537         conditional code.
61538         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61539         * sysdeps/unix/sysv/linux/kernel-features.h
61540         (__ASSUME_GETCWD_SYSCALL): Don't define.
61541         (__ASSUME_REALTIME_SIGNALS): Likewise.
61542         (__ASSUME_PREAD_SYSCALL): Likewise.
61543         (__ASSUME_PWRITE_SYSCALL): Likewise.
61544         (__ASSUME_POLL_SYSCALL): Likewise.
61545         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61546         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61547         non-SPARC.
61548         (__ASSUME_SIOCGIFNAME): Don't define.
61549         (__ASSUME_MSG_NOSIGNAL): Likewise.
61550         (__ASSUME_SENDFILE): Define unconditionally.
61551         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61552         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61553         conditional code.
61554         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61555         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61556         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61557         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61558         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61559         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61560         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61562         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61565         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61568         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61569         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61571         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61572         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61574         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61575         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61577         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61578         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61580         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61583         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61584         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61585         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61586         Remove conditional code.
61587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61588         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61589         Remove conditional code.
61590         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61591         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61592         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61593         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61594         Remove conditional code.
61595         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61596         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61597         Remove conditional code.
61598         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61599         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61600         Remove conditional code.
61601         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61602         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61603         Remove conditional code.
61604         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61605         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61606         Remove conditional code.
61607         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61608         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61609         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61610         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61611         * sysdeps/unix/sysv/linux/sigaction.c
61612         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61613         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61614         * sysdeps/unix/sysv/linux/sigpending.c
61615         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61616         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61617         * sysdeps/unix/sysv/linux/sigprocmask.c
61618         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61619         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61620         * sysdeps/unix/sysv/linux/sigsuspend.c
61621         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61622         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61623         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61624         (__libc_missing_rt_sigs): Remove.
61625         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61626         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61627         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61628         Remove conditional code.
61629         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61630         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61631         return 1.
61632         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61633         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61634         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61635         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61637 2012-05-14  Andreas Jaeger  <aj@suse.de>
61639         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61640         it's not used in glibc.
61641         (__coshm1): Likewise.
61642         (__acosh1p): Likewise.
61643         (__sgn): Likewise.
61645         * manual/string.texi (Copying and Concatenation): Add missing
61646         variable in concat example.
61647         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61649 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61651         [BZ #14103]
61652         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61653         __builtin_clzl with __builtin_clzll.
61655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61657         [BZ #14104]
61658         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61659         libc_freeres_ptr.
61661 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61663         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61664         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61665         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61666         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61668 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61670         * NEWS: Update ia64 info.
61672 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61674         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61675         used as bcopy.
61677 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61679         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61680         * sysdeps/unix/syscalls.list (dup3): Likewise.
61681         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61682         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61684 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61686         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61687         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61689 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61691         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61692         thread pointer.
61693         (TLS_IE): Use mov/add instead of movq/addq to load thread
61694         pointer.
61695         (TLS_GD_PREFIX): New.
61696         (TLS_GD): Use it.
61698 2012-05-11  David S. Miller  <davem@davemloft.net>
61700         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61701         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61702         (_FPU_SETCW): Likewise.
61704 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61706         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61707         is 32-byte aligned.
61709 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61711         [BZ #11837]
61712         * iconvdata/gb18030.c: Update tables.
61713         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61714         characters specially.
61715         (BODY for TO_LOOP): Add encoding of missing ranges.
61717 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61719         [BZ #13673]
61720         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61721         * sysdeps/mach/hurd/dup3.c: Likewise.
61722         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61723         * sysdeps/powerpc/memmove.c:: Likewise.
61725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61728         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61730 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61732         * elf/elf.h (R_X86_64_RELATIVE64): New.
61733         (R_X86_64_NUM): Updated.
61734         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61735         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61736         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61737         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61738         tst-quad1pie tst-quad2pie
61739         (modules-names): Add tst-quadmod1 tst-quadmod2.
61740         ($(objpfx)tst-quad1): New dependency.
61741         ($(objpfx)tst-quad2): Likewise.
61742         ($(objpfx)tst-quad1pie): Likewise.
61743         ($(objpfx)tst-quad2pie): Likewise.
61744         * sysdeps/x86_64/tst-quad1.c: New file.
61745         * sysdeps/x86_64/tst-quad1pie.c: New file.
61746         * sysdeps/x86_64/tst-quad2.c: Likewise.
61747         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61748         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61749         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61750         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61751         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61755         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61756         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61757         * streams/stropts.h (t_scalar_t): Define type.
61759         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61760         (_PATH_PRESERVE): Set to "/var/lib".
61761         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61763         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61764         instead of int.
61766         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61767         if __dir_mkfile succeeded.
61769         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61770         checking for _hurd_dtablesize.  Unlock it right after having
61771         finished _hurd_dtable allocation.
61773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61775         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61776         * sysdeps/mach/hurd/configure: Regenerated.
61777         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61778         special-casing to...
61779         * sysdeps/gnu/configure.in: ... this new file.
61780         * sysdeps/unix/sysv/linux/configure: Regenerated.
61781         * sysdeps/gnu/configure: New generated file.
61783         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61784         for Linux: use nsec instead of usec, as well as:
61785         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61786         members of type struct timespec.
61787         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61788         New macros.
61789         (struct stat64): Likewise.
61790         (_STATBUF_ST_NSEC): New macro.
61791         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61793         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61794         __strtoul_internal rather than strtoul.
61796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61798         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61799         and reject them.
61801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61803         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61804         which preserves existing values.
61805         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61807 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61809         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61810         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61811         greater than FD_SETSIZE.
61813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61815         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61816         allocated, call __vm_protect to finish enabling the existing space, and
61817         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61818         allocate the remainder.
61820 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61822         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61823         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61827         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61828         sysdeps/mach/hurd/readlink.c.
61830         * posix/tst-sysconf.c (posix_options): Only use
61831         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61832         _POSIX_SYNCHRONIZED_IO when they are defined
61833         * sysdeps/mach/hurd/bits/posix_opt.h:
61834         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61835         (_XOPEN_REALTIME): Undefine macro.
61836         (_XOPEN_REALTIME_THREADS): Undefine macro.
61837         (_XOPEN_SHM): Undefine macro.
61838         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61839         macro to -1.
61840         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61841         macro to -1.
61842         (_POSIX_ASYNC_IO): Undefine macro.
61843         (_POSIX_PRIORITIZED_IO): Undefine macro.
61844         (_POSIX_SPIN_LOCKS): Define macro to -1.
61846         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61847         SA_NODEFER, SA_RESETHAND.
61848         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61849         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61850         F_DUPFD_CLOEXEC.
61852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61854         * elf/Makefile (pldd-modules): Define unconditionally.
61856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61858         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61860 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61862         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61863         Return ENOENT when name is empty.
61864         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61868         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61870         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61872 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61874         Fix mlock in all cases except non-readable pages.
61875         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61876         instead of VM_PROT_ALL as parameter to __vm_wire function.
61878         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61879         (__mkdir): When path is `/', just fail with EEXIST.
61880         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61884         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61885         <sys/uio.h> (for writev).
61886         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61887         and <sys/param.h> (for MIN).
61889 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61891         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61892         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61893         if interrupted.
61895 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61897         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61898         Depend on against $(link-rpcuserlibs).
61900 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61902         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61903         (__libc_stack_end): Do not use attribute_relro.
61904         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61905         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61906         to libthread-provided value.
61907         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61908         attribute_relro.
61910 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61912         [BZ #3748]
61913         * bits/libc-lock.h (__libc_once_get): New macro.
61914         * sysdeps/mach/bits/libc-lock.h: Likewise.
61915         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61916         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61917         instead of using implementation details.
61919         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61920         * libio/freopen.c: Likewise.
61921         * libio/freopen64.c: Likewise.
61922         * misc/syslog.c: Likewise.
61923         * nscd/connections.c: Likewise.
61924         * nscd/netgroupcache.c: Likewise.
61925         * sysdeps/posix/getcwd.c: Likewise.
61927 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61929         * math/w_ilogbf.c: Add #include <limits.h>.
61931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61933         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61934         path instead of returning without unlocking.
61936         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61937         immediate-write ioctls.
61938         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61942         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61943         __builtin_frame_address instead of making assumptions about the
61944         location of the return address relative to DATA.  Force early load of
61945         the return address.
61946         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61947         __builtin_frame_address.
61949         dup3 for GNU Hurd.
61950         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61951         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61952         implement dup3 and do some further code clean-ups.
61953         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61954         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61958         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61960         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61961         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61962         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61963         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61964         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61965         d->port.lock.
61967         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61968         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61969         when handler == SIG_ERR, not when handler != SIG_ERR.
61971 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61973         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61974         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61975         definitions.
61977         accept4 for GNU Hurd.
61978         * include/sys/socket.h (__libc_accept4): New prototype.
61979         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61980         to implement __libc_accept4.
61981         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61982         __libc_accept4.
61983         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61985         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61986         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61987         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61988         signal-defines.sym.
61990 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61992         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61996         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61997         assertion on O_CLOEXEC flag.
61998         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61999         * hurd/intern-fd.c: Likewise.
62000         * hurd/port2fd.c: Likewise.
62002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62004         [BZ #3906]
62005         * bits/in.h (IPV6_PKTINFO): Define new macro.
62006         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62008 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62010         [BZ #13954]
62011         [BZ #13955]
62012         [BZ #13956]
62013         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62014         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62015         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62016         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62018         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62019         * math/libm-test.inc (logb_test) : Additional logb tests.
62021 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62022             Andreas Jaeger  <aj@suse.de>
62024         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62025         * configure: Regenerated.
62026         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62027         * config.make.in (link-obsolete-rpc): New substituted variable.
62028         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62029         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62030         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62031         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62032         so that libc.a contains the symbols.
62033         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62034         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62035         * sunrpc/auth_none.c: Likewise.
62036         * sunrpc/auth_unix.c: Likewise.
62037         * sunrpc/authdes_prot.c: Likewise.
62038         * sunrpc/authuxprot.c: Likewise.
62039         * sunrpc/clnt_gen.c: Likewise.
62040         * sunrpc/clnt_perr.c: Likewise.
62041         * sunrpc/clnt_raw.c: Likewise.
62042         * sunrpc/clnt_simp.c: Likewise.
62043         * sunrpc/clnt_tcp.c: Likewise.
62044         * sunrpc/clnt_udp.c: Likewise.
62045         * sunrpc/clnt_unix.c: Likewise.
62046         * sunrpc/des_crypt.c: Likewise.
62047         * sunrpc/des_soft.c: Likewise.
62048         * sunrpc/get_myaddr.c: Likewise.
62049         * sunrpc/key_call.c: Likewise.
62050         * sunrpc/key_prot.c: Likewise.
62051         * sunrpc/netname.c: Likewise.
62052         * sunrpc/pm_getmaps.c: Likewise.
62053         * sunrpc/pm_getport.c: Likewise.
62054         * sunrpc/pmap_clnt.c: Likewise.
62055         * sunrpc/pmap_prot.c: Likewise.
62056         * sunrpc/pmap_prot2.c: Likewise.
62057         * sunrpc/pmap_rmt.c: Likewise.
62058         * sunrpc/publickey.c: Likewise.
62059         * sunrpc/rpc_cmsg.c: Likewise.
62060         * sunrpc/rpc_common.c: Likewise.
62061         * sunrpc/rpc_dtable.c: Likewise.
62062         * sunrpc/rpc_prot.c: Likewise.
62063         * sunrpc/rpc_thread.c: Likewise.
62064         * sunrpc/rtime.c: Likewise.
62065         * sunrpc/svc.c: Likewise.
62066         * sunrpc/svc_auth.c: Likewise.
62067         * sunrpc/svc_raw.c: Likewise.
62068         * sunrpc/svc_run.c: Likewise.
62069         * sunrpc/svc_tcp.c: Likewise.
62070         * sunrpc/svc_udp.c: Likewise.
62071         * sunrpc/svc_unix.c: Likewise.
62072         * sunrpc/svcauth_des.c: Likewise.
62073         * sunrpc/xcrypt.c: Likewise.
62074         * sunrpc/xdr.c: Likewise.
62075         * sunrpc/xdr_array.c: Likewise.
62076         * sunrpc/xdr_float.c: Likewise.
62077         * sunrpc/xdr_intXX_t.c: Likewise.
62078         * sunrpc/xdr_mem.c: Likewise.
62079         * sunrpc/xdr_rec.c: Likewise.
62080         * sunrpc/xdr_ref.c: Likewise.
62081         * sunrpc/xdr_sizeof.c: Likewise.
62082         * sunrpc/xdr_stdio.c: Likewise.
62084 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62087         change.  Update copyright years.
62089 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62091         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62093 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62094             Joseph Myers  <joseph@codesourcery.com>
62095             Paul Pluzhnikov  <ppluzhnikov@google.com>
62097         [BZ #14012]
62098         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62099         requiring rpcgen.
62100         [cross-compiling] (extra-libs): Likewise.
62101         [cross-compiling] (extra-libs-others): Likewise.
62102         [cross-compiling] (librpcsvc-routines): Likewise.
62103         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62104         [cross-compiling] (omit-deps): Likewise.
62105         (sunrpc-CPPFLAGS): New variable.
62106         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62107         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62108         (cross-rpcgen-objs): New variable.
62109         (extra-objs): Append $(cross-rpcgen-objs).
62110         ($(cross-rpcgen-objs)): New rule.
62111         ($(objpfx)cross-rpcgen): Likewise.
62112         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62113         comment.
62114         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62115         ($(objpfx)x%.stmp): Likewise.
62116         * sunrpc/proto.h [IS_IN_build] (_): Define.
62117         [IS_IN_build] (_libc_intl_domainname): Likewise.
62119 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62121         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62122         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62123         and R_X86_64_TPOFF64.
62125 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62127         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62128         sysdeps/unix/sysv/syscalls.list.
62129         (stime): Likewise.
62130         (utime): Likewise.
62131         * sysdeps/unix/sysv/syscalls.list: Remove file.
62133 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62135         [BZ #3440]
62136         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62137         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62138         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62139         (__LC_IDENTIFICATION): Make these macros useful in #if
62140         expressions, as required by C99.
62142 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62144         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62145         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62146         after this.
62148 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62150         * stdlib/longlong.h: Updated from GCC.
62152 2012-05-09  Andreas Jaeger  <aj@suse.de>
62154         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62155         default is first entry.
62156         (run_mode): Set type.
62157         (main): Remove informal message about syslog.
62158         (options): Fix typo.
62160         [BZ #14053]
62161         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62162         to asm.
62163         (lrint): Likewise.
62164         (llrintf): Likewise.
62165         (llrint): Likewise.
62166         (rint): Likewise.
62167         (rintf): Likewise.
62168         (nearbyint): Likewise.
62169         (nearbyintf): Likewise.
62171 2012-05-09  Andreas Jaeger  <aj@suse.de>
62172             Pedro Alves  <palves@redhat.com>
62174         * nscd/nscd.c (run_mode): Use enum.
62175         (main): Cleanup coding style issue.
62177 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62178             Andreas Jaeger  <aj@suse.de>
62180         * nscd/nscd.c (go_background): Replaced with...
62181         (run_mode): ... this.
62182         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62183         (options): Add -F --foreground.
62184         (main): Implement it.
62185         (parse_opt): Parse it.
62187 2012-05-09  Andreas Jaeger  <aj@suse.de>
62189         [BZ #14083]
62190         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62191         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62192         -Wconversion warning.
62193         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62194         Likewise.
62196 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62198         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62199         == 0.
62200         (LC_ALL): Use macro-int-constant.
62201         (LC_COLLATE): Likewise.
62202         (LC_CTYPE): Likewise.
62203         (LC_MESSAGES): Likewise.
62204         (LC_MONETARY): Likewise.
62205         (LC_NUMERIC): Likewise.
62206         (LC_TIME): Likewise.
62207         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62208         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62209         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62210         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62211         Specify type.
62212         [C99-based standards] (float_t): Expect type.
62213         [C99-based standards] (double_t): Expect type.
62214         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62215         type.
62216         [C99-based standards] (HUGE_VALL): Likewise.
62217         [C99-based standards] (INFINITY): Likewise.
62218         [C99-based standards] (NAN): Likewise.
62219         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62220         [C99-based standards] (FP_NAN): Likewise.
62221         [C99-based standards] (FP_NORMAL): Likewise.
62222         [C99-based standards] (FP_SUBNORMAL): Likewise.
62223         [C99-based standards] (FP_ZERO): Likewise.
62224         [C99-based standards] (FP_FAST_FMA): Use
62225         optional-macro-int-constant.  Specify type.  Require == 1.
62226         [C99-based standards] (FP_FAST_FMAF): Likewise.
62227         [C99-based standards] (FP_FAST_FMAL): Likewise.
62228         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62229         [C99-based standards] (FP_ILOGBNAN): Likewise.
62230         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62231         Specify type.
62232         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62233         [C99-based standards] (math_errhandling): Specify type.
62234         [ISO99 || ISO11] (signgam): Do not allow.
62235         [non-C99-based standards] (copysignf): Do not allow.
62236         [non-C99-based standards] (exp2f): Likewise.
62237         [non-C99-based standards] (log2f): Likewise.
62238         [non-C99-based standards] (modff): Allow.
62239         [non-C99-based standards] (erff): Do not allow.
62240         [non-C99-based standards] (erfcf): Likewise.
62241         [non-C99-based standards] (gammaf): Likewise.
62242         [non-C99-based standards] (hypotf): Likewise.
62243         [non-C99-based standards] (j0f): Likewise.
62244         [non-C99-based standards] (j1f): Likewise.
62245         [non-C99-based standards] (jnf): Likewise.
62246         [non-C99-based standards] (lgammaf): Likewise.
62247         [non-C99-based standards] (tgammaf): Likewise.
62248         [non-C99-based standards] (y0f): Likewise.
62249         [non-C99-based standards] (y1f): Likewise.
62250         [non-C99-based standards] (ynf): Likewise.
62251         [non-C99-based standards] (isnanf): Likewise.
62252         [non-C99-based standards] (acoshf): Likewise.
62253         [non-C99-based standards] (asinhf): Likewise.
62254         [non-C99-based standards] (atanhf): Likewise.
62255         [non-C99-based standards] (cbrtf): Likewise.
62256         [non-C99-based standards] (expm1f): Likewise.
62257         [non-C99-based standards] (ilogbf): Likewise.
62258         [non-C99-based standards] (log1pf): Likewise.
62259         [non-C99-based standards] (logbf): Likewise.
62260         [non-C99-based standards] (nextafterf): Likewise.
62261         [non-C99-based standards] (remainderf): Likewise.
62262         [non-C99-based standards] (rintf): Likewise.
62263         [non-C99-based standards] (scalbf): Likewise.
62264         [non-C99-based standards] (copysignl): Likewise.
62265         [non-C99-based standards] (exp2l): Likewise.
62266         [non-C99-based standards] (log2l): Likewise.
62267         [non-C99-based standards] (modfl): Allow.
62268         [non-C99-based standards] (erfl): Do not allow.
62269         [non-C99-based standards] (erfcl): Likewise.
62270         [non-C99-based standards] (gammal): Likewise.
62271         [non-C99-based standards] (hypotl): Likewise.
62272         [non-C99-based standards] (j0l): Likewise.
62273         [non-C99-based standards] (j1l): Likewise.
62274         [non-C99-based standards] (jnl): Likewise.
62275         [non-C99-based standards] (lgammal): Likewise.
62276         [non-C99-based standards] (tgammal): Likewise.
62277         [non-C99-based standards] (y0l): Likewise.
62278         [non-C99-based standards] (y1l): Likewise.
62279         [non-C99-based standards] (ynl): Likewise.
62280         [non-C99-based standards] (isnanl): Likewise.
62281         [non-C99-based standards] (acoshl): Likewise.
62282         [non-C99-based standards] (asinhl): Likewise.
62283         [non-C99-based standards] (atanhl): Likewise.
62284         [non-C99-based standards] (cbrtl): Likewise.
62285         [non-C99-based standards] (expm1l): Likewise.
62286         [non-C99-based standards] (ilogbl): Likewise.
62287         [non-C99-based standards] (log1pl): Likewise.
62288         [non-C99-based standards] (logbl): Likewise.
62289         [non-C99-based standards] (nextafterl): Likewise.
62290         [non-C99-based standards] (remainderl): Likewise.
62291         [non-C99-based standards] (rintl): Likewise.
62292         [non-C99-based standards] (scalbl): Likewise.
62293         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62294         [non-C99-based standards] (FP_*): Do not allow.
62295         [C99-based standards] (FP_*): Change to
62296         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62297         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62298         allow.
62299         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62300         (SIG_ERR): Likewise.
62301         [X/Open-based standards] (SIG_HOLD): Likewise.
62302         (SIG_IGN): Likewise.
62303         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62304         positive value.
62305         (SIGFPE): Likewise.
62306         (SIGILL): Likewise.
62307         (SIGINT): Likewise.
62308         (SIGSEGV): Likewise.
62309         (SIGTER): Likewise.
62310         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62311         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62312         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62313         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62314         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62315         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62316         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62317         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62318         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62319         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62320         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62321         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62322         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62323         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62324         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62325         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62326         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62327         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62328         [X/Open-based standards] (SIGTRAP): Likewise.
62329         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62330         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62331         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62332         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62333         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62334         allow.
62336 2012-05-08  Ian Wienand  <ianw@vmware.com>
62338         [BZ #14080]
62339         * time/tzset.c (__tzset_parse_tz): Update default rules for
62340         daylight time changes in the Energy Policy Act of 2005.
62342 2012-05-09  Andreas Jaeger  <aj@suse.de>
62344         [BZ #13983]
62345         * elf/ldconfig.c (parse_conf): Change string to make clear that
62346         ldconfig only issued a warning if ld.so.conf does not exist.
62348 2012-05-08  David S. Miller  <davem@davemloft.net>
62350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62351         movxtod instead of popping the value on the stack.
62353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62355 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62357         * config.h.in: Add HAVE_ARM_PCS_VFP.
62359 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62361         [BZ #13979]
62362         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62363         checking but the checks are disabled for any reason.
62365 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62367         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62368         and ELF64_R_TYPE with ELFW(R_TYPE).
62370 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62372         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62373         (ulimit): Likewise.
62375         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62376         (settimeofday): Likewise.
62378 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62380         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62381         a struct th_u2 inside the union, and move tu_block/tu_code into
62382         a new th_u3 union of tu_block/tu_code inside of that.  Move
62383         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62384         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62385         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62386         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62387         (th_stuff): Change to th_u1.tu_stuff.
62388         (th_data): Define.
62389         (th_msg): Change to th_u1.th_u2.tu_data.
62391 2012-05-07  David S. Miller  <davem@davemloft.net>
62393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62395         [BZ #14074]
62396         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62397         (SETUP_PIC_REG): Use it.
62398         (SETUP_PIC_REG_LEAF): Use it.
62400 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62402         [BZ #13885]
62403         [BZ #13923]
62404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62405         USE_AS_EXPM1L.
62406         (EXPL_FINITE): Likewise.
62407         (FLDLOG): Likewise.
62408         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62409         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62410         e_expl.S.
62411         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62412         USE_AS_EXPM1L.
62413         (EXPL_FINITE): Likewise.
62414         (FLDLOG): Likewise.
62415         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62416         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62417         e_expl.S.
62418         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62419         test of -max_value argument for long double.
62420         * sysdeps/i386/fpu/libm-test-ulps: Update.
62421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62423 2012-05-06  David S. Miller  <davem@davemloft.net>
62425         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62426         quad soft-float symbols whose references which are compiler
62427         generated.
62428         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62430 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62432         [BZ #13884]
62433         [BZ #13914]
62434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62435         USE_AS_EXP10L.
62436         (EXPL_FINITE): Likewise.
62437         (FLDLOG): Likewise.
62438         (c0): Likewise.
62439         (c1): Likewise.
62440         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62441         Adjust comments for base varying.
62442         (__expl_finite): Change alias to EXPL_FINITE.
62443         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62444         e_expl.S.
62445         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62446         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62447         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62448         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62450         USE_AS_EXP10L.
62451         (EXPL_FINITE): Likewise.
62452         (FLDLOG): Likewise.
62453         (c0): Likewise.
62454         (c1): Likewise.
62455         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62456         Adjust comments for base varying.
62457         (__expl_finite): Change alias to EXPL_FINITE.
62458         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62459         tests for bugs.
62460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62462         [BZ #14064]
62463         * math/libm-test.inc (check_float_internal): Correct ulp
62464         calculation for subnormal expected results.
62466 2012-05-06  Andreas Jaeger  <aj@suse.de>
62468         * Makeconfig (+math-flags): New, set to -frounding-math.
62469         (+cflags): Add +math-flags so that all of glibc gets compiled with
62470         it.
62472         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62474 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62476         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62477         Disable one test.
62479         [BZ #13787]
62480         [BZ #13922]
62481         [BZ #14036]
62482         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62483         (__ieee754_expl): Allow for and saturate large arguments.
62484         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62485         (u_threshold): Likewise.
62486         (__exp): Call __ieee754_exp before checking for overflow and
62487         underflow.
62488         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62489         (u_threshold): Likewise.
62490         (__expf): Call __ieee754_expf before checking for overflow and
62491         underflow.
62492         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62493         (u_threshold): Likewise.
62494         (__expl): Call __ieee754_expl before checking for overflow and
62495         underflow.
62496         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62497         (__ieee754_expl): Allow for and saturate large arguments.
62498         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62499         missing overflow exception on overflow.
62500         (expm1_test): Do not allow missing overflow exception on overflow.
62502         * sysdeps/i386/fpu/e_expl.c: Move to ...
62503         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62504         rather than using inline asm.
62505         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62506         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62507         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62509         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62510         (nice): Likewise.
62511         (poll): Likewise.
62512         (signal): Likewise.
62513         (time): Likewise.
62514         (times): Likewise.
62516 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62518         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62519         sysdeps/unix/common/syscalls.list.
62520         (fchmod): Likewise.
62521         (fchown): Likewise.
62522         (ftruncate): Likewise.
62523         (getrusage): Likewise.
62524         (gettimeofday): Likewise.
62525         (setpgid): Likewise.
62526         (setregid): Likewise.
62527         (setreuid): Likewise.
62528         (sigaction): Likewise.
62529         (truncate): Likewise.
62530         (vhangup): Likewise.
62531         * sysdeps/unix/common/syscalls.list: Remove file.
62532         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62533         * sysdeps/unix/sysv/linux/Implies: Likewise.
62535 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62537         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62539         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62540         Moved to ...
62541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62542         Here.
62543         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62544         to ...
62545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62546         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62547         to ...
62548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62549         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62550         to ...
62551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62552         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62553         to ...
62554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62555         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62556         to ...
62557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62558         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62559         to ...
62560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62561         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62562         to ...
62563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62564         Here.
62565         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62566         to ...
62567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62568         Here.
62569         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62570         to ...
62571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62572         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62573         Moved to ...
62574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62575         Here.
62576         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62577         to ...
62578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62580 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62582         * sysdeps/unix/common/bits/dirent.h: Remove file.
62583         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62585         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62586         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62587         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62588         * sysdeps/unix/bsd/isatty.c: Likewise.
62589         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62590         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62591         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62593 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62595         [BZ #13563]
62596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62597         long double comparison inaccuracies.
62598         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62601 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62603         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62604         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62606 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62608         [BZ #14049]
62609         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62610         nonzero digits before rounding a hex value.
62611         * stdlib/tst-strtod.c (tests): Add another test.
62613 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62615         * sysdeps/s390/fpu/libm-test-ulps: Update.
62617 2012-05-03  Andreas Jaeger  <aj@suse.de>
62619         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62620         does not get optimized out.
62621         (malloc_opt_barrier): New.
62623 2012-05-03  Andreas Jaeger  <aj@suse.de>
62624             Roland McGrath  <roland@hack.frob.com>
62626         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62627         intermediate file deletion.
62628         (generated): Add .symlist files.
62630 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62632         [BZ #13775]
62633         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62634         Redirect under this condition.
62635         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62636         [__USE_GNU] (__dprintf_chk): Not under this condition.
62637         [__USE_GNU] (__vdprintf_chk): Likewise.
62638         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62639         under this condition.
62640         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62641         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62642         [__USE_XOPEN2K8] (vdprintf): Likewise.
62643         [__USE_GNU] (__dprintf_chk): Not under this condition.
62644         [__USE_GNU] (__vdprintf_chk): Likewise.
62645         [__USE_GNU] (dprintf): Likewise.
62646         [__USE_GNU] (vdprintf): Likewise.
62648 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62650         * elf/Makefile (common-generated): Set this instead of generated for
62651         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62652         $(all-built-dso)-derived lists.
62654 2012-05-03  Andreas Jaeger  <aj@suse.de>
62656         * sysdeps/i386/fpu/libm-test-ulps: Update.
62658         * FAQ: Removed.
62659         * FAQ.in: Likewise.
62660         * scripts/gen-FAQ.pl: Likewise.
62661         * manual/install.texi (Installation): Point to online location of
62662         FAQ.
62663         * Makefile (files-for-dist): Remove FAQ.
62664         (FAQ): Remove.
62666 2012-05-02  Allan McRae  <allan@archlinux.org>
62668         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62669         (LDFLAGS-reldepmod5.so): Likewise.
62670         (LDFLAGS-reldep6mod1.so): Likewise.
62671         (LDFLAGS-reldep6mod4.so): Likewise.
62672         (LDFLAGS-reldep8mod3.so): Likewise.
62673         (LDFLAGS-unload4mod1.so): Likewise.
62674         (LDFLAGS-unload4mod2.so): Likewise.
62675         (LDFLAGS-tst-initorder): Likewise.
62676         (LDFLAGS-tst-initordera2.so): Likewise.
62677         (LDFLAGS-tst-initordera3.so): Likewise.
62678         (LDFLAGS-tst-initordera4.so): Likewise.
62679         (LDFLAGS-tst-initorderb2.so): Likewise.
62680         (LDFLAGS-noload): Likewise.
62681         (LDFLAGS-next): Likewise.
62682         (LDFLAGS-order2mod1.so): Likewise.
62683         (LDFLAGS-order2mod2.so): Likewise.
62684         (LDFLAGS-tst-initorder2): Likewise.
62685         (LDFLAGS-tst-initorder2a.so): Likewise.
62686         (LDFLAGS-tst-initorder2b.so): Likewise.
62687         (LDFLAGS-tst-initorder2c.so): Likewise.
62688         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62690 2012-05-02  David S. Miller  <davem@davemloft.net>
62692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62694 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62696         [BZ #14055]
62697         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62699 2012-05-02  Andreas Jaeger  <aj@suse.de>
62701         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62702         since we manipulate rounding mode.
62703         (CPPFLAGS-test-idouble.c): Likewise.
62704         (CPPFLAGS-test-ifloat.c): Likewise.
62705         (CFLAGS-test-ldouble.c): Likewise.
62706         (CFLAGS-test-double.c): Likewise.
62707         (CFLAGS-test-float.c): Likewise.
62708         (CFLAGS-test-misc.c): Likewise.
62709         (CFLAGS-test-test-fenv.c): Likewise.
62711 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62713         [BZ #2550]
62714         [BZ #2570]
62715         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62716         comparisons to determine direction to adjust input.
62718 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62720         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62721         output to the target.
62723         * scripts/localplt.awk: New file.
62724         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62725         (check-localplt-CFLAGS): Variable removed.
62726         ($(all-built-dso:=.jmprel)): New static pattern rule.
62727         (generated): Add those targets.
62728         (localplt-built-dso): New variable.
62729         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62731         * elf/check-localplt.c: File removed.
62733         * scripts/check-execstack.awk: New file.
62734         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62735         (check-execstack-CFLAGS): Variable removed.
62736         ($(objpfx)check-execstack.h): Target removed.
62737         ($(objpfx)execstack-default): New target.
62738         (generated): Add that instead of check-execstack.h.
62739         ($(all-built-dso:=.phdr)): New static pattern rule.
62740         (generated): Add those targets.
62741         * elf/check-execstack.c: File removed.
62743         * scripts/check-textrel.awk: New file.
62744         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62745         (check-textrel-CFLAGS): Variable removed.
62746         (all-built-dso): Use := to define.o
62747         ($(all-built-dso:=.dyn)): New static pattern rule.
62748         (generated): Add those targets.
62749         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62750         * config.make.in (READELF): New substituted variable.
62751         * elf/check-textrel.c: File removed.
62753 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62755         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62756         allow.
62757         * conform/data/ctype.h-data [C99-based standards] (isblank):
62758         Expect function.
62759         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62760         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62762         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62763         Specify type.  Require positive value.
62764         (EILSEQ): Likewise.
62765         (ERANGE): Likewise.
62766         [ISO || POSIX] (EILSEQ): Do not expect.
62767         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62768         Specify type.  Require positive value.
62769         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62770         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62771         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62772         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62773         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62774         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62775         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62776         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62777         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62778         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62779         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62780         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62781         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62782         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62783         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62784         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62785         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62786         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62787         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62788         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62789         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62790         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62791         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62792         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62793         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62794         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62795         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62796         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62797         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62798         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62799         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62800         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62801         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62802         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62803         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62804         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62805         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62806         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62807         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62808         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62809         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62810         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62811         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62812         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62813         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62814         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62815         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62816         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62817         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62818         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62819         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62820         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62821         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62822         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62823         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62824         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62825         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62826         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62827         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62828         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62829         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62830         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62831         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62832         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62833         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62834         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62835         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62836         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62837         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62838         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62839         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62840         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62841         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62842         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62843         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62844         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62845         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62846         Require >= 2.
62847         (FLT_ROUNDS): Expect as macro, not constant.
62848         (FLT_MANT_DIG): Use macro-int-constant.
62849         (DBL_MANT_DIG): Likewise.
62850         (LDBL_MANT_DIG): Likewise.
62851         (FLT_DIG): Likewise.
62852         (DBL_DIG): Likewise.
62853         (LDBL_DIG): Likewise.
62854         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62855         (DBL_MIN_EXP): Likewise.
62856         (LDBL_MIN_EXP): Likewise.
62857         (FLT_MAX_EXP): Use macro-int-constant.
62858         (DBL_MAX_EXP): Likewise.
62859         (LDBL_MAX_EXP): Likewise.
62860         (FLT_MAX_10_EXP): Likewise.
62861         (DBL_MAX_10_EXP): Likewise.
62862         (LDBL_MAX_10_EXP): Likewise.
62863         (FLT_MAX): Use macro-constant.
62864         (DBL_MAX): Likewise.
62865         (LDBL_MAX): Likewise.
62866         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62867         (DBL_EPSILON): Likewise.
62868         (LDBL_EPSILON): Likewise.
62869         (FLT_MIN): Likewise.
62870         (DBL_MIN): Likewise.
62871         (LDBL_MIN): Likewise.
62872         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62873         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62874         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62875         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62876         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62877         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62878         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62879         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62880         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62881         [ISO11] (FLT_TRUE_MIN): Likewise.
62882         [ISO11] (LDBL_TRUE_MIN): Likewise.
62883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62884         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62885         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62886         (SCHAR_MAX): Likewise.
62887         (UCHAR_MAX): Likewise.
62888         (CHAR_MIN): Likewise.
62889         (CHAR_MAX): Likewise.
62890         (MB_LEN_MAX): Use macro-int-constant.
62891         (SHRT_MIN): Use macro-int-constant.  Specify type.
62892         (SHRT_MAX): Likewise.
62893         (USHRT_MAX): Likewise.
62894         (INT_MAX): Likewise.
62895         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62896         bound negative.
62897         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62898         bound with "U".
62899         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62900         bound with "L".
62901         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62902         bound negative.  Suffix upper bound with "L".
62903         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62904         bound with "UL".
62905         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62906         Specify type.
62907         [C99-based standards] (LLONG_MAX): Likewise.
62908         [C99-based standards] (ULLONG_MAX): Likewise.
62909         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62910         == 0.
62911         [ISO11] (max_align_t): Require type.
62912         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62914         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62915         from $CFLAGS, without defining away __attribute__ calls.
62916         (checknamespace): Use $CFLAGS_namespace.
62918         * conform/conformtest.pl (@keywords): Only include C99 keywords
62919         for standards based on C99 or C11.
62921         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62922         Disable tests.
62923         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62924         UNIX98]: Likewise.
62926         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62927         usability of symbols in #if.
62929         * conform/conformtest.pl: If macro or constant types start
62930         "promoted:", expect the symbol to be of the following type
62931         promoted by the integer promotions.
62933         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62934         in one place.  Also handle "macro-constant".
62936         * conform/conformtest.pl: Only accept expected macro values with
62937         "==".  Parse all "macro" lines in one place.
62938         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62940         * conform/conformtest.pl: Handle braced types on "constant" lines
62941         instead of handling "typed-constant".
62942         * conform/data/signal.h-data: Use "constant" instead of
62943         "typed-constant".
62945         * conform/conformtest.pl: Handle "optional-" at start of lines in
62946         one place rather than duplicating several cases.  Handle each
62947         format of "macro" line with initial "optional-".
62949         * conform/conformtest.pl: Only accept expected constant or
62950         optional-constant values with "==".  Parse all "constant" lines in
62951         one place.  Parse all "optional-constant" lines in one place.
62952         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62953         * conform/data/fmtmsg.h-data: Likewise.
62954         * conform/data/netinet/in.h-data: Likewise.
62955         * conform/data/tar.h-data: Likewise.
62956         * conform/data/limits.h-data: Use "==" form on "constant" and
62957         "optional-constant" lines.
62959         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62960         Use -std=c99 for XOPEN2K.
62961         (@knownproblems): Remove.
62962         (newtoken): Don't check %isknown.
62964         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62965         Do not expect macro.
62966         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62967         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62968         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62969         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62970         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62971         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62972         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62973         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62974         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62975         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62976         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62977         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62978         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62979         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62980         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62981         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62982         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62983         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62984         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62985         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62986         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62987         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62988         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62989         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62990         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62991         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62992         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62993         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62994         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62995         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62996         [XPG3] (acosh): Likewise.
62997         [XPG3] (asinh): Likewise.
62998         [XPG3] (atanh): Likewise.
62999         [XPG3] (cbrt): Likewise.
63000         [XPG3] (expm1): Likewise.
63001         [XPG3] (ilogb): Likewise.
63002         [XPG3] (log1p): Likewise.
63003         [XPG3] (logb): Likewise.
63004         [XPG3] (nextafter): Likewise.
63005         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63006         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63007         [XPG3] (remainder): Likewise.
63008         [XPG3] (rint): Likewise.
63009         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63010         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63011         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63012         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63013         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63014         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63015         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63016         [UNIX98 || XOPEN2K] (scalb): Expect.
63017         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63018         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63019         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63020         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63021         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63022         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63023         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63024         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63025         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63026         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63027         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63028         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63029         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63030         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63031         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63032         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63033         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63034         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63035         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63036         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63037         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63038         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63039         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63040         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63041         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63042         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63043         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63044         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63045         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63046         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63047         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63048         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63049         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63050         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63051         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63052         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63053         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63054         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63055         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63056         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63057         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63058         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63059         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63060         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63061         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63062         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63063         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63064         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63065         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63066         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63067         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63068         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63069         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63070         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63071         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63072         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63073         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63074         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63075         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63076         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63077         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63080         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63081         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63089         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63090         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63091         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63098         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63099         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63100         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63101         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63102         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63103         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63104         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63105         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63106         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63109         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63110         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63118         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63119         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63120         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63155         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63156         _XOPEN_SOURCE_EXTENDED for XPG4.
63158         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63160         * Makeconfig (localtime): Remove variable.
63161         (inst_localtime-file): Likewise.
63163 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63166         Update.
63167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63168         Update.
63169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63170         Update.
63171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63172         Update.
63173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63174         Update.
63175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63176         Update.
63177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63178         Update.
63179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63180         Update.
63181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63182         Update.
63184 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63186         [BZ #2550]
63187         [BZ #2570]
63188         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63189         comparisons to determine direction to adjust input.
63190         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63191         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63192         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63193         Likewise.
63194         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63195         Likewise.
63196         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63197         Likewise.
63198         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63199         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63200         Likewise.
63201         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63202         Likewise.
63203         * math/libm-test.inc (nexttoward_test): Add more tests.
63205 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63207         [BZ #14040]
63208         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63209         in version GLIBC_2.1, not GLIBC_2.0.
63210         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63211         Likewise.
63213 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63215         [BZ #13942]
63216         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63217         (1 - x) * (1 + x).
63218         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63219         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63220         * math/libm-test.inc (acos_test): Add more tests.
63221         (asin_test): Likewise.
63222         * sysdeps/i386/fpu/libm-test-ulps: Update.
63223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63225         [BZ #14034]
63226         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63227         of square root.
63228         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63229         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63230         * math/libm-test.inc (acos_test_tonearest): New function.
63231         (acos_test_towardzero): Likewise.
63232         (acos_test_downward): Likewise.
63233         (acos_test_upward): Likewise.
63234         (asin_test_tonearest): Likewise.
63235         (asin_test_towardzero): Likewise.
63236         (asin_test_downward): Likewise.
63237         (asin_test_upward): Likewise.
63238         (main): Call the new functions.
63239         * sysdeps/i386/fpu/libm-test-ulps: Update.
63240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63242         [BZ #13884]
63243         [BZ #13924]
63244         * math/e_exp10.c: Include <float.h>.
63245         (__ieee754_exp10): Handle underflow here rather than multiplying
63246         large negative argument by M_LN10.
63247         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63248         of __ieee754_expf.
63249         * math/e_exp10l.c: Include <float.h>.
63250         (__ieee754_exp10l): Handle underflow here rather than multiplying
63251         large negative argument by M_LN10l.
63252         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63253         spurious overflow exception on underflow.
63255 2012-04-29  Marek Polacek  <polacek@redhat.com>
63257         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63258         (__fortify_function): New macro.
63259         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63260         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63261         __extern_always_inline.
63262         * libio/bits/stdio2.h: Likewise.
63263         * libio/bits/stdio.h: Likewise.
63264         * string/string.h: Likewise.
63265         * string/bits/string3.h: Likewise.
63266         * include/stdio.h: Likewise.
63267         * stdlib/bits/stdlib.h: Likewise.
63268         * stdlib/stdlib.h: Likewise.
63269         * rt/bits/mqueue2.h: Likewise.
63270         * rt/mqueue.h: Likewise.
63271         * posix/bits/unistd.h: Likewise.
63272         * posix/unistd.h: Likewise.
63273         * io/bits/poll2.h: Likewise.
63274         * io/bits/fcntl2.h: Likewise.
63275         * io/fcntl.h: Likewise.
63276         * io/sys/poll.h: Likewise.
63277         * misc/bits/syslog.h: Likewise.
63278         * misc/bits/syslog-ldbl.h: Likewise.
63279         * misc/sys/syslog.h: Likewise.
63280         * socket/bits/socket2.h: Likewise.
63281         * socket/sys/socket.h: Likewise.
63282         * debug/tst-chk1.c: Likewise.
63283         * wcsmbs/bits/wchar2.h: Likewise.
63284         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63285         * wcsmbs/wchar.h: Likewise.
63287 2012-04-29  Andreas Jaeger  <aj@suse.de>
63289         * Makerules (tests): Remove enable-check-abi protection.
63290         (check-abi-warn): Remove.
63291         (check-abi-%): Remove check-abi-warn usage.
63293         * configure.in: Remove check-abi configure option.
63294         * configure: Regenerated.
63295         * config.make.in (enable-check-abi): Remove.
63297 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63299         [BZ #14033]
63300         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63301         double functions to double *_finite functions.
63303         [BZ #13941]
63304         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63305         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63306         LDBL_MIN_EXP.
63307         * stdio-common/Makefile (tests): Add tst-sprintf3.
63308         * stdio-common/tst-sprintf3.c: New file.
63310         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63311         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63313 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63315         * conform/conformtest.pl: Remove duplicate typed-constant
63316         handling.
63318 2012-04-28  David S. Miller  <davem@davemloft.net>
63320         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63321         (check-abi-%): Remove AWK script prerequisite and explicit
63322         abilist directory.
63323         (check-abi): Rewrite to just diff the symlist with the abilist.
63324         (config-tls, config-abi-config): Delete, no longer used.
63325         (update-abi-%): Remove AWK script and explicit abilist directory.
63326         (update-abi): Rewrite to simply compare and conditionally copy the
63327         symlist and the sysdep abilist file.  Remove update-abi-config
63328         checks.
63329         * abilist/ld.abilist: Remove.
63330         * abilist/libBrokenLocale.abilist: Remove.
63331         * abilist/libanl.abilist: Remove.
63332         * abilist/libcrypt.abilist: Remove.
63333         * abilist/libdl.abilist: Remove.
63334         * abilist/librt.abilist: Remove.
63335         * abilist/libthread_db.abilist: Remove.
63336         * abilist/libutil.abilist: Remove.
63337         * scripts/extract-abilist.awk: Remove.
63338         * scripts/merge-abilist.awk: Remove.
63339         * sysdeps/generic/libcidn.abilist: New file.
63340         * sysdeps/generic/libnss_compat.abilist: New file.
63341         * sysdeps/generic/libnss_db.abilist: New file.
63342         * sysdeps/generic/libnss_dns.abilist: New file.
63343         * sysdeps/generic/libnss_files.abilist: New file.
63344         * sysdeps/generic/libnss_hesiod.abilist: New file.
63345         * sysdeps/generic/libnss_nis.abilist: New file.
63346         * sysdeps/generic/libnss_nisplus.abilist: New file.
63347         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63348         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63349         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63350         file.
63351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63352         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63353         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63354         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63355         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63356         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63357         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63358         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63359         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63360         file.
63361         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63362         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63363         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63364         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63365         file.
63366         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63367         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63368         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63369         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63370         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63371         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63372         file.
63373         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63374         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63375         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63376         file.
63377         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63379         New file.
63380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63381         New file.
63382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63383         New file.
63384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63385         New file.
63386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63387         New file.
63388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63389         New file.
63390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63391         New file.
63392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63393         New file.
63394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63395         New file.
63396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63397         New file.
63398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63399         New file.
63400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63401         New file.
63402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63403         New file.
63404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63405         file.
63406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63407         New file.
63408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63409         New file.
63410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63411         file.
63412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63413         New file.
63414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63415         New file.
63416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63417         file.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63419         New file.
63420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63421         New file.
63422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63423         New file.
63424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63425         New file.
63426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63427         New file.
63428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63429         New file.
63430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63432         file.
63433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63434         New file.
63435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63436         file.
63437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63438         file.
63439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63440         file.
63441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63442         file.
63443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63444         file.
63445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63446         New file.
63447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63448         file.
63449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63450         file.
63451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63452         New file.
63453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63454         file.
63455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63457         file.
63458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63459         New file.
63460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63461         file.
63462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63463         file.
63464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63465         file.
63466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63467         file.
63468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63469         file.
63470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63471         New file.
63472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63473         file.
63474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63475         file.
63476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63477         New file.
63478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63479         file.
63480         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63481         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63482         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63483         file.
63484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63485         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63486         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63487         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63488         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63489         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63490         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63491         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63492         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63493         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63496         file.
63497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63498         New file.
63499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63500         file.
63501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63502         file.
63503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63504         file.
63505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63506         file.
63507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63508         file.
63509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63510         New file.
63511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63512         New file.
63513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63514         file.
63515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63516         New file.
63517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63518         file.
63519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63521         file.
63522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63523         New file.
63524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63525         file.
63526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63527         file.
63528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63529         file.
63530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63531         file.
63532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63533         file.
63534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63535         New file.
63536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63537         New file.
63538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63539         file.
63540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63541         New file.
63542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63543         file.
63545 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63547         * conform/conformtest.pl: Fix typo in handling typed-constant from
63548         allow-header.
63550 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63552         * README: Cut down references to pre-2.6 Linux kernels and
63553         Linuxthreads.  Update lists of configurations in libc and ports
63554         and sort alphabetically.  Say "or newer" with Linux kernel version
63555         requirements.
63557         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63559 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63561         [BZ #887]
63562         * math/libm-test.inc (logb_test_downward): New test to expose
63563         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63564         rounding mode.
63566 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63568         [BZ #14027]
63569         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63570         to be done.
63571         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63572         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63574 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63576         * sysdeps/unix/i386/brk.S: Remove file.
63577         * sysdeps/unix/i386/dl-brk.S: Likewise.
63578         * sysdeps/unix/i386/pipe.S: Likewise.
63579         * sysdeps/unix/i386/sigreturn.S: Likewise.
63580         * sysdeps/unix/i386/syscall.S: Likewise.
63581         * sysdeps/unix/i386/vfork.S: Likewise.
63582         * sysdeps/unix/i386/wait.S: Likewise.
63584         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63585         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63587         * configure.in (arm*-none*): Do not allow without
63588         --enable-hacker-mode.
63589         (netbsd*): Remove case setting base_os.
63590         (386bsd*): Likewise.
63591         (freebsd*): Likewise.
63592         (bsdi*): Likewise.
63593         (osf*): Likewise.
63594         (sunos*): Likewise.
63595         (ultrix*): Likewise.
63596         (newsos*): Likewise.
63597         (dynix*): Likewise.
63598         (*bsd*): Likewise.
63599         (sysv*): Likewise.
63600         (isc*): Likewise.
63601         (esix*): Likewise.
63602         (sco*): Likewise.
63603         (minix*): Likewise.
63604         (irix4*): Likewise.
63605         (irix6*): Likewise.
63606         (solaris[2-9]*): Likewise.
63607         (none): Likewise.
63608         * configure: Regenerated.
63610 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63612         [BZ #11521]
63613         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63614         overflow or cancellation in calculating denominator.
63615         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63616         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63617         down expression to avoid unexpected rounding in newer GCCs.
63618         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63620 2012-04-26  David S. Miller  <davem@davemloft.net>
63622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63623         long-double compat symbols.
63624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63638 2012-04-25  David S. Miller  <davem@davemloft.net>
63640         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63641         HWCAP_* values only after the memory barriers have been defined.
63642         (atomic_full_barrier): Define.
63643         (atomic_read_barrier): Define.
63644         (atomic_write_barrier): Define.
63646 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63648         * shlib-versions: Add libgcc_s version information.
63649         * sysdeps/generic/libgcc_s.h: Remove.
63650         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63651         libgcc_s.h.
63652         * sysdeps/gnu/unwind-resume.c: Likewise.
63653         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63655 2012-04-25  David S. Miller  <davem@davemloft.net>
63657         * sysdeps/unix/sparc/brk.S: Delete.
63658         * sysdeps/unix/sparc/dl-brk.S: Delete.
63659         * sysdeps/unix/sparc/pipe.S: Delete.
63660         * sysdeps/unix/sparc/sysdep.S: Delete.
63661         * sysdeps/unix/sparc/sysdep.h: Delete.
63662         * sysdeps/unix/sparc/vfork.S: Delete.
63663         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63664         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63665         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63666         (ret_ERRVAL, r0, r1, MOVE): Define.
63667         (JUMPTARGET): Remove.
63668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63669         sysdeps/unix/sparc/sysdep.h
63670         (ENTRY, END): Remove.
63671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63673 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63675         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63676         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63677         -DIS_IN_build.
63679         * timezone/README: Update upstream location and email address for
63680         tzcode and tzdata.
63681         * timezone/zdump.c: Update from tzcode 2012b.
63682         * timezone/zic.c: Likewise.
63684         * configure.in (libc_cv_as_needed): Remove test.
63685         * configure: Regenerated.
63686         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63687         conditional definition.
63688         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63689         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63690         * config.make.in (have-as-needed): Remove variable.
63692 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63693             Paul Pluzhnikov  <ppluzhnikov@google.com>
63695         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63696         strings correctly.
63698 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63700         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63701         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63702         * sysdeps/sh/strlen.S: Likewise.
63704 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63706         * sysdeps/unix/fork.S: Remove file.
63707         * sysdeps/unix/i386/fork.S: Likewise.
63708         * sysdeps/unix/sparc/fork.S: Likewise.
63710         * sysdeps/unix/system.c: Remove file.
63711         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63713         * sysdeps/unix/getegid.S: Remove file.
63714         * sysdeps/unix/geteuid.S: Likewise.
63716 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63718         * scripts/check-localplt.awk: New file.
63719         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63720         of diff.
63721         * scripts/data/localplt-generic.data: Add a comment.
63723         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63724         NODE when __dir_mkfile failed.
63725         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63726         Reported by Ludovic Courtès <ludo@gnu.org>.
63728 2012-04-24  Andreas Jaeger  <aj@suse.de>
63730         * Makerules (common-clean): Also remove gen-as-const-headers
63731         files.
63733 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63735         * Makerules (native-compile): Do not change working directory for
63736         build.  Use $(OUTPUT_OPTION) in command.
63737         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63739 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63741         [BZ #13886]
63742         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63743         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63744         * math/libm-test.inc (floor_test): Add more tests.
63745         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63747 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63749         * sysdeps/unix/getdents.c: Remove file.
63750         * sysdeps/unix/sysv/getdents.c: Likewise.
63751         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63753         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63754         sysdeps/unix/mman/syscalls.list.
63755         (mmap): Likewise.
63756         (mprotect): Likewise.
63757         (msync): Likewise.
63758         (munmap): Likewise.
63759         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63760         * sysdeps/unix/mman/syscalls.list: Remove.
63761         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63763         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63764         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63765         * configure: Regenerated.
63766         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63767         $(libgcc_s_suffix).
63768         * config.make.in (libgcc_s_suffix): Remove variable.
63770 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63772         * sysdeps/unix/sysv/gethostname.c: Move to ...
63773         * sysdeps/posix/gethostname.c: ... here.
63775         * sysdeps/unix/execve.S: Remove file.
63777         * sysdeps/unix/_exit.S: Remove file.
63779 2012-04-23  Andreas Jaeger  <aj@suse.de>
63781         [BZ #13739]
63782         * manual/Makefile: Remove make dist support, there's no
63783         need for a stand-alone documentation tar ball.
63784         (TEXI2DVI): Define always, it's not in Makeconfig.
63785         (dist): Removed.
63786         (tar-it): Removed.
63787         (edition): Removed.
63788         (glibc-doc-$(edition).tar): Removed
63789         (%.Z): Removed.
63790         (%.gz): Removed.
63791         (%.uu): Removed.
63792         (ETAGS): Remove, it's in Makeconfig.
63793         (move-if-change): Remove, it's in Makeconfig.
63795 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63797         [BZ #13970]
63798         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63799         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63800         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63801         (strtod_l, strtof_l, strtold_l): Remove __wur.
63802         It is not necessarily an error to ignore strtol's return value.
63803         One can reliably look at the stored endptr to decide whether
63804         the number had valid syntax.
63806 2012-04-21  Andreas Jaeger  <aj@suse.de>
63808         [BZ #13739]
63809         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63811 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63813         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63814         * sysdeps/unix/sysv/Versions: Remove file.
63816 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63818         [BZ #13927]
63819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63821 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63823         [BZ #7064]
63824         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63825         version from __vm86.
63827 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63829         * sysdeps/unix/common/lxstat.c: Remove file.
63830         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63832         * sysdeps/unix/sysv/Makefile: Remove file.
63834         * sysdeps/unix/sysv/direct.h: Remove file.
63836         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63837         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63838         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63839         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63840         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63841         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63842         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63844         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63846         * sysdeps/unix/xmknod.c: Remove file.
63847         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63849         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63851         * sysdeps/unix/sysv/i386/time.S: Remove file.
63853         * sysdeps/unix/fxstat.c: Remove file.
63854         * sysdeps/unix/xstat.c: Likewise.
63855         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63857         * sysdeps/unix/sysv/sigaction.c: Remove file.
63859         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63860         (sysdep_headers): Remove variable.
63861         [termio.h not in sysdep_headers] (generated): Likewise.
63862         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63863         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63864         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63865         * sysdeps/unix/sysv/tcflow.c: Likewise.
63866         * sysdeps/unix/sysv/tcflush.c: Likewise.
63867         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63868         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63869         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63870         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63871         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63873         * sysdeps/unix/siglist.c: Remove file.
63875         * sysdeps/unix/getppid.S: Remove file.
63877         * sysdeps/unix/mkdir.c: Remove file.
63878         * sysdeps/unix/rmdir.c: Likewise.
63880 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63882         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63883         ERR_MAX value.
63884         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63885         errlist-compat value.
63887 2012-04-18  David S. Miller  <davem@davemloft.net>
63889         * sysdeps/generic/memcopy.h (reg_char): Delete.
63890         * debug/strcat_chk.c: Use char, not reg_char.
63891         * debug/strcpy_chk.c: Likewise.
63892         * debug/strncat_chk.c: Likewise.
63893         * debug/strncpy_chk.c: Likewise.
63894         * string/memchr.c: Likewise.
63895         * string/memrchr.c: Likewise.
63896         * string/rawmemchr.c: Likewise.
63897         * string/strcat.c: Likewise.
63898         * string/strchr.c: Likewise.
63899         * string/strchrnul.c: Likewise.
63900         * string/strcmp.c: Likewise.
63901         * string/strcpy.c: Likewise.
63902         * string/strncat.c: Likewise.
63903         * string/strncmp.c: Likewise.
63904         * string/strncpy.c: Likewise.
63906 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63908         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63909         __builtin_memcopy is called when src and dest ranges are known to not
63910         overlap.
63912 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63915         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63916         fwd_align_merge macro call.
63917         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63918         bwd_align_merge macro call.
63919         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63921 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63923         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63924         bwd_align_merge macros.
63925         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63926         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63927         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63929 2012-04-18  David S. Miller  <davem@davemloft.net>
63931         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63933 2012-04-18  Andreas Jaeger  <aj@suse.de>
63935         [BZ# 6794]
63936         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63937         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63938         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63940         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63941         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63942         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63944         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63945         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63946         Adjust for changed ldbl-128 files.
63948         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63949         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63950         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63952 2012-04-17  David S. Miller  <davem@davemloft.net>
63954         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63956 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63958         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63959         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63960         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63961         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63962         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63963         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63965 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63967         [BZ #6794]
63968         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63969         * math/libm-test.inc: Add ilogb errno and exception tests.
63970         * math/w_ilogb.c: New file: ilogb wrapper.
63971         * math/w_ilogbf.c: New file: ilogbf wrapper.
63972         * math/w_ilogbl.c: New file: ilogbl wrapper.
63973         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63974         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63975         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63976         exception being thrown with 0.0 as argument.
63977         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63978         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63979         exception being thrown with 0.0 as argument.
63980         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63981         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63982         exception being thrown with 0.0 as argument.
63983         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63984         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63985         exception being thrown with 0.0 as argument.
63986         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63987         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63989         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63990         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63991         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63992         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63993         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63994         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63996 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63998         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63999         with altivec.
64001 2012-04-16  Marek Polacek  <polacek@redhat.com>
64003         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64005 2012-04-16  Marek Polacek  <polacek@redhat.com>
64007         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64008         operands of fdivp instruction.
64010 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64012         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64013         * elf/tst-auditmod3b.c: Likewise.
64014         * elf/tst-auditmod4b.c: Likewise.
64015         * elf/tst-auditmod5b.c: Likewise.
64016         * elf/tst-auditmod6b.c: Likewise.
64017         * elf/tst-auditmod6c.c: Likewise.
64018         * elf/tst-auditmod7b.c: Likewise.
64019         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64020         * sysdeps/x86_64/preconfigure.in: Likewise.
64021         * sysdeps/x86_64/preconfigure: Regenerated.
64023 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64025         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64026         __ILP32__.
64028 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64031         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64033 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64035         [BZ #13973]
64036         * locale/iso-639.def: Fix gl language name. Spotted by
64037         Yaron Shahrabani.
64039 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64041         [BZ #2074]
64042         * libio/libio.h (__io_write_fn): Update comment.
64044 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64046         [BZ #2074]
64047         * stdio.texi (Hook Functions): The user provided writer function
64048         is not allowed to return -1.
64050 2012-04-11  David S. Miller  <davem@davemloft.net>
64052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64054 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64056         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64057         Add a leading slash to rtkaio.
64059 2012-04-11  Jim Meyering  <meyering@redhat.com>
64061         [BZ #11959]
64062         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64063         It is not necessarily an error to ignore fwrite's return
64064         value.  One can reliably use ferror to test for errors after
64065         the fact.
64067 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64069         * bits/types.h (__snseconds_t): New type.
64070         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64072         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64074         (__SNSECONDS_T_TYPE): Likewise.
64075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64076         (__SNSECONDS_T_TYPE): Likewise.
64077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64078         (__SNSECONDS_T_TYPE): Likewise.
64080 2012-04-10  Andreas Jaeger  <aj@suse.de>
64082         [BZ #2636]
64083         * manual/time.texi (Processor Time): Return type of times is
64084         elapsed real time since an arbitrary point in the past.
64085         (CPU Time): Move CLK_TCK from here...
64086         (Processor Time): ...to here.  Correct description.
64087         * manual/conf.texi (Constants for Sysconf): Correct description of
64088         _SC_CLK_TCK.
64090 2012-04-10  David S. Miller  <davem@davemloft.net>
64092         [BZ #13967]
64093         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64094         where the is a gap between DT_REL(A) and DT_JMPREL.
64096 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64098         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64099         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64100         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64102 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64104         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64105         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64106         (dl_main): Handle --inhibit-cache.
64107         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64108         _dl_inhibit_cache.
64109         * elf/dl-load.c (_dl_map_object): Use it.
64110         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64112 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64114         [BZ #13872]
64115         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64116         (__ieee754_powl): Saturate large exponents rather than testing for
64117         overflow of y*log2(x).
64118         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64119         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64120         exceptions.
64122         [BZ #11521]
64123         * math/s_ctan.c: Include <float.h>.
64124         (__ctan): Avoid internal overflow or cancellation in calculating
64125         denominator.
64126         * math/s_ctanf.c: Likewise.
64127         * math/s_ctanl.c: Likewise.
64128         * math/s_ctanh.c: Likewise.
64129         * math/s_ctanhf.c: Likewise.
64130         * math/s_ctanhl.c: Likewise.
64131         * math/libm-test.inc (ctan_test): Add more tests.
64132         (ctanh_test): Likewise.
64133         * sysdeps/i386/fpu/libm-test-ulps: Update.
64134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64136 2012-04-09  Andreas Jaeger  <aj@suse.de>
64138         [BZ #6894]
64139         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64140         is an optional BSD extension.
64142         [BZ #10254]
64143         * manual/stdio.texi (Opening Streams): Document additional fopen
64144         parameters.
64146 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64148         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64149         %eax without telling the compiler.
64151 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64153         [BZ # 13963]
64154         * manual/install.texi: Use sourceware.org.
64156 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64158         [BZ #13873]
64159         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64160         (__ieee754_pow): Generate overflow and underflow using huge*huge
64161         and tiny*tiny rather than just returning constant infinity or zero
64162         for large exponents.
64163         * math/libm-test.inc (pow_test): Require overflow exceptions for
64164         applicable cases of large exponents.
64166         [BZ #706]
64167         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64168         (__ieee754_pow): Use iterative multiplication algorithm only for
64169         integer exponents with absolute value below 1024.  Check for odd
64170         integer exponents when using algorithm for real exponents.
64171         * math/libm-test.inc (pow_test): Add more tests.
64172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64174 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64176         [BZ #13705]
64177         * math/libm-test.inc (exp_test): Do not allow overflow exception
64178         on underflow test.
64180 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64182         [BZ #13705]
64183         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64184         instead of __kernel_standard_f.
64186 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64188         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64189         * sysdeps/x86_64/memset_chk.S: Likewise.
64191 2012-04-08  Andreas Jaeger  <aj@suse.de>
64193         [BZ #10153]
64194         * manual/startup.texi (Environment Access): Describe return value
64195         for putenv and setenv.
64197         [BZ #6895]
64198         * manual/filesys.texi (Directory Entries): Add description for
64199         DT_LNK.
64201         [BZ #6890]
64202         * manual/filesys.texi (Directory Entries): Clarify that it's file
64203         system not operating system in the description of DT_UNKNOWN.
64205         [BZ #6578]
64206         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64208 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64210         [BZ #6649]
64211         * manual/llio.texi (Opening and Closing Files): Add cross
64212         reference to explain mode argument.
64214 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64216         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64217         * sysdeps/x86_64/memset_chk.S: Likewise.
64219 2012-04-07  David S. Miller  <davem@davemloft.net>
64221         * elf/elf.h (R_SPARC_WDISP10): Define.
64222         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64223         R_SPARC_SIZE32.
64224         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64225         R_SPARC_SIZE64 and R_SPARC_H34.
64227 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64230         conditions and remove no longer applicable assertion.
64232 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64234         * bits/byteswap.h: Include <features.h>.
64235         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64236         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64238 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64240         * bits/byteswap.h (__bswap_16): Removed.
64241         Include <bits/byteswap-16.h> to get __bswap_16.
64242         * sysdeps/i386/bits/byteswap.h: Likewise.
64243         * sysdeps/s390/bits/byteswap.h: Likewise.
64244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64245         * bits/byteswap-16.h: New file.
64246         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64247         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64248         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64249         * string/Makefile (headers): Add bits/byteswap-16.h.
64251 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64253         [BZ #13895]
64254         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64255         extra indirection.
64256         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64257         * nss/tst-nss-static.c: New.
64259 2012-04-06  Robert Millan  <rmh@gnu.org>
64261         [BZ #6486]
64262         * manual/llio.texi (File Position Primitive): lseek
64263         refers to WHENCE when it really means OFFSET.
64265 2012-04-06  Andreas Jaeger  <aj@suse.de>
64267         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64268         strncmp declarations.
64270         * abilist/libc.abilist: Add __poll and __ppoll.
64272 2012-04-05  David S. Miller  <davem@davemloft.net>
64274         * scripts/check-local-headers.sh: Accept a host triplet in the
64275         path matched by the exclude regexp.
64277         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64278         definition.
64279         * sysdeps/powerpc/powerpc32/dl-machine.h
64280         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64281         * sysdeps/s390/s390-32/dl-machine.h
64282         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64283         * sysdeps/sparc/sparc32/dl-machine.h
64284         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64285         * sysdeps/sparc/sparc64/dl-machine.h
64286         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64288         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64289         lazy binding.
64290         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64291         undefined symbol errors.
64293         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64294         DT_NEEDED entries.
64296 2012-04-05  Michael Matz  <matz@suse.de>
64298         [BZ #13592]
64299         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64301 2012-04-05  Andreas Jaeger  <aj@suse.de>
64303         [BZ #13908]
64304         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64305         comment.
64307 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64309         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64310         which ROUND is no valid rounding mode.
64312 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64314         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64315         read again.
64316         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64318 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64320         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64321         an exception using FPU order intentionally.
64323 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64325         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64326         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64327         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64328         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64330 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64332         [BZ #12340]
64333         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64334         EINVAL when BUFLEN is too smal.
64336 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64338         [BZ #13553]
64339         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64340         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64342 2012-04-03  Andreas Jaeger  <aj@suse.de>
64344         [BZ #13938]
64345         * manual/setjmp.texi (System V contexts): Fix sentence.
64347         [BZ #13926]
64348         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64349         New macro for this case.
64350         [!__GNUC__] (__bswap_64): New inline function for this case.
64351         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64352         * bits/byteswap.h: Likewise.
64353         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64354         ull, guard with __GLIBC_HAVE_LONG_LONG.
64356         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64357         __GLIBC_HAVE_LONG_LONG.
64359         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64360         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64362 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64364         [BZ #13691]
64365         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64366         inptr and inend, rather than using last_ch.
64368 2012-04-02  David S. Miller  <davem@davemloft.net>
64370         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64371         * stdio-common/printf-parse.h (read_int): Change return type to
64372         'int', return -1 on INT_MAX overflow.
64373         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64374         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64375         overflows INT_MAX.  Check for overflow of in-format-string precision
64376         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64377         SIZE_MAX not INT_MAX for integer overflow test.
64378         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64379         skip the construct in the format string but do not record anything.
64380         * stdio-common/bug22.c: Adjust to test both width/prevision
64381         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64382         explicitly for proper errno values.
64384 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64386         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64387         CHAR_MAX.
64388         * string/test-strcmp.c [! WIDE]: Likewise.
64389         * time/tst-mktime2.c: Likewise for INT_MAX.
64390         * string/test-string.h: #include <sys/param.h> for MIN.
64392         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64393         * sysdeps/i386/init-first.c (init): Likewise.
64394         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64395         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64396         * sysdeps/sh/init-first.c (init): Likewise.
64398 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64400         * po/ru.po: Update from translation team.
64401         * po/vi.po: Likewise.
64403 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64405         * resolv/nss_dns/dns-host.c: Merge copyright years.
64407 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64409         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64410         Optimize memcpy with prefetch if
64411         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64412         src, dst pointers have unequal 16 byte alignments.
64414 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64416         [BZ #13928]
64417         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64418         from a CNAME entry and return the minimum ttl for the query.
64419         (gaih_getanswer_slice): Likewise.
64421 2012-03-30  Jeff Law  <law@redhat.com>
64423         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64424         due to long keys.
64425         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64426         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64428         * resolv/nss_dns/dns-host.c: Update copyright year.
64430 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64432         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64433         requests to save a system call.  Fix check that all bytes are sent.
64435         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64436         comments for sendmmsg.
64438 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64440         [BZ #13691]
64441         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64442         with only 1 character between 0x0041 and 0x01b0.
64443         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64444         * wcsmbs/tst-mbsnrtowcs.c: New file.
64446 2012-03-29  David S. Miller  <davem@davemloft.net>
64448         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64449         small copies by hand.
64451 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64453         [BZ #13761]
64454         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64455         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64456         group memberships.
64458 2012-03-28  David S. Miller  <davem@davemloft.net>
64460         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64461         that branches into memcpy.
64462         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64463         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64465         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64466         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64467         bits.
64468         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64469         implementation too.
64470         * sysdeps/sparc/mempcpy.S: New file.
64472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64473         the IFUNC routine in the libc case.
64474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64476         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64477         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64478         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64479         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64480         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64481         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64482         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64483         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64485         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64486         loop to 256 bytes instead of 64 bytes and fix test signedness.
64488         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64489         * sysdeps/sparc/sparc32/Makefile: rather than here...
64490         * sysdeps/sparc/sparc64/Makefile: and here.
64492 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64494         * malloc/mallocbug.c: Avoid warnings about unused variables.
64496 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64498         [BZ #13760]
64499         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64500         in the right place. Discard and retry query if response is
64501         larger than input buffer size.
64503 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64505         [BZ #369]
64506         [BZ #2678]
64507         [BZ #3866]
64508         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64509         x for large integer exponent.
64510         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64511         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64512         sign of result as needed afterwards.
64513         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64514         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64515         result for underflowing pow the same as for overflow.
64516         (__kernel_standard_l): Handle powl overflow and underflow here
64517         rather than calling __kernel_standard.
64518         * math/libm-test.inc (pow_test): Add more tests.
64520         [BZ #3868]
64521         [BZ #13879]
64522         [BZ #13910]
64523         [BZ #13911]
64524         [BZ #13912]
64525         [BZ #13913]
64526         [BZ #13915]
64527         [BZ #13916]
64528         [BZ #13917]
64529         [BZ #13918]
64530         [BZ #13919]
64531         [BZ #13920]
64532         [BZ #13921]
64533         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64534         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64535         (__kernel_standard_l): New function.
64536         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64537         __kernel_standard.
64538         * math/w_acosl.c (__acosl): Likewise.
64539         * math/w_asinl.c (__asinl): Likewise.
64540         * math/w_atan2l.c (__atan2l): Likewise.
64541         * math/w_atanhl.c (__atanhl): Likewise.
64542         * math/w_coshl.c (__coshl): Likewise.
64543         * math/w_exp10l.c (__exp10l): Likewise.
64544         * math/w_exp2l.c (__exp2l): Likewise.
64545         * math/w_fmodl.c (__fmodl): Likewise.
64546         * math/w_hypotl.c (__hypotl): Likewise.
64547         * math/w_j0l.c (__j0l, __y0l): Likewise.
64548         * math/w_j1l.c (__j1l, __y1l): Likewise.
64549         * math/w_jnl.c (__jnl, __ynl): Likewise.
64550         * math/w_lgammal.c (__lgammal): Likewise.
64551         * math/w_log10l.c (__log10l): Likewise.
64552         * math/w_log2l.c (__log2l): Likewise.
64553         * math/w_logl.c (__logl): Likewise.
64554         * math/w_powl.c (__powl): Likewise.
64555         * math/w_remainderl.c (__remainderl): Likewise.
64556         * math/w_scalbl.c (sysv_scalbl): Likewise.
64557         * math/w_sinhl.c (__sinhl): Likewise.
64558         * math/w_sqrtl.c (__sqrtl): Likewise.
64559         * math/w_tgammal.c (__tgammal): Likewise.
64560         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64561         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64562         * math/libm-test.inc (acos_test): Add more tests.
64563         (acosh_test): Likewise.
64564         (asin_test): Likewise.
64565         (atanh_test): Likewise.
64566         (exp_test): Likewise.
64567         (exp10_test): Likewise.
64568         (exp2_test): Likewise.
64569         (expm1_test): Likewise.
64570         (lgamma_test): Likewise.
64571         (log_test): Likewise.
64572         (log10_test): Likewise.
64573         (log1p_test): Likewise.
64574         (log2_test): Likewise.
64575         (pow_test): Do not allow some spurious overflow exceptions.
64576         (sqrt_test): Add more tests.
64577         (tgamma_test): Likewise.
64578         (y0_test): Likewise.
64579         (y1_test): Likewise.
64580         (yn_test): Likewise.
64582 2012-03-27  Anton Blanchard  <anton@samba.org>
64584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64585         MAP_HUGETLB.
64586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64587         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64590 2012-03-27  David S. Miller  <davem@davemloft.net>
64592         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64594         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64595         have-as-vis3 check.
64597 2012-03-27  Andreas Jaeger  <aj@suse.de>
64599         * sysdeps/x86_64/elf/configure.in: Moved to ...
64600         * sysdeps/x86_64/configure.in: ... here.
64601         * sysdeps/x86_64/elf/start.S: Moved to ...
64602         * sysdeps/x86_64/start.S: ... here.
64603         * sysdeps/x86_64/elf/configure: Delete.
64605         * sysdeps/x86_64/configure.in: Merge contents from
64606         sysdeps/i386/configure.in (without i686 check).
64608         * sysdeps/i386/elf/Versions: Merge into ...
64609         * sysdeps/i386/Versions: ... this.
64610         * sysdeps/i386/elf/Versions: Delete file.
64611         * sysdeps/i386/elf/start.S: Moved to ...
64612         * sysdeps/i386/start.S: ...here.
64613         * sysdeps/i386/elf/configure.in: Merge into...
64614         * sysdeps/i386/configure.in: ...here.
64615         * sysdeps/i386/elf/configure.in: Delete file.
64616         * sysdeps/i386/elf/configure: Delete file.
64618         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64619         * debug/backtracesyms.c: ... here.
64620         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64621         * debug/backtracesymsfd.c: ... here.
64622         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64623         * sysdeps/generic/ifunc-sel.h: ... here.
64625         * sysdeps/unix/i386/start.c: Delete file.
64626         * sysdeps/unix/sparc/start.c: Delete file.
64627         * sysdeps/unix/start.c: Delete file.
64629         * sysdeps/sh/elf/configure.in: Moved to ...
64630         * sysdeps/sh/configure.in: ... here.
64631         * sysdeps/sh/elf/start.S: Moved to ...
64632         * sysdeps/sh/start.S: ... here.
64633         * sysdeps/sh/elf/configure: Delete file.
64635         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64636         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64637         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64638         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64639         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64640         * sysdeps/powerpc/powerpc64/start.S: here.
64641         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64642         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64643         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64644         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64645         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64647         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64648         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64649         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64650         * sysdeps/powerpc/powerpc32/start.S: ... here.
64651         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64652         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64653         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64655         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64656         * sysdeps/powerpc/ifunc-sel.h: ... here.
64657         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64658         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64660         * sysdeps/sparc/elf/configure.in: Moved to ...
64661         * sysdeps/sparc/configure.in: ... here.
64662         * sysdeps/sparc/elf/configure: Delete file.
64663         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64664         * sysdeps/sparc/sparc32/start.S: ... here.
64665         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64666         * sysdeps/sparc/sparc64/start.S: ... here.
64667         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64668         * sysdeps/sparc/sparc32/Makefile: ... this.
64669         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64670         * sysdeps/sparc/sparc64/Makefile: ... this.
64672         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64673         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64674         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64675         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64676         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64677         * sysdeps/s390/s390-32/setjmp.S: ... here.
64678         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64679         * sysdeps/s390/s390-32/configure.in: ... here.
64680         * sysdeps/s390/s390-32/elf/configure: Delete file.
64681         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64682         * sysdeps/s390/s390-32/start.S: ... here.
64684         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64685         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64686         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64687         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64688         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64689         * sysdeps/s390/s390-64/setjmp.S: ... here.
64690         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64691         * sysdeps/s390/s390-64/configure.in: ... here
64692         * sysdeps/s390/s390-64/elf/configure: Delete file.
64693         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64694         * sysdeps/s390/s390-64/start.S: ... here.
64695         * sysdeps/s390/s390-64/elf/configure: Delete.
64697         * configure.in: Remove support for elf directories in sysdeps.
64699         * configure: Regenerated.
64700         * sysdeps/i386/configure: Regenerated.
64701         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64702         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64703         * sysdeps/s390/s390-32/configure: Regenerated.
64704         * sysdeps/s390/s390-64/configure: Regenerated.
64705         * sysdeps/sh/configure: Regenerated.
64706         * sysdeps/sparc/configure: Regenerated.
64707         * sysdeps/x86_64/configure: Regenerated.
64709 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64713         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64714         denormal result into account.
64716 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64718         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64719         Reported by Allan McRae <allan@archlinux.org>.
64721 2012-03-23  Jeff Law  <law@redhat.com>
64723         * nss/getnssent.c (__nss_getent): Fix typo.
64725 2012-03-23  David S. Miller  <davem@davemloft.net>
64727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64729 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64731         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64732         to pad to uint64_t for each field.
64733         (dl_tls_index): Replace unsigned long with uint64_t.
64735 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64736         Paul Pluzhnikov  <ppluzhnikov@google.com>
64738         [BZ #6528]
64739         * grp/Makefile (otherlibs): Don't set it.
64740         * inet/Makefile (otherlibs): Likewise.
64741         * login/Makefile (otherlibs): Likewise.
64742         * nscd/Makefile (otherlibs): Likewise.
64743         * posix/Makefile (otherlibs): Likewise.
64744         * pwd/Makefile (otherlibs): Likewise.
64745         * rt/Makefile (otherlibs): Likewise.
64746         * sunrpc/Makefile (otherlibs): Likewise.
64747         * nss/Makefile (otherlibs): Likewise.
64748         Add libnss_files to routines and static-only-routines.
64749         ($(objpfx)getent): Remove rule.
64750         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64751         static-only-routines.
64753 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64755         [BZ #13892]
64756         * math/s_cexp.c: Include <float.h>.
64757         (__cexp): Handle exp result overflowing not necessarily
64758         overflowing both real and imaginary parts of result.
64759         * math/s_cexpf.c: Likewise.
64760         * math/s_cexpl.c: Likewise.
64761         * math/libm-test.inc (cexp_test): Add more tests.
64762         * sysdeps/i386/fpu/libm-test-ulps: Update.
64763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64767         * include/link.h (ELFW): New macro.
64768         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64769         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64771 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64773         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64774         with uint64_t.
64776 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64778         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64779         declaration.
64780         (struct La_x32_retval): Likewise.
64782 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64784         * sysdeps/x86_64/preconfigure.in: New file.
64785         * sysdeps/x86_64/preconfigure: New generated file.
64787 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64789         [BZ #13824]
64790         * math/e_exp2l.c: Include <float.h>.
64791         (__ieee754_exp2l): Handle overflow and underflow cases
64792         separately.  Only pass fractional part of argument to
64793         __ieee754_expl.
64794         * math/libm-test.inc (exp2_test): Add more tests.
64796         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64797         negating x to take absolute value.
64798         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64799         Likewise.
64800         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64801         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64802         Likewise.
64803         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64804         computing low part if x was negated.
64805         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64807 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64809         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64810         la_x32_gnu_pltexit.
64811         (pltexit): Cast int_retval to ptrdiff_t.
64812         * elf/tst-auditmod3b.c: Likewise.
64813         * elf/tst-auditmod4b.c: Likewise.
64814         * elf/tst-auditmod5b.c: Likewise.
64815         * elf/tst-auditmod6b.c: Likewise.
64816         * elf/tst-auditmod6c.c: Likewise.
64817         * elf/tst-auditmod7b.c: Likewise.
64819         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64820         and x32_gnu_pltexit.
64822         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64823         __ELF_NATIVE_CLASS.
64824         (La_x32_regs): New macro.
64825         (La_x32_retval): Likewise.
64826         (la_x32_gnu_pltenter): New function prototype.
64827         (la_x32_gnu_pltexit): Likewise.
64829 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64832         exponent.
64834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64836         * configure.in (libc_cv_cc_nofma): Check for option to disable
64837         generation of FMA instructions.
64838         * configure: Regenerate.
64839         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64840         * sysdeps/ieee754/dbl-64/Makefile: New file.
64841         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64842         Remove brandred-fma4.
64843         (CFLAGS-brandred-fma4.c): Remove.
64844         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64845         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64846         define.
64847         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64848         define.
64850 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64852         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64853         LLONG_MAX != LONG_MAX.
64854         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64855         (_fitoa_word): Likewise.
64856         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64857         LLONG_MAX != LONG_MAX.
64858         * stdio-common/_itowa.h: Include <_itoa.h>.
64859         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64860         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64861         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64862         only if not defined.
64863         (_ITOA_WORD_TYPE): Likewise.
64864         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64865         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64867 2012-03-21  David S. Miller  <davem@davemloft.net>
64869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64871 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64873         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64874         of x86_64 when setting libc_cv_slibdir, libdir and
64875         libc_cv_localedir.
64876         * sysdeps/unix/sysv/linux/configure: Regenerated.
64878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64880         * manual/lang.texi (Old Varargs): Remove section.
64881         (How Variadic): Update menu.
64882         (va_start): Do not mention varargs.h.
64884 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64885             Joseph Myers  <joseph@codesourcery.com>
64887         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64888         link test.
64889         * configure: Regenerated.
64891 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64893         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64894         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64895         conformtest.pl
64897 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64899         * NOTES: Remove.
64900         * Makefile (files-for-dist): Remove NOTES.
64901         (NOTES): Remove rule.
64902         * README: Don't refer to NOTES.
64903         * manual/creature.texi: Don't include macros.texi.
64904         * manual/intro.texi (creature.texi): Remove comment referring to
64905         NOTES.
64907         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64908         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64909         * configure: Regenerated.
64910         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64911         LIBC_TRY_CC_OPTION.
64912         (libc_cv_as_i686): Likewise.
64913         (libc_cv_cc_avx): Likewise.
64914         (libc_cv_cc_sse2avx): Likewise.
64915         (libc_cv_cc_fma4): Likewise.
64916         (libc_cv_cc_novzeroupper): Likewise.
64917         * sysdeps/i386/configure: Regenerated.
64919         [BZ #13883]
64920         * sysdeps/i386/fpu/s_cexp.S: Remove.
64921         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64922         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64923         * math/libm-test.inc (cexp_test): Add more tests.
64924         * sysdeps/i386/fpu/libm-test-ulps: Update.
64925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64927 2012-03-21  Allan McRae  <allan@archlinux.org>
64929         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64931 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64933         [BZ #13871]
64934         * math/w_exp2.c: Do not include <float.h>.
64935         (o_threshold, u_threshold): Remove.
64936         (__exp2): Calculate result before checking finiteness and calling
64937         __kernel_standard.
64938         * math/w_exp2f.c: Likewise.
64939         * math/w_exp2l.c: Likewise.
64940         * math/libm-test.inc (exp2_test): Require overflow exception for
64941         1e6 input.
64943         [BZ #3866]
64944         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64945         range of signed 64-bit integers before using fistpll.  Remove
64946         checks for whether integers fit in mantissa bits.
64947         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64948         the range of signed 32-bit integers before using fistpl.  Remove
64949         checks for whether integers fit in mantissa bits.
64950         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64951         (__ieee754_powl): Test for y outside the range of signed 64-bit
64952         integers before using fistpll.  Reduce 64-bit values to 63-bit
64953         ones as needed.
64954         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64955         divide-by-zero is raised for zero to large negative powers.
64956         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64957         (__ieee754_powl): Test for y outside the range of signed 64-bit
64958         integers before using fistpll.  Reduce 64-bit values to 63-bit
64959         ones as needed.
64960         * math/libm-test.inc (pow_test): Add more tests.
64962 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64964         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64965         <stdio-common/_itoa.h>.
64966         * debug/segfault.c: Likewise.
64967         * elf/dl-cache.c: Likewise.
64968         * elf/dl-minimal.c: Likewise.
64969         * elf/dl-misc.c: Likewise.
64970         * elf/dl-sysdep.c: Likewise.
64971         * elf/dl-version.c: Likewise.
64972         * elf/rtld.c: Likewise.
64973         * hurd/hurdsock.c: Likewise.
64974         * hurd/lookup-retry.c: Likewise.
64975         * malloc/malloc.c: Likewise.
64976         * malloc/mtrace.c: Likewise.
64977         * nscd/nscd_getgr_r.c: Likewise.
64978         * nscd/nscd_getpw_r.c: Likewise.
64979         * nscd/nscd_getserv_r.c: Likewise.
64980         * posix/getopt_init.c: Likewise.
64981         * posix/wordexp.c: Likewise.
64982         * stdio-common/_itoa.c: Likewise.
64983         * stdio-common/printf_fphex.c: Likewise.
64984         * stdio-common/vfprintf.c: Likewise.
64985         * string/_strerror.c: Likewise.
64986         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64987         * sysdeps/i386/i686/hp-timing.h: Likewise.
64988         * sysdeps/mach/_strerror.c: Likewise.
64989         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64990         * sysdeps/mach/hurd/sethostid.c: Likewise.
64991         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64992         * sysdeps/mach/xpg-strerror.c: Likewise.
64993         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64994         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64995         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64996         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64997         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64998         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64999         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65000         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65001         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65002         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65003         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65004         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65005         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65006         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65007         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65008         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65009         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65010         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65011         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65012         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65013         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65015         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65017         * stdio-common/_itoa.h: Moved to ...
65018         * sysdeps/generic/_itoa.h: Here.
65020         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65022         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65023         instead of "_itoa.h" and "_itowa.h".
65024         * stdio-common/vfprintf.: Likewise.
65026 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65028         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65029         <bits/wordsize.h>.
65030         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65031         (__signbit): Likwise.
65032         (llrintf): Likwise.
65033         (llrint): Likwise.
65035 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65037         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65038         __WORDSIZE != 64.
65040 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65042         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65043         OVERFLOW_EXCEPTION_OK.
65044         * math/libm-test.inc ("Philosophy"): Update comment about
65045         exception testing.
65046         (OVERFLOW_EXCEPTION): Define.
65047         (OVERFLOW_EXCEPTION_OK): Likewise.
65048         (INVALID_EXCEPTION_OK): Renumber.
65049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65050         (IGNORE_ZERO_INF_SIGN): Likewise.
65051         (test_exceptions): Handle FE_OVERFLOW.
65052         (exp10_test): Expect overflow exceptions.
65053         (exp2_test): Likewise.
65054         (expm1_test): Likewise.
65055         (nextafter_test): Likewise.
65056         (pow_test): Likewise.
65057         (scalbn_test): Likewise.
65058         (scalbln_test): Likewise.
65060 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65062         * sysdeps/x86_64/bits/atomic.h
65063         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65064         64bit integer.
65065         (atomic_exchange_acq): Likewise.
65066         (__arch_exchange_and_add_body): Likewise.
65067         (__arch_add_body): Likewise.
65068         (atomic_add_negative): Likewise.
65069         (atomic_add_zero): Likewise.
65071 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65073         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65074         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65078         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65079         Check __x86_64__ instead of __WORDSIZE.
65081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65083         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65085 2012-03-19  David S. Miller  <davem@davemloft.net>
65087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65089         * sysdeps/sparc/fpu/fenv_private.h: New file.
65090         * sysdeps/sparc/fpu/math_private.h: Use it.
65091         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65092         Remove.
65093         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65094         (libc_feholdexcept_setroundl): Remove.
65095         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65096         Remove.
65097         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65098         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65100 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65102         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65103         int64_t instead of long int.
65104         (INSERT_WORDS64): Likwise.
65106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65108         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65109         _Unwind_GetCFA return to _Unwind_Ptr first.
65111 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65113         [BZ #13629]
65114         * math/s_clog.c: Include <float.h>.
65115         (__clog): Scale large or subnormal inputs.
65116         * math/s_clogf.c: Likewise.
65117         * math/s_clogl.c: Likewise.
65118         * math/s_clog10.c: Include <float.h>.
65119         (M_LOG10_2): Define.
65120         (__clog10): Scale large or subnormal inputs.
65121         * math/s_clog10f.c: Likewise.
65122         * math/s_clog10l.c: Likewise.
65123         * math/libm-test.inc (clog_test): Add more tests.
65124         (clog10_test): Likewise.
65125         * sysdeps/i386/fpu/libm-test-ulps: Update.
65126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65128         [BZ #11451]
65129         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65130         x and y.
65131         * math/libm-test.inc (atan2_test): Add another test.
65133         * Makerules (common-objdir-compile): Remove.
65134         * sysdeps/unix/Makefile (config-generated): Do not add
65135         $(unix-generated) to variable.
65136         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65137         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65138         Remove rule.
65139         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65140         Likewise.
65141         [generic bits/local_lim.h] (before-compile): Do not append to
65142         variable.
65143         [generic bits/local_lim.h] (common-generated): Likewise.
65144         [generic sys/param.h] (before-compile): Do not append to variable.
65145         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65146         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65147         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65148         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65149         include.
65150         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65151         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65152         [generic sys/param.h] ($(addprefix
65153         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65154         [generic sys/param.h] (common-generated): Do not append to
65155         variable.
65156         [generic sys/param.h] (sysdep_headers): Likewise.
65157         [generic bits/errno.h] (before-compile): Do not append to
65158         variable.
65159         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65160         rule.
65161         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65162         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65163         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65164         [generic bits/errno.h] (common-generated): Do not append to
65165         variable.
65166         [generic bits/ioctls.h] (before-compile): Do not append to
65167         variable.
65168         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65169         rule.
65170         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65171         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65172         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65173         rule.
65174         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65175         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65176         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65177         [generic bits/ioctls.h] (common-generated): Do not append to
65178         variable.
65179         [generic sys/syscall.h] (syscall.h): Remove variable.
65180         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65181         rule.
65182         [generic sys/syscall.h] (before-compile): Do not append to
65183         variable.
65184         [generic sys/syscall.h] (common-generated): Likewise.
65185         * sysdeps/unix/errnos-tmpl.c: Remove file.
65186         * sysdeps/unix/errnos.awk: Likewise.
65187         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65188         * sysdeps/unix/ioctls.awk: Likewise.
65189         * sysdeps/unix/mk-local_lim.c: Likewise.
65190         * sysdeps/unix/snarf-ioctls: Likewise.
65192 2012-03-19  Richard Henderson  <rth@twiddle.net>
65194         * sysdeps/i386/fpu/fenv_private.h: New file.
65195         * sysdeps/i386/fpu/math_private.h: Use it.
65196         (math_opt_barrier, math_force_eval): Remove.
65197         (libc_feholdexcept_setround_53bit): Remove.
65198         (libc_feupdateenv_53bit): Remove.
65199         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65200         (math_opt_barrier, math_force_eval): Remove.
65201         (libc_feholdexcept): Remove.
65202         (libc_feholdexcept_setround): Remove.
65203         (libc_fetestexcept, libc_fesetenv): Remove.
65204         (libc_feupdateenv_test): Remove.
65205         (libc_feupdateenv, libc_feholdsetround): Remove.
65206         (libc_feresetround): Remove.
65208         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65209         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65211         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65212         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65213         (libc_feupdateenv_testl): New.
65214         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65215         (libc_feupdateenv_testf): New.
65216         (libc_feupdateenv): Use libc_feupdateenv_test.
65217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65218         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65220         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65221         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65222         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65223         (libc_feresetround_noex): New.
65224         (libc_feresetround_noexf): New.
65225         (libc_feresetround_noexl): New.
65226         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65227         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65228         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65229         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65230         SET_RESTORE_ROUND.
65231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65232         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65233         (__cos): Likewise.
65234         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65235         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65236         SET_RESTORE_ROUND_NOEX.
65237         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65238         SET_RESTORE_ROUND_NOEXF.
65239         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65240         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65241         (libc_feholdsetroundf): New.
65242         (libc_feresetround, libc_feresetroundf): New.
65244         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65245         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65246         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65248         * sysdeps/generic/math_private.h: Include <fenv.h>.
65249         (default_libc_feholdexcept): New.
65250         (default_libc_feholdexcept_setround): New.
65251         (default_libc_fesetenv, default_libc_feupdateenv): New.
65252         (libc_feholdexcept): Only define if undefined.
65253         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65254         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65255         (libc_feholdexcept_setroundl): Likewise.
65256         (libc_feholdexcept_setround_53bit): Likewise.
65257         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65258         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65259         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65260         (libc_feupdateenv_53bit): Likewise.
65261         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65262         (libc_feholdexcept): Convert from macro to inline function.
65263         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65264         (libc_fesetenv, libc_feupdateenv): Likewise.
65266         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65267         not previously defined.
65268         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65269         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65270         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65271         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65272         * sysdeps/ieee754/flt-32/math_private.h: New file.
65273         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65274         math_private.h below SET_FLOAT_WORD.
65275         (__isnan, __isinf_ns, __finite): Remove.
65276         (__isnanf, __isinf_nsf, __finitef): Remove.
65278 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65282 2012-03-17  David S. Miller  <davem@davemloft.net>
65284         [BZ #6471]
65285         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65286         for 2.16.
65288 2012-03-16  David S. Miller  <davem@davemloft.net>
65290         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65291         warnings.
65293         [BZ #6471]
65294         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65295         properly.
65296         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65297         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65298         sysdep_routines when subdir is sysvipc.
65299         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65300         __getshmlba helper.
65302         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65304 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65306         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65307         [__LP64__].
65309 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65311         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65312         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65313         (__lround): Renamed to ...
65314         (__llround): This.  Replace long int with long long int.
65315         Define lround functions as aliases of llround functions.
65316         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65318 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65320         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65321         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65322         adresses to uintptr_t.  Replace "long int" and "unsigned long
65323         int" with "greg_t" on va_arg.
65325 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65327         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65328         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65330         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65331         Move e_machine check before EI_CLASS check.  Handle x32
65332         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65333         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65334         SKIP_EM_IA_64 and include
65335         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65337         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65338         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65339         (add_system_dir): New macro.
65341         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65342         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65344 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65346         [BZ #2551]
65347         [BZ #2552]
65348         [BZ #2553]
65349         [BZ #2554]
65350         [BZ #2562]
65351         [BZ #2563]
65352         [BZ #2565]
65353         [BZ #2566]
65354         [BZ #2576]
65355         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65356         (y0): Likewise.
65357         * math/w_j0f.c (j0f): Likewise.
65358         (y0f): Likewise.
65359         * math/w_j0l.c (__j0l): Likewise.
65360         (__y0l): Likewise.
65361         * math/w_j1.c (j1): Likewise.
65362         (y1): Likewise.
65363         * math/w_j1f.c (j1f): Likewise.
65364         (y1f): Likewise.
65365         * math/w_j1l.c (__j1l): Likewise.
65366         (__y1l): Likewise.
65367         * math/w_jn.c (jn): Likewise.
65368         (yn): Likewise.
65369         * math/w_jnf.c (jnf): Likewise.
65370         (ynf): Likewise.
65371         * math/w_jnl.c (__jnl): Likewise.
65372         (__ynl): Likewise.
65373         * math/libm-test.inc (j0_test): Add more tests.
65374         (j1_test): Likewise.
65375         (jn_test): Likewise.  Add trailing semicolon to existing test.
65376         (y0_test): Likewise.
65377         (y1_test): Likewise.
65378         * sysdeps/i386/fpu/libm-test-ulps: Update.
65379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65381         [BZ #13851]
65382         [BZ #13854]
65383         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65384         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65385         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65386         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65387         (__tanl): Set errno for infinite argument.
65388         * sysdeps/i386/fpu/mptan.c: Remove.
65389         * sysdeps/i386/fpu/s_tan.S: Likewise.
65390         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65391         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65392         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65393         * math/libm-test.inc (tan_test): Add more tests and enable more
65394         tests for double and long double.
65395         * sysdeps/i386/fpu/libm-test-ulps: Update.
65396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65398 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65400         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65401         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65403 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65405         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65406         * configure.in: Use it for both main tree and add-ons.
65407         * configure: Regenerated.
65409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65411         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65413 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65415         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65416         in comment.
65418         [BZ #13851]
65419         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65420         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65421         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65422         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65423         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65424         infinite argument.
65425         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65427         != 0 for prec == 2.
65428         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65429         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65430         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65431         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65432         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65433         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65434         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65435         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65436         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65437         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65438         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65439         * math/libm-test.inc (cos_test): Add more tests and enable more
65440         tests for long double.
65441         (sin_test): Likewise.
65442         (sincos_test): Likewise.
65443         * sysdeps/i386/fpu/libm-test-ulps: Update.
65444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65446 2012-03-16  David S. Miller  <davem@davemloft.net>
65448         * sysdeps/sparc/fpu/math_private.h: New file.
65450 2012-03-15  David S. Miller  <davem@davemloft.net>
65452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65453         file.
65454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65456         file.
65457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65462         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65463         sysdep routines.
65464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65466         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65467         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65469         * sysdeps/sparc/sparc-ifunc.h: New file.
65470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65471         sparc-ifunc.h
65472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65474         Likewise.
65475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65476         Likewise.
65477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65481         Likewise.
65482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65487         Likewise.
65488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65489         Likewise.
65490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65494         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65495         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65496         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65497         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65498         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65506         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65507         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65508         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65509         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65510         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65511         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65512         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65513         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65515 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65517         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65518         scaling.
65519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65521 2012-03-15  Andreas Jaeger  <aj@suse.de>
65523         [BZ #13852]
65524         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65525         ieee754/flt-32 implementation for sin, cos and sincos.
65526         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65527         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65528         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65529         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65530         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65531         ieee754/flt-32 implementation for tan.
65533         * math/libm-test.inc (cos_test): Enable some large input tests for
65534         float as well
65535         (sin_test): Likewise.
65536         (sincos_test): Likewise.
65537         (tan_test): Add tests for large input.
65539         * sysdeps/i386/fpu/libm-test-ulps: Update.
65541 2012-03-15  Andreas Jaeger  <aj@suse.de>
65543         [BZ #13658]
65544         * math/libm-test.inc (cos_test): Add more test cases.
65545         (sin_test): Likewise.
65546         (sincos_test): Likewise.
65548 2012-03-15  Andreas Jaeger  <aj@suse.de>
65550         [BZ #13837]
65551         * math/libm-test.inc (cos_test): Add a test case for large input
65552         value.
65553         (sin_test): Likewise.
65554         (sincos_test): Likewise.
65556 2012-03-15  Andreas Jaeger  <aj@suse.de>
65557             Joseph Myers  <joseph@codesourcery.com>
65559         [BZ #13658]
65560         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65561         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65562         * sysdeps/i386/fpu/branred.c: Likewise.
65563         * sysdeps/i386/fpu/dosincos.c: Likewise.
65564         * sysdeps/i386/fpu/mpa.c: Likewise.
65565         * sysdeps/i386/fpu/s_cos.S: Likewise.
65566         * sysdeps/i386/fpu/s_sin.S: Likewise.
65567         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65568         * sysdeps/i386/fpu/sincos32.c: Likewise.
65570         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65571         Define.
65572         (libc_feupdateenv_53bit): Define.
65573         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65574         Define.
65575         (libc_feupdateenv_53bit): Define.
65577         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65578         53 bit (without extend i386 double precision).
65580         * math/libm-test.inc (sincos_test): Add tests for large input.
65581         (sin): Likewise.
65582         (cos): Likewise.
65584         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65586 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65590 2012-03-15  David S. Miller  <davem@davemloft.net>
65592         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65593         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65594         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65595         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65608         file.
65609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65611         file.
65612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65614         file.
65615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65617         file.
65618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65619         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65620         fmin/fmax sysdep routines.
65621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65623 2012-03-14  David S. Miller  <davem@davemloft.net>
65625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65629         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65630         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65631         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65632         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65635         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65636         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65638         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65645         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65646         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65647         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65648         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65651         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65652         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65653         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65654         routines.
65655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65656         file.
65657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65659         file.
65660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65662         file.
65663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65665         file.
65666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65668         file.
65669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65671         file.
65672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65673         file.
65674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65675         file.
65676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65677         file.
65678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65679         New file.
65680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65681         file.
65682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65683         file.
65684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65686         file.
65687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65689         file.
65690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65692         file.
65693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65695         VIS3 routines.
65697         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65698         New file.
65700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65702         * sysdeps/sparc/configure.in: New file.
65703         * sysdeps/sparc/configure: Generate.
65704         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65705         * configure: Regenerate.
65706         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65707         * config.make.in (have-as-vis3): New.
65708         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65709         available use -Av9d instead of -Av9a.
65710         * sysdeps/sparc/sparc64/Makefile: Likewise.
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65713         New file.
65714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65715         file.
65716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65717         New file.
65718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65719         file.
65720         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65721         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65722         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65723         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65724         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65726         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65727         fzeros/fnegs to load 0x80000000 into a float register instead of
65728         using the stack.
65729         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65731 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65734         bits/syscall.h.
65735         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65736         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65737         ($(inst_includedir)/bits/syscall.h): Remove rule.
65738         ($(objpfx)bits/syscall.d): Include instead of
65739         $(objpfx)syscall-list.d.
65740         (generated): Change syscall-list.h and syscall-list.d to
65741         bits/syscall.h and bits/syscall.d.
65743 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65745         [BZ #13846]
65746         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65748 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65750         [BZ #13841]
65751         * math/s_csqrt.c: Include <float.h>.
65752         (__csqrt): Scale large or subnormal inputs.
65753         * math/s_csqrtf.c: Likewise.
65754         * math/s_csqrtl.c: Likewise.
65755         * math/libm-test.inc (csqrt_test): Add more tests.
65756         * sysdeps/i386/fpu/libm-test-ulps: Update.
65757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65759         [BZ #13840]
65760         * math/libm-test.inc (hypot_test): Add more tests.
65762 2012-03-13  David S. Miller  <davem@davemloft.net>
65764         [BZ #13840]
65765         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65766         double-precision for the calculation instead of scaling.
65768 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65771         manipulate bits before adding and subtracting TWO52[sx].
65772         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65773         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65774         Likewise.
65775         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65777 2012-03-13  David S. Miller  <davem@davemloft.net>
65779         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65780         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65782         rtld-global-offsets.h
65783         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65785         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65786         large parameters.
65788         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65790         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65791         'err' in the ifdef scope in which it is actually used.
65793         * nss/nss_db/db-init.c: Include string.h
65795 2012-03-12  David S. Miller  <davem@davemloft.net>
65797         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65798         masking out of the most significant byte of random value used.
65799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65800         Fix coding style in previous change.
65802         * sysdeps/unix/sysv/linux/kernel-features.h
65803         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65804         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65805         expression.
65806         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65807         later.
65809 2012-03-11  David S. Miller  <davem@davemloft.net>
65811         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65812         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65813         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65814         for 'resultvar' otherwise things get truncated on 64-bit.
65816         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65817         Fix masking out of the most significant byte of random value used.
65819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65821 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65825 2012-03-09  David S. Miller  <davem@davemloft.net>
65827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65828         variables with appropriate CPP guards.
65829         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65830         from the frame pointer, not the stack pointer.  Correct layout
65831         comments.  Fix test on resulting framesize and the management of
65832         the outregs buffer for pltexit.  Preserve floating point return
65833         values across _dl_call_pltexit call.
65834         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65835         framesize and the management of the outregs buffer for pltexit.
65836         Preserve floating point return values across _dl_call_pltexit
65837         call.
65838         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65839         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65840         (la_sparc64_gnu_pltexit): New functions.
65841         (print_exit): Fix format string for return register value.
65843 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65845         * sunrpc/Makefile (others): Add rpcgen.
65846         ($(objpfx)rpcgen): Remove special build rule and dependency on
65847         libc.
65848         * sunrpc/rpcgen.c: New file.
65850 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65852         [BZ #13673]
65853         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65854         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65855         * sysdeps/i386/crti.S: Likewise.
65856         * sysdeps/i386/crtn.S: Likewise.
65857         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65858         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65859         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65860         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65861         * sysdeps/sh/crti.S: Likewise.
65862         * sysdeps/sh/crtn.S: Likewise.
65863         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65865         [BZ #13673]
65866         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65867         with URL.
65868         * locale/programs/locfile-kw.gperf: Likewise.
65869         * locale/programs/charmap-kw.h: Regenerated.
65870         * locale/programs/locfile-kw.h: Likewise.
65872         [BZ #13673]
65873         * intl/plural.y: Replace FSF snail mail address with URL.
65874         * intl/plural.c: Regenerated.
65876 2012-03-09  Richard Henderson  <rth@twiddle.net>
65878         * include/math_private.h: Remove file.
65879         * math/math_private.h: Move file ...
65880         * sysdeps/generic/math_private.h: ... here.
65882         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65883         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65884         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65886         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65887         and <math_private.h>.
65888         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65889         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65890         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65891         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65892         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65893         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65894         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65895         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65896         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65897         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65899         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65900         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65902         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65903         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65904         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65905         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65906         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65907         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65908         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65909         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65910         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65912         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65913         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65914         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65915         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65916         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65917         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65918         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65919         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65920         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65921         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65922         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65923         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65924         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65925         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65926         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65927         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65928         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65929         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65930         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65931         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65932         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65933         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65934         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65935         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65936         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65937         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65938         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65939         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65940         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65941         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65946         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65947         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65948         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65949         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65956         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65957         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65958         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65959         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65960         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65961         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65962         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65963         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65964         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65965         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65967         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65968         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65969         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65970         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65971         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65974         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65975         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65976         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65977         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65978         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65979         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65980         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65981         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65982         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65983         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65984         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65985         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65986         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65987         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65988         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65989         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65990         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65991         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65992         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65993         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65994         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65995         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65996         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65997         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65998         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65999         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66000         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66001         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66002         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66003         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66004         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66005         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66006         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66007         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66008         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66009         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66010         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66011         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66012         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66013         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66014         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66015         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66016         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66017         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66018         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66019         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66020         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66021         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66022         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66023         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66024         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66025         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66026         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66027         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66028         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66029         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66030         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66031         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66032         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66033         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66034         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66035         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66036         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66037         * sysdeps/ieee754/k_standard.c: Likewise.
66038         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66039         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66041         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66042         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66043         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66044         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66045         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66046         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66047         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66048         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66049         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66050         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66051         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66052         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66053         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66054         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66055         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66056         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66057         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66058         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66059         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66060         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66061         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66062         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66063         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66064         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66065         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66066         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66067         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66068         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66069         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66070         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66071         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66072         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66073         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66074         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66079         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66082         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66084         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66085         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66089         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66092         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66093         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66094         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66096         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66098         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66099         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66100         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66101         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66102         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66103         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66104         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66105         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66106         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66107         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66110         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66131         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66132         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66134         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66139         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66152         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66153         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66157         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66158         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66160         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66165         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66166         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66168         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66170         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66180         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66186         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66187         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66188         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66198         * sysdeps/ieee754/s_lib_version.c: Likewise.
66199         * sysdeps/ieee754/s_matherr.c: Likewise.
66200         * sysdeps/ieee754/s_signgam.c: Likewise.
66201         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66202         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66203         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66204         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66205         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66206         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66207         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66208         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66209         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66210         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66211         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66212         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66213         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66214         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66215         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66216         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66217         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66218         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66219         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66220         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66221         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66223 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66225         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66226         * sunrpc/rpc_main.c: Likewise.
66227         * sunrpc/rpc_svcout.c: Likewise.
66229 2012-03-09  David S. Miller  <davem@davemloft.net>
66231         * include/math_private.h: New file.
66233 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66235         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66236         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66237         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66238         from <bits/socket_type.h>.
66239         (enum __socket_type): Don't define here.
66240         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66242         bits/socket_type.h.
66244         [BZ #13566]
66245         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66246         checking __USE_GNU.
66248         * Makerules ($(inst_includedir)/%.h): New rule.
66249         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66250         (install-others): Remove variable setting.
66251         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66253 2012-03-08  Richard Henderson  <rth@twiddle.net>
66255         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66256         from macro to inline function; merge with the
66257         !__LIBC_INTERNAL_MATH_INLINES version.
66258         (__ieee754_sqrtf): Likewise.
66260         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66261         to inline function.
66262         (__rintf, __floor, __floorf): Likewise.
66264         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66265         macro to inline function.
66266         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66268         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66269         not <math/math_private.h>.
66271 2012-03-08  David S. Miller  <davem@davemloft.net>
66273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66274         copyright year.
66275         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66277 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66279         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66280         normalization.
66281         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66282         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66284 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66286         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66287         be defined individually, they must be defined as a block.  Define
66288         S for printing a string instead of hidint the different by using a
66289         macro for adding the 'l'.
66290         * stdio-common/tst-fphex-wide.c: Adjust.
66292 2012-03-07  Marek Polacek  <polacek@redhat.com>
66294         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66296 2012-03-08  Marek Polacek  <polacek@redhat.com>
66298         [BZ #13806]
66299         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66300         * stdio-common/tst-fphex.c: Define a few macros to make the
66301         test reusable.  Use them.
66302         * stdio-common/tst-fphex-wide.c: New file.
66304 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66306         [BZ #6911]
66307         * manual/macros.texi (gnusystems): New macro.
66308         (nongnusystems): Likewise.
66309         (gnulinuxhurdsystems): Likewise.
66310         (gnuhurdsystems): Likewise..
66311         (gnulinuxsystems): Likewise.
66312         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66313         variants of the GNU system, not "GNU system".
66314         * manual/conf.texi: Likewise.
66315         * manual/errno.texi: Likewise.  Update example of errno macro
66316         expansion.
66317         * manual/filesys.texi: Likewise.
66318         (getumask): Document as specific to GNU/Hurd.
66319         * manual/install.texi: Likewise.  Reword some references to
66320         GNU/Linux.
66321         * manual/intro.texi: Likewise.
66322         * manual/io.texi: Likewise.
66323         (File Name Portability): Detail which constraints are inapplicable
66324         to all GNU systems and which are only inapplicable to GNU/Hurd.
66325         * manual/job.texi: Likewise.
66326         * manual/llio.texi: Likewise.
66327         (O_NOCTTY): Document as present on GNU/Linux.
66328         * manual/maint.texi: Likewise.
66329         * manual/memory.texi: Likewise.
66330         * manual/pattern.texi: Likewise.
66331         * manual/pipe.texi: Likewise.
66332         * manual/process.texi: Likewise.
66333         * manual/resource.texi: Likewise.
66334         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66335         child on GNU/Hurd.
66336         * manual/setjmp.texi: Likewise.
66337         * manual/signal.texi: Likewise.
66338         * manual/startup.texi: Likewise.
66339         * manual/stdio.texi: Likewise.
66340         * manual/terminal.texi: Likewise.
66341         (ONLCR): Document as POSIX.
66342         (OXTABS): Document availability on GNU/Linux as XTABS.
66343         (ONOEOT): Document availability separately from other bits.
66344         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66345         * manual/time.texi: Likewise.
66346         * manual/users.texi: Likewise.
66347         * INSTALL: Regenerated.
66348         * sysdeps/gnu/errlist.c: Regenerated.
66350         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66351         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66352         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66353         puts.
66354         * configure: Regenerated.
66356 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66358         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66359         default includes instead of AC_HEADER_CHECK.
66360         * sysdeps/i386/configure: Regenerated.
66362         [BZ #10716]
66363         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66364         * math/s_cacoshf.c (__cacoshf): Likewise.
66365         * math/s_cacoshl.c (__cacoshl): Likewise.
66366         * math/s_casinh.c (__casinh): Set signs of result from argument.
66367         * math/s_casinhf.c (__casinhf): Likewise.
66368         * math/s_casinhl.c (__casinhl): Likewise.
66369         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66370         (casinh_test): Add more tests.
66371         * sysdeps/i386/fpu/libm-test-ulps: Update.
66372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66374 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66376         * po/zh_TW.po: Update from translation team.
66378         * login/Makefile (distribute): Remove variable.
66379         * catgets/Makefile: Likewise.
66380         * mach/Makefile: Likewise.
66381         * malloc/Makefile: Likewise.
66382         * misc/Makefile: Likewise.
66383         * iconv/Makefile: Likewise.
66384         * nscd/Makefile: Likewise.
66385         * hurd/Makefile: Likewise.
66386         * manual/Makefile: Likewise.
66387         * locale/Makefile: Likewise.
66388         * intl/Makefile: Likewise.
66389         * conform/Makefile: Likewise.
66390         * nss/Makefile: Likewise.
66391         * time/Makefile: Likewise.
66392         * soft-fp/Makefile: Likewise.
66393         * dirent/Makefile: Likewise.
66394         * gmon/Makefile: Likewise.
66395         * po/Makefile: Likewise.
66396         * rt/Makefile: Likewise.
66397         * socket/Makefile: Likewise.
66398         * math/Makefile: Likewise.
66399         * signal/Makefile: Likewise.
66400         * debug/Makefile: Likewise.
66401         * elf/Makefile: Likewise.
66402         * timezone/Makefile: Likewise.
66403         * stdlib/Makefile: Likewise.
66404         * iconvdata/Makefile: Likewise.
66405         * sunrpc/Makefile: Likewise.
66406         * io/Makefile: Likewise.
66407         * argp/Makefile: Likewise.
66408         * inet/Makefile: Likewise.
66409         * hesiod/Makefile: Likewise.
66410         * grp/Makefile: Likewise.
66411         * csu/Makefile: Likewise.
66412         * wctype/Makefile: Likewise.
66413         * crypt/Makefile: Likewise.
66414         * libio/Makefile: Likewise.
66415         * string/Makefile: Likewise.
66416         * nis/Makefile: Likewise.
66417         * resolv/Makefile: Likewise.
66418         * stdio-common/Makefile: Likewise.
66419         * wcsmbs/Makefile: Likewise.
66420         * dlfcn/Makefile: Likewise.
66421         * posix/Makefile: Likewise.
66423         [BZ #6959]
66424         * timezone/Makefile: Don't install timezone files, just the programs
66425         and scripts.
66427 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66429         * nss/databases.def: Add missing gshadow entry.
66431         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66433 2012-03-06  Marek Polacek  <polacek@redhat.com>
66435         [BZ #13726]
66436         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66437         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66438         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66439         * stdio-common/tst-long-dbl-fphex.c: New file.
66441 2012-03-06  David S. Miller  <davem@davemloft.net>
66443         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66444         (set_obp_int): New function.
66445         (get_obp_int): New function.
66446         (__get_clockfreq_via_dev_openprom): Likewise.
66447         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66448         Avoid unused variable warnings on 'val' and use builtin_expect.
66449         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66450         __builtin_expect.
66451         (INLINE_CLONE_SYSCALL): Likewise.
66453 2012-03-05  David S. Miller  <davem@davemloft.net>
66455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66457 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66461         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66462         only for |x| >= 40.
66463         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66465 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66467         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66468         Replace gettimeofday with __vdso_gettimeofday.
66470         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66471         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66472         __vdso_clock_gettime and __vdso_getcpu.
66474         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66475         time with __vdso_time.
66477 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66479         * manual/lang.texi (size_t): Note types to which size_t may be
66480         equivalent with the GNU C Library, but do not describe when
66481         differences between them are significant.
66483 2012-03-05  Andreas Jaeger  <aj@suse.de>
66485         * sysdeps/i386/fpu/libm-test-ulps: Update.
66487 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66489         [BZ #3976]
66490         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66491         (__ieee754_pow): Save and restore rounding mode and use
66492         round-to-nearest for main computations.
66493         * math/libm-test.inc (pow_test_tonearest): New function.
66494         (pow_test_towardzero): Likewise.
66495         (pow_test_downward): Likewise.
66496         (pow_test_upward): Likewise.
66497         (main): Call the new functions.
66498         * sysdeps/i386/fpu/libm-test-ulps: Update.
66499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66501         [BZ #3976]
66502         * math/libm-test.inc (cosh_test_tonearest): New function.
66503         (cosh_test_towardzero): Likewise.
66504         (cosh_test_downward): Likewise.
66505         (cosh_test_upward): Likewise.
66506         (sinh_test_tonearest): Likewise.
66507         (sinh_test_towardzero): Likewise.
66508         (sinh_test_downward): Likewise.
66509         (sinh_test_upward): Likewise.
66510         (main): Call the new functions.
66511         * sysdeps/i386/fpu/libm-test-ulps: Update.
66512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66514 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66516         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66517         default stack guard is set in last bytes.
66518         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66520 2012-03-05  Kees Cook  <keescook@chromium.org>
66522         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66524         [BZ #13656]
66525         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66526         possibly allocate from heap instead of stack.
66527         * stdio-common/bug-vfprintf-nargs.c: New file.
66528         * stdio-common/Makefile (tests): Add nargs overflow test.
66530 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66534 2012-03-03  Marek Polacek  <polacek@redhat.com>
66536         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66537         * math/math_private.h: Likewise.
66538         * stdlib/tst-strtod.c: Likewise.
66539         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66540         * sysdeps/x86_64/bits/atomic.h: Likewise.
66542 2012-03-02  David S. Miller  <davem@davemloft.net>
66544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66548         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66549         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66550         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66551         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66553 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66555         [BZ #13792]
66556         * manual/examples/README: New file, says the example source files
66557         can be used under GPL>=2.
66558         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66559         line containing just "*/".
66560         * manual/examples/add.c: Add copyright header (GPL>=2).
66561         * manual/examples/argp-ex1.c: Likewise.
66562         * manual/examples/argp-ex2.c: Likewise.
66563         * manual/examples/argp-ex3.c: Likewise.
66564         * manual/examples/argp-ex4.c: Likewise.
66565         * manual/examples/atexit.c: Likewise.
66566         * manual/examples/db.c: Likewise.
66567         * manual/examples/dir.c: Likewise.
66568         * manual/examples/dir2.c: Likewise.
66569         * manual/examples/execinfo.c: Likewise.
66570         * manual/examples/filecli.c: Likewise.
66571         * manual/examples/filesrv.c: Likewise.
66572         * manual/examples/fmtmsgexpl.c: Likewise.
66573         * manual/examples/genpass.c: Likewise.
66574         * manual/examples/inetcli.c: Likewise.
66575         * manual/examples/inetsrv.c: Likewise.
66576         * manual/examples/isockad.c: Likewise.
66577         * manual/examples/longopt.c: Likewise.
66578         * manual/examples/memopen.c: Likewise.
66579         * manual/examples/memstrm.c: Likewise.
66580         * manual/examples/mkfsock.c: Likewise.
66581         * manual/examples/mkisock.c: Likewise.
66582         * manual/examples/mygetpass.c: Likewise.
66583         * manual/examples/pipe.c: Likewise.
66584         * manual/examples/popen.c: Likewise.
66585         * manual/examples/rprintf.c: Likewise.
66586         * manual/examples/search.c: Likewise.
66587         * manual/examples/select.c: Likewise.
66588         * manual/examples/setjmp.c: Likewise.
66589         * manual/examples/sigh1.c: Likewise.
66590         * manual/examples/sigusr.c: Likewise.
66591         * manual/examples/stpcpy.c: Likewise.
66592         * manual/examples/strdupa.c: Likewise.
66593         * manual/examples/strftim.c: Likewise.
66594         * manual/examples/strncat.c: Likewise.
66595         * manual/examples/subopt.c: Likewise.
66596         * manual/examples/swapcontext.c: Likewise.
66597         * manual/examples/termios.c: Likewise.
66598         * manual/examples/testopt.c: Likewise.
66599         * manual/examples/testpass.c: Likewise.
66600         * manual/examples/timeval_subtract.c: Likewise.
66602         [BZ #13792]
66603         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66604         function to ...
66605         * manual/timeval_subtract.c.texi: ... here, new file.
66607 2012-03-02  David S. Miller  <davem@davemloft.net>
66609         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66611 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66613         [BZ #3976]
66614         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66615         (__sin): Save and restore rounding mode and use round-to-nearest
66616         for all computations.
66617         (__cos): Save and restore rounding mode and use round-to-nearest
66618         for all computations.
66619         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66620         <fenv.h>.
66621         (tan): Save and restore rounding mode and use round-to-nearest for
66622         all computations.
66623         * math/libm-test.inc (cos_test_tonearest): New function.
66624         (cos_test_towardzero): Likewise.
66625         (cos_test_downward): Likewise.
66626         (cos_test_upward): Likewise.
66627         (sin_test_tonearest): Likewise.
66628         (sin_test_towardzero): Likewise.
66629         (sin_test_downward): Likewise.
66630         (sin_test_upward): Likewise.
66631         (tan_test_tonearest): Likewise.
66632         (tan_test_towardzero): Likewise.
66633         (tan_test_downward): Likewise.
66634         (tan_test_upward): Likewise.
66635         (main): Call the new functions.
66636         * sysdeps/i386/fpu/libm-test-ulps: Update.
66637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66639         [BZ #10135]
66640         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66641         small n, then large n, before computing and testing k+n.
66642         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66643         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66644         Likewise.
66645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66646         Likewise.
66647         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66648         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66649         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66650         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66653         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66654         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66655         * math/libm-test.inc (scalbn_test): Add more tests.
66656         (scalbln_test): Likewise.
66658         * manual/filesys.texi (mode_t): Describe constraints on size and
66659         signedness, not exact equivalence to a particular type.
66660         (ino_t): Likewise.
66661         (ino64_t): Likewise.
66662         (dev_t): Likewise.
66663         (nlink_t): Likewise.
66664         (blkcnt_t): Likewise.
66665         (blkcnt64_t): Likewise.
66666         * manual/llio.texi (off_t): Likewise.
66668         [BZ #3976]
66669         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66670         (__ieee754_exp): Save and restore rounding mode and use
66671         round-to-nearest for all computations.
66672         * math/libm-test.inc (exp_test_tonearest): New function.
66673         (exp_test_towardzero): Likewise.
66674         (exp_test_downward): Likewise.
66675         (exp_test_upward): Likewise.
66676         (main): Call the new functions.
66677         * sysdeps/i386/fpu/libm-test-ulps: Update.
66678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66680 2012-03-01  Chris Demetriou  <cgd@google.com>
66682         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66683         have predictable order.
66685 2012-03-01  David S. Miller  <davem@davemloft.net>
66687         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66689         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66690         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66691         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66692         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66694         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66695         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66696         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66698         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66699         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66700         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66701         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66702         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66706         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66707         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66708         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66710         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66711         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66712         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66713         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66714         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66715         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66716         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66717         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66718         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66719         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66720         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66721         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66724         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66726         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66727         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66728         * sysdeps/sparc/elf/configure: Regenerated.
66730 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66732         * configure.in (AS, LD): Require binutils 2.20 or later.
66733         * configure: Regenerated.
66734         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66735         as required minimum version.
66736         * INSTALL: Regenerated.
66738         [BZ #2541]
66739         [BZ #4108]
66740         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66741         before squaring exponent.
66742         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66743         bottom long double and 27 bits of top long double before squaring
66744         exponent.
66745         * math/libm-test.inc (erfc_test): Add more tests.
66746         * sysdeps/i386/fpu/libm-test-ulps: Update.
66747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66750 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66752         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66753         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66754         containing bit-fields.
66755         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66756         * soft-fp/single.h (_FP_UNION_S): Likewise.
66757         * soft-fp/double.h (_FP_UNION_D): Likewise.
66759 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66761         [BZ #13786]
66762         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66763         not include ../strcmp.S.
66764         [USE_AS_STRNCASECMP_L]: Likewise.
66765         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66766         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66767         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66768         (__strncasecmp_l_ia32): Define as alias to
66769         __strncasecmp_l_nonascii.
66771         [BZ #5794]
66772         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66773         * sysdeps/i386/fpu/libm-test-ulps: Update.
66774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66776         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66779 2012-02-29  Jeff Law  <law@redhat.com>
66781         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66782         out of bounds read.
66784 2012-02-29  Marek Polacek  <polacek@redhat.com>
66786         [BZ #13706]
66787         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66788         * elf/Makefile: Add rules to run tst-unused-dep.out.
66790 2012-02-28  David S. Miller  <davem@davemloft.net>
66792         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66793         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66794         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66795         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66796         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66797         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66799 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66801         * math/libm-test.inc (llround_test): Move one test from
66802         lround_test.  Use TEST_f_L in moved test.
66803         (lround_test): Move misplaced test to llround_test.  Add testcase
66804         from bug 2561.
66806 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66808         * sysdeps/x86_64/fpu/e_expf.S: New file.
66809         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66811 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66813         [BZ #13637]
66814         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66815         of remain_len that may cause incomplete multi-byte character and
66816         false match.
66817         * posix/bug-regex33.c: New file.
66818         * posix/Makefile (tests): Add bug-regex33.
66820 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66822         * manual/macros.texi: New file.
66823         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66824         * manual/libc.texinfo: Include macros.texi.
66825         * manual/creatute.texi: Likewise.
66826         * manual/install.texi: Likewise.
66827         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66828         @glibcadj{} in references to the GNU C Library.
66829         * manual/charset.texi: Likewise.
66830         * manual/conf.texi: Likewise.
66831         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66832         when not using those macros.
66833         * manual/creature.texi: Likewise.
66834         * manual/crypt.texi: Likewise.
66835         * manual/errno.texi: Likewise.
66836         * manual/filesys.texi: Likewise.
66837         * manual/header.texi: Likewise.
66838         * manual/install.texi: Likewise.
66839         * manual/intro.texi: Likewise.
66840         * manual/io.texi: Likewise.
66841         * manual/job.texi: Likewise.
66842         * manual/lang.texi: Likewise.
66843         * manual/libc.texiinfo: Likewise.
66844         * manual/llio.texi: Likewise.
66845         * manual/locale.texi: Likewise.
66846         * manual/maint.texi: Likewise.
66847         * manual/math.texi: Likewise.
66848         * manual/memory.texi: Likewise.
66849         * manual/message.texi: Likewise.
66850         * manual/nss.texi: Likewise.
66851         * manual/pattern.texi: Likewise.
66852         * manual/process.texi: Likewise.
66853         * manual/resource.texi: Likewise.
66854         * manual/search.texi: Likewise.
66855         * manual/setjmp.texi: Likewise.
66856         * manual/signal.texi: Likewise.
66857         * manual/socket.texi: Likewise.
66858         * manual/startup.texi: Likewise.
66859         * manual/stdio.texi: Likewise.
66860         * manual/string.texi: Likewise.
66861         * manual/sysinfo.texi: Likewise.
66862         * manual/syslog.texi: Likewise.
66863         * manual/terminal.texi: Likewise.
66864         * manual/time.texi: Likewise.
66865         * manual/users.texi: Likewise.
66866         * INSTALL: Regenerated.
66867         * NOTES: Regenerated.
66868         * sysdeps/gnu/errlist.c: Regenerated.
66870 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66872         * include/dirent.h: Include <dirstream.h> before
66873         <dirent/dirent.h>.
66875 2012-02-28  David S. Miller  <davem@davemloft.net>
66877         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66878         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66879         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66880         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66882 2012-02-27  David S. Miller  <davem@davemloft.net>
66884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66886         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66887         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66890         frame pointer instead of stack pointer relative arg slot.
66891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66892         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66893         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66895 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66897         [BZ #3992]
66898         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66900 2012-02-27  David S. Miller  <davem@davemloft.net>
66902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66906         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66907         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66908         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66909         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66911 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66913         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66914         later.  Allow versions 5-9.
66915         * configure: Regenerated.
66916         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66917         required minimum version and 4.6 as recommended version.  Do not
66918         mention bugs in GCC 2.7 and 2.8.
66919         * INSTALL: Regenerated.
66921 2012-02-27  David S. Miller  <davem@davemloft.net>
66923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66927         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66928         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66929         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66930         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66932         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66933         manipulate bits before adding and subtracting TWO112[sx].
66934         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66936 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66938         [BZ #13775]
66939         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66940         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66941         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66942         being in POSIX, because they are in 1003.1-2008.
66944         * rt/tst-aio.c: Include <fcntl.h>.
66945         * rt/tst-aio7.c: Likewise.
66946         * rt/tst-aio64.c: Likewise.
66948         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66950 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66952         * manual/install.texi (--with-headers): Describe headers as
66953         interface headers, not private headers.
66954         (Specific advice for GNU/Linux systems): Describe use of headers
66955         from "make headers_install", not private headers from older
66956         kernels.
66957         * INSTALL: Regenerated.
66958         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66959         Change to 2.6.19.
66960         * sysdeps/unix/sysv/linux/configure: Regenerated.
66962         * manual/llio.texi (fclean): Remove documentation.
66964         * manual/Makefile (libc-texi-generated): New variable.  Include
66965         version.texi.
66966         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66967         $(libc-texi-generated), not duplicated list of files.
66968         (version.texi, stamp-version): New rules.
66969         (realclean): Remove $(libc-texi-generated), not individual files
66970         from that list.  Do not remove dir-add.texinfo.
66971         * manual/libc.texinfo: Comment out uses of edition numbers and
66972         references to printed manual.  Remove last-updated dates.
66973         (EDITION): Comment out.
66974         (ISBN): Likewise.
66975         (VERSION, UPDATED): Remove.
66976         (version.texi): Include.
66978 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66980         * sysdeps/posix/spawni.c: Include <signal.h>.
66981         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66982         * sysdeps/pthread/aio_fsync.c: Likewise.
66984 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66986         * conform/Makefile (tests): Run only when not cross-compiling and
66987         when fast-check is not defined.
66989         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66990         * conform/data/limits.h-data: Fixes for POSIX2008.
66991         * conform/run-conformtest.sh: Run all tests.
66992         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66993         headers.
66994         * include/bits/dlfcn.h: Likewise.
66995         * include/langinfo.h: Likewise.
66996         * include/monetary.h: Likewise.
66997         * include/sys/poll.h: Likewise.
66999         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67000         for __USE_GNU.
67001         * posix/spawn.h: Define __need_sigset_t.
67002         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67003         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67004         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67005         to get sigevent_t only.
67006         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67007         only for __USE_GNU.
67008         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67009         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67010         process_vm_writev only for __USE_GNU.
67011         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67013         * conform/Makefile: For now ignore errors from run-conformtest.
67014         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67015         POSIX to avoid namespace pollution.  Don't prepend headers.
67016         * conform/data/aio.h-data: Fixes for POSIX testing.
67017         * conform/data/fcntl.h-data: Likewise.
67018         * conform/data/glob.h-data: Likewise.
67019         * conform/data/grp.h-data: Likewise.
67020         * conform/data/pthread.h-data: Likewise.
67021         * conform/data/pwd.h-data: Likewise.
67022         * conform/data/signal.h-data: Likewise.
67023         * conform/data/spawn.h-data: Likewise.
67024         * conform/data/stdio.h-data: Likewise.
67025         * conform/data/stdlib.h-data: Likewise.
67026         * conform/data/stropts.h-data: Likewise.
67027         * conform/data/sys/mman.h-data: Likewise.
67028         * conform/data/sys/stat.h-data: Likewise.
67029         * conform/data/sys/types.h-data: Likewise.
67030         * conform/data/sys/wait.h-data: Likewise.
67031         * conform/data/time.h-data: Likewise.
67032         * conform/data/unistd.h-data: Likewise.
67033         * conform/data/utime.h-data: Likewise.
67035         * io/sys/stat.h: fchmod was always in POSIX.
67036         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67037         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67038         * rt/aio.h: Define __need_timespec before including <time.h>.
67039         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67040         struct.  Add forward declaration of pthread_attr_t and use it in
67041         sigevent.
67042         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67043         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67044         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67045         always remove CLK_TCK definition.
67047 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67049         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67051 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67053         * conform/run-conformtest.sh: New file.
67054         * conform/Makefile: Run run-conformtest for tests.
67055         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67056         support.
67058         * conform/data/uchar.h-data: New file.
67059         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67060         * conform/data/arpa/inet.h-data: Likewise.
67061         * conform/data/assert.h-data: Likewise.
67062         * conform/data/complex.h-data: Likewise.
67063         * conform/data/cpio.h-data: Likewise.
67064         * conform/data/ctype.h-data: Likewise.
67065         * conform/data/dirent.h-data: Likewise.
67066         * conform/data/dlfcn.h-data: Likewise.
67067         * conform/data/errno.h-data: Likewise.
67068         * conform/data/fcntl.h-data: Likewise.
67069         * conform/data/float.h-data: Likewise.
67070         * conform/data/fmtmsg.h-data: Likewise.
67071         * conform/data/fnmatch.h-data: Likewise.
67072         * conform/data/ftw.h-data: Likewise.
67073         * conform/data/glob.h-data: Likewise.
67074         * conform/data/grp.h-data: Likewise.
67075         * conform/data/iconv.h-data: Likewise.
67076         * conform/data/inttypes.h-data: Likewise.
67077         * conform/data/langinfo.h-data: Likewise.
67078         * conform/data/libgen.h-data: Likewise.
67079         * conform/data/limits.h-data: Likewise.
67080         * conform/data/locale.h-data: Likewise.
67081         * conform/data/math.h-data: Likewise.
67082         * conform/data/monetary.h-data: Likewise.
67083         * conform/data/mqueue.h-data: Likewise.
67084         * conform/data/ndbm.h-data: Likewise.
67085         * conform/data/net/if.h-data: Likewise.
67086         * conform/data/netdb.h-data: Likewise.
67087         * conform/data/netinet/in.h-data: Likewise.
67088         * conform/data/nl_types.h-data: Likewise.
67089         * conform/data/poll.h-data: Likewise.
67090         * conform/data/pthread.h-data: Likewise.
67091         * conform/data/pwd.h-data: Likewise.
67092         * conform/data/regex.h-data: Likewise.
67093         * conform/data/sched.h-data: Likewise.
67094         * conform/data/search.h-data: Likewise.
67095         * conform/data/semaphore.h-data: Likewise.
67096         * conform/data/setjmp.h-data: Likewise.
67097         * conform/data/signal.h-data: Likewise.
67098         * conform/data/spawn.h-data: Likewise.
67099         * conform/data/stdarg.h-data: Likewise.
67100         * conform/data/stdio.h-data: Likewise.
67101         * conform/data/stdlib.h-data: Likewise.
67102         * conform/data/string.h-data: Likewise.
67103         * conform/data/strings.h-data: Likewise.
67104         * conform/data/stropts.h-data: Likewise.
67105         * conform/data/sys/ipc.h-data: Likewise.
67106         * conform/data/sys/mman.h-data: Likewise.
67107         * conform/data/sys/msg.h-data: Likewise.
67108         * conform/data/sys/resource.h-data: Likewise.
67109         * conform/data/sys/select.h-data: Likewise.
67110         * conform/data/sys/sem.h-data: Likewise.
67111         * conform/data/sys/shm.h-data: Likewise.
67112         * conform/data/sys/socket.h-data: Likewise.
67113         * conform/data/sys/stat.h-data: Likewise.
67114         * conform/data/sys/statvfs.h-data: Likewise.
67115         * conform/data/sys/time.h-data: Likewise.
67116         * conform/data/sys/timeb.h-data: Likewise.
67117         * conform/data/sys/times.h-data: Likewise.
67118         * conform/data/sys/types.h-data: Likewise.
67119         * conform/data/sys/uio.h-data: Likewise.
67120         * conform/data/sys/un.h-data: Likewise.
67121         * conform/data/sys/utsname.h-data: Likewise.
67122         * conform/data/sys/wait.h-data: Likewise.
67123         * conform/data/syslog.h-data: Likewise.
67124         * conform/data/tar.h-data: Likewise.
67125         * conform/data/termios.h-data: Likewise.
67126         * conform/data/utime.h-data: Likewise.
67127         * conform/data/utmpx.h-data: Likewise.
67128         * conform/data/varargs.h-data: Likewise.
67129         * conform/data/wchar.h-data: Likewise.
67130         * conform/data/wctype.h-data: Likewise.
67131         * conform/data/wordexp.h-data: Likewise.
67133         * include/stropts.h: New file.
67134         * include/uchar.h: New file.
67135         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67136         * include/assert.h: Likewise.
67137         * include/ctype.h: Likewise.
67138         * include/dirent.h: Likewise.
67139         * include/dlfcn.h: Likewise.
67140         * include/fcntl.h: Likewise.
67141         * include/fnmatch.h: Likewise.
67142         * include/glob.h: Likewise.
67143         * include/grp.h: Likewise.
67144         * include/libio.h: Likewise.
67145         * include/locale.h: Likewise.
67146         * include/math.h: Likewise.
67147         * include/net/if.h: Likewise.
67148         * include/netdb.h: Likewise.
67149         * include/netinet/in.h: Likewise.
67150         * include/pthread.h: Likewise.
67151         * include/pwd.h: Likewise.
67152         * include/regex.h: Likewise.
67153         * include/sched.h: Likewise.
67154         * include/search.h: Likewise.
67155         * include/setjmp.h: Likewise.
67156         * include/signal.h: Likewise.
67157         * include/stdio.h: Likewise.
67158         * include/stdlib.h: Likewise.
67159         * include/string.h: Likewise.
67160         * include/sys/cdefs.h: Likewise.
67161         * include/sys/mman.h: Likewise.
67162         * include/sys/msg.h: Likewise.
67163         * include/sys/resource.h: Likewise.
67164         * include/sys/select.h: Likewise.
67165         * include/sys/socket.h: Likewise.
67166         * include/sys/stat.h: Likewise.
67167         * include/sys/statvfs.h: Likewise.
67168         * include/sys/time.h: Likewise.
67169         * include/sys/times.h: Likewise.
67170         * include/sys/uio.h: Likewise.
67171         * include/sys/utsname.h: Likewise.
67172         * include/sys/wait.h: Likewise.
67173         * include/termios.h: Likewise.
67174         * include/time.h: Likewise.
67175         * include/ulimit.h: Likewise.
67176         * include/unistd.h: Likewise.
67177         * include/utime.h: Likewise.
67178         * include/wchar.h: Likewise.
67179         * include/wctype.h: Likewise.
67180         * include/wordexp.h: Likewise.
67182         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67184         * time/time.h: TIME_UTC must be a macro.
67185         Make timespec_get available for ISO C11 only as well.
67187 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67189         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67190         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67192 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67194         * configure.in: Use -o not -a in test for unsupported multi-arch.
67196 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67198         * manual/texinfo.tex: Update to version 2012-01-19.16.
67200 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67202         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67204 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67206         [BZ #13738]
67207         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67208         * manual/fdl-1.3.texi: New file.
67209         * manual/fdl-1.1.texi: File removed.
67211         [BZ #13738]
67212         * manual/libc.texinfo (FDL_VERSION): New @set.
67213         Use it for mention of FDL in cover text.
67214         (Documentation License): Use it in @include file name.
67216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67217             Roland McGrath  <roland@hack.frob.com>
67219         [BZ #5461]
67220         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67221         (not LONG_LONG_MAX and LONG_LONG_MIN.
67222         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67223         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67224         name.
67225         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67227 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67229         [BZ #2547]
67230         [BZ #11365]
67231         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67232         manipulate bits before adding and subtracting TWO23[sx].
67233         * math/libm-test.inc (nearbyint_test): Add more tests.
67235 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67237         [BZ #2548]
67238         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67239         bits before adding and subtracting TWO23[sx].
67240         * math/libm-test.inc (rint_test): Add more tests.
67241         (rint_test_tonearest): Likewise.
67242         (rint_test_towardzero): Likewise.
67243         (rint_test_downward): Likewise.
67244         (rint_test_upward: Likewise.
67246 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67248         [BZ #10110]
67249         * include/stdc-predef.h: New file.  Extracted from features.h.
67250         * include/features.h: Include stdc-predef.h.
67251         * Makefile (headers): Add stdc-predef.h.
67252         * CONFORMANCE (Compiler limitations): Update.
67254 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67256         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67258 2012-02-21  David S. Miller  <davem@davemloft.net>
67260         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67261         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67263 2012-02-20  David S. Miller  <davem@davemloft.net>
67265         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67266         using a normal save/restore sequence, rather than allocating a
67267         dummy stack frame just to store a frame pointer and restore.
67268         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67270 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67272         * manual/install.texi: Fix stray word in line-wrapped comment.
67274 2012-02-20  David S. Miller  <davem@davemloft.net>
67276         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67277         both binutils and gcc support GOTDATA.
67279         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67280         "rd %pc" in the PIC register setup sequences.
67282         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67283         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67284         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67285         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67286         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67288         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67289         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67291         (SYSCALL_ERROR_HANDLER): Likewise.
67292         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67293         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67295         (SYSCALL_ERROR_HANDLER): Likewise.
67297         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67298         (HAVE_GCC_GOTDATA): New.
67299         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67300         relocation support in both binutils and gcc.
67301         * sysdeps/sparc/elf/configure: Regenerate.
67303         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67304         * sysdeps/sparc/sparc32/elf/configure: Delete.
67305         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67306         * sysdeps/sparc/sparc64/elf/configure: Delete.
67307         * sysdeps/sparc/elf/configure.in: New file.
67308         * sysdeps/sparc/elf/configure: Generate.
67310         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67311         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67312         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67313         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67314         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67316 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67318         * manual/install.texi: Do not mention specific glibc version
67319         numbers.
67320         * manual/libc.texinfo (VERSION, UPDATED): Update.
67321         (@copying): Use @copyright{} and range of years.
67323 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67325         [BZ #13695]
67326         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67327         [crti.S not in sysdirs] (generated): Do not append.
67328         [crti.S not in sysdirs] (omit-deps): Likewise.
67329         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67330         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67331         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67332         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67333         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67334         Likewise.
67335         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67336         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67337         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67338         * csu/defs.awk: Remove file.
67339         * sysdeps/generic/initfini.c: Likewise.
67340         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67341         variable.
67342         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67343         Likewise.
67345 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67347         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67348         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67349         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67350         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67351         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67352         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67353         <bits/epoll.h>.
67354         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67355         (__EPOLL_PACKED): Define to empty if not defined by
67356         <bits/epoll.h>.
67357         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67358         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67359         bits/epoll.h.
67361 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67363         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67364         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67365         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67366         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67367         <bits/timerfd.h>.
67368         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67369         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67370         bits/timerfd.h.
67372 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67374         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67375         in C locale.
67376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67377         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67378         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67381 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67383         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67384         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67386 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67388         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67389         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67390         defined.
67391         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67392         Likewise.
67393         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67394         entry for 2.16.
67396 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67398         * math/w_acos.c: Use non-signaling floating-point comparisons.
67399         * math/w_acosf.c: Likewise.
67400         * math/w_acosh.c: Likewise.
67401         * math/w_acoshf.c: Likewise.
67402         * math/w_acoshl.c: Likewise.
67403         * math/w_acosl.c: Likewise.
67404         * math/w_asin.c: Likewise.
67405         * math/w_asinf.c: Likewise.
67406         * math/w_asinl.c: Likewise.
67407         * math/w_atanh.c: Likewise.
67408         * math/w_atanhf.c: Likewise.
67409         * math/w_atanhl.c: Likewise.
67410         * math/w_exp2.c: Likewise.
67411         * math/w_exp2f.c: Likewise.
67412         * math/w_exp2l.c: Likewise.
67413         * math/w_j0.c: Likewise.
67414         * math/w_j0f.c: Likewise.
67415         * math/w_j0l.c: Likewise.
67416         * math/w_j1.c: Likewise.
67417         * math/w_j1f.c: Likewise.
67418         * math/w_j1l.c: Likewise.
67419         * math/w_jn.c: Likewise.
67420         * math/w_jnf.c: Likewise.
67421         * math/w_log.c: Likewise.
67422         * math/w_log10.c: Likewise.
67423         * math/w_log10f.c: Likewise.
67424         * math/w_log10l.c: Likewise.
67425         * math/w_log2.c: Likewise.
67426         * math/w_log2f.c: Likewise.
67427         * math/w_log2l.c: Likewise.
67428         * math/w_logf.c: Likewise.
67429         * math/w_logl.c: Likewise.
67430         * math/w_sqrt.c: Likewise.
67431         * math/w_sqrtf.c: Likewise.
67432         * math/w_sqrtl.c: Likewise.
67433         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67435         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67436         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67437         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67439 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67441         [BZ #9739]
67442         * manual/string.texi (strnlen): Use correct parameter name in
67443         equivalent expression.
67445 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67447         [BZ #11174]
67448         * manual/users.texi (seteuid): Consistently use neweuid for
67449         argument name.
67451 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67453         [BZ #13704]
67454         * manual/nss.texi (Services in the NSS configuration): Correct
67455         list of services in example configuration file.
67457 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67459         [BZ #11322]
67460         * manual/arith.texi: Remove statements about negative zero
67461         behaving identically to zero.
67463 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67465         [BZ #5993]
67466         * manual/install.texi: Do not document upgrading from libc5.
67468 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67470         [BZ #4596]
67471         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67473 2012-02-18  David S. Miller  <davem@davemloft.net>
67475         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67476         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67477         %o7 across the call.
67478         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67479         instead.
67480         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67481         SETUP_PIC_REG_LEAF.
67482         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67483         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67484         * sysdeps/sparc/crtn.S: Likewise.
67486 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67488         * aout/Makefile: Remove.
67490 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67492         [BZ #13058]
67493         * manual/examples/argp-ex1.c (main): Format definition in GNU
67494         style.
67495         * manual/examples/argp-ex2.c (main): Likewise.
67496         * manual/examples/argp-ex3.c (main): Likewise.
67497         * manual/examples/argp-ex4.c (main): Likewise.
67498         * manual/examples/longopt.c (main): Use new-style prototype
67499         definition.
67500         * manual/examples/strncat.c (main): Specify return type and use
67501         (void) for arguments.
67502         * manual/examples/subopt.c (main): Use char **argv argument.
67504 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67506         [BZ #5077]
67507         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67508         rounding modes.
67510 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67512         [BZ #6907]
67513         * manual/string.texi (strchr): Change when strchrnul is
67514         recommended.
67516 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67518         [BZ #174]
67519         * manual/locale.texi (setlocale): Document LOCPATH.
67521 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67523         [BZ #10210]
67524         * manual/process.texi (execle): Move @dots{} before last argument.
67526 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67528         [BZ #12047]
67529         * manual/charset.texi (Generic Charset Conversion): Fix typo
67530         (LC_TYPE -> LC_CTYPE).
67532 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67534         [BZ #5805]
67535         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67536         (scalbnf): Likewise.
67537         (scalbnl): Likewise.
67538         (scalbln): Likewise.
67539         (scalblnf): Likewise.
67540         (scalblnl): Likewise.
67541         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67542         (vwarnx): Likewise.
67543         (verr): Likewise.
67544         (verrx): Likewise.
67545         * manual/filesys.texi (telldir): Use braces around return type.
67546         * manual/llio.texi (mmap): Add space after comma.
67547         (mmap64): Likewise.
67548         * manual/math.texi (jn): Use @var{} on parameter names.
67549         (jnf): Likewise.
67550         (jnl): Likewise.
67551         (yn): Likewise.
67552         (ynf): Likewise.
67553         (ynl): Likewise.
67554         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67555         line.
67556         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67557         "...".
67558         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67559         (sched_get_priority_max): Likewise.
67560         * manual/signal.texi (sigvec): Add space after comma.
67561         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67562         names.
67563         (if_indextoname): Likewise.
67564         (if_freenameindex): Likewise.
67565         (sendto): Use ',' instead of '.' in prototype.
67566         * manual/startup.texi (syscall): Use @dots{} instead of literal
67567         "...".
67568         * manual/stdio.texi (__fpending): Separate initial words of
67569         paragraph from @deftypefun line.
67570         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67571         "...".
67572         (vsyslog): Use @var{} on parameter names.
67573         * manual/terminal.texi (stty): Use @var{} on parameter names.
67574         * manual/users.texi (getutmp): Use @var{} on parameter names.
67575         (getutmpx): Likewise.
67577 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67579         [BZ #6884]
67580         * manual/stdio.texi (fopen): Fix typos in description of
67581         ",ccs=STRING".
67583 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67585         [BZ #4026]
67586         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67587         get clock_id definition.
67589 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67591         [BZ #4822]
67592         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67593         (madvise): Cast every argument to void on its own.
67595 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67597         [BZ #9902]
67598         * manual/startup.texi (Exit Status): Fix typo.
67600 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67602         [BZ #10140]
67603         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67604         * manual/examples/argp-ex2.c: Likewise.
67605         * manual/examples/argp-ex3.c: Likewise.
67607 2012-02-16  Richard Henderson  <rth@redhat.com>
67609         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67610         * sysdeps/s390/s390-32/initfini.c: Remove.
67611         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67612         * sysdeps/s390/s390-64/initfini.c: Remove.
67614 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67616         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67617         compiler output for sysdeps/generic/initfini.c.
67618         * sysdeps/sh/elf/initfini.c: Remove file.
67620 2012-02-16  David S. Miller  <davem@davemloft.net>
67622         [BZ #11494]
67623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67625         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67626         * sysdeps/sparc/crti.S: New file.
67627         * sysdeps/sparc/crtn.S: New file.
67628         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67629         * sysdeps/sparc/sparc64/Makefile: Likewise.
67631 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67633         [BZ #3335]
67634         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67636 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67638         [BZ #4822]
67639         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67641         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67642         (write, read, close): Likewise.
67643         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67645 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67647         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67648         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67649         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67650         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67651         <bits/signalfd.h>.
67652         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67654         bits/signalfd.h.
67656 2012-02-14  Marek Polacek  <polacek@redhat.com>
67658         * sysdeps/x86_64/crti.S: New file.
67659         * sysdeps/x86_64/crtn.S: New file.
67660         * sysdeps/x86_64/elf/initfini.c: Remove file.
67662 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67664         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67665         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67666         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67667         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67668         <bits/inotify.h>.
67669         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67670         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67671         bits/inotify.h.
67673 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67675         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67676         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67677         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67678         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67679         <bits/eventfd.h>.
67680         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67682         bits/eventfd.h.
67684 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67686         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67687         __feraiseexcept instead of feraiseexcept.
67689         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67690         nanosleep invocations.
67691         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67692         strings, and add error checking for a nanosleep invocations.
67694 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67696         Replace FSF snail mail address with URLs, as per GNU coding standards.
67697         Most of the snail mail addresses were wrong anyway, and omitting
67698         them makes the source code easier to maintain.  Almost all of the
67699         changes are to license notices and to locale LC_IDENTIFICATION
67700         addresses, except for this one:
67701         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67702         not its snail mail address.
67704 2012-02-09  Richard Henderson  <rth@twiddle.net>
67706         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67707         of kernel-features.h.
67709         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67711 2012-02-08  Marek Polacek  <polacek@redhat.com>
67713         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67714         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67715         * sysdeps/gnu/_G_config.h: Likewise.
67716         * sysdeps/generic/_G_config.h: Likewise.
67718 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67720         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67721         tests.
67722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67724         * sysdeps/powerpc/powerpc32/crti.S: New file.
67725         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67726         * sysdeps/powerpc/powerpc64/crti.S: New file.
67727         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67729         * Makeconfig (have-initfini): Don't set.
67730         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67731         * configure.in (nopic_initfini): Don't substitute.
67732         * config.h.in (HAVE_INITFINI): Don't #undef.
67733         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67734         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67736 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67738         Support crti.S and crtn.S provided directly by architectures.
67739         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67740         [crti.S in sysdirs] (omit-deps): Likewise.
67741         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67742         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67743         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67744         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67745         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67746         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67747         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67748         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67749         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67750         compiler output for sysdeps/generic/initfini.c.
67751         * sysdeps/i386/elf/Makefile: Remove file.
67752         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67754 2012-02-07  Marek Polacek  <polacek@redhat.com>
67756         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67757         * sysdeps/gnu/_G_config.h: Likewise.
67758         * sysdeps/mach/hurd/_G_config.h: Likewise.
67760 2012-02-07  Marek Polacek  <polacek@redhat.com>
67762         * math/Makefile (tests): Add tst-CMPLX2.
67763         * math/tst-CMPLX2.c: New file.
67765 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67767         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67769         * math/libm-test.inc (jn_test): Add missing L suffix.
67771 2012-02-06  Marek Polacek  <polacek@redhat.com>
67773         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67774         * sysdeps/i386/fpu/e_powf.S: Likewise.
67775         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67776         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67777         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67778         * sysdeps/i386/fpu/e_pow.S: Likewise.
67779         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67780         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67781         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67782         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67783         * sysdeps/i386/fpu/e_log2.S: Likewise.
67784         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67785         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67786         * sysdeps/i386/fpu/e_powl.S: Likewise.
67787         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67788         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67789         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67790         * sysdeps/i386/fpu/e_logl.S: Likewise.
67791         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67792         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67793         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67794         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67795         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67796         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67797         * sysdeps/i386/fpu/e_log.S: Likewise.
67798         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67799         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67800         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67801         * sysdeps/i386/fpu/e_logf.S: Likewise.
67802         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67803         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67804         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67805         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67806         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67807         * sysdeps/i386/fpu/e_log10.S: Likewise.
67808         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67809         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67810         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67811         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67812         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67813         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67814         * sysdeps/i386/asm-syntax.h: Likewise.
67815         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67816         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67817         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67818         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67819         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67820         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67821         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67822         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67823         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67824         * sysdeps/powerpc/sysdep.h: Likewise.
67825         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67826         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67828 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67830         [BZ #411]
67831         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67833 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67835         * sysdeps/i386/sysdep.h: Include <features.h>.
67836         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67837         version.
67839 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67841         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67842         Define.
67843         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67844         LOAD_PIC_REG_STR.
67846 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67848         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67849         (SETUP_PIC_REG): Use GET_PC_THUNK.
67850         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67851         macro.
67853 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67855         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67856         for non-PIC compilation.
67857         (SETUP_PIC_REG): Add .p2align directive.
67858         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67859         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67860         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67861         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67862         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67863         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67864         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67865         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67866         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67867         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67868         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67869         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67870         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67871         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67872         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67873         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67874         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67875         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67876         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67877         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67878         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67879         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67880         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67881         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67882         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67883         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67884         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67885         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67886         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67887         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67888         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67889         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67890         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67891         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67892         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67893         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67894         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67895         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67896         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67897         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67898         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67900 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67902         * math/tst-CMPLX.c: Include <stdio.h>.
67904 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67906         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67907         float.
67908         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67909         * sysdeps/sparc/bits/mathdef.h: Likewise.
67911 2012-01-31  Marek Polacek  <polacek@redhat.com>
67913         * libio/libio.h: Don't define _PARAMS.
67914         * locale/programs/config.h: Don't define PARAMS.
67915         * stdlib/strtol_l.c: Likewise.
67916         (__strtol_l): Remove PARAMS from the prototype.
67918 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67920         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67921         names.  Just use the correct names.  Remove unnecessary wrapper
67922         functions.
67923         * malloc/arena.c: Likewise.
67924         * malloc/hooks.c: Likewise.
67926         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67927         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67928         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67930 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67932         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67933         into tail calls.
67934         (update_get_addr): New function.
67935         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67936         GET_ADDR_MODULE parameter.
67938 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67940         * crypt/cert.c: Remove __STDC__ conditionals.
67941         * crypt/crypt-entry.c: Likewise.
67942         * crypt/crypt_util.c: Likewise.
67943         * libio/filedoalloc.c: Likewise.
67944         * libio/fileops.c: Likewise.
67945         * libio/genops.c: Likewise.
67946         * libio/iofclose.c: Likewise.
67947         * libio/iofdopen.c: Likewise.
67948         * libio/iofopen.c: Likewise.
67949         * libio/iofopen64.c: Likewise.
67950         * libio/iogetdelim.c: Likewise.
67951         * libio/iopopen.c: Likewise.
67952         * libio/obprintf.c: Likewise.
67953         * libio/oldfileops.c: Likewise.
67954         * libio/oldiofclose.c: Likewise.
67955         * libio/oldiofdopen.c: Likewise.
67956         * libio/oldiofopen.c: Likewise.
67957         * libio/oldiopopen.c: Likewise.
67958         * libio/wfiledoalloc.c: Likewise.
67959         * libio/wgenops.c: Likewise.
67960         * locale/programs/xmalloc.c: Likewise.
67961         * misc/syslog.c: Likewise.
67962         * stdio-common/xbug.c: Likewise.
67963         * string/memchr.c: Likewise.
67964         * string/memcmp.c: Likewise.
67965         * string/memrchr.c: Likewise.
67966         * string/rawmemchr.c: Likewise.
67967         * sysdeps/posix/getcwd.c: Likewise.
67968         * time/strftime_l.c: Likewise.
67970 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67972         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67973         * config.make.in (config-cflags-sse2avx): Define.
67974         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67975         Fix typo.
67977 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67979         * scripts/config.guess: Update from upstream config git repository.
67980         * scripts/config.sub: Likewise.
67982 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67984         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67985         (EM_NUM): Update.
67986         (R_TILEPRO_*, R_TILEGX_*): New macros.
67988         * scripts/firstversions.awk: Fix bug in version range handling.
67990         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67992         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67994         * include/sys/epoll.h: New file.
67995         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67996         libc_hidden_def.
67998 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68000         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68001         Avoid unnecessary __WORDSIZE == 64 test.
68002         (fmaxf): Use VEX format if possible.
68003         (fmax): Likewise.
68004         (fminf): Likewise.
68005         (fmin): Likewise.
68007         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68008         * math/math_private.h: Remove libc_fegetround* and
68009         libc_fesetround*.
68010         * sysdeps/i386/configure.in: Check for -msse2avx.
68011         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68012         also if SSE2AVX is defined.
68013         Remove libc_fegetround* and libc_fesetround*.
68014         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68015         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68016         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68017         of HAS_YMM_USABLE.
68018         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68019         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68020         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68021         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68022         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68024         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68026 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68028         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68029         size is not set.
68030         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68032 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68034         [BZ #13618]
68035         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68036         relocation.
68037         * Makeconfig (libm): Define.
68038         * elf/Makefile: Add rules to build and run tst-relsort1.
68039         * elf/tst-relsort1.c: New file.
68040         * elf/tst-relsort1mod1.c: New file.
68041         * elf/tst-relsort1mod2.c: New file.
68043 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68045         * math/s_ldexp.c: Remove __STDC__ conditionals.
68046         * math/s_ldexpf.c: Likewise.
68047         * math/s_ldexpl.c: Likewise.
68048         * math/s_nextafter.c: Likewise.
68049         * math/s_nexttowardf.c: Likewise.
68050         * math/s_significand.c: Likewise.
68051         * math/s_significandf.c: Likewise.
68052         * math/s_significandl.c: Likewise.
68053         * math/w_jnl.c: Likewise.
68054         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68055         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68056         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68057         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68058         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68060         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68061         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68062         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68063         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68064         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68065         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68066         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68067         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68068         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68069         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68070         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68071         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68073         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68074         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68075         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68076         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68077         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68078         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68079         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68080         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68081         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68082         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68083         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68084         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68085         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68086         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68087         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68088         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68089         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68090         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68091         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68092         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68093         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68094         * sysdeps/ieee754/k_standard.c: Likewise.
68095         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68096         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68097         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68098         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68099         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68100         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68101         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68102         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68103         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68104         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68105         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68106         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68107         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68108         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68109         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68111         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68112         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68113         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68114         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68115         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68116         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68117         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68118         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68119         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68120         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68121         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68152         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68154         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68156         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68157         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68161         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68162         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68164         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68166         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68168         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68169         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68170         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68174         * sysdeps/ieee754/s_matherr.c: Likewise.
68175         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68176         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68177         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68180 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68182         * crypt/md5.h: Remove __STDC__ conditionals.
68183         * libio/libioP.h: Likewise.
68184         * locale/programs/config.h: Likewise.
68185         * sysdeps/generic/sysdep.h: Likewise.
68186         * sysdeps/i386/asm-syntax.h: Likewise.
68187         * sysdeps/s390/asm-syntax.h: Likewise.
68188         * sysdeps/unix/sysdep.h: Likewise.
68189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68192 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68194         * libio/libio.h: Remove __STDC__ conditionals.
68195         * malloc/obstack.h: Likewise.
68196         * math/complex.h: Likewise.
68197         * math/math.h: Likewise.
68198         * sysdeps/generic/_G_config.h: Likewise.
68199         * sysdeps/gnu/_G_config.h: Likewise.
68200         * sysdeps/mach/hurd/_G_config.h: Likewise.
68201         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68202         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68203         * sysdeps/sparc/bits/mathdef.h: Likewise.
68205 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68207         [BZ #13583]
68208         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68209         Clean up HAS_* macros.
68210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68211         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68212         possible.
68213         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68214         HAS_AVX.
68215         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68216         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68217         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68218         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68219         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68221 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68223         * elf/tst-unique3.cc (gets): Remove declaration.
68224         * elf/tst-unique3lib.cc (gets): Likewise.
68225         * elf/tst-unique3lib2.cc (gets): Likewise.
68226         * elf/tst-unique4.cc (gets): Likewise.
68228 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68230         * include/stdio.h: Add C++ protection.  Add gets declarations and
68231         definitions.
68232         * debug/tst-chk1.c: Don't declare gets here.
68233         * stdio-common/tst-gets.c: Likewise.
68235 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68237         * posix/glob: Remove directory.
68239 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68241         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68243 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68245         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68246         of the non-standard EPFNOSUPPORT.
68248 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68250         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68251         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68252         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68254 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68256         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68258 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68260         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68261         transient errors.
68262         * nscd/grpcache.c (cache_addgr): Likewise.
68263         * nscd/hstcache.c (cache_addhst): Likewise.
68264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68265         * nscd/pwdcache.c (cache_addpw): Likewise.
68266         * nscd/servicescache.c (cache_addserv): Likewise.
68268 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68270         * malloc/malloc.c: Various cleanups.
68271         * malloc/hooks.c: Likewise.
68273         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68274         * stdlib/bug-fmtmsg1.c: New file.
68276         * stdlib/fmtmsg.c (init): Add missing unlock.
68277         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68279 2012-01-12  Marek Polacek  <polacek@redhat.com>
68281         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68282         and _GNU_SOURCE.
68284 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68286         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68287         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68288         macro to ensure uniqueness of label name.
68289         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68290         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68292 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68294         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68296         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68297         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68298         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68301 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68303         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68305         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68306         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68307         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68309         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68311         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68312         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68313         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68314         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68316         * math/bits/math-finite.h: Add ldexp support.
68318 2012-01-10  Marek Polacek  <polacek@redhat.com>
68320         * locale/programs/localedef.h (show_archive_content): Add noreturn
68321         attribute.
68323 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68325         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68327 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68329         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68331         * io/Makefile (headers): Add bits/poll2.h.
68333 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68336         typo #include statement.
68338 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68340         * include/sys/cdefs.h: Define __attribute_alloc_size.
68341         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68342         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68343         * elf/pldd.c: Likewise.
68344         * iconv/iconv_charmap.c: Likewise.
68345         * iconv/iconvconfig.c: Likewise.
68346         * iconv/strtab.c: Likewise.
68347         * locale/programs/locale.c: Likewise.
68348         * locale/programs/localedef.h: Likewise.
68349         * locale/programs/simple-hash.c: Likewise.
68350         * nscd/nscd.h: Likewise.
68351         * nss/makedb.c: Likewise.
68352         * sysdeps/generic/ldconfig.h: Likewise.
68353         * locale/programs/localedef.c: Remove xmalloc prototype.
68354         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68356 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68358         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68359         appropriate.
68361 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68363         * math/Makefile (tests): Add tst-CMPLX.
68364         * math/tst-CMPLX.c: New file.
68366         * math/complex.h (CMPLXL): Fix typo.
68368         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68369         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68370         GLIBC_2.16.
68371         * debug/tst-chk1.c: Add poll and ppoll tests.
68372         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68373         * include/sys/poll.h: Add hidden proto for ppoll.
68374         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68375         * sysdeps/mach/hurd/ppoll.c: Likewise.
68376         * io/ppoll.c: Likewise.
68377         * debug/poll_chk.c: New file.
68378         * debug/ppoll_chk.c: New file.
68379         * include/bits/poll2.h: New file.
68380         * io/bits/poll2.h: New file.
68382         [BZ #1350]
68383         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68385         * configure.in: static is always set to yes.  Remove.
68386         * config.make.in: Don't set build-static.
68387         * Makeconfig: Remove use of build-static.
68388         * dlfcn/Makefile: Likewise.
68389         * elf/Makefile: Likewise.
68390         * math/Makefile: Likewise.
68391         * misc/Makefile: Likewise.
68392         * nptl/Makefile: Likewise.
68393         * sysdeps/mach/hurd/Makefile: Likewise.
68395         * configure.in: PWD_P is not used anymore.
68396         * config.make.in: Remove PWD_P entry.
68398         * configure.in: Remove last remnants of RANLIB.
68399         No need to check for signed size_t anymore.
68400         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68401         and IA-64.
68402         Remove __builtin_expect test because we require at least gcc 3.4.
68403         * aclocal.m4: Likewise.
68405         * wcsmbs/mbrtoc16.c: Implement using towc function.
68406         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68407         * wcsmbs/wcsmbsload.c: Likewise.
68408         * iconv/gconv_simple.c: Likewise.
68409         * iconv/gconv_int.h: Likewise.
68410         * iconv/gconv_builtin.h: Likewise.
68411         * iconv/iconv_prog.c: Remove CHAR16 handling.
68413         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68415         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68417         * configure.in: Remove --with-elf and --enable-bounded options.
68418         Dont set base_machine for ia64.  More non-ELF conditions removed.
68419         Remove testing and setting of leading underscore information.
68420         * config.make.in (build-bounded): Set to no.
68421         * config.h.in: Remove NO_UNDERSCORES entry.
68422         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68423         them.
68424         * csu/start.c: Remove !NO_UNDERSCORE code.
68425         * locale/localeinfo.h: Likewise.
68426         * sysdeps/generic/machine-gmon.h: Likewise.
68427         * sysdeps/generic/sysdep.h: Likewise.
68428         * sysdeps/i386/sysdep.h: Likewise.
68429         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68430         * sysdeps/mach/sysdep.h: Likewise.
68431         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68433         * sysdeps/sh/sysdep.h: Likewise.
68434         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68435         * sysdeps/unix/i386/sysdep.S: Likewise.
68436         * sysdeps/unix/sparc/start.c: Likewise.
68437         * sysdeps/unix/sparc/sysdep.S: Likewise.
68438         * sysdeps/unix/sparc/sysdep.h: Likewise.
68439         * sysdeps/unix/start.c: Likewise.
68440         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68441         * sysdeps/x86_64/sysdep.h: Likewise.
68443 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68445         [BZ #13553]
68446         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68447         for non-gcc.
68448         * argp/argp-fmtstream.h: Use const instead __const.
68449         * argp/argp.h: Likewise.
68450         * assert/assert.h: Likewise.
68451         * bits/fenv.h: Likewise.
68452         * bits/sched.h: Likewise.
68453         * bits/sigset.h: Likewise.
68454         * bits/sigthread.h: Likewise.
68455         * catgets/nl_types.h: Likewise.
68456         * conform/data/pthread.h-data: Likewise.
68457         * crypt/crypt-private.h: Likewise.
68458         * crypt/crypt.h: Likewise.
68459         * crypt/crypt_util.c: Likewise.
68460         * ctype/ctype.h: Likewise.
68461         * debug/execinfo.h: Likewise.
68462         * debug/mbsnrtowcs_chk.c: Likewise.
68463         * debug/mbsrtowcs_chk.c: Likewise.
68464         * debug/wcsnrtombs_chk.c: Likewise.
68465         * debug/wcsrtombs_chk.c: Likewise.
68466         * debug/wcstombs_chk.c: Likewise.
68467         * dirent/dirent.h: Likewise.
68468         * dlfcn/dlfcn.h: Likewise.
68469         * elf/neededtest4.c: Likewise.
68470         * grp/grp.h: Likewise.
68471         * gshadow/gshadow.h: Likewise.
68472         * iconv/gconv.h: Likewise.
68473         * iconv/gconv_int.h: Likewise.
68474         * iconv/gconv_simple.c: Likewise.
68475         * iconv/iconv.h: Likewise.
68476         * iconv/loop.c: Likewise.
68477         * iconv/skeleton.c: Likewise.
68478         * include/aio.h: Likewise.
68479         * include/aliases.h: Likewise.
68480         * include/argz.h: Likewise.
68481         * include/arpa/inet.h: Likewise.
68482         * include/assert.h: Likewise.
68483         * include/dirent.h: Likewise.
68484         * include/dlfcn.h: Likewise.
68485         * include/execinfo.h: Likewise.
68486         * include/fcntl.h: Likewise.
68487         * include/fenv.h: Likewise.
68488         * include/glob.h: Likewise.
68489         * include/grp.h: Likewise.
68490         * include/libintl.h: Likewise.
68491         * include/mntent.h: Likewise.
68492         * include/netdb.h: Likewise.
68493         * include/pwd.h: Likewise.
68494         * include/rpc/netdb.h: Likewise.
68495         * include/sched.h: Likewise.
68496         * include/search.h: Likewise.
68497         * include/shadow.h: Likewise.
68498         * include/signal.h: Likewise.
68499         * include/stdio.h: Likewise.
68500         * include/stdlib.h: Likewise.
68501         * include/string.h: Likewise.
68502         * include/sys/socket.h: Likewise.
68503         * include/sys/stat.h: Likewise.
68504         * include/sys/statfs.h: Likewise.
68505         * include/sys/statvfs.h: Likewise.
68506         * include/sys/syslog.h: Likewise.
68507         * include/sys/time.h: Likewise.
68508         * include/sys/uio.h: Likewise.
68509         * include/time.h: Likewise.
68510         * include/unistd.h: Likewise.
68511         * include/utmp.h: Likewise.
68512         * include/wchar.h: Likewise.
68513         * include/wctype.h: Likewise.
68514         * inet/aliases.h: Likewise.
68515         * inet/arpa/inet.h: Likewise.
68516         * inet/netinet/ether.h: Likewise.
68517         * inet/netinet/in.h: Likewise.
68518         * intl/libintl.h: Likewise.
68519         * io/bits/fcntl2.h: Likewise.
68520         * io/fcntl.h: Likewise.
68521         * io/ftw.h: Likewise.
68522         * io/sys/poll.h: Likewise.
68523         * io/sys/stat.h: Likewise.
68524         * io/sys/statfs.h: Likewise.
68525         * io/sys/statvfs.h: Likewise.
68526         * io/utime.h: Likewise.
68527         * libio/bits/stdio.h: Likewise.
68528         * libio/bits/stdio2.h: Likewise.
68529         * libio/libio.h: Likewise.
68530         * libio/libioP.h: Likewise.
68531         * libio/stdio.h: Likewise.
68532         * locale/lc-ctype.c: Likewise.
68533         * locale/locale.h: Likewise.
68534         * login/utmp.h: Likewise.
68535         * malloc/arena.c: Likewise.
68536         * malloc/malloc.c: Likewise.
68537         * malloc/malloc.h: Likewise.
68538         * malloc/mcheck.c: Likewise.
68539         * malloc/mtrace.c: Likewise.
68540         * math/bits/mathcalls.h: Likewise.
68541         * math/fenv.h: Likewise.
68542         * math/math_private.h: Likewise.
68543         * misc/bits/error.h: Likewise.
68544         * misc/bits/syslog.h: Likewise.
68545         * misc/err.h: Likewise.
68546         * misc/error.h: Likewise.
68547         * misc/fstab.h: Likewise.
68548         * misc/mntent.h: Likewise.
68549         * misc/regexp.h: Likewise.
68550         * misc/search.h: Likewise.
68551         * misc/sgtty.h: Likewise.
68552         * misc/sys/mman.h: Likewise.
68553         * misc/sys/syslog.h: Likewise.
68554         * misc/sys/uio.h: Likewise.
68555         * misc/sys/xattr.h: Likewise.
68556         * misc/ttyent.h: Likewise.
68557         * nis/rpcsvc/ypclnt.h: Likewise.
68558         * nss/nss.h: Likewise.
68559         * posix/bits/unistd.h: Likewise.
68560         * posix/fnmatch.h: Likewise.
68561         * posix/glob.h: Likewise.
68562         * posix/sched.h: Likewise.
68563         * posix/spawn.h: Likewise.
68564         * posix/sys/wait.h: Likewise.
68565         * posix/unistd.h: Likewise.
68566         * posix/wordexp.h: Likewise.
68567         * pwd/pwd.h: Likewise.
68568         * resolv/netdb.h: Likewise.
68569         * resource/sys/resource.h: Likewise.
68570         * rt/aio.h: Likewise.
68571         * rt/bits/mqueue2.h: Likewise.
68572         * rt/mqueue.h: Likewise.
68573         * shadow/shadow.h: Likewise.
68574         * signal/signal.h: Likewise.
68575         * socket/send.c: Likewise.
68576         * socket/sendto.c: Likewise.
68577         * socket/sys/socket.h: Likewise.
68578         * stdio-common/printf.h: Likewise.
68579         * stdlib/bits/stdlib.h: Likewise.
68580         * stdlib/fmtmsg.h: Likewise.
68581         * stdlib/monetary.h: Likewise.
68582         * stdlib/stdlib.h: Likewise.
68583         * stdlib/ucontext.h: Likewise.
68584         * streams/stropts.h: Likewise.
68585         * string/argz.h: Likewise.
68586         * string/bits/string2.h: Likewise.
68587         * string/string.h: Likewise.
68588         * string/strings.h: Likewise.
68589         * sunrpc/rpc/auth.h: Likewise.
68590         * sunrpc/rpc/auth_des.h: Likewise.
68591         * sunrpc/rpc/clnt.h: Likewise.
68592         * sunrpc/rpc/netdb.h: Likewise.
68593         * sunrpc/rpc/pmap_clnt.h: Likewise.
68594         * sunrpc/rpc/xdr.h: Likewise.
68595         * sysdeps/generic/inttypes.h: Likewise.
68596         * sysdeps/generic/net/if.h: Likewise.
68597         * sysdeps/generic/sys/swap.h: Likewise.
68598         * sysdeps/gnu/net/if.h: Likewise.
68599         * sysdeps/gnu/utmpx.h: Likewise.
68600         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68601         * sysdeps/i386/i486/bits/string.h: Likewise.
68602         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68603         * sysdeps/s390/bits/string.h: Likewise.
68604         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68605         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68606         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68607         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68608         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68609         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68610         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68611         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68612         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68613         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68614         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68615         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68616         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68617         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68618         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68619         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68620         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68622         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68624         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68625         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68626         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68627         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68628         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68629         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68630         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68631         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68632         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68633         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68634         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68635         * sysvipc/sys/ipc.h: Likewise.
68636         * sysvipc/sys/msg.h: Likewise.
68637         * sysvipc/sys/sem.h: Likewise.
68638         * sysvipc/sys/shm.h: Likewise.
68639         * termios/termios.h: Likewise.
68640         * time/sys/time.h: Likewise.
68641         * time/time.h: Likewise.
68642         * wcsmbs/bits/wchar2.h: Likewise.
68643         * wcsmbs/uchar.h: Likewise.
68644         * wcsmbs/wchar.h: Likewise.
68645         * wctype/wctype.h: Likewise.
68647         [BZ #13551]
68648         * Makeconfig: Remove all but ELF support including AIX support.
68649         * Makerules: Likewise.
68650         * config.h.in: Likewise.
68651         * config.make.in: Likewise.
68652         * configure: Likewise.
68653         * configure.in: Likewise.
68654         * csu/Makefile: Likewise.
68655         * csu/version.c: Likewise.
68656         * debug/Makefile: Likewise.
68657         * dlfcn/Makefile: Likewise.
68658         * elf/Makefile: Likewise.
68659         * extra-lib.mk: Likewise.
68660         * iconv/Makefile: Likewise.
68661         * include/libc-symbols.h: Likewise.
68662         * include/shlib-compat.h: Likewise.
68663         * resolv/Makefile: Likewise.
68664         * resolv/res_libc.c: Likewise.
68665         * rt/Makefile: Likewise.
68666         * sysdeps/i386/asm-syntax.h: Likewise.
68667         * sysdeps/i386/sysdep.h: Likewise.
68668         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68669         * sysdeps/mach/sysdep.h: Likewise.
68670         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68671         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68672         * sysdeps/s390/asm-syntax.h: Likewise.
68673         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68674         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68675         * sysdeps/sh/sysdep.h: Likewise.
68676         * sysdeps/unix/sparc/sysdep.h: Likewise.
68677         * sysdeps/wordsize-32/divdi3.c: Likewise.
68678         * sysdeps/x86_64/sysdep.h: Likewise.
68680         * argp/Versions: Remove _argp_unlock_xxx.
68682         [BZ #13559]
68683         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68684         * abilist/libBrokenLocale.abilist: Likewise.
68685         * abilist/libanl.abilist: Likewise.
68686         * abilist/libc.abilist: Likewise.
68687         * abilist/libcrypt.abilist: Likewise.
68688         * abilist/libdl.abilist: Likewise.
68689         * abilist/libm.abilist: Likewise.
68690         * abilist/libnsl.abilist: Likewise.
68691         * abilist/libpthread.abilist: Likewise.
68692         * abilist/libresolv.abilist: Likewise.
68693         * abilist/librt.abilist: Likewise.
68694         * abilist/libthread_db.abilist: Likewise.
68695         * abilist/libutil.abilist: Likewise.
68696         * abilist/libnss_db.abilist: New file.
68698         * scripts/abilist.awk: Add support for indirect functions.
68700         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68702         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68704         * shlib-versions: Remove entries for ports architectures.
68706         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68707         files in ports.
68708         * elf/stackguard-macros.h: Remove support for IA-64.
68709         * elf/tst-auditmod1.c: Likewise.
68710         * sysdeps/generic/ldsodefs.h: Likewise.
68712         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68713         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68714         configure files.
68716         [BZ #13552]
68717         * configure.in: Remove --enable-omitfp support.
68718         * FAQ.in: Adjust.
68719         * config.make.in: Likewise.
68720         * Makeconfig: Likewise.
68721         * manual/install.texi: Likewise.
68723         In case anyone cares, the IA-64 architecture could move to ports.
68724         * sysdeps/ia64/*: Removed.
68725         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68726         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68728         [BZ #13555]
68729         * configure.in: Remove entries for unsupported architectures.
68731         [BZ #13533]
68732         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68733         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68734         routines.
68735         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68736         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68737         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68738         fall back to using wcrtomb.
68739         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68740         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68741         renaming.
68742         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68743         * wcsmbs/tst-c16c32-1.c: New file.
68745         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68746         local variable.
68748         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68750         * elf/tst-unique3.cc: Add explicit declaration of gets.
68751         * elf/tst-unique3lib.cc: Likewise.
68752         * elf/tst-unique3lib2.cc: Likewise.
68753         * elf/tst-unique4.cc: Likewise.
68755         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68757 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68759         [BZ #13566]
68760         * assert/assert.h (static_assert): Don't define for C++.
68761         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68762         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68764 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68766         * iconv/loop.c (single loop): Fix assertion in storing of
68767         remaining bytes.
68769         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68771 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68773         * posix/getconf.c: Update copyright year.
68774         * nss/getent.c: Likewise.
68775         * nss/makedb.c: Likewise.
68776         * iconv/iconvconfig.c: Likewise.
68777         * iconv/iconv_prog.c: Likewise.
68778         * elf/ldconfig.c: Likewise.
68779         * elf/pldd.c: Likewise.
68780         * elf/sotruss.ksh: Likewise.
68781         * catgets/gencat.c: Likewise.
68782         * csu/version.c: Likewise.
68783         * elf/ldd.bash.in: Likewise.
68784         * elf/sprof.c (print_version): Likewise.
68785         * locale/programs/locale.c: Likewise.
68786         * locale/programs/localedef.c: Likewise.
68787         * login/programs/pt_chown.c: Likewise.
68788         * nscd/nscd.c (print_version): Likewise.
68789         * debug/xtrace.sh: Likewise.
68790         * malloc/memusage.sh: Likewise.
68791         * malloc/mtrace.pl: Likewise.
68792         * debug/catchsegv.sh: Likewise.
68794 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68796         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68797         pure attribute.
68799 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68801         [BZ #13533]
68802         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68803         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68804         transformations.
68805         * iconv/gconv_int.h: Likewise.
68806         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68807         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68808         from libc for GLIBC_2.16.
68809         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68810         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68811         * wcsmbs/uchar.h: Really define mbstate_t.
68812         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68813         * wcsmbs/c16rtomb.c: New file.
68814         * wcsmbs/mbrtoc16.c: New file.
68815         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68816         for C/POSIX locale.
68817         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68818         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68820         * wcsmbs/wchar.h: Add missing __restrict.
68822 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68824         [BZ #13532]
68825         * time/Makefile (routines): Add timespec_get.
68826         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68827         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68828         timespec for ISO C11.
68829         * time/timespec_get.c: New file.
68830         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68831         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68833         [BZ #13531]
68834         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68835         * stdlib/stdlib.h: Declare aligned_alloc.
68836         * Versions.def: Add GLIBC_2.16 for libc.
68837         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68839         [BZ 13527]
68840         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68841         ISO C11.
68843         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68844         code.
68846         [BZ #13528]
68847         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68849         [BZ #13529]
68850         * assert/assert.h (static_assert): Define.
68852         * version.h: Update for 2.16 development version.
68854         [BZ #13526]
68855         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68856         _ISOC11_SOURCE.
68858         * version.h (RELEASE): Bump for 2.15 release.
68859         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68861         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68862         Patch by Marek Polacek <mpolacek@redhat.com>.
68864         * bits/byteswap.h: Protect long long constants with __extension__.
68865         * sysdeps/i386/bits/byteswap.h: Likewise.
68866         * sysdeps/ia64/bits/byteswap.h: Likewise.
68867         * sysdeps/s390/bits/byteswap.h: Likewise.
68868         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68870 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68872         [BZ #13540]
68873         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68874         destination buffer.
68875         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68877 2011-12-23  Marek Polacek  <polacek@redhat.com>
68879         * elf/dl-addr.c (determine_info): Add inline keyword.
68880         * elf/tst-auditmod4b.c (check_avx): Likewise.
68881         * elf/tst-auditmod6b.c (check_avx): Likewise.
68882         * elf/tst-auditmod6c.c (check_avx): Likewise.
68883         * elf/tst-auditmod7b.c (check_avx): Likewise.
68885 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68887         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68888         !__SSE_MATH__.
68890 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68892         [BZ #13540]
68893         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68894         processing for last bytes.
68896 2011-08-06  Bruno Haible  <bruno@clisp.org>
68898         [BZ #13061]
68899         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68900         U+0385, not to U+1FEE.
68902         [BZ #13062]
68903         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68904         entry for U+00A5 U+0301.
68906 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68908         [BZ #13166]
68909         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68910         buffer for the output is too small.
68912         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68913         optimization.
68915         [BZ #13185]
68916         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68917         SSE flags if possible.
68919 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68921         [BZ #13540]
68922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68923         processing for last bytes.
68925 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68927         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68928         (syscall-list-default-options, syscall-list-default-condition)
68929         (syscall-list-includes): Define.
68930         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68931         list of ABIs and options and #if conditions for each ABI.  Do not
68932         handle common syscalls between ABIs specially.
68933         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68934         Remove.
68935         (syscall-list-variants, syscall-list-32bit-options)
68936         (syscall-list-32bit-condition, syscall-list-64bit-options)
68937         (syscall-list-64bit-condition): Define.
68938         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68939         (syscall-list-variants, syscall-list-32bit-options)
68940         (syscall-list-32bit-condition, syscall-list-64bit-options)
68941         (syscall-list-64bit-condition): Define.
68942         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68943         Remove.
68944         (syscall-list-variants, syscall-list-32bit-options)
68945         (syscall-list-32bit-condition, syscall-list-64bit-options)
68946         (syscall-list-64bit-condition): Define.
68947         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68948         Remove.
68949         (syscall-list-variants, syscall-list-32bit-options)
68950         (syscall-list-32bit-condition, syscall-list-64bit-options)
68951         (syscall-list-64bit-condition): Define.
68953 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68955         * locale/iso-639.def: Add brx entry.
68957         [BZ #13328]
68958         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68959         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68961         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68962         __feraiseexcept_renamed.
68964 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68966         [BZ #13538]
68967         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68968         EPOLLET with unsigned values.
68969         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68970         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68972         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68973         to large cancellation.
68974         * math/s_cacoshf.c: Likewise.
68975         * math/s_cacoshl.c: Likewise.
68977 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68979         [BZ #13305]
68980         [BZ #12786]
68981         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68982         * math/s_cacoshf.c: Likewise.
68983         * math/s_cacoshl.c: Likewise.
68985 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68987         [BZ #13439]
68988         * iconv/gconv.h: Define __GCONV_SWAP.
68989         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68990         * iconvdata/utf-16.c: Likewise.
68991         * iconvdata/utf-32.c: Likewise.
68993 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68995         [BZ #13524]
68996         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68997         numerator after shifting it by one limb.
68999 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69001         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69002         under [__USE_EXTERN_INLINES].
69004 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69006         [BZ #13446]
69007         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69009 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69011         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69012         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69013         optimized code.
69014         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69015         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69016         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69017         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69018         for strncasecmp/strncasecmp_l compilation.
69019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69020         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69022 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69024         [BZ #13484]
69025         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69026         of __asm__.
69028 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69030         [BZ #13506]
69031         * time/tzfile.c (__tzfile_read): Check values from file header.
69033 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69035         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69036         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69037         * powerpc/powerpc32/dl-start.S: Likewise.
69038         * powerpc/powerpc32/elf/start.S: Likewise.
69039         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69040         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69041         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69042         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69043         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69044         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69045         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69046         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69047         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69048         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69049         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69050         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69051         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69052         * powerpc/powerpc32/memset.S: Likewise.
69053         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69054         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69055         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69056         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69057         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69058         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69059         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69060         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69061         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69062         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69063         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69064         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69065         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69067 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69069         * math/libm-test.inc: Added more nearbyint tests.
69070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69071         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69073         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69075 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69077         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69078         FD_CLOEXEC.
69080 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69082         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69083         Add wcscpy-ssse3 wcscpy-c.
69084         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69085         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69086         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69087         * sysdeps/x86_64/wcschr.S: New file.
69088         * sysdeps/x86_64/wcsrchr.S: New file.
69089         * string/test-strcmp.c: Remove checking of wcscmp function for
69090         wrong alignments.
69091         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69092         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69093         wcsrchr-sse2 wcsrchr-c.
69094         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69095         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69096         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69097         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69098         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69099         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69100         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69101         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69102         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69103         * wcsmbc/wcschr.c (WCSCHR): New macro.
69105 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69107         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69108         * wcsmbs/test-wcsrchr.c: New file.
69109         * string/test-strrchr.c: Add wcsrchr support.
69110         (WIDE): New macro.
69111         * wcsmbs/test-wcscpy.c: New file.
69112         * string/test-strcpy.c: Add wcscpy support.
69113         (WIDE): New macro.
69115 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69117         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69118         the inner loop.
69120 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69122         [BZ #13472]
69123         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69125 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69127         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69128         Minor optimizations.
69130         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69131         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69132         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69134 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69136         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69137         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69138         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69139         for gcc to avoid warnings.
69140         * inet/Makefile (tests): Add tst-checks.
69141         * inet/tst-checks.c: New file.
69143         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69144         warning.
69146         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69147         __wmemcmp_sse2.
69149         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69150         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69152         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69154 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69156         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69157         problem.
69159         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69161 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69163         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69164         conditional on GCC version.
69165         (__arch_compare_and_exchange_val_8_acq)
69166         (__arch_compare_and_exchange_val_16_acq)
69167         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69168         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69169         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69171 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69173         * sysdeps/sh/backtrace.c: New file.
69175 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69177         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69178         parenthesis.
69180 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69182         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69183         falling back to utime.
69185 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69187         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69188         expectations for float.
69190 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69192         * locale/weight.h (findidx): Add parameter len.
69193         * locale/weightwc.h (findidx): Likewise.
69194         * posix/fnmatch_loop.c (FCT): Adjust caller.
69195         * posix/regcomp.c (build_equiv_class): Likewise.
69196         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69197         * posix/regexec.c (check_node_accept_bytes): Likewise.
69198         * string/strcoll_l.c (STRCOLL): Likewise.
69199         * string/strxfrm_l.c (STRXFRM): Likewise.
69201 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69203         * Makefile.in: Remove CVSOPT handling.
69204         * configure.in: Remove use of AC_REVISION.
69205         * iconvdata/Makefile (distribute): No need to filter out CVS.
69206         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69207         handling.
69209 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69211         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69212         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69213         [USE_AS_STRNCASECMP_L]: Likewise.
69214         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69215         NO_TLS_DIRECT_SEG_REFS.
69216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69217         Fix argument offsets for non-PIC.
69218         [USE_AS_STRNCASECMP_L]: Likewise.
69219         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69220         NO_TLS_DIRECT_SEG_REFS.
69222 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69224         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69225         O_CLOEXEC.
69226         * locale/loadlocale.c (_nl_load_locale): Likewise.
69228 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69230         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69231         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69232         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69233         (SYSCALL_GETTIME): Set errno on error.
69235         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69236         count references to noai6ai_cached.
69238 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69240         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69242         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69243         FD_CLOEXEC for /proc/self/maps.
69245         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69246         FD_CLOEXEC for /proc/meminfo.
69248         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69249         gai.conf.
69251         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69252         FD_CLOEXEC for given file.
69254         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69256         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69257         FD_CLOEXEC for /etc/hosts.
69258         (_gethtent): Likewise.
69260         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69262         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69263         cancellation and set FD_CLOEXEC for /etc/netgroup.
69265         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69266         reading /etc/publickey.
69268         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69269         allow cancellation when reading /etc/group.
69271         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69272         cancellation.
69273         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69275         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69276         when using data file.
69278         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69280         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69281         (write_nis_obj): Use "c" and "e" in fopen.
69283         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69285         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69287         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69289         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69291         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69292         locale.alias.
69294         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69296         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69298         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69300         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69301         file parsing and set FD_CLOEXEC.
69303 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69305         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69307 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69309         * malloc/arena.c (arena_get2): Don't call reused_arena when
69310         _int_new_arena failed.
69312 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69314         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69315         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69316         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69317         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69318         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69319         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69320         to compile strcasecmp and strncasecmp.
69321         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69322         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69324         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69326 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69328         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69329         locale-defines.sym to gen-as-const-headers.
69330         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69331         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69333         to compile strcasecmp and strncasecmp.
69334         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69335         strcasecmp_l and strncasecmp_l.
69336         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69337         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69338         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69339         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69340         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69341         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69342         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69343         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69344         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69345         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69346         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69348 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69350         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69351         result of SYSDEP_GETTIME_CPU to retval.
69352         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69353         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69355         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69356         variable.
69358         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69359         mantissa words.
69360         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69362         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69363         from unused variable.
69365         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69366         DWARF definitions.
69367         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69368         for assembling.
69370         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69371         over namespaces.
69373         * sunrpc/rpc_prot.c (rejected): Fix case value.
69375         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69376         unsigned long long int to avoid warnings in shift.
69378         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69379         of use of trans.
69380         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69381         variable tmp.
69383         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69384         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69385         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69387         * nis/nis_table.c (nis_list): Use variable of correct type for
69388         result of __follow_path call.
69390 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69392         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69393         of math functions ceil, trunc, floor, round, and sqrt, when
69394         avaliable on the platform.
69395         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69396         name clash.
69397         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69398         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69399         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69401 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69403         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69404         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69406 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69408         * include/unistd.h: Fix __readlink return type.
69409         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69411 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69413         * stdlib/ucontext.h: Undo last change for makecontext.
69415 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69417         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69419         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69420         * setjmp/setjmp.h: Mark functions as non-leaf.
69421         * setjmp/bits/setjmp2.h: Likewise.
69422         * stdlib/ucontext.h: Likewise.
69424 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69426         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69427         (reused_arena): Don't check arena limit.
69428         (arena_get2): Atomically check arena limit.
69430 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69432         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69433         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69435         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69436         instructions.
69438 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69440         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69441         handler when locking.
69443         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69444         Fix size of allocated buffer.
69446 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69448         [BZ #10103]
69449         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69450         declarations for long double functions.
69451         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69453         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69455 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69457         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69458         installed.
69460         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69461         is disabled.
69463 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69465         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69467 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69469         * include/alloca.h (stackinfo_alloca_round): Define.
69470         (extend_alloca): Use it.
69471         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69472         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69473         here.
69475         * scripts/check-local-headers.sh: Ignore libaudit.h.
69477         * nscd/Makefile (extra-objs): Make recursively expanded.
69479 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69481         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69482         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69484         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69485         * posix/tst-rfc3484-2.c: Likewise.
69486         * posix/tst-rfc3484-3.c: Likewise.
69488         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69489         process_vm_writev.
69490         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69491         process_vm_writev.
69492         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69493         process_vm_writev from libc using GLIBC_2.15 version.
69495         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69497 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69499         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69500         stack usage.
69502 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69504         [BZ #13367]
69505         * nss/getent.c (initgroups_keys): Show error message in case no group
69506         names are given.
69508         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69509         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69510         __bump_nl_timestamp.
69511         * nscd/connections (nscd_init): When host database is served open
69512         netlink socket and request notification about configuration changes.
69513         (main_loop_poll): Track netlink file descriptor and bump timestamp
69514         in case data becomes available.
69515         (main_loop_epoll): Likewise.
69516         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69517         (database_pers_head): Add extra_data fileds.
69518         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69519         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69520         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69521         Adjust caller.
69522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69523         in6ai data, call __free_in6ai.
69524         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69525         Add -DHAVE_NETLINK.
69526         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69527         interface information.  Reuse previous data if netlink timestamp
69528         is not changed.
69529         (__bump_nl_timestamp): New function.
69530         (__free_in6ai): New function.
69532 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69534         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69535         close_not_cancel_no_status here.
69536         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69538 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69540         [BZ #13276]
69541         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69542         return value.
69544         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69545         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69546         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69548 2011-07-03  Andreas Jaeger  <aj@suse.de>
69550         [BZ #10709]
69551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69552         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69553         * math/libm-test.inc (sin_test): Add test case.
69555 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69557         [BZ #13337]
69558         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69559         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69561         * elf/chroot_canon.c (chroot_canon): Cleanups.
69563         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69565         [BZ #13335]
69566         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69567         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69569         * string/test-strchr.c: Make usable for strchrnul testing.
69570         * string/test-strchrnul.c: New file.
69571         * string/Makefile (strop-tests): Add strchrnul.
69573         * po/it.po: Update from translation team.
69574         * po/es.po: Likewise.
69576 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69578         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69579         the three constants needed as parameters.  Drop the others.
69580         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69581         __m128i_strloadu_tolower.
69582         Create and initialize variable zero and use it in all the places
69583         where _mm_setzero_si128 was used.
69585         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69586         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69587         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69588         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69589         anymore.
69590         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69591         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69592         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69593         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69594         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69595         __mpranred, __mptan.
69596         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69597         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69598         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69599         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69600         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69601         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69602         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69603         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69604         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69606 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69608         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69609         redefine if SHARED.
69610         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69613         wide char related routines to wcsmbs subdir.
69615 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69617         [BZ #13344]
69618         * misc/sys/cdefs.h (__THROWNL): Define.
69619         * posix/unistd.h: Use __THREADNL instead of __THREAD
69620         for memory synchronization functions.
69622 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69624         [BZ #13349]
69625         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69626         doesn't exist.
69627         * manual/stdio.texi (Obstack Streams): Node removed.
69629 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69631         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69632         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69633         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69635         * math/math_private.h (math_force_eval): Allow non-addressable
69636         arguments.
69637         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69639 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69641         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69642         file is not needed.
69644         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69646         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69647         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69648         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69649         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69650         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69651         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69652         Add AVX variants.
69653         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69654         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69655         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69656         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69657         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69658         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69659         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69660         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69661         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69662         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69663         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69664         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69665         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69666         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69667         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69668         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69669         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69670         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69671         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69673         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69674         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69676         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69677         place.  Use VEX encoding when compiling for AVX.
69679 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69681         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69682         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69684         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69686 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69688         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69689         useless if() expression.
69690         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69691         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69692         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69693         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69694         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69695         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69696         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69697         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69698         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69699         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69700         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69701         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69702         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69703         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69704         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69705         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69706         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69708         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69710         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69712 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69714         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69715         condition.
69716         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69718 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69720         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69721         .text section.  Avoid duplicate constants.
69722         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69724         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69726         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69727         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69728         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69729         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69730         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69731         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69732         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69733         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69734         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69735         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69736         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69737         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69738         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69739         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69740         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69742         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69743         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69744         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69745         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69746         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69747         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69748         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69749         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69750         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69751         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69752         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69753         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69754         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69755         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69756         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69757         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69758         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69759         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69760         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69761         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69762         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69763         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69764         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69765         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69766         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69768 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69770         * sysdeps/x86_64/dla.h: Move to ...
69771         * sysdeps/x86_64/fpu/dla.h: ...here.
69772         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69773         situations.  Use __builtin_fma only for gcc 4.6 and up.
69775         * config.make.in: Add have-mfma4 entry.
69776         * configure.in: Substitute libc_cv_cc_fma4.
69777         * math/Makefile (dbl-only-routines): Add sincostab.
69778         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69779         Use __sincostab not sincos.
69780         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69781         name is a macro.
69782         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69786         using __copysign.
69787         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69788         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69789         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69790         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69791         and __inv.
69792         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69793         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69794         __copysign.
69795         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69796         define aliases when function name is a macro.
69797         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69798         sysdeps/ieee754/dbl-64/sincos.tbl.
69799         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69800         fma4-enabled routines.
69801         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69802         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69803         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69804         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69805         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69806         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69807         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69808         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69809         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69810         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69811         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69812         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69813         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69814         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69815         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69816         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69817         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69818         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69819         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69820         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69821         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69822         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69823         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69824         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69826         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69827         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69828         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69829         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69830         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69832         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69833         rename.
69834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69840         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69841         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69843 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69845         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69847 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69849         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69851         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69852         prediction.
69853         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69855         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69856         Remove unused variable magic_bits.
69857         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69859         * string/strnlen.c: Define and use STRNLEN macro.
69860         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69861         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69862         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69863         * wcsmbs/wcslen.c: Define and use WCSLEN.
69864         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69865         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69866         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69867         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69868         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69869         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69870         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69872 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69875         strnlen-sse2-no-bsf.
69876         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69878         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69879         Add strnlen support.
69880         (USE_AS_STRNLEN): New macro.
69881         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69882         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69883         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69884         * sysdeps/x86_64/wcslen.S: New file.
69886 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69888         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69889         XMM-moves are used for copying on small sizes.
69891 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69893         * wcsmbs/Makefile (strop-tests): Add wcschr.
69894         * wcsmbs/test-wcschr.c: New file.
69895         * string/test-strchr.c: Update.
69896         Add wcschr support.
69897         (WIDE): New macro.
69899 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69901         * wcsmbs/Makefile (strop-tests): Add wcslen.
69902         * wcsmbs/test-wcslen.c: New file.
69903         * string/test-strlen.c: Update.
69904         Add wcslen support.
69905         (WIDE): New macro.
69907 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69909         * po/it.po: Update from translation team.
69911 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69913         * sysdeps/x86_64/wcscmp.S: Update.
69914         Fix wrong comparison semantics.
69915         wcscmp shall use signed comparison not unsigned.
69916         Don't use substraction to avoid overflow bug.
69917         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69918         * wcsmbc/wcscmp.c: Likewise.
69919         * string/test-strcmp.c: Likewise.
69920         Add new tests to check cases with negative values.
69922 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69924         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69925         * sysdeps/x86_64/dla.h: ...here.  New file.
69926         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69929         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69931         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69936 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69939         __ynl_finite aliases.
69941 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69945         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69946         define DLA_FMA.
69947         [DLA_FMA] (EMULV): Use DLA_FMA.
69948         [DLA_FMA] (MUL12): Use EMULV.
69949         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69950         that are not needed.
69951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69952         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69954         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69959 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69961         * math/s_nan.c: Undef __nan.
69962         * math/s_nanf.c: Undef __nanf.
69963         * math/s_nanl.c: Undef __nanl.
69964         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69965         "math_private.h".
69967 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69969         * math/s_catan.c: Add branch predictions.
69970         * math/s_catanf.c: Likewise.
69971         * math/s_catanh.c: Likewise.
69972         * math/s_catanhf.c: Likewise.
69973         * math/s_catanhl.c: Likewise.
69974         * math/s_catanl.c: Likewise.
69975         * math/s_cexp.c: Likewise.
69976         * math/s_cexpf.c: Likewise.
69977         * math/s_cexpl.c: Likewise.
69978         * math/s_clog.c: Likewise.
69979         * math/s_clog10.c: Likewise.
69980         * math/s_clog10f.c: Likewise.
69981         * math/s_clog10l.c: Likewise.
69982         * math/s_clogf.c: Likewise.
69983         * math/s_clogl.c: Likewise.
69984         * math/s_csqrt.c: Likewise.
69985         * math/s_csqrtf.c: Likewise.
69986         * math/s_csqrtl.c: Likewise.
69987         * math/s_ctanf.c: Likewise.
69988         * math/s_ctanh.c: Likewise.
69989         * math/s_ctanhf.c: Likewise.
69990         * math/s_ctanhl.c: Likewise.
69991         * math/s_ctanl.c: Likewise.
69993         * math/math_private.h: Define __nan, __nanf, __nanl.
69994         * math/s_cacosh.c: Include <math_private.h>.
69995         * math/s_cacoshl.c: Likewise.
69996         * math/s_casinh.c: Likewise.
69997         * math/s_casinhf.c: Likewise.
69998         * math/s_casinhl.c: Likewise.
69999         * math/s_ccos.c: Rely entire on ccosh.
70000         * math/s_ccosf.c: Rely entire on ccoshf.
70001         * math/s_ccosl.c: Rely entirely on ccoshl.
70002         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70003         Remove tests for FE_INVALID.
70004         * math/s_ccoshf.c: Likewise.
70005         * math/s_ccoshl.c: Likewise.
70006         * math/s_csin.c: Likewise.
70007         * math/s_csinf.c: Likewise.
70008         * math/s_csinh.c Likewise.
70009         * math/s_csinhf.c: Likewise.
70010         * math/s_csinhl.c: Likewise.
70011         * math/s_csinl.c: Likewise.
70012         * math/s_ctan.c: Likewise.
70013         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70014         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70015         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70017 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70020         compilation problems.
70022         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70023         __builtin_expect.
70025 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70027         * sysdeps/i386/configure.in: Test for -mfma4 option.
70028         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70029         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70030         COMMON_CPUID_INDEX_80000001.
70031         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70032         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70033         use it if FMA3 is not supported.
70034         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70036         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70037         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70039 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70041         [BZ #12892]
70042         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70043         it would create a cycle with a link time dependency.
70045 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70047         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70048         instruction.
70049         * string/Makefile (strop-tests): Add rawmemchr.
70050         * string/test-rawmemchr.c: New file.
70052         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70053         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70054         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70055         when compiling str{,n}casecmp and when AVX is available.  Hook up
70056         new optimized code in initializers.
70058 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70060         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70061         __feraiseexcept instead of feraiseexcept.
70063 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70065         * math/math_private.h: Define defaults for libc_fetestexcept and
70066         libc_feupdateenv.
70067         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70068         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70069         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70070         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70071         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70072         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70073         libc_fetestexcept and libc_feupdateenv.
70075         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70076         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70077         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70078         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70079         libc_feholdexcept_setround.
70081         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70082         Add s_nearbyint-c and s_nearbyintf-c.
70083         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70084         nearbyintf inlines.
70085         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70086         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70087         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70088         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70090         * math/math_private.h: Define defaults for libc_fegetround,
70091         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70092         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70093         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70094         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70095         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70096         standard functions.
70097         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70098         Remove comments and hacks for old compiler versions.
70099         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70100         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70101         libc_feholdexceptl.
70103 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70105         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70106         (__feraiseexcept_renamed): Add __NTH.
70107         (feraiseexcept): Add __NTH.  Rename local variables to fix
70108         namespace violations.
70110 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70112         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70114         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70116         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70117         recently added interfaces.
70118         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70120         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70121         about macro parameter expansion.
70123         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70124         __NO_MATH_INLINES is defined.  Cleanups.
70126         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70127         and __floorf is target has SSE4.1.
70128         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70129         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70130         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70131         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70133         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70134         name.
70135         (floorf): Likewise.
70137         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70139 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70141         * misc/sys/cdefs.h: Fix last change.
70143         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70144         database lookup.
70146 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70148         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70150         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70151         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70152         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70153         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70154         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70155         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70156         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70157         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70158         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70159         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70160         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70161         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70162         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70163         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70164         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70165         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70166         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70167         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70168         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70169         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70170         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70171         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70173         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70174         ceil, ceilf, floor, floorf.
70176         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70177         Perform IRELATIVE relocations last.
70179         * elf/do-rel.h: Add another parameter nrelative, replacing the
70180         local variable with the same name.  Change name of the function
70181         to end in Rel or Rela (uppercase).
70182         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70183         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70184         elf_dynamic_do_##reloc function.
70186 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70188         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70189         is sufficient, at least on modern CPUs.
70191         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70193         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70194         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70196         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70197         __expl_finite.
70198         * math/bits/math-finite.h: Add entries for exp.
70199         * math/e_expl.c: Add __*_finite alias.
70200         * sysdeps/i386/fpu/e_exp.S: Likewise.
70201         * sysdeps/i386/fpu/e_expf.S: Likewise.
70202         * sysdeps/i386/fpu/e_expl.c: Likewise.
70203         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70204         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70205         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70207         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70208         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70209         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70211         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70212         is sufficient, at least on modern CPUs.
70214         * ctype/ctype-info.c (__ctype_init): Define.
70215         * include/ctype.h (__ctype_init): Declare.
70216         (__ctype_b_loc): The variable is always initialized.
70217         (__ctype_toupper_loc): Likewise.
70218         (__ctype_tolower_loc): Likewise.
70219         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70220         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70222 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70224         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70226         * configure.in: Also look in $cxxmachine/include for C++ system
70227         headers.
70229 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70231         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70232         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70233         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70234         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70235         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70236         (USE_AS_WMEMCMP): New macro.
70237         Fixing indents.
70238         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70239         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70240         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70241         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70242         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70243         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70244         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70245         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70246         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70247         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70248         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70249         (USE_AS_WMEMCMP): New macro.
70250         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70251         * sysdeps/string/test-memcmp.c: Update.
70252         Fix simple_wmemcmp.
70253         Add new tests.
70254         * wcsmbs/wmemcmp.c: Update.
70255         (WMEMCMP): New macro.
70256         Fix overflow bug.
70258 2011-10-12  Andreas Jaeger  <aj@suse.de>
70260         [BZ #13268]
70261         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70263 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70265         * libio/iofwide.c (do_length): Avoid warning.
70267         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70269 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70271         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70273         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70274         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70275         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70276         * sysdeps/i386/i686/fpu/e_log.S: New file.
70277         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70278         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70280         * ctype/ctype.h: Add support for inlined isXXX functions when
70281         compiling C++ code.
70283 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70285         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70287         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70289 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70291         [BZ #13291]
70292         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70294 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70296         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70297         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70298         feraiseexcept.
70300         * sysdeps/x86_64/memrchr.S: Check for zero size.
70302         * string/stratcliff.c: Add memrchr tests.
70304 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70306         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70307         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70308         rawmemchr-sse2 rawmemchr-sse2-bsf.
70309         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70310         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70311         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70312         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70313         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70314         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70315         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70316         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70317         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70318         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70319         * string/memrchr.c (MEMRCHR): New macro.
70321 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70323         Add integration with gcc's -ffinite-math-only and optimize wrapper
70324         functions in libm.
70325         * Versions.def: Define GLIBC_2.15 version for libm.
70326         * math/Makefile (headers): Add bits/math-finite.h.
70327         * math/bits/math-finite.h: New file.
70328         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70329         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70330         * math/e_acoshl.c: Add __*_finite alias.
70331         * math/e_acosl.c: Likewise.
70332         * math/e_asinl.c: Likewise.
70333         * math/e_atan2l.c: Likewise.
70334         * math/e_atanhl.c: Likewise.
70335         * math/e_coshl.c: Likewise.
70336         * math/e_exp10.c: Likewise.
70337         * math/e_exp10f.c: Likewise.
70338         * math/e_exp10l.c: Likewise.
70339         * math/e_exp2l.c: Likewise.
70340         * math/e_fmodl.c: Likewise.
70341         * math/e_gammal_r.c: Likewise.
70342         * math/e_hypotl.c: Likewise.
70343         * math/e_j0l.c: Likewise.
70344         * math/e_j1l.c: Likewise.
70345         * math/e_jnl.c: Likewise.
70346         * math/e_lgammal_r.c: Likewise.
70347         * math/e_log10l.c: Likewise.
70348         * math/e_log2l.c: Likewise.
70349         * math/e_logl.c: Likewise.
70350         * math/e_powl.c: Likewise.
70351         * math/e_sinhl.c: Likewise.
70352         * math/e_sqrtl.c: Likewise.
70353         * math/e_scalb.c: Completely rewritten and optimized.
70354         * math/e_scalbf.c: Likewise.
70355         * math/e_scalbl.c: Likewise.
70356         * math/w_acos.c: Likewise.
70357         * math/w_acosf.c: Likewise.
70358         * math/w_acosl.c: Likewise.
70359         * math/w_acosh.c: Likewise.
70360         * math/w_acoshf.c: Likewise.
70361         * math/w_acoshl.c: Likewise.
70362         * math/w_asin.c: Likewise.
70363         * math/w_asinf.c: Likewise.
70364         * math/w_asinl.c: Likewise.
70365         * math/w_atan2.c: Likewise.
70366         * math/w_atan2f.c: Likewise.
70367         * math/w_atan2l.c: Likewise.
70368         * math/w_atanh.c: Likewise.
70369         * math/w_atanhf.c: Likewise.
70370         * math/w_atanhl.c: Likewise.
70371         * math/w_exp10.c: Likewise.
70372         * math/w_exp10f.c: Likewise.
70373         * math/w_exp10l.c: Likewise.
70374         * math/w_fmod.c: Likewise.
70375         * math/w_fmodf.c: Likewise.
70376         * math/w_fmodl.c: Likewise.
70377         * math/w_j0.c: Likewise.
70378         * math/w_j0f.c: Likewise.
70379         * math/w_j0l.c: Likewise.
70380         * math/w_j1.c: Likewise.
70381         * math/w_j1f.c: Likewise.
70382         * math/w_j1l.c: Likewise.
70383         * math/w_jn.c: Likewise.
70384         * math/w_jnf.c: Likewise.
70385         * math/w_log.c: Likewise.
70386         * math/w_logf.c: Likewise.
70387         * math/w_logl.c: Likewise.
70388         * math/w_log10.c: Likewise.
70389         * math/w_log10f.c: Likewise.
70390         * math/w_log10l.c: Likewise.
70391         * math/w_log2.c: Likewise.
70392         * math/w_log2f.c: Likewise.
70393         * math/w_log2l.c: Likewise.
70394         * math/w_pow.c: Likewise.
70395         * math/w_powf.c: Likewise.
70396         * math/w_powl.c: Likewise.
70397         * math/w_remainder.c: Likewise.
70398         * math/w_remainderf.c: Likewise.
70399         * math/w_remainderl.c: Likewise.
70400         * math/w_scalb.c: Likewise.
70401         * math/w_scalbf.c: Likewise.
70402         * math/w_scalbl.c: Likewise.
70403         * math/w_sqrt.c: Likewise.
70404         * math/w_sqrtf.c: Likewise.
70405         * math/w_sqrtl.c: Likewise.
70406         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70407         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70408         used.
70409         * math/math_private.h: Declare __kernel_standard_f.
70410         * math/w_cosh.c: Remove cruft and optimize a bit.
70411         * math/w_coshf.c: Likewise.
70412         * math/w_coshl.c: Likewise.
70413         * math/w_exp2.c: Likewise.
70414         * math/w_exp2f.c: Likewise.
70415         * math/w_exp2l.c: Likewise.
70416         * math/w_hypot.c: Likewise.
70417         * math/w_hypotf.c: Likewise.
70418         * math/w_hypotl.c: Likewise.
70419         * math/w_lgamma.c: Likewise.
70420         * math/w_lgamma_r.c: Likewise.
70421         * math/w_lgammaf.c: Likewise.
70422         * math/w_lgammaf_r.c: Likewise.
70423         * math/w_lgammal.c: Likewise.
70424         * math/w_lgammal_r.c: Likewise.
70425         * math/w_sinh.c: Likewise.
70426         * math/w_sinhf.c: Likewise.
70427         * math/w_sinhl.c: Likewise.
70428         * math/w_tgamma.c: Likewise.
70429         * math/w_tgammaf.c: Likewise.
70430         * math/w_tgammal.c: Likewise.
70431         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70432         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70433         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70434         Minor optimizations.  Pretty printing.  Remove cruft.
70435         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70436         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70437         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70438         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70439         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70440         * sysdeps/i386/fpu/e_asin.S: Likewise.
70441         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70442         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70443         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70444         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70445         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70446         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70447         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70448         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70449         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70450         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70451         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70452         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70453         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70454         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70455         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70456         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70457         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70458         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70459         * sysdeps/i386/fpu/e_log.S: Likewise.
70460         * sysdeps/i386/fpu/e_log10.S: Likewise.
70461         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70462         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70463         * sysdeps/i386/fpu/e_log2.S: Likewise.
70464         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70465         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70466         * sysdeps/i386/fpu/e_logf.S: Likewise.
70467         * sysdeps/i386/fpu/e_logl.S: Likewise.
70468         * sysdeps/i386/fpu/e_pow.S: Likewise.
70469         * sysdeps/i386/fpu/e_powf.S: Likewise.
70470         * sysdeps/i386/fpu/e_powl.S: Likewise.
70471         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70472         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70473         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70475         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70476         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70477         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70478         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70479         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70480         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70481         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70483         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70484         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70485         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70486         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70487         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70488         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70489         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70490         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70491         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70501         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70502         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70503         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70504         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70505         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70506         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70507         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70508         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70509         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70510         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70511         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70512         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70513         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70514         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70515         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70516         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70517         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70518         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70519         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70520         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70522         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70523         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70524         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70525         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70526         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70527         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70528         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70529         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70530         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70531         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70533         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70535         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70536         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70537         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70538         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70539         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70560         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70571         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70572         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70573         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70574         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70575         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70576         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70577         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70578         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70579         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70580         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70581         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70582         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70583         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70584         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70585         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70586         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70587         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70588         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70589         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70590         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70591         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70592         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70593         (__isnanf): Likewise.
70594         (__isinf_ns): Likewise.
70595         (__isinf_nsf): Likewise.
70596         (__finite): Likewise.
70597         (__finitef): Likewise.
70598         (__ieee754_sqrt): Define as macro.
70599         (__ieee754_sqrtf): Define as macro.
70600         (__ieee754_sqrtl): Define as macro.
70601         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70602         inlined copy.
70603         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70604         __FINITE_MATH_ONLY__ consistent.
70605         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70607 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70609         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70610         of rawmemchr.
70612         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70614 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70616         * po/ja.po: Update from translation team.
70618 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70620         * locale/programs/locarchive.c (prepare_address_space): New function.
70621         (create_archive, enlarge_archive, open_archive): Use it.
70623         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70624         inside [SHARED], where it is used.
70626         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70628         * nss/getent.c (netgroup_keys): Remove unused variable.
70629         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70631 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70633         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70634         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70635         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70636         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70637         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70638         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70639         * math/Makefile (libm-calls): Add s_isinf_ns.
70640         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70641         * math/multc3.c: Likewise.
70642         * math/s_casin.c: Likewise.
70643         * math/s_casinf.c: Likewise.
70644         * math/s_casinl.c: Likewise.
70645         * math/s_ccos.c: Likewise.
70646         * math/s_ccosf.c: Likewise.
70647         * math/s_ccosl.c: Likewise.
70648         * math/s_ctan.c: Likewise.
70649         * math/s_ctanf.c: Likewise.
70650         * math/s_ctanh.c: Likewise.
70651         * math/s_ctanhf.c: Likewise.
70652         * math/s_ctanhl.c: Likewise.
70653         * math/s_ctanl.c: Likewise.
70654         * math/w_fmod.c: Likewise.
70655         * math/w_fmodf.c: Likewise.
70656         * math/w_fmodl.c: Likewise.
70657         * math/w_remainder.c: Likewise.
70658         * math/w_remainderf.c: Likewise.
70659         * math/w_remainderl.c: Likewise.
70660         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70661         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70662         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70663         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70664         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70665         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70666         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70667         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70669         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70670         of the number.
70671         * stdio-common/printf_fphex.c: Likewise.
70672         * stdio-common/printf_size.c: Likewise.
70674         * math/e_exp10.c: Include math_private.h using <...> not "...".
70675         * math/e_exp10f.c: Likewise.
70676         * math/e_exp10l.c: Likewise.
70677         * math/e_exp2l.c: Likewise.
70678         * math/e_j0l.c: Likewise.
70679         * math/e_j1l.c: Likewise.
70680         * math/e_jnl.c: Likewise.
70681         * math/e_lgammal_r.c: Likewise.
70682         * math/e_rem_pio2l.c: Likewise.
70683         * math/e_scalb.c: Likewise.
70684         * math/e_scalbf.c: Likewise.
70685         * math/e_scalbl.c: Likewise.
70686         * math/k_cosl.c: Likewise.
70687         * math/k_sinl.c: Likewise.
70688         * math/k_tanl.c: Likewise.
70689         * math/s_cacoshf.c: Likewise.
70690         * math/s_catan.c: Likewise.
70691         * math/s_catanf.c: Likewise.
70692         * math/s_catanh.c: Likewise.
70693         * math/s_catanhf.c: Likewise.
70694         * math/s_catanhl.c: Likewise.
70695         * math/s_catanl.c: Likewise.
70696         * math/s_ccosh.c: Likewise.
70697         * math/s_ccoshf.c: Likewise.
70698         * math/s_ccoshl.c: Likewise.
70699         * math/s_cexp.c: Likewise.
70700         * math/s_cexpf.c: Likewise.
70701         * math/s_cexpl.c: Likewise.
70702         * math/s_clog.c: Likewise.
70703         * math/s_clog10.c: Likewise.
70704         * math/s_clog10f.c: Likewise.
70705         * math/s_clog10l.c: Likewise.
70706         * math/s_clogf.c: Likewise.
70707         * math/s_clogl.c: Likewise.
70708         * math/s_csin.c: Likewise.
70709         * math/s_csinf.c: Likewise.
70710         * math/s_csinh.c: Likewise.
70711         * math/s_csinhf.c: Likewise.
70712         * math/s_csinhl.c: Likewise.
70713         * math/s_csinl.c: Likewise.
70714         * math/s_csqrt.c: Likewise.
70715         * math/s_csqrtf.c: Likewise.
70716         * math/s_csqrtl.c: Likewise.
70717         * math/s_ctan.c: Likewise.
70718         * math/s_ctanf.c: Likewise.
70719         * math/s_ctanh.c: Likewise.
70720         * math/s_ctanhf.c: Likewise.
70721         * math/s_ctanhl.c: Likewise.
70722         * math/s_ctanl.c: Likewise.
70723         * math/s_ldexp.c: Likewise.
70724         * math/s_ldexpf.c: Likewise.
70725         * math/s_ldexpl.c: Likewise.
70726         * math/s_significand.c: Likewise.
70727         * math/s_significandf.c: Likewise.
70728         * math/s_significandl.c: Likewise.
70729         * math/w_acos.c: Likewise.
70730         * math/w_acosf.c: Likewise.
70731         * math/w_acosh.c: Likewise.
70732         * math/w_acoshf.c: Likewise.
70733         * math/w_acoshl.c: Likewise.
70734         * math/w_acosl.c: Likewise.
70735         * math/w_asin.c: Likewise.
70736         * math/w_asinf.c: Likewise.
70737         * math/w_asinl.c: Likewise.
70738         * math/w_atan2.c: Likewise.
70739         * math/w_atan2f.c: Likewise.
70740         * math/w_atan2l.c: Likewise.
70741         * math/w_atanh.c: Likewise.
70742         * math/w_atanhf.c: Likewise.
70743         * math/w_atanhl.c: Likewise.
70744         * math/w_cosh.c: Likewise.
70745         * math/w_coshf.c: Likewise.
70746         * math/w_coshl.c: Likewise.
70747         * math/w_dremf.c: Likewise.
70748         * math/w_exp10.c: Likewise.
70749         * math/w_exp10f.c: Likewise.
70750         * math/w_exp10l.c: Likewise.
70751         * math/w_exp2.c: Likewise.
70752         * math/w_exp2f.c: Likewise.
70753         * math/w_fmod.c: Likewise.
70754         * math/w_fmodf.c: Likewise.
70755         * math/w_fmodl.c: Likewise.
70756         * math/w_hypot.c: Likewise.
70757         * math/w_hypotf.c: Likewise.
70758         * math/w_hypotl.c: Likewise.
70759         * math/w_j0.c: Likewise.
70760         * math/w_j0f.c: Likewise.
70761         * math/w_j0l.c: Likewise.
70762         * math/w_j1.c: Likewise.
70763         * math/w_j1f.c: Likewise.
70764         * math/w_j1l.c: Likewise.
70765         * math/w_jn.c: Likewise.
70766         * math/w_jnf.c: Likewise.
70767         * math/w_jnl.c: Likewise.
70768         * math/w_lgamma.c: Likewise.
70769         * math/w_lgamma_r.c: Likewise.
70770         * math/w_lgammaf.c: Likewise.
70771         * math/w_lgammaf_r.c: Likewise.
70772         * math/w_lgammal.c: Likewise.
70773         * math/w_lgammal_r.c: Likewise.
70774         * math/w_log.c: Likewise.
70775         * math/w_log10.c: Likewise.
70776         * math/w_log10f.c: Likewise.
70777         * math/w_log10l.c: Likewise.
70778         * math/w_log2.c: Likewise.
70779         * math/w_log2f.c: Likewise.
70780         * math/w_log2l.c: Likewise.
70781         * math/w_logf.c: Likewise.
70782         * math/w_logl.c: Likewise.
70783         * math/w_pow.c: Likewise.
70784         * math/w_powf.c: Likewise.
70785         * math/w_powl.c: Likewise.
70786         * math/w_remainder.c: Likewise.
70787         * math/w_remainderf.c: Likewise.
70788         * math/w_remainderl.c: Likewise.
70789         * math/w_scalb.c: Likewise.
70790         * math/w_scalbf.c: Likewise.
70791         * math/w_scalbl.c: Likewise.
70792         * math/w_sinh.c: Likewise.
70793         * math/w_sinhf.c: Likewise.
70794         * math/w_sinhl.c: Likewise.
70795         * math/w_sqrt.c: Likewise.
70796         * math/w_sqrtf.c: Likewise.
70797         * math/w_sqrtl.c: Likewise.
70798         * math/w_tgamma.c: Likewise.
70799         * math/w_tgammaf.c: Likewise.
70800         * math/w_tgammal.c: Likewise.
70802         * po/ja.po: Update from translation team.
70804 2011-09-29  Andreas Jaeger  <aj@suse.de>
70806         [BZ #13179]
70807         * sunrpc/netname.c (netname2host): Fix logic.
70809         [BZ #6779]
70810         [BZ #6783]
70811         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70812         correctly.
70813         * math/w_remainder.c (__remainder): Likewise.
70814         * math/w_remainderf.c (__remainderf): Likewise.
70815         * math/libm-test.inc (remainder_test): Add test cases.
70817 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70819         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70820         sdiv_qrnnd.
70822 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70824         * string/test-memcmp.c: Avoid unncessary #defines.
70825         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70827 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70829         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70830         Use new sse2 version for core i3 - i7 as it's faster
70831         than sse42 version.
70832         (bit_Prefer_PMINUB_for_stringop): New.
70833         * sysdeps/x86_64/rawmemchr.S: Update.
70834         Replace with faster SSE2 version.
70835         * sysdeps/x86_64/memrchr.S: New file.
70836         * sysdeps/x86_64/memchr.S: Update.
70837         Replace with faster SSE2 version.
70839 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70841         * elf/dl-load.c (lose): Add cast to avoid warning.
70843 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70845         * po/ca.po: Update from translation team.
70847         * inet/getnetgrent_r.c: Hook up nscd.
70848         * nscd/Makefile (routines): Add nscd_netgroup.
70849         (nscd-modules): Add netgroupcache.
70850         (CFLAGS-netgroupcache.c): Define.
70851         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70852         (cache_search): Add const to second parameter.
70853         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70854         INNETGR.
70855         (dbs): Add netgrdb entry.
70856         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70857         (verify_persistent_db): Handle netgrdb.
70858         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70859         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70860         GETFDNETGR.
70861         (netgroup_response_header): Define.
70862         (innetgroup_response_header): Define.
70863         (datahead): Add netgroup_response_header and innetgroup_response_header
70864         elements.
70865         * nscd/nscd.conf: Add entries for netgroup cache.
70866         * nscd/nscd.h (dbtype): Add netgrdb.
70867         (_PATH_NSCD_NETGROUP_DB): Define.
70868         (netgroup_iov_disabled): Declare.
70869         (xmalloc, xcalloc, xrealloc): Move declarations here.
70870         (cache_search): Adjust prototype.
70871         Add netgroup-related prototypes.
70872         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70873         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70874         (__nscd_innetgr): Declare.
70875         * nscd/selinux.c (perms): Use access_vector_t as element type and
70876         add netgroup-related initializers.
70877         * nscd/netgroupcache.c: New file.
70878         * nscd/nscd_netgroup.c: New file.
70879         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70880         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70881         For four parameters use innetgr.
70882         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70883         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70884         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70885         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70887         * nscd/connections.c (register_traced_file): Don't register file
70888         for disabled databases.
70890 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70892         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70894         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70895         from tree and freeing node.
70897 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70899         * nss/nsswitch.c (__nss_database_lookup): Handle
70900         nss_parse_service_list out of memory case.
70902 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70904         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70905         out of memory case.
70907 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70909         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70910         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70911         pass it down.
70912         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70913         elf_machine_rela, elf_machine_lazy_rel.
70914         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70915         (ELF_DYNAMIC_DO_REL): Likewise.
70916         (ELF_DYNAMIC_DO_RELA): Likewise.
70917         (ELF_DYNAMIC_RELOCATE): Likewise.
70918         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70919         to ELF_DYNAMIC_DO_REL.
70920         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70921         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70922         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70923         elf_machine_rela.
70924         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70925         skip_ifunc, don't call ifunc function if non-zero.
70926         (elf_machine_rela): Likewise.
70927         (elf_machine_lazy_rel): Likewise.
70928         (elf_machine_lazy_rela): Likewise.
70929         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70930         (elf_machine_lazy_rel): Likewise.
70931         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70932         Likewise.
70933         (elf_machine_lazy_rel): Likewise.
70934         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70935         Likewise.
70936         (elf_machine_lazy_rel): Likewise.
70937         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70938         (elf_machine_lazy_rel): Likewise.
70939         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70940         (elf_machine_lazy_rel): Likewise.
70941         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70942         (elf_machine_lazy_rel): Likewise.
70943         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70944         (elf_machine_lazy_rel): Likewise.
70945         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70946         (elf_machine_lazy_rel): Likewise.
70947         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70948         (elf_machine_lazy_rel): Likewise.
70950 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70952         * nss/nss_files/files-init.c (_nss_files_init): Use static
70953         initialization for all the *_traced_file variables.
70955 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70957         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70959 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70961         [BZ #13226]
70962         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70964 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70966         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70967         Reread the line before reparsing it.
70969 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70971         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70973 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70974             Maxim Kuvyrkov  <maxim@codesourcery.com>
70975             Joseph Myers  <joseph@codesourcery.com>
70977         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70978         if needed for __stack_chk_guard.
70980 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70982         * sysdeps/posix/spawni.c (script_execute): Always define it.
70983         It will be optimized away if unused.
70984         (maybe_script_execute): New function.
70985         (__spawni): Call it.
70987         * Makerules: Don't include tls.make.
70988         (config-tls): Always set to thread.
70989         * tls.make.c: File removed.
70991 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70993         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70994         * config.make.in (CPPFLAGS-config): New substituted variable.
70996 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70998         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71000         [BZ #13192]
71001         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71002         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71004 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71006         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71007         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71008         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71009         (CALL_FAIL): Likewise.
71010         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71011         (CALL_FAIL): Macro removed.
71012         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71014 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71016         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71017         for __FINITE_MATH_ONLY__ == 1.
71019 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71021         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71022         __ieee754_sqrt instead of sqrt.
71023         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71024         __ieee754_sqrtf instead of sqrtf.
71025         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71026         __floorf instead of floorf.
71027         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71028         __floorf, __truncf instead of floorf, truncf.
71030 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71032         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71034         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71035         __extern_always_inline.
71036         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71037         32-bit.
71039 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71041         * elf/rtld.c (dl_main): Also relocate in dependency order when
71042         doing symbol dependency testing.
71044 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71047         Always define `refsym'.
71049 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71051         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71052         (__FD_ELT): Renamed from __FDELT.
71053         * misc/bits/select2.h (__FD_ELT): Likewise.
71054         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71055         __FD_MASK instead of __FDELT, __FDMASK.
71056         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71057         Likewise.
71058         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71059         Likewise.
71061         * elf/Makefile (gen-ldd): Fix pattern.
71063         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71064         (init_tls): Likewise.
71066 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71068         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71070 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71072         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71073         `struct cmsghdr *' instead of `void *'.
71074         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71075         Likewise.
71077 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71079         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71080         if non-absolute.
71081         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71082         ldd_rewrite_script.
71084 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71086         * configure.in: Remove --with-tls option.
71087         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71088         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71089         out in case it is missing.
71090         * sysdeps/ia64/elf/configure.in: Likewise.
71091         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71092         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71093         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71094         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71095         * sysdeps/sh/elf/configure.in: Likewise.
71096         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71097         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71098         * sysdeps/x86_64/elf/configure.in: Likewise.
71099         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71100         * sysdeps/mach/hurd/tls.h: Likewise.
71102         [BZ #13067]
71103         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71105         [BZ #13090]
71106         * configure.in: Fix use of AC_INIT.
71108         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71110 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71112         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71113         __set_errno.
71114         * malloc/hooks.c: Likewise.
71116         [BZ #11929]
71117         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71118         variables statically.
71119         (narenas): Initialize.
71120         (list_lock): Initialize.
71121         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71122         initializtion of main_arena and list_lock.  Small cleanups.
71123         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71124         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71125         Add initializers to main_arena and mp_.
71126         (malloc_state): Remove pagesize member.  Change all users to use
71127         GLRO(dl_pagesize).
71129         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71130         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71131         is always initialized.
71133         * malloc/malloc.c: Removed unused configurations and dead code.
71134         * malloc/arena.c: Likewise.
71135         * malloc/hooks.c: Likewise.
71136         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71138         * include/tls.h: Removed.  USE___THREAD must always be defined.
71139         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71140         * elf/dl-libc.c: Likewise.
71141         * elf/dl-tsd.c: Likewise.
71142         * include/errno.h: Likewise.
71143         * include/netdb.h: Likewise.
71144         * include/resolv.h: Likewise.
71145         * inet/herrno-loc.c: Likewise.
71146         * inet/herrno.c: Likewise.
71147         * malloc/arena.c: Likewise.
71148         * malloc/hooks.c: Likewise.
71149         * malloc/malloc.c: Likewise.
71150         * resolv/res-state.c: Likewise.
71151         * resolv/res_libc.c: Likewise.
71152         * sysdeps/i386/dl-machine.h: Likewise.
71153         * sysdeps/ia64/dl-machine.h: Likewise.
71154         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71155         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71156         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71157         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71158         * sysdeps/sh/dl-machine.h: Likewise.
71159         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71160         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71161         * sysdeps/unix/i386/sysdep.S: Likewise.
71162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71163         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71164         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71168         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71170         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71172         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71173         * sysdeps/x86_64/dl-machine.h: Likewise.
71174         * tls.make.c: Likewise.
71176         * configure.in: Remove --with-__thread option.  Make tests for
71177         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71178         tls_model attribute fail if no support is available.  Remove
71179         USE_IN_LIBIO.
71180         * Makeconfig: Adjust for dropped configure option.  All features are
71181         now mandatory.
71182         * Makerules: Likewise.
71183         * Versions.def: Likewise.
71184         * argp/argp-fmtstream.c: Likewise.
71185         * argp/argp-fmtstream.h: Likewise.
71186         * argp/argp-help.c: Likewise.
71187         * assert/assert.c: Likewise.
71188         * config.h.in: Likewise.
71189         * config.make.in: Likewise.
71190         * configure: Likewise.
71191         * configure.in: Likewise.
71192         * csu/Versions: Likewise.
71193         * csu/init.c: Likewise.
71194         * elf/tst-audit2.c: Likewise.
71195         * elf/tst-tls10.c: Likewise.
71196         * elf/tst-tls10.h: Likewise.
71197         * elf/tst-tls11.c: Likewise.
71198         * elf/tst-tls12.c: Likewise.
71199         * elf/tst-tls14.c: Likewise.
71200         * elf/tst-tlsmod11.c: Likewise.
71201         * elf/tst-tlsmod12.c: Likewise.
71202         * elf/tst-tlsmod13.c: Likewise.
71203         * elf/tst-tlsmod13a.c: Likewise.
71204         * elf/tst-tlsmod14a.c: Likewise.
71205         * elf/tst-tlsmod15b.c: Likewise.
71206         * elf/tst-tlsmod16a.c: Likewise.
71207         * elf/tst-tlsmod16b.c: Likewise.
71208         * elf/tst-tlsmod7.c: Likewise.
71209         * elf/tst-tlsmod8.c: Likewise.
71210         * elf/tst-tlsmod9.c: Likewise.
71211         * gmon/gmon.c: Likewise.
71212         * grp/fgetgrent_r.c: Likewise.
71213         * grp/putgrent.c: Likewise.
71214         * hurd/fopenport.c: Likewise.
71215         * include/libc-symbols.h: Likewise.
71216         * include/tls.h: Likewise.
71217         * intl/gettextP.h: Likewise.
71218         * intl/loadinfo.h: Likewise.
71219         * locale/global-locale.c: Likewise.
71220         * locale/localeinfo.h: Likewise.
71221         * mach/devstream.c: Likewise.
71222         * malloc/arena.c: Likewise.
71223         * malloc/set-freeres.c: Likewise.
71224         * misc/err.c: Likewise.
71225         * misc/getttyent.c: Likewise.
71226         * misc/mntent_r.c: Likewise.
71227         * posix/getopt.c: Likewise.
71228         * posix/wordexp.c: Likewise.
71229         * pwd/fgetpwent_r.c: Likewise.
71230         * resolv/Versions: Likewise.
71231         * resolv/res_hconf.c: Likewise.
71232         * shadow/fgetspent_r.c: Likewise.
71233         * shadow/putspent.c: Likewise.
71234         * stdio-common/printf_fphex.c: Likewise.
71235         * stdio-common/tmpfile.c: Likewise.
71236         * stdlib/abort.c: Likewise.
71237         * stdlib/fmtmsg.c: Likewise.
71238         * sunrpc/auth_unix.c: Likewise.
71239         * sunrpc/clnt_perr.c: Likewise.
71240         * sunrpc/clnt_tcp.c: Likewise.
71241         * sunrpc/clnt_udp.c: Likewise.
71242         * sunrpc/clnt_unix.c: Likewise.
71243         * sunrpc/openchild.c: Likewise.
71244         * sunrpc/svc_simple.c: Likewise.
71245         * sunrpc/svc_tcp.c: Likewise.
71246         * sunrpc/svc_udp.c: Likewise.
71247         * sunrpc/svc_unix.c: Likewise.
71248         * sunrpc/xdr.c: Likewise.
71249         * sunrpc/xdr_array.c: Likewise.
71250         * sunrpc/xdr_rec.c: Likewise.
71251         * sunrpc/xdr_ref.c: Likewise.
71252         * sunrpc/xdr_stdio.c: Likewise.
71254 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71256         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71258 2011-07-03  Andreas Jaeger  <aj@suse.de>
71260         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71261         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71262         regenerate with gen-libm-tests.pl.
71264 2010-05-12  Petr Baudis  <pasky@suse.cz>
71266         [BZ #11589]
71267         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71268         around j0() zero points by switching to j1().
71269         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71270         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71272         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71274 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71276         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71277         instead of 0.
71278         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71279         instead of 0.
71280         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71281         Patch in part by Pavel Roskin <proski@gnu.org>.
71283         [BZ #13138]
71284         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71285         realloc.
71286         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71287         Free memory block if necessary.
71289         [BZ #12847]
71290         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71291         be NULL.  Don't lock in this case.
71293 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71295         * elf/elf.h (ELFOSABI_GNU): New macro.
71296         (ELFOSABI_LINUX): Define to that.
71298 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71300         * string/strncat.c (strncat): Undef the symbol in case it has been
71301         defined in bits/string.h.
71303 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71305         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71307         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71308         link map.
71310 2011-08-17  Andreas Jaeger  <aj@suse.de>
71312         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71314 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71315             Ian Lance Taylor  <iant@google.com>
71317         * math/libm-test.inc (lround_test): New testcase.
71318         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71320 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71322         * Makefile: Remove support for automatic cvs check-ins.
71323         * Makerules: Likewise.
71324         * config.make.in: Likewise.
71325         * configure.in: Likewise.
71326         * intl/Makefile: Likewise.
71327         * locale/Makefile: Likewise.
71328         * po/Makefile: Likewise.
71329         * posix/Makefile: Likewise.
71330         * sysdeps/gnu/Makefile: Likewise.
71331         * sysdeps/mach/hurd/Makefile: Likewise.
71332         * sysdeps/sparc/sparc32/Makefile: Likewise.
71334         [BZ #13118]
71335         * posix/Makefile (bug-regex32-ENV): Define.
71336         Patch by John Stanley <jpsinthemix@verizon.net>.
71338         * misc/Makefile (headers): Add bits/select2.h.
71339         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71340         * misc/bits/select2.h: New file.
71341         * include/bits/select2.h: New file.
71342         * debug/Makefile (routines): Add fdelt_chk.
71343         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71344         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71345         FD_ISSET.
71346         * debug/fdelt_chk.c: New file.
71348         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71349         * wcsmbs/test-wmemcmp.c: Likewise.
71350         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71351         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71353 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71355         * string/Makefile (strop-tests): Add memcmp.
71356         * string/test-wmemcmp.c: New file.
71357         * string/test-memcmp.c: Add wmemcmp support.
71359 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71361         [BZ #13153]
71362         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71363         2011-07-19 change.
71365         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71366         garbage value in a __mach_port_mod_refs call in the cases of the
71367         task-self and thread-self ports.
71369 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71371         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71373 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71375         * elf/dl-load.c (lose): Check for non-null L.
71377 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71379         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71381         * elf/dl-libc.c (dlerror_run): Pass back error code from
71382         dl_catch_error.
71384         [BZ #13123]
71385         * elf/dl-load.c (lose): Free l_origin if it is valid.
71387         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71388         names.
71389         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71390         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71391         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71392         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71393         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71394         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71396 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71398         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71399         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71400         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71401         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71402         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71403         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71404         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71405         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71406         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71407         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71409 2011-08-15  Alan Modra  <amodra@gmail.com>
71411         [BZ #13092]
71412         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71413         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71414         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71415         ppc_mcount to static-only-routines.
71416         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71417         __mcount_internal.
71418         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71419         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71421 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71423         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71424         for finite and infinity parameters.
71426 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71428         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71429         and add nop instructions for throughput optimization.
71430         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71432 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71434         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71435         aligned copy for power7 with vector-scalar instructions.
71436         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71438 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71441         AVX check.
71443 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71445         [BZ #13144]
71446         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71447         last change.
71449 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71451         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71452         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71453         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71454         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71455         clock_gettime.
71457 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71459         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71460         Forgot to demangle the pointer.
71462         * sysdeps/i386/sysdep.h: Define atom_text_section.
71463         * sysdeps/x86_64/sysdep.h: Likewise.
71464         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71465         section with atom_text_section.
71466         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71467         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71468         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71470         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71472         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71473         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71474         already be defined.  Change to take two parameters and don't assign
71475         result to variable.  Adjust all users.
71476         Define INTERNAL_GETTIME if not already defined.
71477         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71478         call.
71479         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71480         HAVE_CLOCK_GETTIME_VSYSCALL.
71481         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71483         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71484         gettimeofday vsyscall, just use time.
71486 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71488         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71489         <errno.h>.
71491 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71493         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71494         syscall on x86-64.
71495         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71496         syscall.
71497         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71498         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71499         syscall if possible.
71501 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71503         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71504         e_ident.  Don't pass to find_mapsXX.
71505         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71507 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71510         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71511         * sysdeps/x86_64/multiarch/strchr.S: Update.
71512         Check bit_slow_BSF bit.
71513         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71514         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71515         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71517 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71519         [BZ #13134]
71520         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71521         before glibc 2.15.
71522         (tryshell): Define.
71523         (__spawni): Change last parameter to be flag.  Test
71524         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71525         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71526         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71527         * posix/spawni.c: Likewise.
71528         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71529         * posix/spawnp.c: Likewise.  Change normal version to use
71530         SPAWN_XFLAGS_USE_PATH.
71531         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71532         SPAWN_XFLAGS_TRY_SHELL.
71534         [BZ #13150]
71535         * posix/glob.h: Remove gcc 1.x support.
71537         [BZ #13068]
71538         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71540 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71542         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71543         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71544         strrchr-sse2-bsf
71545         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71546         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71547         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71548         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71549         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71550         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71552 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71554         * sysdeps/x86_64/wcscmp.S: New file.
71556         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71557         wcscmp-c wcscmp-sse2
71558         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71559         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71560         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71561         * wcsmbs/wcscmp.c: Allow renaming.
71563 2011-09-05  David S. Miller  <davem@davemloft.net>
71565         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71566         stack slot, rather than the struct return pointer slot.
71567         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71568         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71570         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71572 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71574         * po/ja.po: Update from translation team.
71576         [BZ #13144]
71577         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71578         kernel in 64-bit binaries.
71580 2011-09-01  David S. Miller  <davem@davemloft.net>
71582         * elf/elf.h (HWCAP_SPARC_*): Move to..
71583         * sysdeps/sparc/sysdep.h: this new file and add new values.
71584         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71585         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71586         _DL_HWCAP_COUNT to 24.
71587         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71588         entries.
71589         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71590         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71591         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71592         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71593         instead of magic constants.
71594         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71596 2011-08-31  David S. Miller  <davem@davemloft.net>
71598         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71599         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71600         Reimplement to do errno handling inline.
71601         (SYSCALL_ERROR_HANDLER): New macro.
71602         (__SYSCALL_STRING): Do not do errno handling in asm.
71603         (__CLONE_SYSCALL_STRING): Delete.
71604         (__INTERNAL_SYSCALL_STRING): Delete.
71605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71606         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71607         (PSEUDO): Reimplement to do errno handling inline.
71608         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71609         (SYSCALL_ERROR_HANDLER): New macro.
71610         (__SYSCALL_STRING): Do not do errno handling in asm.
71611         (__CLONE_SYSCALL_STRING): Delete.
71612         (__INTERNAL_SYSCALL_STRING): Delete.
71613         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71614         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71615         i386.
71616         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71617         (inline_syscall*): Add 'err' argument.
71618         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71619         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71620         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71621         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71623         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71624         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71626 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71628         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71630 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71632         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71633         directive.
71635 2011-08-24  David S. Miller  <davem@davemloft.net>
71637         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71639 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71641         * elf/Makefile: Add rules to build and run unload8 test.
71642         * elf/unload8.c: New file.
71643         * elf/unload8mod1.c: New file.
71644         * elf/unload8mod1x.c: New file.
71645         * elf/unload8mod2.c: New file.
71646         * elf/unload8mod3.c: New file.
71648         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71649         it wasn't used.
71651 2011-08-23  David S. Miller  <davem@davemloft.net>
71653         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71654         subtract stack bias.
71655         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71656         %sp not %fp in calculations.
71657         (_JMPBUF_UNWINDS_ADJ): Likewise.
71659         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71660         (aio_suspend): Call it to force an exception region around the
71661         AIO_MISC_WAIT() invocation.
71663 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71665         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71666         backslash.
71668 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71670         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71671         protection macro.
71672         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71673         and <dl-machine.h>.
71674         (Elf64_FuncDesc): Remove.
71676 2011-08-22  David S. Miller  <davem@davemloft.net>
71678         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71679         sigaltstack check, add missing cfi directives.
71680         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71681         missing cfi directives, and sigaltstack handling.
71683 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71685         [BZ #11724]
71686         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71687         object is seen twice.
71688         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71690         * elf/Makefile (distribute): Add tst-initorder2.c.
71691         (tests): Add tst-initorder2.
71692         (modules-names): Add tst-initorder2a tst-initorder2b
71693         tst-initorder2c tst-initorder2d.  Add rules to build them.
71694         ($(objpfx)tst-initorder2.out): New rule.
71695         * elf/tst-initorder2.c: New file.
71696         * elf/tst-initorder2.exp: New file.
71698 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71700         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71702         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71703         dependencies back to end of function.
71705         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71706         $(elfobjdir)/ld.so.
71708 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71711         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71712         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71713         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71714         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71715         of __vdso_gettimeofday.
71716         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71717         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71718         attribute_hidden.
71719         (_libc_vdso_platform_setup): Remove initialization of
71720         __vdso_gettimeofday and __vdso_time.
71722 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71724         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71725         and fgetc_unlocked.
71726         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71727         getc_unlocked.
71729         * elf/dl-open.c (add_to_global): Report additions to the global scope
71730         for LD_DEBUG=scopes.
71731         (dl_open_worker): Also print scope of newly loaded dependencies.
71732         (_dl_show_scope): Indicate if there is no scope.
71734         [BZ #13114]
71735         * stdio-common/Makefile (tests): Add bug24.
71736         * stdio-common/bug24.c: New file.
71738 2011-08-19  Andreas Jaeger  <aj@suse.de>
71740         [BZ #13114]
71741         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71742         non-existant file when using close-on-exec mode.
71744 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71746         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71747         the very first instruction.
71749         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71750         the CFI state in the end.
71751         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71752         inclusion of dl-trampoline.h.
71753         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71755 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71757         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71758         expectations for long double.
71760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71761         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71763 2011-08-14  David S. Miller  <davem@davemloft.net>
71765         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71766         artificual limit depends upon the system page size.
71768 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71770         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71771         * resolv/Makefile: Define CFLAGS-libresolv.
71773 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71775         * nss/makedb.c (compute_tables): Make variables used in nested
71776         function static.
71778 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71780         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71781         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71782         if buffer was too small.
71784         * elf/pldd.c (main): Attach to all threads in the process.
71785         Rewrite /proc handling to use *at functions.
71787 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71789         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71790         specifies first scope to show.
71791         (dl_open_worker): Update callers.  Move printing scope of new
71792         object to before the relocation.
71793         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71794         * sysdeps/generic/ldsodefs.h: Update declaration.
71796         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71797         string for the scope number.
71799 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71801         * nscd/servicescache.c (cache_addserv): Make sure written is always
71802         initialized.
71804 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71806         * sysdeps/i386/i486/bits/atomic.h
71807         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71808         statement expression, so as to suppress "set but not used" warning.
71809         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71811         * string/strncat.c (STRNCAT): Use prototype definition.
71813         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71814         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71815         -Iprograms here.
71816         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71817         (localedef-modules): Add localedef.
71818         (locale-modules): Add locale.
71820         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71821         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71822         to avoid a warning.
71824 2011-08-14  David S. Miller  <davem@davemloft.net>
71826         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71827         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71829 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71831         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71832         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71833         * elf/rtld.c (dl_main): Set l_name of vDSO.
71834         Call _dl_show_scope when DL_DEBUG_SCOPES.
71835         (process_dl_debug): Recognize scopes flag and also set it for all.
71836         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71837         Declare _dl_show_scope.
71839         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71840         (do_dlopen): Pass caller_dlopen to dl_open.
71841         (__libc_dlopen_mode): Initialize caller_dlopen.
71843         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71844         of libc.  Make tolower call locale-independent.  Optimize a bit by
71845         using isdigit instead of isalnum.
71846         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71848 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71850         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71851         was a dependency or dynamically loaded.
71853 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71855         * intl/l10nflist.c: Allow architecture-specific pop function.
71856         * sysdeps/x86_64/l10nflist.c: New file.
71858         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71859         classification.
71861 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71863         * include/dirent.h: Add libc_hidden_proto for scandirat and
71864         scandirat64.  Don't declare __scandirat64.
71865         * dirent/scandirat.c: Add libc_hidden_def.
71866         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71867         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71869 2011-08-10  David S. Miller  <davem@davemloft.net>
71871         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71872         enum.
71873         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71874         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71875         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71877 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71879         * Versions.def [libc]: Add GLIBC_2.15.
71880         * dirent/Makefile (routines): Add scandirat and scandirat64.
71881         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71882         GLIBC_2.15.
71883         * dirent/dirent.h: Declare scandirat and scandirat64.
71884         * dirent/scandirat.c: New file.
71885         * dirent/scandirat64.c: New file.
71886         * sysdeps/wordsize-64/scandirat.c: New file.
71887         * sysdeps/wordsize-64/scandirat64.c: New file.
71888         * dirent/opendir.c: Define opendirat.
71889         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71890         using scandirat.
71891         * dirent/scandir64.c: Adjust for scandir.c change.
71892         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71893         __scandirat64, and __scandir_cancel_handler.
71894         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71895         additional parameter and use openat instead of open (outside of ld.so).
71896         Add new __opendir as wrapper around __opendirat.
71897         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71898         here without requiring old scandirat implementation.
71900 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71902         * dirent/scandir.c (cancel_handler): Renamed to
71903         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71904         defined.  Adjust users.
71905         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71906         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71908 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71910         * string/test-string.h (IMPL): Use __STRING to expand name and then
71911         stringify it.
71913         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71914         of cleanups.
71916 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71918         * string/Makefile: Update.
71919         (strop-tests): Append strncat.
71920         * string/test-wcscmp.c: New file.
71921         New comprehensive test for wcscmp.
71922         * string/test-strcmp.c: Update.
71923         (WIDE): New define.
71925 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71927         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71928         line.
71930 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71933         encoding to ACE if AI_IDN.
71935 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71938         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71940 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71942         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71943         Fix overflow bug in strncat.
71944         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71946         * string/test-strncat.c: Update.
71947         Add new tests for checking overflow bugs.
71949 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71952         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71953         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71954         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71955         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71956         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71957         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71958         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71959         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71961         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71962         (USE_AS_STRCAT): Define.
71963         Add strcat and strncat support.
71964         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71966 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71968         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71969         __n bigger than INT_MAX+1.
71970         (__strncmp_g): Likewise.
71972 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71974         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71975         * libio/stido.h: Likewise.
71977         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71978         (AF_NFC): Define.
71979         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71980         (AF_NFC): Define.
71982         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71983         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71984         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71985         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71986         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71988         [BZ #13021]
71989         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71990         installed.
71992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71993         typo.
71994         (_dl_x86_64_save_sse): Likewise.
71996 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71999         OSXSAVE.
72000         (_dl_x86_64_save_sse): Likewise.
72002         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72004         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72006 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72008         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72009         change.
72010         (_dl_x86_64_save_sse): Use correct AVX check.
72012 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72014         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72015         bug in strncpy/strncat.
72016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72018 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72020         * string/tester.c (test_strcat): Add tests for different alignments
72021         of source and destination.
72022         (test_strncat): Likewise.
72024 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72026         [BZ #12852]
72027         * posix/glob.c (glob): Check passed in values before using them in
72028         expressions to avoid some overflows.
72029         (glob_in_dir): Likewise.
72031         [BZ #13007]
72032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72033         check for AVX enablement so that we don't crash with old kernels and
72034         new hardware.
72035         * elf/tst-audit4.c: Add same checks here.
72036         * elf/tst-audit6.c: Likewise.
72038         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72040 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72042         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72044 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72046         * po/cs.po: Update from translation team.
72047         * po/bg.po: Likewise.
72049 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72051         * misc/sys/cdefs.h: Add support for const attribute.
72052         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72053         to gnu_dev_{major,minor,makedev} functions.
72055 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72057         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72059 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72061         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72062         strlen results.
72064 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72066         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72067         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72068         register in order to avoid conflicts with the soft frame pointer
72069         being held in r11 when necessary.
72070         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72071         (INTERNAL_VSYSCALL_NCS): Likewise.
72073 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72075         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72076         * elf/dl-fini.c (_dl_fini): Adjust caller.
72077         * elf/dl-close.c (_dl_close_worker): Likewise.
72078         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72080 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72082         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72083         "aux_cache->nlibs < 0".
72085         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72086         in the reload-count case.
72088 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72091         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72092         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72093         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72094         * sysdeps/x86_64/multiarch/strcat.S: New file.
72095         * sysdeps/x86_64/multiarch/strncat.S: New file.
72096         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72097         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72098         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72099         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72100         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72101         (USE_AS_STRCAT): Define.
72102         Add strcat and strncat support.
72103         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72104         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72105         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72106         * string/strncat.c: Update.
72107         (USE_AS_STRNCAT): Define.
72108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72109         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72110         and i7.
72111         * sysdeps/x86_64/multiarch/init-arch.h
72112         (bit_Prefer_PMINUB_for_stringop): New.
72113         (index_Prefer_PMINUB_for_stringop): Likewise.
72114         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72115         bit_Prefer_PMINUB_for_stringop.
72117 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72119         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72120         buffer64.
72121         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72122         of casting of buffer.
72123         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72124         buffer32 and buffer64.
72125         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72126         writes instead of casting of buffer.
72127         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72128         buffer32.
72129         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72130         casting of buffer.
72132 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72134         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72136 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72138         * nscd/nscd.c (termination_handler): Don't do anything for a database
72139         if it has not yet been initialized.
72141 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72143         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72145 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72147         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72149 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72151         * po/nl.po: Update from translation team.
72152         * po/sv.po: Likewise.
72154 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72156         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72157         now disallowed by GCC.
72159         * configure.in (use-default-link): Default to yes if a test -shared
72160         link meets our qualifications.
72161         * configure: Regenerated.
72163         * config.make.in (output-format): New variable.
72164         * configure.in: Check for ld --print-output-format support.
72165         * configure: Regenerated.
72166         * Makerules ($(common-objpfx)format.lds)
72167         [$(output-format) != unknown]: Just use $(output-format),
72168         instead of the linker-script munging.
72170 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72172         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72173         of $(common-objpfx)shlib.lds.
72174         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72176         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72177         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72179         * configure.in (-z relro check): Adjust test code to add a large
72180         writable data section after it.
72181         * configure: Regenerated.
72183 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72185         * configure.in (-z relro check): Fix test code to make the variable
72186         truly const.
72187         * configure: Regenerated.
72189 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72191         * nscd/nscd.h (struct traced_file): Define.
72192         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72193         elements.  Add traced_files.
72194         (inotify_fd): Declare.
72195         (register_traced_file): Declare.
72196         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72197         (inotify_fd): Export.
72198         (resolv_conf_descr): Remove.
72199         (nscd_init): Move inotify descriptor creation to main.
72200         Don't register files for notification here.
72201         (register_traced_file): New function.
72202         (invalidate_cache): Don't use reset_res to determine whether to call
72203         res_init, go through the list of registered files.
72204         (main_loop_poll): The inotify descriptors are now stored in the
72205         structures for the traced files.
72206         (main_loop_epoll): Likewise.
72207         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72208         to __nss_disable_nscd.
72209         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72210         for a database anymore.  Check the records for all the registered
72211         files instead.
72212         * nss/Makefile (libnss_files-routines): Add files-init.
72213         (libnss_db-routines): Add db-init.
72214         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72215         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72216         * nss/nss_db/db-init.c: New file.
72217         * nss/nss_files/files-init.c: New file.
72218         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72219         __nss_lookup_function.
72220         (__nss_lookup_function): Call nss_load_library.
72221         (nss_load_all_libraries): New function.
72222         (__nss_disable_nscd): Take parameter with callback function for files
72223         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72224         used for the cached services.
72225         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72226         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72227         options for features to all the files in nscd.
72229         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72231 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72233         * csu/elf-init.c (__libc_csu_init): Comment typo.
72235 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72237         * po/pl.po: Update from translation team.
72238         * po/ja.po: Likewise.
72239         * po/ru.po: Likewise.
72240         * po/ko.po: Likewise.
72241         * po/fr.po: Likewise.
72243 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72245         * configure.in (.ctors/.dtors header and trailer check):
72246         Use an empirical test on a built program.
72247         * configure: Regenerated.
72249         * configure.in (-z relro check): Use an empirical test on a built DSO.
72250         Detect, but do not require, on ia64.
72251         * configure: Regenerated.
72253         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72254         Update tests that use readelf to use $READELF instead.
72255         * configure: Regenerated.
72257 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72259         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72260         if the result is not used.
72262 2011-07-05  Andreas Jaeger  <aj@suse.de>
72264         [BZ#9696]
72265         * stdlib/tst-strtod.c: Add testcase.
72267 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72269         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72270         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72271         The latter has a higher limit.  Take additional parameter to pass to
72272         the new function.
72273         (__pathconf): Pass file to __statfs_link_max.
72274         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72275         __statfs_link_max.
72276         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72277         __statfs_link_max.
72279         [BZ #12868]
72280         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72281         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72282         Handle Lustre.
72283         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72284         (__statfs_filesize_max): Likewise.
72285         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72287 2011-07-05  Andreas Jaeger  <aj@suse.de>
72289         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72291 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72293         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72294         `status' variable.
72295         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72296         Likewise.
72298 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72300         * Makefile (strop-tests): Add strncat.
72301         * string/test-strncat.c: New file.
72303 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72305         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72307 2011-06-21  Andreas Jaeger  <aj@suse.de>
72309         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72310         Copy rule from iconvdata/Makefile.
72312 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72314         [BZ #12922]
72315         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72316         but no long options are defined, just return 'W'.
72318 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72320         [BZ #9696]
72321         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72323 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72325         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72326         netgroups to read.
72327         (innetgr): Likewise.
72329 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72331         * config.make.in (install_root): Default to $(DESTDIR).
72333 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72335         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72337 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72339         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72341         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72342         containing directory rather than embedding absolute directory names.
72344         * scripts/check-local-headers.sh: Rewritten using awk.
72345         Match by word, not by line.  Print error messages for matches.
72346         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72348         * Makerules [shlib-lds-flags empty]:
72349         ($(common-objpfx)libc_pic.opts): New target.
72350         ($(common-objpfx)libc_pic.os.clean): New target.
72351         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72353         * config.make.in (OBJCOPY): New variable.
72354         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72355         * configure: Regenerated.
72357         * config.make.in (use-default-link): New variable.
72358         * configure.in (use_default_link): Grok --with-default-link to set it.
72359         * configure: Regenerated.
72360         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72361         (shlib-lds, shlib-lds-flags): Define to empty.
72363         * Makerules (shlib-lds): New variable.
72364         (shlib-lds-flags): New variable.
72365         (build-shlib, build-moduile, build-module-asneeded): Use it.
72366         ($(common-objpfx)libc.so): Use $(shlib-lds).
72367         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72368         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72370         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72371         DT_FLAGS/DT_FLAGS_1 with zero flags.
72373         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72374         linker script munging.
72376 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72378         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72379         as 128-bit value.
72380         * crypt/sha512.c (sha512_process_block): Perform total addition using
72381         128-bit if possible.
72382         (__sha512_finish_ctx): Likewise.
72383         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72384         as 64-bit value.
72385         * crypt/sha256.c (SWAP64): Define.
72386         (sha256_process_block): Perform total addition using 64-bit if
72387         possible.
72388         (__sha256_finish_ctx): Likewise.
72390 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72392         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72393         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72394         * nscd/hstcache.c (cache_addhst): Likewise.
72395         * nscd/grpcache.c (cache_addgr): Likewise.
72396         * nscd/aicache.c (addhstaiX): Likewise.
72397         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72399 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72401         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72402         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72403         * nscd/hstcache.c (cache_addhst): Likewise.
72404         * nscd/grpcache.c (cache_addgr): Likewise.
72405         * nscd/aicache.c (addhstaiX): Likewise.
72407 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72409         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72410         domain only when needed.
72412 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72414         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72415         is always restored.
72417 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72419         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72420         are re-adding the entry.
72421         * nscd/servicescache.c (cache_addserv): Likewise.
72423 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72425         * sysdeps/generic/dl-irel.h: fix protection against multiple
72426         inclusions.
72427         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72429 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72431         [BZ #12935]
72432         * malloc/memusage.sh: Fix quoting in message.
72433         * debug/xtrace.sh: Likewise.
72435         * configure.in: Remove support for --experimental-malloc option, make
72436         it the default.
72437         * config.make.in: Likewise.
72438         * malloc/Makefile: Likewise.
72440 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72442         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72443         two-byte characters.
72445 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72447         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72448         AC_CACHE_CHECK invocation.
72449         * configure: Regenerated.
72451         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72453 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72455         [BZ #12350]
72456         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72457         bit from old_res_options.
72459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72461         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72462         value type for setfct.
72464 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72467         __gettimeofday instead of gettimeofday.
72469 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72471         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72473 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72475         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72477         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72478         info.
72480 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72483         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72484         strcpy-sse2-unaligned strncpy-sse2-unaligned
72485         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72486         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72487         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72488         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72489         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72490         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72491         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72492         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72493         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72494         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72495         (STRCPY): Support SSE2 and SSSE3 versions.
72497 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72499         [BZ #12874]
72500         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72501         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72502         kernels which artificially limit size of requests.
72504 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72507         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72508         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72509         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72510         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72511         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72512         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72513         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72515         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72516         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72517         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72518         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72519         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72520         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72522         Enable unaligned load optimization for Intel Core i3, i5 and i7
72523         processors.
72524         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72525         Define.
72526         (index_Fast_Unaligned_Load): Define.
72527         (HAS_FAST_UNALIGNED_LOAD): Define.
72529 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72531         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72533 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72535         [BZ #12907]
72536         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72537         until it is clear that the information is realy needed.
72538         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72540 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72544 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72546         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72547         /sys/devices/system/cpu/online if it is usable.
72549         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72550         reading the information from the /proc filesystem to once a second.
72552 2011-06-21  Andreas Jaeger  <aj@suse.de>
72554         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72555         NULL after inclusion of kernel headers.
72557 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72559         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72560         calls to internal_setent.
72562         [BZ #12885]
72563         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72564         addresses using gethostbyname4_r ignore IPv4 addresses.
72566         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72567         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72569         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72571 2011-06-20  David S. Miller  <davem@davemloft.net>
72573         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72574         inclusions.
72575         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72577         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72578         (elf_irel): Use it.
72579         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72580         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72581         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72582         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72583         * sysdeps/x86_64/dl-irel.h: Likewise.
72585         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72586         * elf/dl-sym.c: Likewise.
72588 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72590         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72591         need to dereference resplen2.
72593 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72595         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72597 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72599         * Makeconfig: Define vardbdir and inst_vardbdir.
72600         * nss/Makefile: Add rules to install db-Makefile.
72602         * nss/nss_db/db-XXX.c: Cleanup.
72604         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72605         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72606         GLIBC_PRIVATE.
72607         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72608         * nss/makedb.c: Implement -g option to specify that value strings
72609         are generated and should not be added to table iterated over for
72610         get*ent calls.
72611         * nss/nss_db/db-initgroups.c: New file.
72613         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72614         interface.
72616         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72617         (internal_getgrouplist): Adjust to name change.
72618         Update use_initgroups_entry if this is not the first call.
72619         * nss/databases.def: Add initgroups entry.
72621         * nss/makedb.c (compute_tables): Check result of multiple hash table
72622         sizes to minimize maximum chain length.
72624 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72626         * Versions.def: Add entry for libnss_db.
72627         * shlib-versions: Likewise.
72628         * nss/Makefile: Add rules to build libnss_db.
72629         * nss/Versions: Add libnss_db information.  Organize libnss_files
72630         entries better.
72631         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72632         makedb progra.  Some minor improvements to generate smaller files.
72633         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72634         here from...
72635         * nss/makedb.c: ...here.
72636         Improve database format to be smaller and require less memory at
72637         runtime.
72638         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72639         db anymore.
72640         * nss/nss_db/db-netgrp.c: Likewise.
72641         * nss/nss_db/db-open.c: Likewise.
72642         * nss/nss_files/flies-XXX.x: Adjust comments.
72643         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72644         * nss/nss_files/files-grp.c: Likewise.
72645         * nss/nss_files/files-hosts.c: Likewise.
72646         * nss/nss_files/files-network.c: Likewise.
72647         * nss/nss_files/files-proto.c: Likewise.
72648         * nss/nss_files/files-pwd.c: Likewise.
72649         * nss/nss_files/files-rpc.c: Likewise.
72650         * nss/nss_files/files-service.c: Likewise.
72651         * nss/nss_files/files-sgrp.c: Likewise.
72652         * nss/nss_files/files-spwd.c: Likewise.
72653         * nss/nss_db/db-alias.c: Removed.
72654         * nss/nss_db/dummy-db.h: Removed.
72656 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72658         * nss/makedb.c: Rewritten to not use database library.
72659         * nss/Makefile: Update to build new makedb program.
72661 2011-06-14  Andreas Jaeger  <aj@suse.de>
72663         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72664         memset declaration.
72666 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72669         tmpbuf.
72671 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72673         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72674         * elf/Makefile ($(objpfx)ld.so): Likewise.
72676         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72677         Don't list ld.so twice in dependencies.
72679         * posix/bug-regex31.c: Include <stdlib.h>.
72681         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72683         * nis/nss_compat/compat-spwd.c
72684         (getspent_next_nss_netgr): Remove unused variable.
72685         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72687         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72688         nonmembers" output to use the right array.
72690         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72692         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72694         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72695         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72696         * catgets/gencat.c (read_input_file): Likewise.
72697         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72699         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72700         variable definition inside #if's controlling its use.
72702         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72704         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72706         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72708         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72709         unreachable code.
72711         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72713         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72714         * configure: Regenerated.
72716         * Makerules: Revert last change.
72717         * elf/Makefile: Likewise.
72719 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72721         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72722         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72723         (reloc-link): Likewise.
72725 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72727         * elf/Makefile: Add rules to build pldd.
72728         * elf/pldd.c: New file.
72729         * elf/pldd-xx.c: New file.
72731 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72733         * version.h: Update for 2.15 development version.
72735 2011-06-07  David S. Miller  <davem@davemloft.net>
72737         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72738         ifuncs.
72739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72740         elf_machine_lazy_rel): Likewise.
72741         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72742         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72743         elf_machine_lazy_rel): Likewise.
72744         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72745         dl_hwcap via passed in argument.
72746         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72747         Likewise.
72749 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72751         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72753 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72755         [BZ #12849]
72756         * manual/fdl-1.1.texi: New file, verbatim from:
72757         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72758         * manual/lgpl-2.1.texi: New file, verbatim from:
72759         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72760         * manual/Makefile (licenses): New variable, list those new file names.
72761         (texis): Use it.
72762         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72764         * manual/fdl.texi: File removed.
72765         * manual/lesser.texi: File removed.
72766         * manual/libc.texinfo (Copying, Documentation License):
72767         Use new @include file names, put @appendix directive before @include.
72769 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72771         [BZ #12841]
72772         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72773         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72774         (mq_open): Add __NTH.
72776 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72779         Assume Intel Core i3/i5/i7 processor if AVX is available.
72781 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72784         typo.
72786 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72788         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72789         memory.  Use alloca_account.  Fix memory leak when retrying.
72791 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72793         * version.h (RELEASE): Bump for 2.14 release.
72794         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72796         * config.make.in (RANLIB): Remove entry.
72798 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72800         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72801         (libc.pot): Work around missing support for .ksh extension in xgettext.
72803         [BZ #12684]
72804         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72805         if both request failed.
72806         (send_dg): In case of server errors clear resplen or *resplen2.
72808         [BZ #12454]
72809         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72810         when there are multiple maps.
72811         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72812         (_dl_fini): Remove test here.
72814         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72816 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72818         [BZ #12350]
72819         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72820         bit from old_res_options.
72821         (gaih_inet): Likewise.
72823         [BZ #11099]
72824         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72825         as signed.
72827         * resolv/res_init.c (res_setoptions): Make the code more compact.
72829         [BZ #11558]
72830         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72831         set RES_USEVC.
72833         [BZ #11634]
72834         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72836         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72838         [BZ #11781]
72839         * malloc/malloc.h: Declare malloc hook variables as volatile.
72841         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72842         in last patch.
72844         [BZ #11799]
72845         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72846         raise in the comment.
72847         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72848         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72849         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72851 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72853         [BZ #12811]
72854         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72855         grow the buffers more if it already has to be sufficient.
72856         (build_wcs_upper_buffer): Likewise.
72857         * posix/regexec.c (check_matching): Likewise.
72858         (clean_state_log_if_needed): Likewise.
72859         (extend_buffers): Don't enlarge buffers beyond size of the input
72860         buffer.
72861         Patches mostly by Emil Wojak <emil@wojak.eu>.
72862         * posix/bug-regex32.c: New file.
72863         * posix/Makefile (tests): Add bug-regex32.
72865         * locale/findlocale.c (_nl_find_locale): Return right away if
72866         _nl_explode_name failed.
72867         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72869         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72871         * debug/xtrace.sh: Unify messages.
72872         * malloc/memusage.sh: Likewise.
72874         [BZ #12813]
72875         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72876         time symbol from vDSO.  Substitute with vsyscall if not available.
72877         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72878         __vdso_time.
72880         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72881         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72882         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72883         Add sendmmsg and internal_sendmmsg.
72884         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72885         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72886         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72888         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72889         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72890         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72892 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72894         [BZ #12813]
72895         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72896         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72897         available.
72898         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72899         __vdso_getcpu.
72901         [BZ #12814]
72902         * iconvdata/Makefile (tests): Add bug-iconv9.
72903         * iconvdata/bug-iconv9.c: New file.
72905 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72907         [BZ #12814]
72908         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72910 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72912         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72913         (struct user_regs_struct): Change intcs field back to cs.
72915 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72917         * po/ja.po: Update from translation team.
72919 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72921         [BZ #12795]
72922         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72923         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72925 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72927         * stdlib/longlong.h: Update from GCC.
72929 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72931         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72932         parameter name.
72933         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72934         Add parameter name.
72935         (__sysconf): Pass it down.
72937 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72939         [BZ #12671]
72940         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72941         some situations.
72942         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72943         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72944         add in in __libc_use_alloca calls.  Adjust callers.
72945         (glob): Use malloc in some situations.
72947         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72948         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72949         pltexit.
72951 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72953         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72954         and CLOCK_BOOTTIME_ALARM.
72956         [BZ #12782]
72957         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72958         is returned.
72960         * string/_strerror.c (__strerror_r): Print negative errors as signed
72961         numbers.
72963         [BZ #12777]
72964         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72965         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72966         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72968         * configure.in: Fix typo in redirection and correct removal of test
72969         files in two cases.
72971         [BZ #12788]
72972         * locale/setlocale.c (new_composite_name): Fix test to check for
72973         identical name of all categories.
72975         [BZ #12792]
72976         * libio/filedoalloc.c (local_isatty): New function.
72977         (_IO_file_doallocate): Use local_isatty.
72978         * stdio-common/perror.c (perror): In case a new stream is used
72979         forward the stream error.
72980         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72981         error flag.
72983 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72985         [BZ #11884]
72986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72987         alloca.
72988         * include/alloca.h (extend_alloca_account): Define.
72990         [BZ #11857]
72991         * posix/regex.h: Fix comments with documentation of user-accessible
72992         fields after compilation and describe correct free'ing of pattern
72993         after re_compile_pattern.
72994         Patch by Reuben Thomas <rrt@sc3d.org>.
72996 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72998         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72999         and -mno-altivec to prevent the compiler from using Altivec and/or
73000         VSX instructions when the corresponding registers are not available.
73002 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73004         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73006 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73008         * libio/freopen.c (freopen): Use __dup2, not dup2.
73009         * libio/freopen64.c (freopen64): Likewise.
73011 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73013         [BZ #12775]
73014         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73015         * math/Makefile (tests): Add test-powl.
73016         (CFLAGS-test-powl.c): Define.
73017         * math/test-powl.c: New file.
73019 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73021         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73023 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73025         [BZ #11837]
73026         * iconvdata/gb18030.c: Update to GB18020-2005.
73028 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73030         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73031         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73032         Patch by Aharon Robbins <arnold@skeeve.com>.
73034         [BZ #11892]
73035         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73036         on the stack.
73038         [BZ #11895]
73039         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73040         through underflows.
73042         [BZ #12766]
73043         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73044         point to strings before performing equality test for error_one_per_line
73045         mode.
73047         [BZ #11697]
73048         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73050         [BZ #11820]
73051         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73052         (struct user_fpregs_struct): Avoid __uint*_t types.
73054         [BZ #6420]
73055         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73056         symbol info.  Use it instead of calling _dl_addr locally.
73057         (lock_and_info): New function.
73058         (tr_freehook): Call lock_and_info and pass symbol info as additional
73059         parameter to tr_where.
73060         (tr_mallochook): Likewise.
73061         (tr_reallochook): Likewise.
73062         (tr_memalignhook): Likewise.
73064         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73065         used and couldn't be at all thread-safe.
73067 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73069         * libio/freopen.c (freopen): Don't close old file descriptor
73070         before the new one is opened.  Instead dup the new file descriptor
73071         to the old one after the new stream is created.
73072         * libio/freopen64.c (freopen64): Likewise.
73073         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73074         * libio/fileops.c (_IO_new_file_close_it): Handle new
73075         _IO_FLAGS2_NOCLOSE flag.
73076         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73077         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73078         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73079         _IO_FLAGS2_NOCLOSE flag.
73080         * include/unistd.h: Add hidden_proto for dup3.
73081         Define __have_dup3.
73082         * io/dup3.c: Define hidden symbol.
73083         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73085         [BZ #7101]
73086         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73087         when an incomplete long option is used.
73088         * posix/tst-getopt_long1.c: New file.
73089         * posix/Makefile (tests): Add tst-getopt_long1.
73091         [BZ #10138]
73092         * scripts/config.guess: Update from autoconf-2.68.
73093         * scripts/config.sub: Likewise.
73095         [BZ #10157]
73096         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73097         tests into ...
73098         (has_cpuclock): ...this.  New function.
73099         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73100         macro here based on has_cpuclock code.
73102         [BZ #10149]
73103         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73104         First byte (not low byte) is now always NUL.
73105         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73107         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73108         Use non-cancelable interfaces.
73110         [BZ #9809]
73111         * locale/iso-639.def: Add entry for Sorani.
73113         [BZ #11901]
73114         * include/stdlib.h: Move include protection to the right place.
73115         Define abort_msg_s.  Declare __abort_msg with it.
73116         * stdlib/abort.c (__abort_msg): Adjust type.
73117         * assert/assert.c (__assert_fail_base): New function.  Majority
73118         of code from __assert_fail.  Allocate memory for __abort_msg with
73119         mmap.
73120         (__assert_fail): Now call __assert_fail_base.
73121         * assert/assert-perr.c: Remove bulk of implementation.  Use
73122         __assert_fail_base.
73123         * include/assert.hL Declare __assert_fail_base.
73124         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73125         mmap.
73126         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73128 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73130         [BZ #11952]
73131         [BZ #12453]
73132         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73133         until all modules are registered in the DTV.
73134         * elf/Makefile: Add rules to build and run tst-tls19.
73135         * elf/tst-tls19.c: New file.
73136         * elf/tst-tls19mod1.c: New file.
73137         * elf/tst-tls19mod2.c: New file.
73138         * elf/tst-tls19mod3.c: New file.
73139         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73141         [BZ #12083]
73142         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73143         correctly.
73145         [BZ #12601]
73146         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73147         two-byte sequence errors.
73148         * iconvdata/Makefile (tests): Add bug-iconv8.
73149         * iconvdata/bug-iconv8.c: New file.
73151         [BZ #12626]
73152         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73153         buf2 definition.
73155         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73157         [BZ #12432]
73158         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73159         (dummy_getcfa): New function.
73160         (init): Get _Unwind_GetCFA address, use dummy if not found.
73161         (backtrace_helper): In recursion check, also check whether CFA changes.
73162         (__backtrace): Completely initialize arg.
73164         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73165         storing incomplete byte sequence in state object.  Avoid testing for
73166         guaranteed too small input if we know there is enough data available.
73168 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73170         * Makeconfig (+link-pie): Indent.
73171         * Rules (binaries-pie): Define if $(have-fpie) and
73172         $(build-shared).
73173         (binaries-shared): Also filter out $(binaries-pie).
73174         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73175         * nscd/Makefile (others-pie): Add nscd.
73176         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73177         ($(objpfx)nscd): Remove command override.
73178         * login/Makefile (others-pie): Add pt_chown.
73179         ($(objpfx)pt_chown): Remove command override.
73180         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73181         remove command overrides.
73183 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73185         * libio/tst_putwc.c: Fix error messages.
73187         [BZ #12724]
73188         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73189         currently writing and seek to current position when not.
73190         * libio/Makefile (tests): Add bug-fclose1.
73191         * libio/bug-fclose1.c: New file.
73193 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73195         [BZ #12511]
73196         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73197         don't set DF_1_NODELETE here.
73198         (do_lookup_x): When entering new entry test for copy relocation
73199         and if necessary set DF_1_NODELETE flag.
73200         * elf/tst-unique4.cc: New file.
73201         * elf/tst-unique4.h: New file.
73202         * elf/tst-unique4lib.cc: New file.
73203         * elf/Makefile: Add rules to build and run tst-unique4.
73204         Patch by Piotr Bury <pbury@goahead.com>.
73206 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73208         [BZ #12052]
73209         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73211         [BZ #12625]
73212         * misc/mntent_r.c (addmntent): Flush the stream after the output
73214         [BZ #12393]
73215         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73216         (is_trusted_path_normalize): Skip initial colon.  Append slash
73217         to empty buffer.  Duplicate is_trusted_path code but allow
73218         constructed patch to be prefix.
73219         (is_dst): Allow $ORIGIN followed by /.
73220         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73221         Correct testing of result of is_trusted_path_normalize
73222         (decompose_rpath): Fix warning.
73224 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73226         [BZ #11257]
73227         * grp/initgroups.c (internal_getgrouplist): When we found the service
73228         list through the initgroups entry in nsswitch.conf do not always
73229         continue on a successful lookup.  Don't always use the
73230         __nss_group_database value if it is set.
73231         * nss/nsswitch.conf (initgroups): Change action for successful db
73232         lookup to continue for compatibility.
73234 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73236         [BZ #11532]
73237         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73238         and CP774 modules.
73239         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73240         and CP774 modules.
73241         * iconvdata/tst-tables.sh: Likewise.
73242         * iconvdata/cp770.c: New file.
73243         * iconvdata/cp771.c: New file.
73244         * iconvdata/cp772.c: New file.
73245         * iconvdata/cp773.c: New file.
73246         * iconvdata/cp774.c: New file.
73247         * iconvdata/testdata/CP770: New file.
73248         * iconvdata/testdata/CP770..UTF8: New file.
73249         * iconvdata/testdata/CP771: New file.
73250         * iconvdata/testdata/CP771..UTF8: New file.
73251         * iconvdata/testdata/CP772: New file.
73252         * iconvdata/testdata/CP772..UTF8: New file.
73253         * iconvdata/testdata/CP773: New file.
73254         * iconvdata/testdata/CP773..UTF8: New file.
73255         * iconvdata/testdata/CP774: New file.
73256         * iconvdata/testdata/CP774..UTF8: New file.
73258         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73259         END CHARMAP line.
73260         * iconvdata/gen-8bit-gap.sh: Likewise.
73261         * iconvdata/gen-8bit.sh: Likewise.
73263         * locale/iso-639.def: Add ary entry.
73265         [BZ #11258]
73266         * locale/C-translit.h.in: Add U20A1 transliteration.
73268         [BZ #12178]
73269         * locale/iso-639.def: Add wae entry.
73270         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73272         [BZ #12545]
73273         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73274         for n.
73276         [BZ #12711]
73277         * locale/C-translit.h.in: Add entry for U20B9.
73278         Patch by pravin.d.s@gmail.com.
73280 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73282         [BZ #12713]
73283         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73284         ENAMETOOLONG use generic getcwd.
73285         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73286         in rtld.  Use *stat64.
73287         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73288         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73289         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73290         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73291         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73292         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73293         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73294         __fstatat64 macros.
73295         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73296         * dirent/rewinddir.c: Add libc_hidden_def.
73297         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73298         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73300         * include/dirent.h (__alloc_dir): Add flags parameter.
73301         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73302         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73303         __alloc_dir.
73304         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73305         from fdopendir if O_CLOEXEC is already set.
73307 2011-03-15  Alan Modra  <amodra@gmail.com>
73309         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73310         l_tls_firstbyte_offset non-zero.  Save padding offset in
73311         l_tls_firstbyte_offset for later use.
73312         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73313         freeing static tls block.
73315 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73317         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73318         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73319         being defined by the kernel headers.
73321 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73323         [BZ #12734]
73324         * resolv/resolv.h: Define RES_NOTLDQUERY.
73325         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73326         no-tld-query and set RES_NOTLDQUERY.
73327         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73328         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73329         modern BIND to search name as TLD unless forbidden.
73331 2011-05-07  Petr Baudis  <pasky@suse.cz>
73332             Ulrich Drepper  <drepper@gmail.com>
73334         [BZ #12393]
73335         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73336         (is_trusted_path): ...to here.
73337         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73338         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73339         using is_trusted_path_normalize() in setuid scripts.
73341 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73343         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73344         __BEGIN/__END_DECLS.
73346 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73348         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73349         NSS_STATUS_NOTFOUND if no record was found.
73351 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73353         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73354         (headers-not-in-tirpc): Remove rpc/netdb.h
73355         * resolv/netdb.h: Revert last change.
73357 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73359         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73360         circular dependency between libgcc.a and libc.a.
73362 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73364         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73365         * nis/Makefile: Don't install rpcsvc/*.
73366         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73367         instead of <rpc/types.h>.
73368         (MAXHOSTNAMELEN): Define.
73370 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73372         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73374 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73376         [BZ #12714]
73377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73378         gethostbyname4_r when IPv6 results are possible.
73380 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73382         [BZ #12723]
73383         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73384         _PC_PIPE_BUF handling.
73386 2011-04-30  Bruno Haible  <bruno@clisp.org>
73388         [BZ #12717]
73389         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73390         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73391         to 'int'.
73392         * inet/getnameinfo.c (getnameinfo): Likewise.
73394 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73396         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73397         to groups setting in database lookup.
73398         * nss/nsswitch.conf: Add initgroups entry.
73400 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73402         [BZ #12685]
73403         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73404         mode string.
73405         Patch by Eric Blake <eblake@redhat.com>.
73407 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73409         * sunrpc/Makefile (need-export-routines): Add svc_run.
73410         (routines): Remove svc_run.
73411         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73412         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73413         * sunrpc/svc_run.c (svc_run): Likewise.
73414         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73416 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73418         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73419         problem in reallocation in last patch.
73421 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73423         * sunrpc/Makefile: Move inclusion of Rules.
73425 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73427         * nss/nss_files/files-initgroups.c: New file.
73428         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73429         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73430         _nss_files_initgroups_dyn.
73432 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73434         * elf/elf.h (R_ARM_IRELATIVE): Define.
73436 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73438         * po/ru.po: Update from translation team.
73440 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73442         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73443         dependencies.
73445 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73447         [BZ #12653]
73448         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73449         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73450         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73452         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73454 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73456         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73457         differing bytes.
73458         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73459         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73460         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73462 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73464         [BZ #12420]
73465         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73466         storing it.
73467         * stdlib/bug-getcontext.c: New file.
73468         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73470 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73472         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73473         instructions into .machine "z9-109".
73474         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73475         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73477 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73479         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73480         between environment variables and auxiliary vector.
73482 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73484         * Makefile: Add rules to build linkobj/libc.so.
73485         * include/libc-symbols.h: Define libc_hidden_nolink.
73486         * include/rpc/auth.h: Mark functions which are to be hidden.
73487         * include/rpc/auth_des.h: Likewise.
73488         * include/rpc/auth_unix.h: Likewise.
73489         * include/rpc/clnt.h: Likewise.
73490         * include/rpc/des_crypt.h: Likewise.
73491         * include/rpc/key_prot.h: Likewise.
73492         * include/rpc/pmap_clnt.h: Likewise.
73493         * include/rpc/pmap_prot.h: Likewise.
73494         * include/rpc/pmap_rmt.h: Likewise.
73495         * include/rpc/rpc_msg.h: Likewise.
73496         * include/rpc/svc.h: Likewise.
73497         * include/rpc/svc_auth.h: Likewise.
73498         * include/rpc/xdr.h: Likewise.
73499         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73500         * nss/Makefile: Likewise.
73501         * sunrpc/Makefile: Don't install headers.  Build library with normal
73502         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73503         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73504         for the compat linking library.  Remove use of INTDEF/INTUSE.
73505         * sunrpc/auth_none.c: Likewise.
73506         * sunrpc/auth_unix.c: Likewise.
73507         * sunrpc/authdes_prot.c: Likewise.
73508         * sunrpc/authuxprot.c: Likewise.
73509         * sunrpc/clnt_gen.c: Likewise.
73510         * sunrpc/clnt_perr.c: Likewise.
73511         * sunrpc/clnt_raw.c: Likewise.
73512         * sunrpc/clnt_simp.c: Likewise.
73513         * sunrpc/clnt_tcp.c: Likewise.
73514         * sunrpc/clnt_udp.c: Likewise.
73515         * sunrpc/clnt_unix.c: Likewise.
73516         * sunrpc/des_crypt.c: Likewise.
73517         * sunrpc/des_soft.c: Likewise.
73518         * sunrpc/get_myaddr.c: Likewise.
73519         * sunrpc/key_call.c: Likewise.
73520         * sunrpc/key_prot.c: Likewise.
73521         * sunrpc/netname.c: Likewise.
73522         * sunrpc/pm_getmaps.c: Likewise.
73523         * sunrpc/pm_getport.c: Likewise.
73524         * sunrpc/pmap_clnt.c: Likewise.
73525         * sunrpc/pmap_prot.c: Likewise.
73526         * sunrpc/pmap_prot2.c: Likewise.
73527         * sunrpc/pmap_rmt.c: Likewise.
73528         * sunrpc/publickey.c: Likewise.
73529         * sunrpc/rpc_cmsg.c: Likewise.
73530         * sunrpc/rpc_common.c: Likewise.
73531         * sunrpc/rpc_dtable.c: Likewise.
73532         * sunrpc/rpc_prot.c: Likewise.
73533         * sunrpc/rpc_thread.c: Likewise.
73534         * sunrpc/rtime.c: Likewise.
73535         * sunrpc/svc.c: Likewise.
73536         * sunrpc/svc_auth.c: Likewise.
73537         * sunrpc/svc_authux.c: Likewise.
73538         * sunrpc/svc_raw.c: Likewise.
73539         * sunrpc/svc_run.c: Likewise.
73540         * sunrpc/svc_simple.c: Likewise.
73541         * sunrpc/svc_tcp.c: Likewise.
73542         * sunrpc/svc_udp.c: Likewise.
73543         * sunrpc/svc_unix.c: Likewise.
73544         * sunrpc/svcauth_des.c: Likewise.
73545         * sunrpc/xcrypt.c: Likewise.
73546         * sunrpc/xdr.c: Likewise.
73547         * sunrpc/xdr_array.c: Likewise.
73548         * sunrpc/xdr_float.c: Likewise.
73549         * sunrpc/xdr_intXX_t.c: Likewise.
73550         * sunrpc/xdr_mem.c: Likewise.
73551         * sunrpc/xdr_rec.c: Likewise.
73552         * sunrpc/xdr_ref.c: Likewise.
73553         * sunrpc/xdr_sizeof.c: Likewise.
73554         * sunrpc/xdr_stdio.c: Likewise.
73556 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73558         [BZ #12650]
73559         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73560         * sysdeps/ia64/dl-tls.h: Likewise.
73561         * sysdeps/powerpc/dl-tls.h: Likewise.
73562         * sysdeps/s390/dl-tls.h: Likewise.
73563         * sysdeps/sh/dl-tls.h: Likewise.
73564         * sysdeps/sparc/dl-tls.h: Likewise.
73565         * sysdeps/x86_64/dl-tls.h: Likewise.
73566         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73568 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73570         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73571         rpath element also skip the following colon.
73572         (expand_dynamic_string_token): Add is_path parameter and pass
73573         down to DL_DST_REQUIRED and _dl_dst_substitute.
73574         (decompose_rpath): Call expand_dynamic_string_token with
73575         non-zero is_path.  Ignore empty rpaths.
73576         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73577         with zero is_path.
73579 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73582         Make cancelable.
73584 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73586         [BZ #12655]
73587         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73588         Patch by Filipe David Manana <fdmanana@apache.org>.
73590 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73592         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73593         Maintain aligned stack.
73594         (CHECK_RSP): Remove unused macro.
73596 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73598         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73599         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73601 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73603         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73605         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73607 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73609         [BZ #12518]
73610         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73611         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73612         * sysdeps/x86_64/memmove.c: New file.
73613         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73614         (memcpy): Renamed to ...
73615         (__new_memcpy): This.
73616         (memcpy): Provide GLIBC_2_14 memcpy.
73617         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73618         (memcpy): Provide GLIBC_2_2_5 memcpy.
73620 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73622         [BZ #12631]
73623         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73625 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73627         * misc/syncfs.c: New file.
73628         * misc/Makefile (routines): Add syncfs.
73629         * posix/unistd.h: Declare syncfs.
73630         * sysdeps/unix/syscalls.list: Add syncfs.
73632 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73634         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73635         open_by_handle_at.
73636         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73637         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73638         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73639         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73641         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73642         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73644 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73646         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73647         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73648         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73649         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73650         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73651         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73652         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73654         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73655         sync_file_range.c with -fexceptions.
73656         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73657         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73658         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73659         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73660         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73661         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73662         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73663         sync_file_range as cancellation point
73664         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73665         now a wrapper around __call_sync_file_range with cancellation handling.
73666         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73667         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73668         function name to __call_sync_file_range.
73669         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73670         Add call_sync_file_range.
73672 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73675         bits/timex.h.
73677 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73679         * iconv/iconv.h: Fix typo in comment.
73680         * io/fcntl.h: Likewise.
73681         * libio/stdio.h: Likewise.
73682         * posix/spawn.h: Likewise.
73683         * posix/unistd.h: Likewise.
73684         * stdlib/stdlib.h: Likewise.
73685         * time/time.h: Likewise.
73686         * wcsmbs/wchar.h: Likewise.
73688         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73689         open_by_handle): Add.
73690         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73691         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73692         Augment a few comments.
73693         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73698         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73699         open_by_handle.
73701         * io/fcntl.h (AT_EMPTY_PATH): Define.
73703 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73705         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73706         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73707         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73708         to...
73709         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73710         * Versions.def: Add GLIBC_2.14.
73711         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73712         Export.
73714 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73716         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73717         round counter.
73718         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73720 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73722         [BZ #12597]
73723         * string/test-strncmp.c (do_page_test): New function.
73724         (check2): Likewise.
73725         (test_main): Call check2.
73726         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73728 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73730         [BZ #12587]
73731         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73732         Handle cache information in CPU leaf 4.
73733         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73735 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73737         [BZ #12583]
73738         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73739         character representation.
73740         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73742 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73744         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73745         END(__isnan) to END(__isnanf) to match function entry point/label
73746         EALIGN(__isnanf,...).
73748 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73750         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73752 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73754         [BZ #12510]
73755         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73756         copy from the symbol referenced in the relocation to initialize the
73757         used variable.
73758         Patch by Piotr Bury <pbury@goahead.com>.
73759         * elf/Makefile: Add rules to build and tst-unique3.
73760         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73761         * elf/tst-unique3.cc: New file.
73762         * elf/tst-unique3.h: New file.
73763         * elf/tst-unique3lib.cc: New file.
73764         * elf/tst-unique3lib2.cc: New file.
73766         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73768 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73770         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73771         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73772         to _start.
73774 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73776         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73777         to-be-loaded object along a path to loader is ld.so.
73779 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73780             Ulrich Drepper  <drepper@gmail.com>
73782         * sysdeps/x86_64/memset.S: After aligning destination, code
73783         branches to different locations depending on the value of
73784         misalignment, when multiarch is enabled. Fix this.
73786 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73788         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73789         Set _x86_64_preferred_memory_instruction for AMD processsors.
73790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73791         Set bit_Prefer_SSE_for_memop for AMD processors.
73793 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73795         * libio/fmemopen.c (fmemopen): Optimize a bit.
73797 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73799         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73801 2011-03-03  Roland McGrath  <roland@redhat.com>
73803         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73805 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73807         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73808         __bzero_ultra1 instead of __memset_ultra1.
73810 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73811             Ulrich Drepper  <drepper@gmail.com>
73813         [BZ #12509]
73814         * include/link.h (struct link_map): Add l_orig_initfini.
73815         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73816         returning unsuccessfully.
73817         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73818         close of a file loaded at startup, restore the original l_initfini
73819         list.
73820         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73821         list, store the pointer.
73822         * elf/Makefile ($(objpfx)noload-mem): New rule.
73823         (noload-ENV): Define.
73824         (tests): Add $(objpfx)noload-mem.
73825         * elf/noload.c: Include <memcheck.h>.
73826         (main): Call mtrace.  Close all opened handles.
73828 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73830         [BZ #12454]
73831         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73832         dependencies are missing.
73834 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73836         Fix __if_freereq crash: Unlike the generic version which uses free,
73837         Hurd needs munmap.
73838         * sysdeps/mach/hurd/ifreq.h: New file.
73840 2011-01-27  Petr Baudis  <pasky@suse.cz>
73841             Ulrich Drepper  <drepper@gmail.com>
73843         [BZ 12445]#
73844         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73845         to extend_alloca().
73846         * stdio-common/bug23.c: New file.
73847         * stdio-common/Makefile (tests): Add bug23.
73849 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73850             Ulrich Drepper  <drepper@gmail.com>
73852         [BZ #12489]
73853         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73854         before performing relro protection.  At old place add assertion
73855         to make sure nothing changed.
73857 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73858             Glauber de Oliveira Costa  <glommer@gmail.com>
73860         * elf/elf.h: Add new ARM TLS relocs.
73862 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73865         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73866         cast from r3.
73867         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73868         'tests' variable.
73869         * sysdeps/wordsize-64/tst-writev.c: New file.
73871 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73873         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73874         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73875         insns in _dl_start to prevent a TOC reference before relocs are
73876         resolved.
73878 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73880         [BZ #12469]
73881         * Makeconfig: Remove RANLIB definition.
73882         * Makerules: Don't use RANLIB.
73883         * aclocal.m4: Remove ranlib test.
73884         * configure.in: No need to check for ranlib.
73885         * elf/rtld-Rules: Don't use RANLIB.
73887 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73889         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73890         protection macro.
73891         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73892         inclusion protection macro.
73894         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73895         SIGRTMIN and SIGRTMAX and print information in that case only when
73896         SIGRTMIN is defined.
73898 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73900         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73901         arginfo fn returning -1.
73903         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73904         and thousands string is zero terminated.
73906 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73909         sysdeps/unix/sysv/linux/bits/socket.h.
73911 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73913         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73914         (__CPU_COUNT): Remove old macros.
73915         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73916         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73917         (__CPU_ALLOC, __CPU_FREE): Add macros.
73918         (__sched_cpualloc, __sched_cpufree): Add declarations.
73920 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73922         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73923         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73924         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73925         (readdhstai): Return value of addhstaiX call.
73926         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73927         (addgrbyX): Return value returned by cache_addgr.
73928         (readdgrbyname): Return value returned by addgrbyX.
73929         (readdgrbygid): Likewise.
73930         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73931         (addpwbyX): Return value returned by cache_addpw.
73932         (readdpwbyname): Return value returned by addhstbyX.
73933         (readdpwbyuid): Likewise.
73934         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73935         (addservbyX): Return value returned by cache_addserv.
73936         (readdservbyname): Return value returned by addservbyX:
73937         (readdservbyport): Likewise.
73938         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73939         (addhstbyX): Return value returned by cache_addhst.
73940         (readdhstbyname): Return value returned by addhstbyX.
73941         (readdhstbyaddr): Likewise.
73942         (readdhstbynamev6): Likewise.
73943         (readdhstbyaddrv6): Likewise.
73944         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73945         (readdinitgroups): Return value returned by addinitgroupsX.
73946         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73947         (prune_cache): Keep track of timeout value of re-added entries.
73948         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73949         * nscd/nscd.h: Adjust prototypes of readd* functions.
73951 2011-02-04  Roland McGrath  <roland@redhat.com>
73953         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73954         (nis_stats): Likewise.
73955         * nis/nis_modify.c (nis_modify): Likewise.
73956         * nis/nis_remove.c (nis_remove): Likewise.
73957         * nis/nis_add.c (nis_add): Likewise.
73959         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73961         * posix/fnmatch_loop.c: Add some consts.
73963         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73965 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73967         [BZ #12460]
73968         * config.make.in (config-cflags-novzeroupper): Define.
73969         * configure.in: Substitute libc_cv_cc_novzeroupper.
73970         * elf/Makefile (AVX-CFLAGS): Define.
73971         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73972         (CFLAGS-tst-auditmod4a.c): Likewise.
73973         (CFLAGS-tst-auditmod4b.c): Likewise.
73974         (CFLAGS-tst-auditmod6b.c): Likewise.
73975         (CFLAGS-tst-auditmod6c.c): Likewise.
73976         (CFLAGS-tst-auditmod7b.c): Likewise.
73977         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73979 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73981         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73982         function to the callback.
73983         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73985 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73987         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73988         of errno.
73990 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73992         [BZ #11724]
73993         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73994         of constructors.
73995         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73996         of destructors.
73997         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73999         [BZ #11724]
74000         * elf/Makefile: Add rules to build and run new test.
74001         * elf/tst-initorder.c: New file.
74002         * elf/tst-initorder.exp: New file.
74003         * elf/tst-initordera1.c: New file.
74004         * elf/tst-initordera2.c: New file.
74005         * elf/tst-initordera3.c: New file.
74006         * elf/tst-initordera4.c: New file.
74007         * elf/tst-initorderb1.c: New file.
74008         * elf/tst-initorderb2.c: New file.
74009         * elf/tst-order-a1.c: New file.
74010         * elf/tst-order-a2.c: New file.
74011         * elf/tst-order-a3.c: New file.
74012         * elf/tst-order-a4.c: New file.
74013         * elf/tst-order-b1.c: New file.
74014         * elf/tst-order-b2.c: New file.
74015         * elf/tst-order-main.c: New file.
74016         New test case by George Gensure <werkt0@gmail.com>.
74018 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74021         decoding ACE if AI_CANONIDN.
74023 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74025         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74027 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74029         * version.h (RELEASE): Bump for 2.13 release.
74030         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74032         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74034         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74035         MADV_NOHUGEPAGE.
74036         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74037         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74038         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74039         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74040         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74041         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74043         * posix/getconf.c: Update copyright year.
74044         * catgets/gencat.c: Likewise.
74045         * csu/version.c: Likewise.
74046         * debug/catchsegv.sh: Likewise.
74047         * debug/xtrace.sh: Likewise.
74048         * elf/ldconfig.c: Likewise.
74049         * elf/ldd.bash.in: Likewise.
74050         * elf/sprof.c (print_version): Likewise.
74051         * iconv/iconv_prog.c: Likewise.
74052         * iconv/iconvconfig.c: Likewise.
74053         * locale/programs/locale.c: Likewise.
74054         * locale/programs/localedef.c: Likewise.
74055         * malloc/memusage.sh: Likewise.
74056         * malloc/mtrace.pl: Likewise.
74057         * nscd/nscd.c (print_version): Likewise.
74058         * nss/getent.c: Likewise.
74060         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74061         PF_CAIF, and PF_ALG.
74062         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74064 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74066         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74067         (modules-names): Use them.
74068         (ifunc-test-modules, ifunc-pie-tests): Define.
74069         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74070         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74071         (test-extras): Likewise.
74072         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74073         $(compile-command.c).
74074         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74075         (all-built-dso): Define.
74076         (check-textrel.out, check-execstack.out): Depend on it.
74078         * configure.in: Don't override --enable-multi-arch.
74080 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74082         [BZ #6812]
74083         * nscd/hstcache.c (tryagain): Define.
74084         (cache_addhst): Return tryagain not notfound for temporary errors.
74085         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74086         failed.
74088 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74090         [BZ #10563]
74091         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74092         to make the syscall.
74093         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74095         [BZ #12378]
74096         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74097         and fall back to matching as normal character if the string ends before
74098         the matching ']' is found.  This is what POSIX requires.
74099         * posix/testfnm.c: Adjust test result.
74100         * posix/globtest.sh: Adjust test result.  Add new test.
74101         * posix/tst-fnmatch.input: Likewise.
74102         * posix/tst-fnmatch2.c: Add new test.
74104 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74106         * elf/Makefile (check-execstack): Revert last change.  Depend on
74107         check-execstack.h.
74108         (check-execstack.h): New target.
74109         (generated): Add check-execstack.h.
74110         * elf/check-execstack.c: Include "check-execstack.h".
74111         (main): Revert last change.
74112         (handle_file): Return zero if GNU_STACK is absent and
74113         DEFAULT_STACK_PERMS doesn't include PF_X.
74115 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74117         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74118         in child fails because the descriptor is already closed.
74119         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74120         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74121         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74123         [BZ #12397]
74124         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74125         syscall.
74127         [BZ #10484]
74128         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74129         temporary buffer used to handle multi lookups locally.
74130         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74132 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74134         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74135         loader is ld.so.
74137 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74139         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74140         alignment for SSE2.
74142 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74144         [BZ #12394]
74145         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74146         characters.  When rounding increased number of integer digits recompute
74147         number of groups.
74148         * stdio-common/tst-grouping.c: New file.
74149         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74151 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74153         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74154         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74156         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74157         void.
74158         * bits/select.h: Likewise.
74160 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74162         * po/ja.po: Update from translation team.
74164 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74166         [BZ #11155]
74167         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74168         implementation just like for lxstat, fxstatat, et al.
74170 2010-12-27  Jim Meyering  <meyering@redhat.com>
74172         [BZ #12348]
74173         * posix/regexec.c (build_trtable): Return failure indication upon
74174         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74176 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74178         [BZ #12201]
74179         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74180         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74181         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74182         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74184         [BZ #12207]
74185         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74187         [BZ #12204]
74188         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74189         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74191 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74193         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74194         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74195         script has SORT_BY_INIT_PRIORITY.
74196         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74197         NO_CTORS_DTORS_SECTIONS is defined.
74198         * elf/soinit.c: Likewise.
74199         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74200         NO_CTORS_DTORS_SECTIONS is defined.
74201         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74202         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74203         * sysdeps/sh/init-first.c: Likewise.
74204         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74206 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74208         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74209         always use the slow path.
74211 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74213         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74214         similar rule which adds the sysdep directories to the header search in
74215         order to pick up the correct platform stackinfo.h.
74216         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74217         perform test if it is, otherwise return successfully without testing.
74218         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74219         DEFAULT_STACK_PERMS define in stackinfo.h.
74220         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74221         defined in stackinfo.h.
74222         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74223         DEFAULT_STACK_PERMS defined in stackinfo.h.
74224         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74225         * sysdeps/ia64/stackinfo.h: Likewise.
74226         * sysdeps/s390/stackinfo.h: Likewise.
74227         * sysdeps/sh/stackinfo.h: Likewise.
74228         * sysdeps/sparc/stackinfo.h: Likewise.
74229         * sysdeps/x86_64/stackinfo.h: Likewise.
74230         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74231         PF_X for powerpc64.  Retain PF_X for powerpc32.
74233 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74235         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74236         accurately.
74237         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74238         GETDENTS_64BIT_ALIGNED.
74240 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74242         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74244 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74246         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74247         _GNU_SOURCE.
74249         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74250         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74251         Remove __restrict.
74252         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74253         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74255 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74257         [BZ #11655]
74258         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74259         are initialized.
74261 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74263         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74265 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74267         * po/it.po: Update from translation team.
74269 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74272         unused codes.
74274 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74276         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74278 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74280         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74281         specially.
74282         (gaih_getanswer_slice): Likewise.
74284 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74288 2010-05-31  Petr Baudis  <pasky@suse.cz>
74290         [BZ #11149]
74291         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74292         silently even in the chroot mode.
74294 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74296         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74297         last patch a bit.  Pretty printing
74299 2010-05-31  Petr Baudis <pasky@suse.cz>
74301         [BZ #10085]
74302         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74303         initialization of skip_initgroups_dyn.
74305 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74307         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74308         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74310 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74312         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74314 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74316         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74317         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74318         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74319         ($(objpfx)tst-fnmatch-mem): New rule.
74320         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74321         * posix/tst-fnmatch.c (main): Call mtrace.
74323 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74326         Support Intel processor model 6 and model 0x2c.
74328 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74330         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74331           signed comparison.
74333 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74335         [BZ #12205]
74336         * string/test-strncasecmp.c (check_result): New function.
74337         (do_one_test): Use it.
74338         (check1): New function.
74339         (test_main): Use it.
74340         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74341         Support strcasecmp and strncasecmp.
74343 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74345         [BZ #12194]
74346         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74347         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74349 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74351         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74352         IFUNC support.
74353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74354         memset-x86-64.
74355         * sysdeps/x86_64/multiarch/bzero.S: New file.
74356         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74357         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74358         * sysdeps/x86_64/multiarch/memset.S: New file.
74359         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74361         Set bit_Prefer_SSE_for_memop for Intel processors.
74362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74363         Define.
74364         (index_Prefer_SSE_for_memop): Define.
74365         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74367 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74369         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74370         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74372 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74374         [BZ #12191]
74375         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74376         (__x86_64_raw_data_cache_size_half): Likewise.
74377         (__x86_64_raw_shared_cache_size): Likewise.
74378         (__x86_64_raw_shared_cache_size_half): Likewise.
74380         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74381         (__x86_64_raw_data_cache_size_half): Likewise.
74382         (__x86_64_raw_shared_cache_size): Likewise.
74383         (__x86_64_raw_shared_cache_size_half): Likewise.
74384         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74385         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74386         and __x86_64_raw_shared_cache_size_half.  Round
74387         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74388         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74389         to multiple of 256 bytes.
74391 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74393         [BZ #12167]
74394         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74395         of inacessible symlinks.  Verify result of symlink before returning it.
74396         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74397         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74399 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74401         * math/math.h (isinf): Fix typo in comment.
74403 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74405         * po/da.po: Update from translation team.
74407 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74409         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74410         is added to the list.
74412 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74413             Ulrich Drepper  <drepper@gmail.com>
74415         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74416         the global list here.  Move code to...
74417         (_dl_add_to_namespace_list): ...here.  New function.
74418         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74419         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74420         * elf/dl-load.c (lose): Don't remove the element from the list.
74421         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74422         (_dl_map_object): Likewise.
74424 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74426         [BZ #12159]
74427         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74428         into all bytes of SSE register.
74429         Patch by Richard Li <richardpku@gmail.com>.
74431 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74433         [BZ #12140]
74434         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74435         perturbing.
74437 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74439         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74440         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74441         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74442         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74444         submachine.
74445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74447 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74449         * include/dlfcn.h (__RTLD_SECURE): Define.
74450         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74451         mode & __RTLD_SECURE instead.
74452         (open_path): Rename preloaded parameter to secure.
74453         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74454         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74455         * elf/dl-deps.c (openaux): Likewise.
74456         * elf/rtld.c (struct map_args): Remove is_preloaded.
74457         (map_doit): Don't use it.
74458         (dl_main): Likewise.
74459         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74460         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74462 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74464         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74465         (sysd-rules-targets): Remove duplicates.
74466         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74467         rtld-%.$o dependency.
74469 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74471         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74472         _dl_map_object do it.
74474 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74476         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74477         fast fma builtins, define the macros in the C99 standard.
74478         (FP_FAST_FMAF): Likewise.
74479         (FP_FAST_FMAL): Likewise.
74480         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74482         * bits/mathdef.h: Update copyright year.
74483         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74485 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74487         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74488         builtins, define the macros in the C99 standard.
74489         (FP_FAST_FMAF): Likewise.
74490         (FP_FAST_FMAL): Likewise.
74491         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74492         multiply/add.
74493         (FP_FAST_FMAF): Likewise.
74495 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74497         [BZ #3268]
74498         * math/libm-test.inc (fma_test): Some new testcases.
74499         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74500         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74501         y and infinite z.  Do multiplication by C already in long double.
74502         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74504         y and infinite z.  Do bitwise or of inexact bit into u.d.
74505         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74506         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74507         * sysdeps/i386/fpu/s_fma.S: Removed.
74508         * sysdeps/i386/fpu/s_fmal.S: Removed.
74510 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74512         [BZ #3268]
74513         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74515         computation is not scheduled after fetestexcept.  Fix value
74516         of minimum denormal long double.
74518 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74520         [BZ #3268]
74521         * math/libm-test.inc (fma_test): Add some more tests.
74522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74523         correctly.
74525 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74527         * scripts/data/localplt-s390-linux-gnu.data: New file.
74528         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74530 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74532         [BZ #3268]
74533         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74534         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74535         instead of dbl-64.
74536         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74537         inlines.
74538         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74540         if one of x and y is very large and the other is subnormal.
74541         * sysdeps/s390/fpu/s_fmaf.c: New file.
74542         * sysdeps/s390/fpu/s_fma.c: New file.
74543         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74544         * sysdeps/powerpc/fpu/s_fma.S: New file.
74545         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74546         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74547         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74549 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74551         [BZ #3268]
74552         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74553         fma tests.
74554         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74555         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74556         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74557         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74558         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74559         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74560         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74562 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74564         [BZ #12078]
74565         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74566         * posix/bug-regex31.input: Add test case.
74568 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74570         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74571         * posix/bug-regex31.input: New file.
74573         [BZ #12078]
74574         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74575         (parse_sub_exp): Fix last change, use postorder.
74577         * posix/bug-regex31.c: New file.
74578         * posix/Makefile: Add rules to build and run bug-regex31.
74580         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74582         [BZ #12078]
74583         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74585         [BZ #12108]
74586         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74587         to have entries in sys_siglist.
74589         [BZ #12093]
74590         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74591         be NULL.
74593 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74595         [BZ #3268]
74596         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74597         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74598         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74599         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74600         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74601         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74602         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74603         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74604         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74605         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74606         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74607         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74608         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74609         * math/ftestexcept.c (fetestexcept): Likewise.
74610         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74611         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74612         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74613         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74614         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74615         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74616         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74618 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74620         [BZ #12107]
74621         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74622         newline.
74624 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74626         * string/bug-strstr1.c: New file.
74627         * string/Makefile: Add rules to build and run bug-strstr1.
74629 2010-10-05  Eric Blake  <eblake@redhat.com>
74631         [BZ #12092]
74632         * string/str-two-way.h (two_way_long_needle): Always clear memory
74633         when skipping input due to the shift table.
74635 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74637         [BZ #12005]
74638         * malloc/mcheck.c: Handle large requests.
74640         [BZ #12077]
74641         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74642         for strncmp and strncasecmp.
74643         * string/stratcliff.c: Add tests for strcmp and strncmp.
74644         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74646 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74648         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74649         __set_fpscr.
74651 2010-09-30  Andreas Jaeger  <aj@suse.de>
74653         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74654         (CGROUP_SUPER_MAGIC): Define.
74655         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74656         Handle btrfs and cgroup file systems.
74657         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74658         Likewise.
74660 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74662         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74663         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74665 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74667         [BZ #12067]
74668         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74669         trying to locate the ELF header.
74671 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74673         [BZ #11611]
74674         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74675         Mask out sign-bit copies when constructing f_fsid.
74677 2010-09-24  Petr Baudis <pasky@suse.cz>
74679         * debug/stack_chk_fail_local.c: Add missing licence exception.
74680         * debug/warning-nop.c: Likewise.
74682 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74684         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74685         implementing getdents64 using getdents syscall, set d_type if
74686         __ASSUME_GETDENTS32_D_TYPE.
74688 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74690         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74691         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74693 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74695         [BZ #12037]
74696         * posix/unistd.h: Undo change of feature selection for ftruncate from
74697         2010-01-11.
74699 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74701         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74702         detection.
74704 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74706         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74707         fanotify_mark.
74708         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74710 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74712         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74713         variables after CHECK_SP call.
74714         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74716 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74717             Ulrich Drepper  <drepper@redhat.com>
74719         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74720         re-relocationg ld.so.
74721         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74722         _dl_init_paths call.
74723         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74724         here anymore.
74726 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74728         * resolv/res_init.c (__res_vinit): Count the default server we added.
74730 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74731             Ulrich Drepper  <drepper@redhat.com>
74733         [BZ #11968]
74734         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74735         (____longjmp_chk): Use %ebx for saving value across system call.
74736         Add unwind info.
74738 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74740         * manual/Makefile: Don't mix pattern rules with normal rules.
74742 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74744         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74745         operation.
74746         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74747         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74748         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74749         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74750         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74751         Likewise.
74753 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74755         [BZ #11979]
74756         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74757         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74759 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74761         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74762         * sysdeps/x86_64/addmul_1.S: Likewise.
74763         * sysdeps/x86_64/lshift.S: Likewise.
74764         * sysdeps/x86_64/mul_1.S: Likewise.
74765         * sysdeps/x86_64/rshift.S: Likewise.
74766         * sysdeps/x86_64/sub_n.S: Likewise.
74767         * sysdeps/x86_64/submul_1.S: Likewise.
74769 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74771         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74772         Define __sched_param instead of SCHED_* and sched_param when
74773         <bits/sched.h> is included with __need_schedparam defined.
74774         * bits/sched.h [__need_schedparam]
74775         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74776         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74777         (__defined_schedparam): Define to 1.
74778         (__sched_param): New structure, identical to sched_param.
74779         (__need_schedparam): Undefine.
74781 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74784         (epoll_create1): Declare.
74786         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74788 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74790         [BZ #7066]
74791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74792         shifting retval into place.
74794 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74796         * nis/rpcsvc/nis.h: Update copyright notice.
74797         * nis/rpcsvc/nis.x: Likewise.
74798         * nis/rpcsvc/nis_callback.h: Likewise.
74799         * nis/rpcsvc/nis_callback.x: Likewise.
74800         * nis/rpcsvc/nis_object.x: Likewise.
74801         * nis/rpcsvc/nis_tags.h: Likewise.
74802         * nis/rpcsvc/yp.h: Likewise.
74803         * nis/rpcsvc/yp.x: Likewise.
74804         * nis/rpcsvc/ypupd.h: Likewise.
74805         * nis/yp_xdr.c: Likewise.
74806         * nis/ypupdate_xdr.c: Likewise.
74808         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74809         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74810         (pmap_getport): Use __libc_rpc_getport.
74811         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74812         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74813         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74815 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74818         fanotify_mark.
74820 2010-08-27  Roland McGrath  <roland@redhat.com>
74822         * sysdeps/i386/i686/multiarch/Makefile
74823         (CFLAGS-varshift.c): New variable.
74825 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74827         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74828         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74830         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74832         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74834 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74836         * sysdeps/x86_64/strlen.S: Unroll the loop.
74837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74838         strlen-sse2 strlen-sse2-bsf.
74839         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74840         __strlen_no_bsf if bit_Slow_BSF is set.
74841         (__strlen_sse42): Removed.
74842         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74843         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74845 2010-08-25  Roland McGrath  <roland@redhat.com>
74847         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74848         * sysdeps/x86_64/multiarch/varshift.c: New file.
74849         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74850         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74851         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74852         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74854 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74857         strlen-sse2 strlen-sse2-bsf.
74858         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74859         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74860         (__strlen_sse2): Removed.
74861         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74862         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74864         bit_Slow_BSF for Atom.
74865         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74866         (index_Slow_BSF): Define.
74867         (HAS_SLOW_BSF): Define.
74869 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74871         [BZ #10851]
74872         * resolv/res_init.c (__res_vinit): When no server address at all
74873         is given default to loopback.
74875 2010-08-24  Roland McGrath  <roland@redhat.com>
74877         * configure.in: Remove config-name.h generation.
74878         * configure: Regenerated.
74879         * config-name.in: File removed.
74880         * scripts/config-uname.sh: New file.
74881         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74882         ($(objdir)config-name.h): New target.
74884         * sunrpc/rpc_parse.h: Avoid nested comment.
74886 2010-08-24  Richard Henderson  <rth@redhat.com>
74887             Ulrich Drepper  <drepper@redhat.com>
74888             H.J. Lu  <hongjiu.lu@intel.com>
74890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74892         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74893         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74894         _mm_alignr_epi8 with _mm_loadu_si128.
74895         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74896         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74897         (__m128i_shift_right): Removed.
74898         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74899         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74900         * sysdeps/x86_64/multiarch/varshift.h: New file.
74901         * sysdeps/x86_64/multiarch/varshift.S: New file.
74903 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74905         * configure.in: Move assembler checks to before sysdep dir checking.
74907 2010-08-20  Petr Baudis  <pasky@suse.cz>
74909         * LICENSES: Sync the sunrpc license.
74911 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74913         * sunrpc/auth_des.c: Update copyright notice once again.
74914         * sunrpc/auth_none.c: Likewise.
74915         * sunrpc/auth_unix.c: Likewise.
74916         * sunrpc/authdes_prot.c: Likewise.
74917         * sunrpc/authuxprot.c: Likewise.
74918         * sunrpc/bindrsvprt.c: Likewise.
74919         * sunrpc/clnt_gen.c: Likewise.
74920         * sunrpc/clnt_perr.c: Likewise.
74921         * sunrpc/clnt_raw.c: Likewise.
74922         * sunrpc/clnt_simp.c: Likewise.
74923         * sunrpc/clnt_tcp.c: Likewise.
74924         * sunrpc/clnt_udp.c: Likewise.
74925         * sunrpc/clnt_unix.c: Likewise.
74926         * sunrpc/des_crypt.c: Likewise.
74927         * sunrpc/des_soft.c: Likewise.
74928         * sunrpc/get_myaddr.c: Likewise.
74929         * sunrpc/getrpcport.c: Likewise.
74930         * sunrpc/key_call.c: Likewise.
74931         * sunrpc/key_prot.c: Likewise.
74932         * sunrpc/openchild.c: Likewise.
74933         * sunrpc/pm_getmaps.c: Likewise.
74934         * sunrpc/pm_getport.c: Likewise.
74935         * sunrpc/pmap_clnt.c: Likewise.
74936         * sunrpc/pmap_prot.c: Likewise.
74937         * sunrpc/pmap_prot2.c: Likewise.
74938         * sunrpc/pmap_rmt.c: Likewise.
74939         * sunrpc/rpc/auth.h: Likewise.
74940         * sunrpc/rpc/auth_unix.h: Likewise.
74941         * sunrpc/rpc/clnt.h: Likewise.
74942         * sunrpc/rpc/des_crypt.h: Likewise.
74943         * sunrpc/rpc/key_prot.h: Likewise.
74944         * sunrpc/rpc/netdb.h: Likewise.
74945         * sunrpc/rpc/pmap_clnt.h: Likewise.
74946         * sunrpc/rpc/pmap_prot.h: Likewise.
74947         * sunrpc/rpc/pmap_rmt.h: Likewise.
74948         * sunrpc/rpc/rpc.h: Likewise.
74949         * sunrpc/rpc/rpc_des.h: Likewise.
74950         * sunrpc/rpc/rpc_msg.h: Likewise.
74951         * sunrpc/rpc/svc.h: Likewise.
74952         * sunrpc/rpc/svc_auth.h: Likewise.
74953         * sunrpc/rpc/types.h: Likewise.
74954         * sunrpc/rpc/xdr.h: Likewise.
74955         * sunrpc/rpc_clntout.c: Likewise.
74956         * sunrpc/rpc_cmsg.c: Likewise.
74957         * sunrpc/rpc_common.c: Likewise.
74958         * sunrpc/rpc_cout.c: Likewise.
74959         * sunrpc/rpc_dtable.c: Likewise.
74960         * sunrpc/rpc_hout.c: Likewise.
74961         * sunrpc/rpc_main.c: Likewise.
74962         * sunrpc/rpc_parse.c: Likewise.
74963         * sunrpc/rpc_parse.h: Likewise.
74964         * sunrpc/rpc_prot.c: Likewise.
74965         * sunrpc/rpc_sample.c: Likewise.
74966         * sunrpc/rpc_scan.c: Likewise.
74967         * sunrpc/rpc_scan.h: Likewise.
74968         * sunrpc/rpc_svcout.c: Likewise.
74969         * sunrpc/rpc_tblout.c: Likewise.
74970         * sunrpc/rpc_util.c: Likewise.
74971         * sunrpc/rpc_util.h: Likewise.
74972         * sunrpc/rpcinfo.c: Likewise.
74973         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74974         * sunrpc/rpcsvc/key_prot.x: Likewise.
74975         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74976         * sunrpc/rpcsvc/mount.x: Likewise.
74977         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74978         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74979         * sunrpc/rpcsvc/rex.x: Likewise.
74980         * sunrpc/rpcsvc/rstat.x: Likewise.
74981         * sunrpc/rpcsvc/rusers.x: Likewise.
74982         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74983         * sunrpc/rpcsvc/spray.x: Likewise.
74984         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74985         * sunrpc/rtime.c: Likewise.
74986         * sunrpc/svc.c: Likewise.
74987         * sunrpc/svc_auth.c: Likewise.
74988         * sunrpc/svc_authux.c: Likewise.
74989         * sunrpc/svc_raw.c: Likewise.
74990         * sunrpc/svc_run.c: Likewise.
74991         * sunrpc/svc_simple.c: Likewise.
74992         * sunrpc/svc_tcp.c: Likewise.
74993         * sunrpc/svc_udp.c: Likewise.
74994         * sunrpc/svc_unix.c: Likewise.
74995         * sunrpc/svcauth_des.c: Likewise.
74996         * sunrpc/xcrypt.c: Likewise.
74997         * sunrpc/xdr.c: Likewise.
74998         * sunrpc/xdr_array.c: Likewise.
74999         * sunrpc/xdr_float.c: Likewise.
75000         * sunrpc/xdr_mem.c: Likewise.
75001         * sunrpc/xdr_rec.c: Likewise.
75002         * sunrpc/xdr_ref.c: Likewise.
75003         * sunrpc/xdr_sizeof.c: Likewise.
75004         * sunrpc/xdr_stdio.c: Likewise.
75006         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75007         handling.
75009 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75011         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75013 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75015         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75016         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75017         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75018         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75019         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75020         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75021         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75022         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75023         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75024         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75025         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75026         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75027         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75028         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75030 2010-07-26  Anton Blanchard  <anton@samba.org>
75032         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75033         * malloc/arena.c (heap_trim): Likewise.
75035 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75037         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75038         here.  Not...
75039         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75040         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75042 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75044         * sysdeps/i386/elf/Makefile: New file.
75046 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75048         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75049         from fanotify_init.
75050         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75053 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75055         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75056         of strncasecmp_l.
75057         * sysdeps/multiarch/strcmp.S: Likewise.
75059 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75061         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75062         strncase_l-nonascii.
75063         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75064         Add strncase_l-ssse3.
75065         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75066         * sysdeps/x86_64/strcmp.S: Likewise.
75067         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75068         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75069         * sysdeps/x86_64/strncase.S: New file.
75070         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75071         * sysdeps/x86_64/strncase_l.S: New file.
75072         * string/Makefile (strop-tests): Add strncasecmp.
75073         * string/test-strncasecmp.c: New file.
75075         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75076         warning.
75078         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75079         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75081 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75083         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75085 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75087         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75088         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75089         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75091 2010-05-01  Alan Modra  <amodra@gmail.com>
75093         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75094         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75095         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75096         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75097         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75098         tidying.  Don't tail-call __sigjmp_save for static lib.
75099         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75100         save location.
75101         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75102         (CALL_MCOUNT): Add eh info, and nop after bl.
75103         (TAIL_CALL_SYSCALL_ERROR): New macro.
75104         (PSEUDO_RET): Use it.
75105         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75106         Correct save location of integer regs and cr.
75107         (_dl_profile_resolve): Correct cr save location.  Delete nops
75108         after bl when SHARED.  Reduce cfi size a little by better
75109         placement of cfi directives.
75110         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75111         make a stack frame.  Instead use parm save area as a temp.
75112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75113         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75115         Don't make a stack frame for parent, use parm save area.
75116         Increase child stack frame to 112 bytes.  Don't save unused reg,
75117         and adjust reg usage.  Set up cfi on error recovery and
75118         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75120         (__makecontext): Add dummy nop after jump to exit.
75121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75122         Use correct parm save area and cr save, reduce stack frame.
75123         Correct cfi for possible PSEUDO_RET frame setup.
75124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75125         Branch to local label emitted by PSEUDO_RET rather than
75126         __syscall_error.
75128 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75130         [BZ #11904]
75131         * locale/programs/locale.c (print_assignment): New function.
75132         (show_locale_vars): Use it.
75134 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75136         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75137         field.
75138         (struct statfs64): Likewise.
75139         (_STATFS_F_FLAGS): Define.
75140         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75141         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75142         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75143         (ST_VALID): Define locally.
75144         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75145         __statvfs_getflags, use the provided value.
75146         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75147         __ASSUME_STATFS_F_FLAGS.
75149         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75151         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75152         Add sys/fanotify.h.
75153         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75154         fanotify_mask for GLIBC_2.13.
75155         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75156         fanotify_init and fanotify_mark.
75157         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75158         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75160         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75161         Add prlimit.
75162         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75163         prlimit64 for GLIBC_2.13.
75164         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75165         prlimit64.
75166         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75167         syscall.
75168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75169         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75170         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75171         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75172         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75173         add prlimit alias.
75174         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75176         [BZ #11903]
75177         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75178         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75180         * nss/Makefile: Add rules to build and run tst-nss-test1.
75181         * shlib-versions: Add entry for libnss_test1.
75182         * nss/nss_test1.c: New file.
75183         * nss/tst-nss-test1.c: New file.
75185         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75186         (__nss_configure_lookup): Set appropriate entry in
75187         __nss_configure_lookup to true.
75188         * nss/nsswitch.h: Define enum with indeces of databases in
75189         databases and __nss_database_custom arrays.  Declare
75190         __nss_database_custom.
75191         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75192         to avoid using nscd when custom rules are installed.
75193         * nss/getXXbyYY_r.c: Likewise.
75194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75196         * nss/nss_files/files-parse.c: Whitespace fixes.
75198 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75200         [BZ #11883]
75201         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75202         * posix/fnmatch_loop.c: Likewise.
75204 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75206         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75207         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75208         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75209         * Versions.def [GLIBC_2.13]: Add.
75211 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75213         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75214         Also fail if tpwd after pwuid call is NULL.
75216 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75218         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75219         when converting to ms.
75221 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75223         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75224         EOPNOTSUPP errors with ENOTTY.
75225         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75226         EOPNOTSUPP errors with ENOTTY.
75228 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75230         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75231         Add strcasecmp_l-ssse3.
75232         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75233         strcasecmp.
75234         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75235         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75236         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75238 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75240         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75242         * string/Makefile (strop-tests): Add strcasecmp.
75243         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75244         strcasecmp_l-nonascii.
75245         (gen-as-const-headers): Add locale-defines.sym.
75246         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75247         * sysdeps/x86_64/strcasecmp.S: New file.
75248         * sysdeps/x86_64/strcasecmp_l.S: New file.
75249         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75250         * sysdeps/x86_64/locale-defines.sym: New file.
75251         * string/test-strcasecmp.c: New file.
75253         * string/test-strcasestr.c: Test both ends of the range of characters.
75254         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75256 2010-07-29  Roland McGrath  <roland@redhat.com>
75258         [BZ #11856]
75259         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75261 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75263         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75264         for ld.so.
75266 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75268         * manual/memory.texi (Malloc Tunable Parameters): Document
75269         M_PERTURB.
75271 2010-07-26  Roland McGrath  <roland@redhat.com>
75273         [BZ #11840]
75274         * configure.in (-fgnu89-inline check): Set and substitute
75275         gnu89_inline, not libc_cv_gnu89_inline.
75276         * configure: Regenerated.
75277         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75279 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75281         * string/test-strnlen.c: New file.
75282         * string/Makefile (strop-tests): Add strnlen.
75283         * string/tester.c (test_strnlen): Add a few more test cases.
75284         * string/tst-strlen.c: Better error reporting.
75286         * sysdeps/x86_64/strnlen.S: New file.
75288 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75290         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75291         lower-latency instructions.
75293 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75295         * string/test-strcasestr.c: New file.
75296         * string/test-strstr.c: New file.
75297         * string/Makefile (strop-tests): Add strstr and strcasestr.
75298         * string/str-two-way.h: Don't undefine MAX.
75299         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75301 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75303         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75304         strcasestr-nonascii.
75305         (CFLAGS-strcasestr-nonascii.c): Define.
75306         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75307         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75308         Remove unused attribute.
75310 2010-07-20  Roland McGrath  <roland@redhat.com>
75312         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75313         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75314         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75315         like LD_HWCAP_MASK can disable hwcaps.
75317 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75319         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75321 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75323         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75324         call in strcasestr.
75325         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75326         __strcasestr_sse42_nonascii.
75327         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75328         strcasestr-nonascii.c.
75329         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75331 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75333         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75334         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75335         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75336         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75338 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75340         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75341         fcntl.
75343 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75345         [BZ #11577]
75346         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75347         dl_signal_cerror.
75349 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75351         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75352         _PC_PIPE_BUF using F_GETPIPE_SZ.
75354 2010-07-05  Roland McGrath  <roland@redhat.com>
75356         * manual/arith.texi (Rounding Functions): Fix rint description
75357         implicit in round description.
75359 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75361         * elf/Makefile: Fix linking for a few tests to make recent linker
75362         happy.
75364 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75366         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75367         $(common-objpfx)libc_nonshared.a.
75369 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75371         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75372         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75373         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75374         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75375         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75376         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75377         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75378         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75393         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75394         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75395         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75396         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75397         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75398         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75399         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75400         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75401         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75402         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75403         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75404         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75420 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75422         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75423         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75424         * string/memmove.c (memmove): Renamed to ...
75425         (MEMMOVE): ...this.  Default to memmove.
75426         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75427         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75428         (END_CHK): Define.
75429         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75430         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75431         mempcpy-ssse3-back memmove-ssse3-back.
75432         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75433         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75434         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75435         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75436         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75437         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75438         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75439         * sysdeps/x86_64/multiarch/memmove.c: New file.
75440         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75441         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75442         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75443         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75444         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75445         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75446         Define.
75447         (index_Fast_Copy_Backward): Define.
75448         (HAS_ARCH_FEATURE): Define.
75449         (HAS_FAST_REP_STRING): Define.
75450         (HAS_FAST_COPY_BACKWARD): Define.
75452 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75454         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75455         Restore proper fallback handling.
75457 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75459         [BZ #11701]
75460         * posix/group_member.c (__group_member): Correct checking loop.
75462         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75463         OOM in getpwuid_r correctly.  Return error number when the caller
75464         should return, otherwise -1.
75465         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75466         call returning > 0 value.
75467         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75469 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75471         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75472         libc_nonshared.a from targets in modules-names.
75474 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75476         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75477         requires it.
75479 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75482         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75483         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75486 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75488         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75490 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75492         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75493         and F_GETPIPE_SZ.
75494         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75495         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75498         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75501 2010-06-14  Roland McGrath  <roland@redhat.com>
75503         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75505 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75507         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75508         __REDIRECT followed by __THROW.
75509         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75510         * posix/getopt.h (getopt): Likewise.
75512 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75514         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75515         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75516         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75517         in AT_FLAGS.
75518         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75519         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75521 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75523         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75525 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75527         [BZ #11640]
75528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75529         Properly check family and model.
75531 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75533         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75535 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75537         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75539 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75541         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75542         symbol reference.
75544 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75546         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75547         symbol reference.
75549 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75551         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75552         and internal_recvmmsg.
75553         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75554         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75555         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75556         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75558         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75559         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75560         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75562 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75564         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75566 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75568         POWER7 optimizations.
75569         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75570         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75572 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75574         * version.h: Update for 2.13 development version.
75576 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75578         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75579         exceptions.  Return 0.
75581 2010-05-07  Roland McGrath  <roland@redhat.com>
75583         * elf/ldconfig.c (main): Add a const.
75585 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75587         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75588         (args_options): Add no-idn option.
75589         (ahosts_keys_int): Add idn_flags to ai_flags.
75590         (parse_option): Handle 'i' option to clear idn_flags.
75592         * malloc/malloc.c (_int_free): Possible race in the most recently
75593         added check.  Only act on the data if no current modification
75594         happened.
75596 See ChangeLog.17 for earlier changes.