Refactor M_ macros defined in libm-test.inc
[glibc.git] / ChangeLog
blob1438bd22a9f278437741f0471eb580bc140e546b
1 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * libm-test.inc (M_PI_34l): Rename to
4         (lit_pi_3_m_4_d): New Macro.
5         (M_PI_34_LOG10El): Rename to
6         (lit_pi_3_m_4_ln10_m_d): New Macro.
7         (M_PI2_LOG10El): Rename to
8         (lit_pi_2_ln10_m_d):  New Macro.
9         (M_PI4_LOG10El): Rename to
10         (lit_pi_4_ln10_m_d):  New Macro.
11         (M_PI_LOG10El): Rename to
12         (lit_pi_ln10_d):  New Macro.
14 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
16         [BZ #20157]
17         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
18         determine whether to negate low half if [_ARCH_PPCGR], and integer
19         comparison otherwise.
20         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21         determine whether to negate low half.
23         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
24         (NO_TEST_INLINE_DOUBLE): Likewise.
25         (TEST_COND_x86_64): Likewise.
26         (TEST_COND_x86): Likewise.
27         (M_PI_6l): Likewise.
29 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31         * math/libm-test.inc:
32         (TEST_FLOAT): Change usage to TEST_COND_binary32.
33         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
34         (TEST_LDOUBLE): Update usage to evaluate as true if
35         the guarded tests match the property being tested.
36         (LDBL_MAX_EXP): Change to MAX_EXP.
37         (LDBL_MIN_EXP): Change to MIN_EXP.
38         (LDBL_MANT_DIG): Change to MANT_DIG, except for
39         nexttoward tests.
41 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
43         * math/libm-test.inc:
44         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
45         (TYPE_MIN): Likewise.
46         (TYPE_TRUE_MIN): Likewise.
47         (TYPE_MAX): Likewise.
48         (MIN_EXP): Likewise.
49         (MAX_EXP): Likewise.
50         (MANT_DIG): Likewise.
52         (FSTR_MAX): New macro.
53         (__CONCATX): Likewise.
54         (QTYPE_STR): Likewise.
55         (TEST_COND_binary32): Likewise.
56         (TEST_COND_binary64): Likewise.
57         (TEST_COND_binary128): Likewise.
58         (TEST_COND_ibm128): Likewise.
59         (TEST_COND_intel96): Likewise.
60         (TEST_COND_m68k96): Likewise.
62         (TEST_COND_flt_32): Redefine as equivalent format test macro.
63         (TEST_COND_dbl_64): Likewise.
64         (TEST_COND_ldbl_96_intel): Likewise.
65         (TEST_COND_ldbl_96_m68k): Likewise.
66         (TEST_COND_ldbl_128): Likewise.
67         (TEST_COND_ldbl_128ibm): Likewise.
69         (plus_zero): Redefine using LIT macro.
70         (minus_zero): Likewise.
71         (plus_infty): Redefine as (INF).
72         (minux_infty): Redefine as (-INF).
73         (max_value): Redefine as TYPE_MAX.
74         (min_value): Redefine as TYPE_MIN.
75         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
77         (print_float): Refactor to use snprintf to convert FLOAT values
78         to string. This brings it closer to dropin replacement of strtof
79         for the TS 18661 defined types.
80         (update_stats): Likewise.
81         (print_complex_function_ulps): Likewise.
82         (print_max_error): Likewise.
83         (print_complex_max_error): Likewise.
84         (check_float_internal): Likewise.
86         * math/test-float.h (PREFIX): New macro.
87         (LIT): Likewise.
88         (TYPE_STR): Likewise.
89         (FTOSTR): Likewise.
91         * math/test-double.h (PREFIX): New macro.
92         (LIT): Likewise.
93         (TYPE_STR): Likewise.
94         (FTOSTR): Likewise.
96         * math/test-ldouble.h (PREFIX): New macro.
97         (LIT): Likewise.
98         (TYPE_STR): Likewise.
99         (FTOSTR): Likewise.
101 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
103         [BZ #20156]
104         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
105         to itself when zero or not finite.
106         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
107         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
108         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
109         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
111 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
113         [BZ #20153]
114         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
115         x * x + x for infinities and NaNs.
117         [BZ #20151]
118         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
119         argument to itself before returning result.
120         (__ieee754_y0l): Likewise.
121         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
122         (__ieee754_y1l).
124         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
125         (atan_test_data): Likewise.
126         (ceil_test_data): Likewise.
127         (cos_test_data): Likewise.
128         (cosh_test_data): Likewise.
129         (erf_test_data): Likewise.
130         (exp2_test_data): Likewise.
131         (fabs_test_data): Likewise.
132         (floor_test_data): Likewise.
133         (ilogb_test_data): Likewise.
134         (j0_test_data): Likewise.
135         (j1_test_data): Likewise.
136         (jn_test_data): Likewise.
137         (lgamma_test_data): Likewise.
138         (lrint_test_data): Likewise.
139         (llrint_test_data): Likewise.
140         (logb_test_data): Likewise.
141         (lround_test_data): Likewise.
142         (llround_test_data): Likewise.
143         (nearbyint_test_data): Likewise.
144         (rint_test_data): Likewise.
145         (round_test_data): Likewise.
146         (sin_test_data): Likewise.
147         (sincos_test_data): Likewise.
148         (sinh_test_data): Likewise.
149         (sqrt_test_data): Likewise.
150         (tan_test_data): Likewise.
151         (tanh_test_data): Likewise.
152         (tgamma_test_data): Likewise.
153         (trunc_test_data): Likewise.
154         (y0_test_data): Likewise.
155         (y1_test_data): Likewise.
156         (yn_test_data): Likewise.
158         * math/libm-test.inc: Update comment about NaN testing.
159         (TEST_SNAN): New macro.
160         (snan_value): Likewise.
161         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
162         (fpclassify_test_data): Add sNaN tests.
163         (isfinite_test_data): Likewise.
164         (isinf_test_data): Likewise.
165         (isnan_test_data): Likewise.
166         (isnormal_test_data): Likewise.
167         (issignaling_test_data): Likewise.
168         (signbit_test_data): Likewise.
169         * math/gen-libm-test.pl (%beautify): Add snan_value.
170         (show_exceptions): Add argument $test_snan.
171         (parse_args): Handle snan_value as non-finite.  Update call to
172         show_exceptions.
173         * math/Makefile (libm-test-no-inline-cflags): Add
174         -fsignaling-nans.
176 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
178         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
179         (CFLAGS-oldsendmsg.c): Add rule.
180         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
181         Correct recvmsg symbol name.
182         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
183         Likewise.
185 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
187         * sysdeps/unix/sysv/linux/Makefile
188         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
189         oldsendmmsg.
190         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
191         sendmmsg.
192         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
195         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
200         Likewise.
201         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
203         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
204         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
205         iovlen and controllen fields to adjust to POSIX specification.
206         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
208         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
209         and change to correct expected type.
210         (msghdr.msg_controllen): Likewise.
211         (cmsghdr.cmsg_len): Likewise.
212         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
213         expected POSIX assumption about the size.
214         (msghdr.msg_controllen): Likewise.
215         (msghdr.__glibc_reserved1): Likewise.
216         (msghdr.__glibc_reserved2): Likewise.
217         (cmsghdr.cmsg_len): Likewise.
218         (cmsghdr.__glibc_reserved1): Likewise.
219         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
220         Add ptw-oldrecvmsg and ptw-oldsendmsg.
221         (CFLAGS-sendmsg.c): Remove rule.
222         (CFLAGS-recvmsg.c): Likewise.
223         (CFLAGS-oldsendmsg.c): Add rule.
224         (CFLAGS-oldrecvmsg.c): Likewise.
225         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
226         recvmsg and sendmsg.
227         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
228         Likewise.
229         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
230         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
231         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
232         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
233         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
234         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
235         Likewise.
236         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
237         Likewise.
238         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
239         Likewise.
240         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
241         Likewise.
242         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
243         Likewise.
244         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
245         Likewise.
246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
247         (GLIBC_2.24): Likewise.
248         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
249         Likewise.
250         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
251         Likewise.
252         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
253         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
254         Likewise.
255         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
256         Likewise.
257         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
258         Likewise.
259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
260         (GLIBC_2.24): Likewise.
261         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
262         Likewise.
263         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
264         Likewise.
265         * sysdeps/unix/sysv/linux/Makefile
266         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
267         (CFLAGS-sendmsg.c): Add rule.
268         (CFLAGS-recvmsg.c): Likewise.
269         (CFLAGS-oldsendmsg.c): Likewise.
270         (CFLAGS-oldrecvmsg.c): Likewise.
271         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
272         initialization.
273         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
274         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
275         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
276         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
277         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
278         iovlen and controllen fields to adjust to POSIX specification.
279         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
280         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
281         added recvmsg and sendmsg.
282         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
283         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
284         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
285         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
286         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
295         Likewise.
296         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
298         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
299         Likewise.
300         Likewise.
301         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
305         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
306         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
310         Likewise.
311         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
312         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
315         from auto-generation.
316         (sendmsg): Likewise.
317         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
318         (sendmsg): Likewise.
319         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
320         (sendmsg): Likewise.
321         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
322         (sendmsg): Likewise.
323         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
324         (sendmsg): Likewise.
325         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
326         (sendmsg): Likewise.
327         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
328         Likewise.
329         (sendmsg): Likewise.
330         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
331         (sendmsg): Likewise.
332         * sysdeps/unix/sysv/linux/i386/kernel-features.h
333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
334         Remove.
335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
336         Likewise.
337         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
338         Undefine.
339         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
340         Likewise.
341         * sysdeps/unix/sysv/linux/kernel-features.h
342         (__ASSUME_SENDMSG_SYSCALL): Define.
343         (__ASSUME_RECVMSG_SYSCALL): Likewise.
344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
346         Remove.
347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
348         Likewise.
349         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
350         Undefine.
351         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
352         Likewise.
353         * sysdeps/unix/sysv/linux/s390/kernel-features.h
354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
355         Remove.
356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
357         Likewise.
358         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
359         Undefine.
360         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
361         Likewise.
362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
363         (__ASSUME_SENDMSG_SYSCALL): Undefine.
364         (__ASSUME_RECVMSG_SYSCALL): Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
366         (__ASSUME_SENDMSG_SYSCALL): Likewise.
367         (__ASSUME_RECVMSG_SYSCALL): Likewise.
368         * sysdeps/unix/sysv/linux/sh/kernel-features.h
369         (__ASSUME_SENDMSG_SYSCALL): Likewise.
370         (__ASSUME_RECVMSG_SYSCALL): Likewise.
372 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
374         * stdlib/gen-tst-strtod-round.c: Add backslash to
375         compile command in comment.
376         (printfp): Remove the literal suffix, and define an infinite
377         value as INF to avoid expansion clash with INFINITY.
378         (round_str): Remove the literal suffix.
379         (round_for_all): Likewise, remove the now duplicate ldbl-64
380         entry, and remove some magic constants.
382         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
383         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
384         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
385         (_CONCAT): New macro.
386         (CONCAT): Likewise.
387         (CHOOSE_ld): Likewise.
388         (CHOOSE_f): Likewise.
389         (CHOOSE_d): Likewise.
390         (FTYPE_MEMBER): Likewise.
391         (BOOL_MEMBER): Likewise.
392         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
393         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
394         (_XNTRY): Likewise.
395         (XNTRY): Likewise.
396         (_ENTRY): Likewise.
397         (ENTRY): Likewise.
398         (test_exactness): Generate members via macro.
399         (test_results): Likewise.
400         (test): Update members.
401         (TEST): Redefine using new macros.
402         (INF): New macro.
403         (fetestmodes): New structure.
404         (do_test): Refactor to be type generic.
405         (test_in_one_mode): Refactor duplicate code into
406         (GEN_ONE_TEST): New macro.
408         * stdlib/tst-strtod-round-data.h: Regenerate.
410         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
411         Extend to pass additional arbitrary parameters to
412         generators.
414 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
416         [BZ #15479]
417         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
418         floating-point state after first floating-point operation on
419         input.  Restore full floating-point state instead of just rounding
420         mode.
421         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
422         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
423         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
424         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
425         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
427         [BZ #15479]
428         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
429         floating-point state after first floating-point operation on
430         input.  Restore full floating-point state instead of just rounding
431         mode.
432         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
433         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
434         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
435         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
436         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
438 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
440         [BZ #19727]
441         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
442         valid high surrogate.
443         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
444         of an utf16 surrogate.
445         * iconv/gconv_simple.c (BODY): Likewise.
446         * iconvdata/bug-iconv12.c: New file.
447         * iconvdata/Makefile (tests): Add bug-iconv12.
449 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
451         [BZ #19726]
452         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
453         outptrp in case of an illegal input.
454         * iconv/tst-iconv6.c: New file.
455         * iconv/Makefile (tests): Add tst-iconv6.
457 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
459         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
460         an error in case of a value in range of an utf16 low surrogate.
462 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
464         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
465         an error in case of a value in range of an utf16 low surrogate.
467 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
469         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
470         Move to ...
471         * sysdeps/s390/Makefile: ... here.
472         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
473         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
474         (BRANCH_ON_COUNT): New define.
475         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
476         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
477         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
478         run on s390-32, too.
479         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
480         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
481         run on s390-32, too.
482         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
483         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
484         run on s390-32, too.
486 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
488         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
489         etf3eh or new vector loop-variant.
491 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
493         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
494         etf3eh or new vector loop-variant.
496 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
498         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
499         or new vector loop-variant.
501 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
503         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
504         Rename to TR_LOOP and usage of tr instead of troo instruction.
506 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
508         * sysdeps/s390/multiarch/gconv_simple.c: New File.
509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
511 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
513         * sysdeps/s390/multiarch/8bit-generic.c: New File.
514         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
515         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
516         New override define.
517         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
519 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
521         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
522         * sysdeps/s390/configure.ac: Add test for S390 vector register
523         support in gcc.
524         * sysdeps/s390/configure: Regenerated.
526 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
528         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
529         Install file from $(objpfx)gconv-modules.
530         ($(objpfx)gconv-modules): Concatenate architecture specific file
531         in variable sysdeps-gconv-modules and gconv-modules in src dir.
532         * sysdeps/s390/gconv-modules: New file.
533         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
534         Deleted.
535         ($(objpfx)gconv-modules-s390): Deleted.
536         (sysdeps-gconv-modules): New variable.
538 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
540         [BZ #15479]
541         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
542         of immediate operand to rounding instruction.
543         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
544         Likewise.
545         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
546         Likewise.
547         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
548         Likewise.
550 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
552         * math/libm-test.inc (MIN_EXP): Directly define as
553         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
555 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
557         * math/libm-test.inc (MANT_DIG): Directly define as
558         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
560 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
562         * stdlib/gen-tst-strtod-round.c (main):
563           Change usage to more closely match the generated
564           output.  Add usage and compilation instructions.
565           (string_to_fp): Add and use FILE* parameter as
566           output target.
567           (print_fp): Likewise.
568           (round_str): Likewise.
569           (round_for_all): Likewise.
570         * stdlib/tst-strtod-round.c (tests): Move into
571         * stdlib/tst-strtod-round-data.h: New file.
573 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
575         [BZ #15479]
576         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
577         (__round): Do not force "inexact" exception.
578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
579         variable.
580         (__round): Do not force "inexact" exception.
581         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
582         (__roundf): Do not force "inexact" exception.
583         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
584         (__roundl): Do not force "inexact" exception.
585         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
586         (__roundl): Do not force "inexact" exception.
587         * math/libm-test.inc (round_test_data): Do not allow spurious
588         "inexact" exceptions.
590         [BZ #15479]
591         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
592         exception in comment.
593         (huge): Remove variable.
594         (__floor): Do not force "inexact" exception.
595         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
596         "inexact" exception in comment.
597         (huge): Remove variable.
598         (__floor): Do not force "inexact" exception.
599         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
600         exception in comment.
601         (huge): Remove variable.
602         (__floorf): Do not force "inexact" exception.
603         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
604         exception in comment.
605         (huge): Remove variable.
606         (__floorl): Do not force "inexact" exception.
608         [BZ #15479]
609         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
610         exception in comment.
611         (huge): Remove variable.
612         (__ceil): Do not force "inexact" exception.
613         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
614         "inexact" exception in comment.
615         (huge): Remove variable.
616         (__ceil): Do not force "inexact" exception.
617         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
618         (__ceilf): Do not force "inexact" exception.
619         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
620         exception in comment.
621         (huge): Remove variable.
622         (__ceill): Do not force "inexact" exception.
624 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
626         * config.h.in (BIND_NOW): New.
627         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
628         * configure: Regenerated.
629         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
630         indirect branch via the GOT slot.
632 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
634         [BZ #19765]
635         * sysdeps/s390/mempcpy.S: New File.
636         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
638         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
639         Add mempcpy variants.
640         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
641         (memcpy): Adjust to be usable from mempcpy entry point.
642         (__memcpy_mvcle): Likewise.
643         * sysdeps/s390/s390-64/memcpy.S: Likewise.
644         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
645         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
646         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
647         (__memcpy_z10): Likewise.
648         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
650 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
652         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
653         Remove __GI_ symbol.
654         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
655         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
656         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
657         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
658         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
659         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
661 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
663         * sysdeps/s390/s390-64/memcpy.S (memcpy):
664         Use cghi instead of chi to compare 64bit value.
666 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
668         * sysdeps/s390/s390-32/memcpy.S (memcpy):
669         Jump to 1MB check before executing mvc-loop.
671 2016-05-24  Florian Weimer  <fweimer@redhat.com>
673         [BZ #6527]
674         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
675         unconditionally.
676         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
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  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
687         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
688         (TEST_STRTOD): New macro.
689         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
691 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
693         * stdlib/tst-strtod6.c (do_test): Use new type generic
694         invocation of the test function.
695         (test): Refactor into ...
696         (TEST_STRTOD): New macro base function.
698 2016-05-23  Florian Weimer  <fweimer@redhat.com>
700         CVE-2016-4429
701         [BZ #20112]
702         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
703         payload.
705 2016-05-23  Florian Weimer  <fweimer@redhat.com>
707         [BZ #20111]
708         * bits/sockaddr.h (_SS_SIZE): Define.
709         * bits/socket.h (_SS_SIZE): Remove.
710         (_SS_PADSIZE): Adjust to account for all padding.
711         (struct sockaddr_storage): Update comment.  Avoid implicit
712         padding.
713         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
714         (_SS_PADSIZE): Adjust to account for all padding.
715         (struct sockaddr_storage): Update comment.  Avoid implicit
716         padding.
717         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
718         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
719         (_SS_PADSIZE): Adjust to account for all padding.
720         (struct sockaddr_storage): Update comment.  Avoid implicit
721         padding.
722         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
723         __SS_SIZE is 126 in this version.
724         * inet/tst-sockaddr.c: New file.
725         * inet/Makefile (tests): Add tst-sockaddr.c
726         (tst-sockaddr.c): Compile with non-strict aliasing.
728 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
730         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
731         [XPG3 || XPG4].
732         (NL_ARGMAX): Also expect for [XPG3].
733         (NL_LANGMAX): Likewise.
734         (NL_MSGMAX): Likewise.
735         (NL_NMAX): Likewise.
736         (NL_SETMAX): Likewise.
737         (NL_TEXTMAX): Likewise.
738         (NZERO): Likewise.
739         (TMP_MAX): Likewise.
740         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
741         variable.
743         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
744         (PF_MAX): Update value.
745         (AF_KCM): New macro.
746         (SOL_NETBEUI): Likewise.
747         (SOL_LLC): Likewise.
748         (SOL_DCCP): Likewise.
749         (SOL_NETLINK): Likewise.
750         (SOL_TIPC): Likewise.
751         (SOL_RXRPC): Likewise.
752         (SOL_PPPOL2TP): Likewise.
753         (SOL_BLUETOOTH): Likewise.
754         (SOL_PNPIPE): Likewise.
755         (SOL_RDS): Likewise.
756         (SOL_IUCV): Likewise.
757         (SOL_CAIF): Likewise.
758         (SOL_ALG): Likewise.
759         (SOL_NFC): Likewise.
760         (SOL_KCM): Likewise.
761         (MSG_BATCH): New enum value and macro.
763 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
765         [BZ #18185]
766         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
767         sharing L2 cache to 2 for Knights Landing.
769 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
771         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
772         (FTW_DP): Do not expect for [XPG3 || XPG4].
773         (FTW_SL): Do not expect for [XPG3].
774         (FTW_SLN): Likewise.
775         (FTW_PHYS): Likewise.
776         (FTW_MOUNT): Likewise.
777         (FTW_DEPTH): Likewise.
778         (FTW_CHDIR): Likewise.
779         (nftw): Likewise.
780         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
781         variable.
783 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
785         * manual/errno.texi: Fix various typos & grammar errors.
787 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
789         * manual/intro.texi: Fix duplicated typo.
791 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
793         [BZ #13304]
794         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
795         <float.h>, <math_private.h> and <stdlib.h>.
796         (add_split): New function.
797         (mul_split): Likewise.
798         (ext_val): New typedef.
799         (store_ext_val): New function.
800         (mul_ext_val): New function.
801         (compare): New function.
802         (add_split_ext): New function.
803         (__fmal): After checking for Inf, NaN and zero, compute result as
804         an exact sum of scaled double values in round-to-nearest before
805         adding those up and adjusting for other rounding modes.
806         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
807         tests of fma.
808         * math/auto-libm-test-out: Regenerated.
810 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
812         [BZ #20119]
813         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
814         processor level type mask for CPUID with EAX == 11.
816 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
818         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
819         logical threads if the HTT bit is 0.
820         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
821         (index_cpu_HTT): Likewise.
822         (reg_HTT): Likewise.
824 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
826         [BZ #20115]
827         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
828         Remove alignments on jump targets.
830 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
832         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
833         (getpwent): Likewise.
834         (setpwent): Likewise.
835         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
836         variable.
838         * conform/data/search.h-data (insque): Do not expect for [XPG3].
839         (remque): Likewise.
840         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
841         variable.
843 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
845         * math/libm-test.inc: Update comment not to refer to signs of NaNs
846         not being tested.
848 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
851         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
852         call.
853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
854         (__condvar_cleanup1): Likewise.
856 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
858         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
859         New
860         (__pthread_unwind): Renamed to ...
861         (PTHREAD_UNWIND): This.
862         (__pthread_enable_asynccancel): Replace
863         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
865 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
867         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
868         (CLONE_NEWCGROUP): New macro.
870         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
871         (Q_GETNEXTQUOTA): New macro.
873 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
875         [BZ #19907]
876         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
877         buffer updated by the previous run.
878         * string/test-memcpy.c (do_one_test): Likewise.
879         * benchtests/bench-memmove.c (do_one_test): Add a comment.
880         * string/test-memmove.c (do_one_test): Likewise.
882 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
884         [BZ #20094]
885         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
886         not [__USE_XOPEN].
887         (unlockpt): Likewise.
888         (ptsname): Likewise.
889         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
890         variable.
892         [BZ #20076]
893         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
894         instead of [__USE_UNIX98].
895         (S_ISSOCK): Likewise.
896         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
897         variable.
899         [BZ #20074]
900         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
901         [__USE_POSIX].
902         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
903         variable.
905         [BZ #20051]
906         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
907         (ttyslot): Do not declare.
908         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
909         (ttyslot): New prototype.
910         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
911         variable.
912         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
914 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
916         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
918 2016-05-13  Florian Weimer  <fweimer@redhat.com>
920         Fix race condition in tst-mallocfork2, use fewer resources.
921         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
922         to current process group.
923         (signal_sender): Yield in the non-sleeping case.
925 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
927         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
928         (ecvt): Likewise.
929         (fcvt): Likewise.
930         (gcvt): Likewise.
931         (getsubopt): Likewise.
932         (grantpt): Likewise.
933         (initstate): Likewise.
934         (l64a): Likewise.
935         (mktemp): Likewise.
936         (mkstemp): Likewise.
937         (ptsname): Likewise.
938         (random): Likewise.
939         (realpath): Likewise.
940         (setstate): Likewise.
941         (srandom): Likewise.
942         (ttyslot): Likewise.
943         (unlockpt): Likewise.
944         (valloc): Likewise.
946         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
947         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
948         variable.
950 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
952         [BZ #20072]
953         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
954         init_cpu_features only if SHARED is defined.
955         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
957 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
959         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
960         non-inclusive caches on Intel processors.
962 2016-05-13  Florian Weimer  <fweimer@redhat.com>
964         * malloc/malloc.c (dumped_main_arena_start)
965         (dumped_main_arena_end): New variables.
966         (DUMPED_MAIN_ARENA_CHUNK): New macro.
967         (do_check_chunk): Skip dumped fake mmapped chunks.
968         (munmap_chunk): Likewise.
969         (__libc_free): Do not adjust statistics for fake mmapped chunks.
970         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
971         mmapped chunks.
972         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
973         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
974         and dumped_main_arena_end to cover the dumped heap.
976 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
978         * conform/data/time.h-data (getdate_err): Do not expect for
979         [XPG3].
980         (getdate): Likewise.
981         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
982         variable.
984         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
985         (F_ULOCK): Likewise.
986         (F_TEST): Likewise.
987         (F_TLOCK): Likewise.
988         (useconds_t): Likewise.
989         (intptr_t): Do not expect for [XPG3] or [XPG4].
990         (brk): Do not expect for [XPG3]
991         (fchown): Likewise.
992         (fchdir): Likewise.
993         (ftruncate): Likewise.
994         (getdtablesize): Likewise.
995         (gethostid): Likewise.
996         (getpagesize): Likewise.
997         (getpgid): Likewise.
998         (getsid): Likewise.
999         (getwd): Likewise.
1000         (lchown): Likewise.
1001         (lockf): Likewise.
1002         (readlink): Likewise.
1003         (sbrk): Likewise.
1004         (setpgrp): Likewise.
1005         (setregid): Likewise.
1006         (setreuid): Likewise.
1007         (symlink): Likewise.
1008         (sync): Likewise.
1009         (truncate): Likewise.
1010         (ualarm): Likewise.
1011         (usleep): Likewise.
1012         (vfork): Likewise.
1013         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1014         variable.
1016         [BZ #20054]
1017         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1018         not [__USE_UNIX98].
1019         * conform/data/unistd.h-data (gethostname): Do not expect for
1020         [XPG3].
1022         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1023         [!POSIX] (S_IFBLK): Likewise.
1024         [!POSIX] (S_IFCHR): Likewise.
1025         [!POSIX] (S_IFIFO): Likewise.
1026         [!POSIX] (S_IFREG): Likewise.
1027         [!POSIX] (S_IFDIR): Likewise.
1028         [!POSIX] (S_IFLNK): Likewise.
1029         [!POSIX] (S_IFSOCK): Likewise.
1030         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1031         variable.
1032         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1034 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1036         * sysdeps/aarch64/memset.S (__memset):
1037         Rewrite of optimized memset.
1039 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1041         [BZ #19703]
1042         Partially async-signal-safe fork for single-threaded processes.
1043         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1044         variable.  Do not acquire and reset/release malloc and libio locks
1045         in single-threaded processes.
1046         * malloc/tst-mallocfork2.c: New file.
1047         * malloc/Makefile (tests): Add it.
1049 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1051         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1052         argument.  Use scratch buffer instead of extend_alloca.
1053         (gethosts): Use scratch buffer instead of extend_alloca.
1054         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1055         extend_alloca.
1056         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1058 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1060         [BZ #20055]
1061         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1062         instead of [__USE_UNIX98].
1063         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1064         [__USE_UNIX98].
1065         * conform/data/termios.h-data (tcgetsid): Do not expect for
1066         [XPG3].
1067         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1068         variable.
1069         (test-xfail-XPG4/termios.h/conform): Likewise.
1071 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1073         Do not use mcheck in localedef.
1074         * locale/programs/localedef.c (turn_on_mcheck)
1075         (__malloc_initialize_hook): Remove.
1077 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1079         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1080         * sysdeps/s390/s390-64/Makefile: Likewise.
1082 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1084         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1085         Remove ifunc-defines.sym.
1086         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1087         Likewise.
1088         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1089         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1090         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1091         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1092         rtld-global-offsets.sym.
1093         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1094         * sysdeps/x86/cpu-features-offsets.sym: This.
1095         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1096         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1098 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1100         [BZ #20073]
1101         * io/sys/stat.h (fchmod): Declare for
1102         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1103         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1104         variable.
1106         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1107         [XPG3] (S_IFSOCK): Likewise.
1108         [XPG3] (S_ISVTX): Likewise.
1109         [XPG3] (S_ISLNK): Likewise.
1110         [XPG3] (S_ISSOCK): Likewise.
1111         [XPG3] (fchmod): Likewise.
1112         [XPG3] (lstat): Likewise.
1113         [XPG3] (mknod): Likewise.
1115         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1116         [XPG3].  Expect type long and XFAIL for [XPG4].
1117         (st_blocks): Likewise.
1119         [BZ #20044]
1120         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1121         (pthread_atfork): New prototype.
1122         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1123         variable.
1125         [BZ #20043]
1126         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1127         prototype.
1129 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1131         [BZ #20017]
1132         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1133         gmtime.
1135 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1137         [BZ #19994]
1138         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1139         flag in _res.options.
1141 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1143         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1144         [XPG3 || XPG4].
1145         (blksize_t): Likewise.
1146         (clockid_t): Likewise.
1147         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1148         variable.
1149         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1151 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1153         * sysdeps/unix/sysv/linux/s390/init-first.c:
1154         Add VDSO_SYMBOL(getcpu).
1155         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1156         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1157         Add VDSO_SYMBOL(getcpu).
1158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1159         New define HAVE_GETCPU_VSYSCALL.
1160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1162 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1164         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1165         instead of <sysdeps/x86_64/cacheinfo.c>.
1166         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1167         * sysdeps/x86/cacheinfo.c: Here.
1169 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1171         * malloc/malloc-internal.h: Adjust header file guard.
1173 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1175         [BZ #19787]
1176         * inet/getnameinfo.c (check_sprintf_result): New function.
1177         (CHECKED_SNPRINTF): New macro.
1178         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1179         to the host buffer.
1180         (gni_host_local): Use checked_copy to copy the host name.
1181         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1182         (gni_serv_local): Use checked_copy to copy the service name.
1183         (getnameinfo): Remove unnecessary truncation of result buffers.
1185 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1187         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1188         in case of inet_ntop failure.
1190 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1192         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1193         avoid long lines.
1194         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1195         variables.
1196         (gni_host_inet, gni_host_local): Add comment.
1197         (gni_host): Add comment.  Use temporary to avoid long lines.
1199 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1201         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1202         registers specifiers where general purpose registers specifiers should
1203         have been used.
1205 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1207         [BZ #19779]
1208         CVE-2016-1234
1209         Avoid copying names of directory entries.
1210         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1211         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1212         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1213         (struct readdir_result): New type.
1214         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1215         (GL_READDIR): New macros.
1216         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1217         (convert_dirent, convert_dirent64): New functions.
1218         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1219         convert_dirent64.  Adjust references to the readdir result.
1220         * sysdeps/unix/sysv/linux/i386/glob64.c:
1221         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1222         * posix/bug-glob2.c (LONG_NAME): Define.
1223         (filesystem): Add LONG_NAME.
1224         (my_DIR): Increase the size of room_for_dirent.
1226 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1228         [BZ #20041]
1229         * misc/sys/select.h (__need_timespec): Only define if
1230         [__USE_XOPEN2K].
1231         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1232         variable.
1233         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1234         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1235         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1237 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1238             Segher Boessenkool  <segher@gcc.gnu.org>
1240         [BZ #20004]
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1242         (__novec_swapcontext): Add missing load.
1244 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1246         [BZ #20023]
1247         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1248         <time.h>.
1249         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1250         variable.
1251         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1253 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1256         flags CLONE_VM compare.
1258 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1260         [BZ #20031]
1261         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1262         completely empty.
1264 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1266         [BZ #19573]
1267         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1268         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1269         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1270         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1271         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1272         (hesiod_free_list): Mark as hidden.
1273         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1274         res_set, res_get.
1275         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1276         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1277         (hesiod_init): Remove obsolete res_ninit call.
1278         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1279         (hesiod_bind): Do not call init.
1280         (get_txt_records): Use res_mkquery, res_send instead of
1281         res_nmkquery, res_nsend.
1282         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1283         instead of _nss_hesiod_init.
1284         (_nss_hesiod_initgroups_dyn): Likewise.
1285         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1286         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1287         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1289 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1291         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1292         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1294 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1296         * hesiod/hesiod.h: Remove RCS keyword.
1297         * hesiod/hesiod_p.h: Likewise.
1299         * hesiod/hesiod.c: Likewise.
1301 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1303         [BZ #12450]
1304         * locale/iso-639.def: Add Samogitian/sgs.
1306 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1308         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1310         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1312 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1313             Carlos O'Donell  <carlos@redhat.com>
1315         [BZ #19072]
1316         * grp/Makefile (headers): Add grp-merge.h
1317         (routines): Add grp-merge.
1318         * grp/getgrgid_r.c: Include grp-merge.h.
1319         (DEEPCOPY_FN): Define.
1320         (MERGE_FN): Define.
1321         * grp/getgrname_r.c: Include grp-merge.h.
1322         (DEEPCOPY_FN): Define.
1323         (MERGE_FN): Define.
1324         * grp/grp-merge.c: New file.
1325         * grp/grp-merge.h: New file.
1326         * include/grp-merge.h: New file.
1327         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1328         __copy_grp@GLIBC_PRIVATE.
1329         * manual/nss.texi (Actions in the NSS configuration): Describe
1330         return, continue, and merge.
1331         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1332         (DEEPCOPY_FN): Define.
1333         (MERGE_FN): Define.
1334         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1335         (DEEPCOPY_FN): Define.
1336         (MERGE_FN): Define.
1337         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1338         [!MERGE_FN]: Define __merge_einval.
1339         (CHECK_MERGE): Define.
1340         (REENTRANT_NAME): Process merge if do_merge is true.
1341         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1342         (__nss_getent_r): Likewise.
1343         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1344         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1346 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1348         [BZ #20012]
1349         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1350         length to calculate the buffer to read.
1351         (fmemopen_write): Set the buffer position based on bytes written.
1352         (fmemopen_seek): Return EINVAL for invalid whence modes.
1354         [BZ #19957]
1355         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1356         tst-getpid2.
1357         (test): Add tst-clone2.
1358         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1359         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1360         pid/tid fields for CLONE_VM.
1361         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1362         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1363         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1364         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1365         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1366         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1367         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1368         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1370         Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1374         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1375         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1376         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1377         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1378         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1379         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1380         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1382 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1384         [BZ #19642]
1385         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1386         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1387         (gni_serv_local, gni_serv): New functions extracted from
1388         getnameinfo.
1389         (getnameinfo): Call gni_host and gni_serv to perform the
1390         processing.  Always free scratch buffer.
1392 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1394         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1395         remaining bytes in the dest string, with zeros.
1397 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1399         [BZ #20010]
1400         CVE-2016-3706
1401         * sysdeps/posix/getaddrinfo.c
1402         (convert_hostent_to_gaih_addrtuple): New function.
1403         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1404         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1405         AF_INET data.
1407 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1409         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1410         callback function gl_readdir.
1411         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1412         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1413         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1414         memcpy to copy the name.
1415         * manual/pattern.texi (Calling Glob): Document requirements for
1416         implementations of the gl_readdir callback function.
1417         * manual/examples/mkdirent.c: New example.
1418         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1419         per the manual guidance.
1420         * posix/tst-gnuglob.c (my_readdir): Likewise.
1422 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1424         [BZ #20014]
1425         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1426         not [__USE_POSIX].
1427         (getchar_unlocked): Likewise.
1428         (putc_unlocked): Likewise.
1429         (putchar_unlocked): Likewise.
1430         (flockfile): Likewise.
1431         (ftrylockfile): Likewise.
1432         (funlockfile): Likewise.
1433         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1434         variable.
1435         (test-xfail-XPG4/stdio.h/conform): Likewise.
1437         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1438         Expect constant.
1439         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1440         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1441         variable.
1442         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1443         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1445         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1446         [__USE_LARGEFILE64] (off64_t): Likewise.
1447         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1448         variable.
1450 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1452         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1454 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1456         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1457         * resolv/res_init.c: Likewise.
1458         * resolv/res_mkquery.c: Likewise.
1460 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1462         * resolv/res_init.c (isascii): Do not define.  Use definition in
1463         <ctype.h>.
1464         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1465         (LOG_AUTH): Remove.
1466         (SPRINTF): Remove, adjust caller.
1467         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1469 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1471         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1472         SUNSECURITY conditional.
1473         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1475 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1477         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1478         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1479         Remove BSD-related preprocessor conditionals.
1480         * conf/portability.h: Remove.
1482 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1484         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1485         * resolv/res_data.c: Likewise.
1487 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1489         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1490         * resolv/res_data.c: Remove code conditional on ultrix.
1492 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1494         * resolv/res_init.c (RFC1535): Do not define.  Remove
1495         RFC1535 preprocessor conditionals.
1496         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1497         because there configuration options which make the resolver
1498         behavior different.
1500 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1502         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1503         RESOLVSORT preprocessor conditionals.
1504         * resolv/nss_dns/dns-host.c: Likewise.
1505         * resolv/res_init.c: Likewise.
1507 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1509         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1510         is never defined.
1512 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1514         * inet/inet_lnaof.c: Remove SCSS keyword.
1515         * inet/inet_mkadr.c: Likewise.
1516         * inet/inet_net.c: Likewise.
1517         * inet/inet_netof.c: Likewise.
1518         * inet/rcmd.c: Likewise.
1519         * inet/rexec.c: Likewise.
1520         * inet/ruserpass.c: Likewise.
1522 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1524         * resolv/inet_addr.c: Remove _LIBC conditionals.
1525         * resolv/res_data.c: Likewise.
1526         * resolv/res_init.c: Likewise.
1527         * resolv/res_mkquery.c: Likewise.
1528         * resolv/res_libc.c: Update comment.
1529         * resolv/README: Update.
1531 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1533         * resolv/gethnamaddr.c: Remove SCSS keyword.
1534         * resolv/herror.c: Likewise.
1535         * resolv/inet_addr.c: Likewise.
1536         * resolv/inet_net_ntop.c: Likewise.
1537         * resolv/inet_net_pton.c: Likewise.
1538         * resolv/inet_neta.c: Likewise.
1539         * resolv/inet_ntop.c: Likewise.
1540         * resolv/inet_pton.c: Likewise.
1541         * resolv/ns_date.c: Remove RCS keyword.
1542         * resolv/ns_name.c: Likewise.
1543         * resolv/ns_netint.c: Likewise.
1544         * resolv/ns_parse.c: Likewise.
1545         * resolv/ns_print.c: Likewise.
1546         * resolv/ns_samedomain.c: Likewise.
1547         * resolv/ns_ttl.c: Likewise.
1548         * resolv/nsap_addr.c: Likewise.
1549         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1550         * resolv/res_data.c: Remove RCS keyword.
1551         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1552         * resolv/res_init.c: Likewise.
1553         * resolv/res_mkquery.c: Likewise.
1554         * resolv/res_query.c: Likewise.
1555         * resolv/res_send.c: Likewise.
1557 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1559         * conform/data/stdio.h-data (fdopen): Expect also for
1560         [XPG3 || XPG4].
1562         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1563         (fseeko): Likewise.
1564         (ftello): Likewise.
1565         (ftrylockfile): Likewise.
1566         (funlockfile): Likewise.
1567         (getc_unlocked): Likewise.
1568         (getchar_unlocked): Likewise.
1569         (putc_unlocked): Likewise.
1570         (putchar_unlocked): Likewise.
1572 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1574         [BZ #19868]
1575         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1576         DNS packet syntax checks (which were not needed before).  Skip
1577         over non-PTR records.
1579 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1581         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1582         definition.  Include <stddef.h> instead.
1584 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1586         [BZ #19831]
1587         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1588         function.
1589         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1590         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1592 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1594         [BZ #19862]
1595         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1596         (getanswer_r): Do not call syslog.
1597         (gaih_getanswer_slice): Likewise.
1598         * resolv/gethnamaddr.c (AskedForGot): Remove.
1599         (getanswer): Do not call syslog.
1600         (gethostbyaddr): Likewise.
1602 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1604         * conform/data/signal.h-data (union sigval): Expect also if
1605         [XOPEN2K].
1606         (struct sigevent): Likewise.
1607         (SIGEV_NONE): Likewise.
1608         (SIGEV_SIGNAL): Likewise.
1609         (SIGEV_THREAD): Likewise.
1610         (SIGRTMIN): Likewise.
1611         (SIGRTMAX): Likewise.
1612         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1613         variable.
1614         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1616 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1618         [BZ #19830]
1619         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1620         (gaih_getanswer_slice): Likewise.
1621         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1622         Also check for availability of RR metadata.
1624 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1626         [BZ #19825]
1627         * resolv/res_send.c (send_vc): Remove early *resplen2
1628         initialization.  Set *resplen2 on socket error.  Call
1629         close_and_return_error for other errors.
1631 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1633         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1634         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1635         (SCM_IUCV_TRGCLS): New define.
1637 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1639         [BZ #20005]
1640         * libio/fmemopen.c (fmemopen_write): Update internal position after
1641         write.
1642         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1643         * stdio-common/tst-fmemopen4.c: New file..
1645 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #19996]
1648         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1649         not [__USE_XOPEN2K].
1650         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1651         variable.
1653         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1654         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1655         variable.
1657         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1658         [__USE_XOPEN2K8].
1659         [__USE_LARGEFILE64] (off64_t): Likewise.
1660         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1661         variable.
1663 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1665         [BZ #19989]
1666         * libio/stdio.h (cuserid): Do not declare if
1667         [__USE_XOPEN2K && !__USE_GNU].
1668         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1669         variable.
1671 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1674         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1676         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1677         ifunc'ed strcspn.
1678         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1679         [EALIGN]: Removed.
1680         [END]: Likewise
1681         [STRSPN]: Define instead of the above to control symbol name.
1682         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1683         New file.
1684         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1685         Likewise.
1686         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1687         Likewise.
1688         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1689         Likewise.
1690         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1691         [INITIAL_MASK]: New macro.
1692         [STRCSPN]: Likewise.
1693         [UPDATE_MASK]: Likewise.
1694         [USE_AS_STRCSPN]: Lisewise.
1696 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1698         [BZ #19931]
1699         * stdio-common/tst-vfprintf-width-prec.c: New file.
1700         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1701         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1702         (generated): Add mtrace-related files.
1703         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1704         (tst-%-mem.out): New pattern rule, replaces
1705         tst-printf-bz18872-mem.out.
1706         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1707         specifier, deallocate any previously allocated work buffer.
1709 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1711         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1712         Add nop before __startcontext, add explaining comments.
1714 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1716         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1717         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1718         completely different API.
1720         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1721         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1722         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1723         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1724         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1725         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1726         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1727         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1728         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1729         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1731 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1733         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1735 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1737         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1738         when it is the default of 0.
1740 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1742         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1743         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1744         (sysdep_routines): Add new strcasestr targets.
1745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1746         (__libc_ifunc_impl_list): Likewise.
1747         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1748         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1749         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1750         * sysdeps/powerpc/powerpc64/power8/Makefile:
1751         New file to add strcasestr-ppc64 to sysdep_routines.
1752         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1753         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1755 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1757         * benchtests/Makefile (wcsmbs-benchset): Include only for
1758         native builds and runs.
1759         (LOCALES): Likewise.
1760         (bench-build): Build timing-type here instead of the bench
1761         target.  Generate locale only for native builds.
1762         * benchtests/README: Add note for cross-building.
1764         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1766         * benchtests/README: Update README to include instructions on
1767         using bench-build.
1769         * Makefile.in (bench-build): New target.
1770         * Rules (PHONY): Add bench-build target.
1771         * benchtests/Makefile (bench): Depend on bench-build.
1772         (bench-build): New target.
1774 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1776         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1777         profil_reply_port.
1778         (profile_waiter): Do not initialize profil_reply_port.
1779         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1780         frequency instead of tick length in us.
1782 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1784         [BZ #18712]
1785         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1786         (__old_mempcpy_small): Likewise.
1787         (__old_strcpy_small): Likewise.
1788         (__old_stpcpy_small): Likewise.
1789         (__old_strpbrk_c2): Fix compat symbol name.
1790         (__old_strpbrk_c3): Likewise.
1791         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1792         (__mempcpy_small): Remove.
1793         (__strcpy_small): Remove.
1794         (__stpcpy_small): Remove.
1796 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1798         [BZ #19400]
1799         * locale/iso-639.def: Add the Talossan/tzl language.
1801 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1803         [BZ #16983]
1804         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1805         comment.  Add "ln" to strchr check on postal_fmt.
1807 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1809         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1810         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1811         tel_dom_fmt.
1813 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1815         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1816         (sysdep_routines): Added __strlen_power8.
1817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1818         __strlen_power8 entry.
1819         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1820         Implementation for POWER8.
1821         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1822         for __strlen_power8.
1823         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1824         Implementation for POWER8.
1826 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1828         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1830 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1832         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1833         Goldmont and Airmont processors.
1835 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1837         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1838         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1839         (__STRING2_SMALL_GET32): Remove.
1840         (memset): Remove.
1841         (__memset_1): Remove.
1842         (__memset_gc): Remove.
1843         (__mempcpy): Remove.
1844         (mempcpy): Remove.
1845         (__mempcpy_args): Remove.
1846         (strchr): Remove.
1847         (strcpy): Remove.
1848         (strcpy_args): Remove.
1849         (__stpcpy_args): Remove.
1850         (__strcmp_cc): Remove.
1851         (__strcmp_gc): Remove.
1852         (strstr): Remove.
1854 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1856         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1857         * nis/nis_call.c (nis_server_cache_add): Likewise.
1859 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1861         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1863 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1865         * malloc/arena.c (__malloc_fork_lock_parent)
1866         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1867         internal_function attribute.
1869 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1871         * stdio-common/printf_fp.c (__printf_fp_l):
1872         Rename ___printf_fp_l to __printf_fp_l and
1873         remove strong alias. Use libc_hidden_def instead
1874         of ldbl_hidden_def macro.
1876 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1878         Remove malloc hooks from fork handler.  They are no longer needed
1879         because malloc runs right before fork, and no malloc calls from
1880         other fork handlers are not possible anymore.
1881         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1882         declarations.
1883         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1884         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1885         (atfork_recursive_cntr): Remove.
1886         (__malloc_fork_lock_parent): Do not override malloc hooks and
1887         thread_arena.
1888         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1889         thread_arena.
1890         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1891         thread_arena instead of save_arena.
1893 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1895         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1896         (thread_atfork, thread_atfork_static): Remove.
1897         * sysdeps/mach/hurd/malloc-machine.h:
1898         (thread_atfork, thread_atfork_static): Remove.
1900 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1902         [BZ #19431]
1903         Run the malloc fork handler as late as possible to avoid deadlocks.
1904         * malloc/malloc-internal.h: New file.
1905         * malloc/malloc.c: Include it.
1906         * malloc/arena.c (ATFORK_MEM): Remove.
1907         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1908         Update comment.
1909         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1910         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1911         Remove outdated comment.
1912         (ptmalloc_init): Do not call thread_atfork.  Remove
1913         thread_atfork_static.
1914         * malloc/tst-malloc-fork-deadlock.c: New file.
1915         * Makefile (tests): Add tst-malloc-fork-deadlock.
1916         (tst-malloc-fork-deadlock): Link against libpthread.
1917         * manual/memory.texi (Aligned Memory Blocks): Update safety
1918         annotation comments.
1919         * sysdeps/nptl/fork.c (__libc_fork): Call
1920         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1921         __malloc_fork_unlock_child.
1922         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1924 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1926         [BZ #19613]
1927         Remove union wait.
1928         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1929         (w_stopsig, w_stopval): Remove.
1930         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1931         stat_loc argument.
1932         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1933         (__WAIT_STATUS_DEFN): Remove.
1934         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1935         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1936         (wait, wait3, wait4): Use int * for the stat_loc argument.
1937         * posix/wait.c (__wait): Likewise.
1938         * posix/wait3.c (__wait3): Likewise.
1939         * posix/wait4.c (__wait4): Likewise.
1940         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1941         (__WAIT_STATUS_DEFN): Remove.
1942         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1943         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1944         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1945         argument.
1946         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1947         * sysdeps/posix/wait3.c (__wait3): Likewise.
1948         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1949         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1950         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1951         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1952         stat_loc argument.
1953         * manual/process.texi (BSD Wait Functions): Remove union wait.
1955 2016-04-13  Andreas Schwab  <schwab@suse.de>
1957         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1958         (test-extras): Add tst-tlsalign-vars.
1959         * math/Makefile: Wrap long lines.
1960         (libm-vec-test-wrappers): Define.
1961         (test-extras): Add $(libm-vec-test-wrappers).
1962         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1963         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1964         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1965         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1966         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1967         (extra-test-objs): Add corresponding objects.
1969 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1971         [BZ #19928]
1972         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1973         New.
1974         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1975         times of shared cache size.
1976         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1977         (VMOVNT): New.
1978         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1979         (VMOVNT): Likewise.
1980         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1981         (VMOVNT): Likewise.
1982         (VMOVU): Changed to movups for smaller code sizes.
1983         (VMOVA): Changed to movaps for smaller code sizes.
1984         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1985         comments.
1986         (PREFETCH): New.
1987         (PREFETCH_SIZE): Likewise.
1988         (PREFETCHED_LOAD_SIZE): Likewise.
1989         (PREFETCH_ONE_SET): Likewise.
1990         Rewrite to use forward and backward loops, which move 4 vector
1991         registers at a time, to support overlapping addresses and use
1992         non temporal store if size is above the threshold and there is
1993         no overlap between destination and source.
1995 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1997         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1998         Include dl-vdso.
1999         * sysdeps/unix/sysv/linux/mips/Versions: Add
2000         __vdso_clock_gettime.
2001         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2002         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2003         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2004         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2005         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2006         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2007         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2008         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2009         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2011 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2013         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2014         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2017         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2018         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2021         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2023         syscalls generation.
2024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2025         [__NR_pwrite64] (__NR_write): Remove define.
2026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2027         [__NR_pwrite64] (__NR_write): Remove define.
2028         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2029         Remove define.
2030         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2031         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2032         Remove define.
2033         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2034         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2035         Linux implementation as base.
2036         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2038         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2039         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2040         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2041         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2044         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2046         syscall generation.
2047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2048         [__NR_pread64] (__NR_pread): Remove define.
2049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2050         [__NR_pread64] (__NR_pread): Likewise.
2051         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2052         define.
2053         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2054         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2055         Remove define.
2056         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2057         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2058         Linux implementation as base.
2059         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2060         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2061         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2063         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2064         definition.
2065         (__ALIGNMENT_COUNT): Likewise.
2066         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2067         (__ALIGNMENT_COUNT): Likewise.
2068         (SYSCALL_LL): New define.
2069         (SYSCALL_LL64): Likewise.
2070         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2071         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2072         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2073         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2076         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2077         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2078         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2080         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2082 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2084         [BZ #19865]
2085         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2086         original buffer before retry.
2088 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2091         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2092         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2093         GLRO(dl_auxv) list.
2094         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2095         including <ldsodefs.h>.
2096         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2098 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2100         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2101         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2102         $(CPPFLAGS).
2104 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2106         [BZ #17950]
2107         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2108         Add -mfpmath=387.
2110 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2112         * sysdeps/i386/configure.ac: Change == to = when calling test.
2113         * sysdeps/x86_64/configure.ac: Likewise.
2114         * sysdeps/i386/configure: Regenerated.
2115         * sysdeps/x86_64/configure: Likewise.
2117 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2119         [BZ #16137]
2120         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2121         * benchtests/bench-strcoll.c (input_files): Likewise.
2122         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2123         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2124         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2126 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2128         [BZ #19929]
2129         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2130         [__USE_XOPEN2K8 && !__USE_GNU].
2131         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2132         variable.
2134         [BZ #19925]
2135         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2136         define if [!__USE_MISC && __USE_XOPEN2K].
2137         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2138         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2140         Likewise.
2141         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2142         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2143         variable.
2144         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2146 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2148         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2149         (sysdep_routines): Add new strspn targets.
2150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2151         (__libc_ifunc_impl_list): Add strspn.
2152         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2153         New file.
2154         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2155         Likewise.
2156         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2157         Likewise.
2158         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2159         Likewise.
2161 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2163         * misc/hsearch_r.c: Include <limits.h>.
2165 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2167         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2169 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2171         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2172         (MEMCPY_SYMBOL): New.
2173         (MEMPCPY_SYMBOL): Likewise.
2174         (MEMMOVE_CHK_SYMBOL): Likewise.
2175         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2176         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2177         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2178         Provide alias for memcpy in libc.a and ld.so.
2180 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2182         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2183         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2184         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2185         Disabled fro now.
2186         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2187         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2189 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2191         * benchtests/Makefile (string-benchset): Add memcpy-large,
2192         memmove-large and memset-large.
2193         * benchtests/bench-memcpy-large.c: New file.
2194         * benchtests/bench-memmove-large.c: Likewise.
2195         * benchtests/bench-memmove-large.c: Likewise.
2196         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2198 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2200         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2201         32-bit displacement to avoid long nop between instructions.
2203 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2205         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2206         a comment on VMOVU and VMOVA.
2208 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2210         [BZ #19633]
2211         Use specified locale for number formatting in strfmon_l.
2212         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2213         (__nl_lookup_word): New inline functions.
2214         * include/printf.h (__print_fp_l): Declare.
2215         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2216         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2217         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2218         (___printf_fp): New function.
2219         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2220         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2221         * stdlib/tst-strfmon_l.c (do_test): New test.
2222         * stdlib/Makefile (tests): Add kt.
2223         (LOCALES): Build additional locales.
2224         (tst-strfmon_l.out): Require locales.
2226 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2228         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2229         if not in libc.
2230         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2231         Likewise.
2232         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2233         Likewise.
2234         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2235         Likewise.
2237 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2239         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2240         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2241         with unaligned_erms.
2242         (__memmove_erms): Skip if source == destination.
2243         (__memmove_unaligned_erms): Don't check source == destination
2244         first.
2246 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2248         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2249         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2251 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2253         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2254         * string/strspn.c (strspn): Likewise.
2256 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2258         * benchtests/bench-memset.c (do_test): Support 64-byte
2259         alignment.
2260         (test_main): Test 64-byte alignment.
2262 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2264         * benchtests/bench-memmove.c (test_main): Test 64-byte
2265         alignment.
2267 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2269         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2271 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2273         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2274         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2275         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2277         * string/strpbrk.c (strpbrk): Rewrite function.
2278         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2279         (__strpbrk_c2): Likewise.
2280         (__strpbrk_c3): Likewise.
2281         * string/string-inlines.c
2282         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2283         Likewise.
2284         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2285         Likewise.
2287         * string/strspn.c (strcspn): Rewrite function.
2288         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2289         (__strspn_c1): Remove inline function.
2290         (__strspn_c2): Likewise.
2291         (__strspn_c3): Likewise.
2292         * string/string-inlines.c
2293         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2294         compatibility symbol.
2295         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2296         Likewise.
2297         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2298         Likewise.
2299         * string/string-inlines.c: Include generic version.
2301 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2302             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2304         * string/Version (libc): Add GLIBC_2.24.
2305         * string/strcspn.c (strcspn): Rewrite function.
2306         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2307         (__strcspn_c1): Remove inline function.
2308         (__strcspn_c2): Likewise.
2309         (__strcspn_c3): Likewise.
2310         * string/string-inline.c
2311         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2312         compatibility symbol.
2313         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2314         Likewise.
2315         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2316         Likewise.
2317         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2319 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2321         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2322         Use ahi instead of aghi to adjust stack pointer.
2324 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2326         [BZ #19853]
2327         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2328         TEST to take significant digits as second parameter.
2329         [TEST]: Redefine in terms of TEST_N taking 30
2330         significant digits.
2331         (do_test): Add test case to demonstrate precision
2332         failure in the ldbl-128ibm printf.
2333         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2334         (__mpn_extract_long_double): Carry 7 extra intermediate
2335         bits of precision to aide computing difference when
2336         signs differ.
2338 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2340         [BZ #19881]
2341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2342         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2343         memset-avx512-unaligned-erms.
2344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2345         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2346         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2347         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2348         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2349         __memset_sse2_unaligned_erms, __memset_erms,
2350         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2351         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2352         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2353         file.
2354         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2355         Likewise.
2356         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2357         Likewise.
2358         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2359         Likewise.
2361 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2363         [BZ #19776]
2364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2365         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2366         memmove-avx512-unaligned-erms.
2367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2368         (__libc_ifunc_impl_list): Test
2369         __memmove_chk_avx512_unaligned_2,
2370         __memmove_chk_avx512_unaligned_erms,
2371         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2372         __memmove_chk_sse2_unaligned_2,
2373         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2374         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2375         __memmove_avx512_unaligned_erms, __memmove_erms,
2376         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2377         __memcpy_chk_avx512_unaligned_2,
2378         __memcpy_chk_avx512_unaligned_erms,
2379         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2380         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2381         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2382         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2383         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2384         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2385         __mempcpy_chk_avx512_unaligned_erms,
2386         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2387         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2388         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2389         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2390         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2391         __mempcpy_erms.
2392         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2393         file.
2394         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2395         Likwise.
2396         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2397         Likwise.
2398         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2399         Likwise.
2401 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2403         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2404         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2405         (La_s390_64_regs): Likewise.
2406         (La_s390_32_retval): Append vector register lrv_v24.
2407         (La_s390_64_retval): Likeweise.
2408         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2409         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2410         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2411         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2413 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2415         [BZ #19916]
2416         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2417         to create a non-vector/vector version for _dl_runtime_resolve and
2418         _dl_runtime_profile. Move implementation to ...
2419         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2420         (_dl_runtime_resolve) Save and restore fpr/vrs.
2421         (_dl_runtime_profile) Save and restore vrs and fix some issues
2422         if _dl_call_pltexit is called.
2423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2424         Choose the correct resolver function if running on a machine with vx.
2425         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2426         to create a non-vector/vector version for _dl_runtime_resolve and
2427         _dl_runtime_profile. Move implementation to ...
2428         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2429         (_dl_runtime_resolve) Save and restore fpr/vrs.
2430         (_dl_runtime_profile) Save and restore vrs and fix some issues
2431         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2432         Choose the correct resolver function if running on a machine with vx.
2434 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2436         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2438 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2440         [BZ #19509]
2441         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2442         skip_map != NULL.
2443         * elf/tst-dlsym-error.c: New file.
2444         * elf/Makefile (tests): Add tst-dlsym-error.
2445         (tst-dlsym-error): Link against libdl.
2447 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2449         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2450         (__ASSUME_FUTIMESAT): Remove macro.
2451         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2453 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2455         [BZ #19879]
2456         CVE-2016-3075
2457         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2458         copy name.
2460 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2462         [BZ #19837]
2463         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2464         error if parse_line fails.
2466 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2468         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2469         (index_cpu_ERMS): Likewise.
2470         (reg_ERMS): Likewise.
2472 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2474         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2475         PER_LINUX_FDPIC): Add.
2477 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2480         memcpy-avx512-no-vzeroupper.
2481         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2482         to ...
2483         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2484         (MEMCPY): Don't define.
2485         (MEMCPY_CHK): Likewise.
2486         (MEMPCPY): Likewise.
2487         (MEMPCPY_CHK): Likewise.
2488         (MEMPCPY_CHK): Renamed to ...
2489         (__mempcpy_chk_avx512_no_vzeroupper): This.
2490         (MEMPCPY_CHK): Renamed to ...
2491         (__mempcpy_chk_avx512_no_vzeroupper): This.
2492         (MEMCPY_CHK): Renamed to ...
2493         (__memmove_chk_avx512_no_vzeroupper): This.
2494         (MEMCPY): Renamed to ...
2495         (__memmove_avx512_no_vzeroupper): This.
2496         (__memcpy_avx512_no_vzeroupper): New alias.
2497         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2499 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2501         [BZ #18858]
2502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2503         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2504         and mempcpy-avx512-no-vzeroupper.
2505         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2506         New.
2507         (MEMPCPY): Likewise.
2508         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2509         (MEMPCPY_CHK): New.
2510         (MEMPCPY): Likewise.
2511         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2512         (MEMPCPY): Likewise.
2513         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2514         (MEMPCPY): Likewise.
2515         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2516         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2517         Likewise.
2518         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2519         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2521 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2522              Amit Pawar  <Amit.Pawar@amd.com>
2524         [BZ #19583]
2525         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2526         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2527         processors.  Set Fast_Copy_Backward for AMD Excavator
2528         processors.
2529         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2530         New.
2531         (index_arch_Fast_Unaligned_Copy): Likewise.
2532         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2533         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2535 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2537         [BZ #19791]
2538         * resolv/res_send.c (close_and_return_error): New function.
2539         (send_dg): Initialize *resplen2 after reopen failure.  Call
2540         close_and_return_error for error returns.  On error paths without
2541         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2542         successful return.
2544 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2546         [BZ# 19860]
2547         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2548         zero if the compiler does not provide the AVX512F bit.
2550 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2552         [BZ #19848]
2553         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2554         from 8 to 4.
2555         (__ieee754_powl): Compare integer exponent against 4 not 8.
2556         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2557         from 8 to 4.
2558         (__ieee754_powl): Compare integer exponent against 4 not 8.
2559         * math/auto-libm-test-in: Add more tests of pow.
2560         * math/auto-libm-test-out: Regenerated.
2561         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2564 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2566         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2567         Make code unconditional.
2568         [!__NR_utimensat]: Remove conditional code.
2569         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2570         Make code unconditional.
2571         [!__NR_utimensat]: Remove conditional code.
2572         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2573         Make code unconditional.
2574         [!__NR_utimensat]: Remove conditional code.
2576 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2578         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2579         Make code unconditional.
2581 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2583         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2584         call-clobbered %eax on retry path.
2585         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2587 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2589         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2590         Don't set %rcx twice before "rep movsb".
2592 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2594         [BZ #19583]
2595         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2596         inline.  Check family before setting family, model and
2597         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2598         bits here.
2599         (init_cpu_features): Replace HAS_CPU_FEATURE and
2600         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2601         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2602         for Intel processors with usable AVX2.  Call get_common_indeces
2603         for other processors with family == NULL.
2604         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2605         (CPU_FEATURES_ARCH_P): Likewise.
2606         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2607         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2609 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2611         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2612         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2613         $(shared-thread-library) instead of hardcoding the path to libpthread.
2615 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2617         * sysdeps/unix/sysv/linux/kernel-features.h
2618         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2619         * sysdeps/unix/sysv/linux/getdents.c
2620         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2621         [!have_no_getdents64_defined]: Likewise.
2622         (__GETDENTS): Remove __have_no_getdents64 conditional.
2624 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2627         Remove macro.
2628         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2629         <kernel-features.h>.
2630         (signalfd) [__NR_signalfd4]: Make code unconditional.
2631         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2633 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2635         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2636         style.
2638 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2640         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2641         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2642         __pthread_unwind.
2643         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2644         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2646         (__condvar_cleanup1): Likewise.
2648 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2650         [BZ #19822]
2651         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2652         move it to the final $@ location.
2654 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2656         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2657         access where posix_spawn success and pid argument is null.
2658         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2659         success case.
2661 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2663         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2665         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2667         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2668         and __fcntl.
2669         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2670         __fcntl only.
2671         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2672         adding attribute_hidden to __open and __fcntl.
2674         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2675         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2676         depend on libc-modules.h,
2677         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2679 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2681         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2682         Remove macro.
2683         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2684         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2685         entry.
2687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2688         Remove macro.
2689         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2690         include <kernel-features.h>.
2691         [!__ASSUME_FALLOCATE]: Remove conditional code.
2692         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2694 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2696         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2697         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2698         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2699         (_ZGVdN4v_cos_avx2): Likewise.
2700         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2701         (_ZGVdN4v_cos): Likewise.
2702         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2703         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2704         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2705         (_ZGVdN4v_exp_avx2): Likewise.
2706         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2707         (_ZGVdN4v_exp): Likewise.
2708         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2709         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2710         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2711         (_ZGVdN4v_log_avx2): Likewise.
2712         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2713         (_ZGVdN4v_log): Likewise.
2714         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2715         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2716         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2717         (_ZGVdN4vv_pow_avx2): Likewise.
2718         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2719         (_ZGVdN4vv_pow): Likewise.
2720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2721         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2722         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2723         (_ZGVdN4v_sin_avx2): Likewise.
2724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2725         (_ZGVdN4v_sin): Likewise.
2726         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2727         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2728         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2729         (_ZGVdN4vvv_sincos_avx2): Likewise.
2730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2731         (_ZGVdN4vvv_sincos): Likewise.
2732         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2733         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2734         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2735         (_ZGVbN4v_cosf_sse4): Likewise.
2736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2737         (_ZGVdN8v_cosf_avx2): Likewise.
2738         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2739         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2740         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2741         (_ZGVbN4v_expf_sse4): Likewise.
2742         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2743         (_ZGVdN8v_expf_avx2): Likewise.
2744         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2745         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2747         (_ZGVbN4v_logf_sse4): Likewise.
2748         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2749         (_ZGVdN8v_logf_avx2): Likewise.
2750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2751         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2752         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2753         (_ZGVbN4vv_powf_sse4): Likewise.
2754         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2755         (_ZGVdN8vv_powf_avx2): Likewise.
2756         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2757         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2758         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2759         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2761         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2763         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2765         (_ZGVbN4v_sinf_sse4): Likewise.
2766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2767         (_ZGVdN8v_sinf_avx2): Likewise.
2768         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2769         Use JUMPTARGET to call callee.
2770         (WRAPPER_IMPL_SSE2_ff): Likewise.
2771         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2772         (WRAPPER_IMPL_AVX): Likewise.
2773         (WRAPPER_IMPL_AVX_ff): Likewise.
2774         (WRAPPER_IMPL_AVX_fFF): Likewise.
2775         (WRAPPER_IMPL_AVX512): Likewise.
2776         (WRAPPER_IMPL_AVX512_ff): Likewise.
2777         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2778         Likewise.
2779         (WRAPPER_IMPL_SSE2_ff): Likewise.
2780         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2781         (WRAPPER_IMPL_AVX): Likewise.
2782         (WRAPPER_IMPL_AVX_ff): Likewise.
2783         (WRAPPER_IMPL_AVX_fFF): Likewise.
2784         (WRAPPER_IMPL_AVX512): Likewise.
2785         (WRAPPER_IMPL_AVX512_ff): Likewise.
2786         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2788 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2790         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2791         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2792         qualifier.
2793         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2794         internal_function qualifiers.
2796 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2798         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2799         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2800         * math/atest-exp.c (exp_mpn): Mark chk unused.
2801         * math/atest-exp2.c (exp_mpn): Likwise.
2802         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2803         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2805 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2807         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2808         Remove macro.
2809         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2810         <kernel-features.h>.
2811         [__NR_ppoll]: Make code unconditional.
2812         [!__ASSUME_PPOLL]: Remove conditional code.
2814         * sysdeps/unix/sysv/linux/kernel-features.h
2815         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2816         (__ASSUME_ACCEPT4): Likewise.
2817         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2818         Define.
2819         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2820         Likewise.
2821         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2822         Likewise.
2823         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2824         Likewise.
2825         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2826         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2827         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2828         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2829         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2830         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2834         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2835         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2836         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2837         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2838         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2839         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2840         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2841         Likewise.
2842         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2843         Likewise.
2844         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2845         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2846         0x040300].
2847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2848         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2850         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2851         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2852         0x030300].
2853         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2854         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2855         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2856         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2857         0x040300].
2858         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2859         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2861         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2862         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2863         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2864         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2865         0x030300].
2866         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2867         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2868         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2870         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2871         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2872         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2873         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2874         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2875         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2876         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2877         0x040300].
2878         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2879         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2880         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2881         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2882         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2883         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2884         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2885         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2887         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2889         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2890         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2891         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2892         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2893         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2895         Likewise.
2896         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2897         Likewise.
2899 2016-03-15  Andreas Schwab  <schwab@suse.de>
2901         [BZ #19257]
2902         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2903         statp->_u._ext.nscount as loop count.
2905 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2907         * math/test-signgam-finite-c99.c: Also #undef
2908         __LIBC_INTERNAL_MATH_INLINES.
2909         * math/test-signgam-main.c: Likewise.
2911 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2913         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2914         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2915         (MADV_FREE): Likewise.
2916         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2917         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2918         EPOLLEXCLUSIVE.
2920 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2922         * timezone/README: Remove mention of checktab.awk. Mention wiki
2923         SharedSourceFiles.
2925 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2927         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2928         WUNTRACED.
2930 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2932         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2933         order to match the type of p when calling atomic_exchange_acq().
2935 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2937         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2938         cfi_offset calls.
2939         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2940         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2941         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2942         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2943         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2945 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2947         * timezone/checktab.awk: Removed.
2949 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2951         * manual/math.texi (Errors in Math Functions): Document relaxed
2952         accuracy goals for IBM long double.
2953         * math/libm-test.inc (test_exceptions): Always allow spurious
2954         "underflow" and "inexact" exceptions for IBM long double.
2956 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2958         [BZ #19762]
2959         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2960         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2961         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2962         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2963         (bit_arch_*): This for feature array.
2964         (bit_*): Renamed to ...
2965         (bit_cpu_*): This for cpu array.
2966         (index_*): Renamed to ...
2967         (index_arch_*): This for feature array.
2968         (index_*): Renamed to ...
2969         (index_cpu_*): This for cpu array.
2970         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2971         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2972         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2973         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2974         bit_##name with index_cpu_##name and bit_cpu_##name.
2975         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2976         bit_##name with index_arch_##name and bit_arch_##name.
2978 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2980         [BZ #19792]
2981         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2982         Terminate FDE before return label.
2984 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2986         [BZ #19790]
2987         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2988         (rintl): Define as macro.
2989         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2990         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2991         of fesetround.  Ensure results are evaluated before end of scope.
2992         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2993         USE_AS_NEARBYINTL and include s_rintl.c.
2994         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2995         Disable exception traps in new environment.
2996         (libc_feholdsetround_ppc_ctx): Likewise.
2998 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3000         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3001         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3002         (tst_audit10_aux) [__AVX512F__]: ... here.
3004 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3006         * include/sys/auxv.h: New file.
3008 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3010         [BZ #19759]
3011         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3013 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3015         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3016         operand modifier.
3017         (feclearexcept): Likewise.
3019 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3021         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3022         to reflect the entire 32-bit HWCAP.
3023         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3024         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3026 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3028         [BZ #19783]
3029         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3030         $(test-via-rtld-prefix).
3031         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3033 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3035         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3036         union wait.  Report any non-zero exit status as error.
3038 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3040         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3041         configured with --enable-hardcoded-path-in-tests.
3043 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3045         [BZ #19677]
3046         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3047         (__ieee754_remainderl): Put zero low parts in canonical form.
3048         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3049         file.  Based on
3050         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3051         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3052         with wrapper round test-fmodrem-ldbl-128ibm.c.
3053         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3054         file.
3055         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3056         Likewise.
3057         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3058         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3060 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3062         [BZ #19610]
3063         * elf/ldconfig.c (opt_link): Update comment.
3064         (options): Update help string for option -X.
3065         (search_dir): Unlink stale symbolic link only if updating symbolic
3066         links.
3067         * elf/tst-ldconfig-X.sh: New file.
3068         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3069         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3071 2016-03-07  Andreas Schwab  <schwab@suse.de>
3073         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3074         needed arguments.
3076 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3078         [BZ #15333]
3079         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3080         to lstat64.
3082 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3084         * libio/filedoalloc.c (isatty): Remove.
3085         (local_isatty): Add comment.  Call __isatty directly.
3086         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3087         * libio/wfiledoalloc.c (isatty): Remove.
3088         (_IO_wfile_doallocate): Update comment.
3090 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3092         [BZ #19269]
3093         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3094         tst-audit4-aux.o.
3095         (tst-audit10): Depend on tst-audit10-aux.o.
3096         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3097         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3098         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3099         instead of inline AVX code.
3100         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3101         instead of inline AVX512 code.
3102         * sysdeps/x86_64/tst-audit4-aux.c: New file
3103         * sysdeps/x86_64/tst-audit10-aux.c: New file
3105         [BZ #19648]
3106         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3108 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3110         [BZ #14750]
3111         [BZ #10354]
3112         [BZ #18433]
3113         * include/sched.h (__clone): Add hidden prototype.
3114         (__clone2): Likewise.
3115         * include/unistd.h (__dup): Likewise.
3116         * posix/Makefile (tests): Add tst-spawn2.
3117         * posix/tst-spawn2.c: New file.
3118         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3119         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3120         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3121         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3122         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3123         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3124         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3125         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3126         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3127         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3128         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3130         Likewise.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3132         Likewise.
3133         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3134         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3135         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3136         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3137         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3138         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3139         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3140         * sysdeps/unix/sysv/linux/nptl-signals.h
3141         (____nptl_is_internal_signal): New function.
3142         * sysdeps/unix/sysv/linux/spawni.c: New file.
3144         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3145         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3146         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3147         * posix/tst-execvp2.c (do_test): Likewise.
3148         * posix/tst-execvp3.c (do_test): Likewise.
3149         * posix/tst-execvp4.c (do_test): Likewise.
3150         * posix/tst-execvpe1.c: New file.
3151         * posix/tst-execvpe2.c: Likewise.
3152         * posix/tst-execvpe3.c: Likewise.
3153         * posix/tst-execvpe4.c: Likewise.
3154         * posix/tst-execvpe5.c: Likewise.
3155         * posix/tst-execvpe6.c: Likewise.
3157         [BZ #19534]
3158         * posix/execl.c (execl): Remove dynamic memory allocation.
3159         * posix/execle.c (execle): Likewise.
3160         * posix/execlp.c (execlp): Likewise.
3162 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3164         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3165         Replace .text with .text.avx512.
3166         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3167         Likewise.
3169 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3171         * sysdeps/generic/libnsl.abilist: New file.
3172         * sysdeps/generic/libutil.abilist: New file.
3174 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3176         [BZ #19762]
3177         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3178         HAS_ARCH_FEATURE with Fast_Rep_String.
3179         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3180         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3181         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3182         Likewise.
3183         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3184         Likewise.
3185         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3186         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3187         Likewise.
3188         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3189         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3190         Likewise.
3192 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3194         [BZ #19745]
3195         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3196         with *%rax in call.
3198 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3200         [BZ #19745]
3201         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3202         with *__libc_start_main@GOTPCREL(%rip) in call.
3204 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3206         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3207         inside conditional for nonempty $(CXX).
3209         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3210         nonempty.
3212         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3213         to test for empty $(CXX) rather than $(CXX) of "no".
3215 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3217         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3219 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3220             H.J. Lu  <hongjiu.lu@intel.com>
3222         [BZ #18880]
3223         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3224         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3225         enable __memcpy_ssse3_back.
3227 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3229         [BZ #19758]
3230         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3231         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3233 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3235         [BZ #19490]
3236         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3237         (__fentry__): Likewise.
3239 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3241         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3242         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3244 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3246         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3247         __mcount_internal directly.
3248         (C_LABEL(__fentry__)): Likewise.
3249         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3250         directly.
3252 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3254         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3255         (__start_context): Call __setcontext directly.
3257 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3259         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3260         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3261         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3262         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3264         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3265         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3266         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3267         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3268         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3269         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3270         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3271         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3272         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3273         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3275         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3277         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3278         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3279         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3280         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3281         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3282         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3283         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3284         Remove conditional code.
3285         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3286         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3287         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3288         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3289         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3290         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3291         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3292         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3293         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3294         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3296         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3298 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3300         * NEWS (2.23): Fix typo in bug 19048 text.
3302 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3304         [BZ #14259]
3305         * Makeconfig: Rename msgcatdir to localedir.
3306         Rename inst_msgcatdir to inst_localedir.
3307         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3308         * config.make.in: Add localedir.
3309         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3310         (ldd-rewrite): Likewise.
3311         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3312         (install-others): Use inst_localedir.
3313         (CPPFLAGS): Use localedir.
3314         * locale/Makefile (locale-CPPFLAGS): Likewise.
3315         * po/Makefile (mo-installed): Use inst_localedir.
3317         [BZ #19575]
3318         * localedata/charmaps/GB18030: Update comments regarding PAU to
3319         non-PUA mappings.
3321 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3323         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3324         test for header.
3325         * sysdeps/unix/sysv/linux/configure: Regenerated.
3326         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3327         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3328         Remove conditional code.
3329         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3331         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3332         Define to 3.2.0.
3333         (arch_minimum_kernel): Likewise.
3334         * sysdeps/unix/sysv/linux/configure: Regenerated.
3335         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3336         Define to 2.6.32.
3337         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3338         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3339         (arch_minimum_kernel): Define to 2.6.32.
3340         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3341         * README: Document Linux 3.2 requirement.
3342         * manual/install.texi (Linux): Document Linux 3.2 headers
3343         requirement.
3344         * INSTALL: Regenerated.
3346 2016-02-24  Andreas Schwab  <schwab@suse.de>
3348         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3349         if !NO_LONG_DOUBLE.
3351 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3353         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3354         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3356 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3358         [BZ #19512]
3359         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3361 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3363         * posix/tst-dir.c: Include libc-internal.h.
3365 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3367         [BZ #19056]
3368         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3369         * manual/filesys.texi (Reading/Closing Directory): Mention
3370         deprecaion.
3371         * posix/tst-dir.c (main): Disable deprecation warning in test.
3373 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3375         [BZ #19679]
3376         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3377         Renamed to ...
3378         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3379         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3380         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3381         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3382         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3383         * sysdeps/x86_64/dl-trampoline.h
3384         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3385         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3387 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3389         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3391 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3393         * elf/elf.h (R_386_GOT32X): New.
3394         (R_386_NUM): Update.
3395         (R_X86_64_GOTPCRELX: New.
3396         (R_X86_64_REX_GOTPCRELX): New.
3397         (R_X86_64_NUM): Update.
3399 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3401         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3403 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3405         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3406         assign attr->stackaddr to it, and adjust it down when
3407         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3408         [_STACK_GROWS_UP]: Delete assert.
3409         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3410         Implement stack grows up logic.
3411         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3412         stack grows up logic.
3414 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3416         * NEWS: Update with 2.24 template.
3418 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3420         [BZ #19678]
3421         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3422         Ensure +0.0 is returned when taking the next value below the least
3423         positive value.
3425 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3427         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3428         available.  Do not define NO_THREADS.
3429         * malloc/malloc.c: Do not check NO_THREADS.
3430         * malloc/arena.c: Likewise.
3432 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3434         * malloc/malloc.c (__libc_mallinfo): Update comment.
3435         (struct malloc_par): Remove max_total_mem member, it was always 0.
3436         (int_mallinfo): Store 0 into usmblks (no functional change).
3437         * malloc/hooks.c (struct malloc_state): Document that
3438         max_total_mem is always 0.
3439         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3440         always 0.
3441         * manual/memory.texi (Statistics of Malloc): Likewise.
3443 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3445         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3446         * malloc/arena.c (arena_max): Remove.
3447         (heap_trim, _int_new_arena): Do not update arena_max.
3449 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3451         * resolv/res_init.c (res_ninit): Update comment.
3453 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3455         [BZ #19505]
3456         * posix/spawn_int.h: Add headers and include guard.
3457         (__spawn_valid_fd): New function.
3458         * posix/spawn_faction_addopen.c
3459         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3460         * posix/spawn_faction_addclose.c
3461         (posix_spawn_file_actions_addclose): Likewise.
3462         * posix/spawn_faction_adddup2.c
3463         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3464         second file descriptor.
3465         * posix/spawn_valid_fd.c: New file.
3466         * posix/tst-posix_spawn-fd.c: New file.
3467         * posix/Makefile (routines): Add spawn_valid_fd.
3468         (tests): Add tst-posix_spawn-fd.
3470 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3472         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3473         (do_test): Limit the number of arenas, so that we can use fewer
3474         outer threads.  Limit timeout to 3 seconds, in preparation for a
3475         larger TIMEOUT value.
3477 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3479         [BZ #19674]
3480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3481         sign in overflowing and underflowing results when overflow or
3482         underflow is detected early.  Include sign in result before rather
3483         than after scaling.
3485         [BZ #19603]
3486         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3487         (__ieee754_remainderl): Adjust sign of integer version of low part
3488         when taking absolute value of high part.
3489         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3490         * math/libm-test.inc (remainder_test_data): Add another test.
3491         (remquo_test_data): Likewise.
3493 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3495         [BZ #19602]
3496         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3497         equal high parts and both low parts zero specially.
3498         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3499         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3500         Add test-fmodl-ldbl-128ibm.
3502         [BZ #19595]
3503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3504         common logic for all cases of shifting subnormal results.  Do not
3505         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3506         exponent to ldbl_insert_mantissa in subnormal case.
3508         [BZ #19594]
3509         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3510         on high and low parts then adjust result and use
3511         ldbl_canonicalize_int if needed.
3513         [BZ #19593]
3514         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3515         on high part and __floor or __ceil on low part then use
3516         ldbl_canonicalize_int if needed.
3518         [BZ #19592]
3519         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3520         high and low parts then use ldbl_canonicalize_int if needed.
3522         [BZ #17899]
3523         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3524         New function.
3525         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3526         on high and low parts then use ldbl_canonicalize_int if needed.
3528 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3530         * configure: Regenerated.
3532         * po/libc.pot: Regenerated.
3534         * po/be.po: Updated translation.
3535         * po/bg.po: Likewise.
3536         * po/ca.po: Likewise.
3537         * po/cs.po: Likewise.
3538         * po/da.po: Likewise.
3539         * po/el.po: Likewise.
3540         * po/eo.po: Likewise.
3541         * po/es.po: Likewise.
3542         * po/fi.po: Likewise.
3543         * po/fr.po: Likewise.
3544         * po/gl.po: Likewise.
3545         * po/hr.po: Likewise.
3546         * po/hu.po: Likewise.
3547         * po/ia.po: Likewise.
3548         * po/id.po: Likewise.
3549         * po/it.po: Likewise.
3550         * po/ja.po: Likewise.
3551         * po/lt.po: Likewise.
3552         * po/nb.po: Likewise.
3553         * po/nl.po: Likewise.
3554         * po/pt_BR.po: Likewise.
3555         * po/rw.po: Likewise.
3556         * po/sk.po: Likewise.
3557         * po/sl.po: Likewise.
3558         * po/sv.po: Likewise.
3559         * po/tr.po: Likewise.
3560         * po/zh_CN.po: Likewise.
3561         * po/zh_TW.po: Likewise.
3563         * version.h (RELEAES): Set to "development".
3564         (VERSION): Set to 2.23.90.
3566         * version.h (RELEASE): Set to "stable".
3567         (VERSION): Set to 2.23.
3568         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3570         * NEWS: Updated fixed bugs.
3572 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3573             Wilco Dijkstra  <wdijkstr@arm.com>
3575         [BZ #19462]
3576         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3577         (_STRING_INLINE_unaligned): This.
3578         * include/string.h: Include <string_private.h>.
3579         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3580         _STRING_INLINE_unaligned.
3581         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3582         (_STRING_INLINE_unaligned): New.
3583         * sysdeps/aarch64/string_private.h: New file.
3584         * sysdeps/generic/string_private.h: Likewise.
3585         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3586         * sysdeps/s390/string_private.h: Likewise.
3587         * sysdeps/x86/string_private.h: Likewise.
3588         * sysdeps/m68k/m680x0/m68020/bits/string.h
3589         (_STRING_ARCH_unaligned): Renamed to ...
3590         (_STRING_INLINE_unaligned): This.
3591         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3592         to ...
3593         (_STRING_INLINE_unaligned): This.
3594         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3595         to ...
3596         (_STRING_INLINE_unaligned): This.
3597         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3598         to ...
3599         (_STRING_INLINE_unaligned): This.
3601 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3602             H.J. Lu  <hongjiu.lu@intel.com>
3604         [BZ #19590]
3605         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3606         relocation.
3608 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3610         [BZ #18665]
3611         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3612         *herrno_p.
3613         (gaih_getanswer): Document functional behviour. Return tryagain
3614         if any result is tryagain.
3615         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3616         when freed.
3617         * resolv/res_send.c: Add copyright text.
3618         (__libc_res_nsend): Document that MAXPACKET is expected.
3619         (send_vc): Document. Remove buffer reuse.
3620         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3621         size of the buffer. Add Dprint for truncated UDP buffer.
3623 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3625         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3626         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3627         * INSTALL: Regenerate.
3629 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3630             Jonathan Wakely  <jwakely@redhat.com>
3631             Carlos O'Donell  <carlos@redhat.com>
3633         [BZ 19439]
3634         * math/Makefile (tests): Add test-math-isinff.
3635         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3636         * math/bits/mathcalls.h [__USE_MISC]: Use
3637         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3638         functions not in C++11 and which don't conflict e.g. isinff,
3639         isinfl etc.
3640         * math/test-math-isinff.cc: New file.
3642 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3644         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3646 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3648         [BZ #19529]
3649         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3651 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3653         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3655 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3657         [BZ #19550]
3658         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3659         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3660         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3661         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3662         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3663         New syscall entry.
3664         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3665         New syscall entry.
3666         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3667         syscall entry.
3669 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3671         [BZ #18240]
3672         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3673         unsigned int wraparound.
3675 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3677         [BZ #18240]
3678         * misc/bug18240.c: New test.
3679         * misc/Makefile (tests): Add it.
3681 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3682             Joseph Myers  <joseph@codesourcery.com>
3684         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3685         load in branch delay slot when less than a word of input left.
3687 2016-01-27  Andreas Schwab  <schwab@suse.de>
3689         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3691         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3692         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3694 2016-01-26  David S. Miller  <davem@davemloft.net>
3696         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3698 2016-01-25  David S. Miller  <davem@davemloft.net>
3700         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3701         __sqrtl_finite.
3702         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3703         instead using versioned_symbol.
3704         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3705         of entries.
3707         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3708         __sqrtl_finite to GLIBC_2.23
3710 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3712         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3714 2016-01-25  Andreas Schwab  <schwab@suse.de>
3716         [BZ #17514]
3717         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3718         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3719         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3720         * nptl/tst-mutex-errorcheck.c: New file.
3722 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3724         [BZ #18560]
3725         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3726         (IPCOP_semop): Likewise.
3727         (IPCOP_semget): Likewise.
3728         (IPCOP_semctl): Likewise.
3729         (IPCOP_msgsnd): Likewise.
3730         (IPCOP_msgrcv): Likewise.
3731         (IPCOP_msgget): Likewise.
3732         (IPCOP_msgctl): Likewise.
3733         (IPCOP_shmat): Likewise.
3734         (IPCOP_shmdt): Likewise.
3735         (IPCOP_shmget): Likewise.
3736         (IPCOP_shmctl): Likewise.
3738 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3740         * string/tst-endian.c: Include <libc-internal.h>.
3741         (do_test): Ignore tautological-compare warnings around
3742         "htobeXX (beXXtoh (i)) != i" and
3743         "htoleXX (leXXtoh (i)) != i" if-statements.
3745 2016-01-24  David S. Miller  <davem@davemloft.net>
3747         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3748         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3749         alias.
3750         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3751         __sqrtl_finite.
3753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3755 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3757         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3758         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3759         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3761 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3763         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3764         (thread_func): Use new function to simplify barrier check.
3765         (do_test): Use new function to simplify checking barrier exit
3766         code, and actually join the child thread.
3768 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3770         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3771         semicolon.
3772         (__libc_tend): Likewise.
3773         (__libc_tabort): Likewise.
3775 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3777         * sysdeps/nios2/libm-test-ulps: Update.
3778         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3779         (__gtsf2): Likewise.
3780         (__unorddf2): Likewise.
3781         (__unordsf2): Likewise.
3782         (__ledf2): Likewise.
3784 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3786         * nis/nis_table.c (__follow_path): Disable diagnostic for
3787         uninitialized variable that is a false positive for gcc 4.7.
3788         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3790 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3792         * sysdeps/nacl/lowlevellock-futex.h
3793         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3794         Always evaluate PRIVATE argument.
3796 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3798         [BZ #19490]
3799         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3800         (pthread_cond_broadcast): Use ENTRY/END
3801         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3802         (pthread_cond_signal): Likewise.
3803         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3804         Likewise.
3805         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3806         Likewise.
3807         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3808         Likewise.
3810 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3812         * sysdeps/ieee754/dbl-64/s_finite.c
3813         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3814         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3815         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3816         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3817         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3820         (__gtsf2): Add as optional for libc.so.
3821         (__unordsf2): Likewise.
3822         (__signbit): Remove for libc.so.
3823         (__signbitl): Likewise.
3825 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3827         * iconvdata/bug-iconv11.c (test_ibm93x):
3828         Use %zu printf format specifier for size_t argument.
3830 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3832         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3833         already-recorded ulps.
3834         * sysdeps/arm/libm-test-ulps: Regenerated.
3835         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3836         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3837         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3839 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3840             Paul Pluzhnikov  <ppluzhnikov@google.com>
3842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3843         assembler not supporting AVX-512.
3845 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3847         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3849 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3851         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3852         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3854         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3856         * sysdeps/arm/libm-test-ulps: Regenerated.
3858 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3860         [BZ #19451]
3861         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3863 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3865         [BZ #19486]
3866         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3867         * sysdeps/generic/fix-fp-int-convert-overflow.h
3868         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3869         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3870         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3871         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3872         Likewise.
3873         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3874         Avoid conversions to long int where inexact exceptions
3875         could be raised.
3876         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3877         Likewise.
3878         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3879         Avoid conversions to long long int where inexact exceptions
3880         could be raised.
3881         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3882         Likewise.
3884 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3886         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3887         * configure: Regenerated.
3889 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3891         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3893 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3895         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3896         outside of comment.
3898 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3900         * nptl/tst-barrier1.c: Add description on first line.
3901         * nptl/tst-barrier2.c: Likewise.
3902         * nptl/tst-barrier3.c: Likewise.
3903         * nptl/tst-barrier4.c: Likewise.
3904         * nptl/tst-barrier5.c: Likewise.
3906 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3908         [BZ #18868]
3909         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3911 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3915         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3916         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3917         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3918         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3919         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3920         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3921         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3922         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3923         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3925 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3927         [BZ #13065]
3928         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3929         new implementation.
3930         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3931         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3932         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3933         (BARRIER_IN_THRESHOLD): New macro.
3934         * nptl/pthread_barrierattr_setpshared.c
3935         (pthread_barrierattr_setpshared): Clean up.
3936         * nptl/tst-barrier4.c: Correct comment.
3937         * nptl/tst-barrier5.c: New file.
3938         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3939         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3940         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3941         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3942         * nptl/lowlevelbarrier.sym: Remove.
3943         * nptl/DESIGN-barrier.txt: Remove.
3944         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3945         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3946         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3947         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3948         error.
3949         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3950         implementation.
3952 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3954         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3955         (do_child): Mask SIGRTMIN while thr is running.
3957 2016-01-15  Martin Sebor  <msebor@redhat.com>
3959         [BZ #19432]
3960         * iconvdata/Makefile: Add bug-iconv11.
3961         * iconvdata/bug-iconv11.c: New test.
3962         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3963         * iconvdata/ibm933.c: Same.
3964         * iconvdata/ibm935.c: Same.
3965         * iconvdata/ibm937.c: Same.
3966         * iconvdata/ibm939.c: Same.
3968 2016-01-15  Martin Sebor  <msebor@redhat.com>
3970         [BZ #19443]
3971         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3972         [DEBUG] (_ufc_set_bits): Declare used.
3973         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3974         [DEBUG] (print_all): Declare used.
3975         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3976         operands of the ternary ?: expression to target type.
3977         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3978         calling the undeclared abort.
3979         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3981 2016-01-15  Martin Sebor  <msebor@redhat.com>
3983         [BZ #18755]
3984         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3985         warnings.
3986         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3987         (__gai_create_helper_thread): Same.
3988         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3989         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3990         to suppress -Wmaybe-uninitialized warnings.
3992 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3994         [BZ #19465]
3995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3996         inside if.
3997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3998         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4001 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4003         [BZ #19466]
4004         * time/tst-mktime2.c (time_t_max): Removed.
4005         (time_t_min): Likewise.
4006         (TYPE_SIGNED): New.
4007         (TYPE_MINIMUM): Likewise.
4008         (TYPE_MAXIMUM): Likewise.
4009         (TIME_T_MIN): Likewise.
4010         (TIME_T_MAX): Likewise.
4011         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4012         and TIME_T_MIN.
4013         (do_test): Likewise.
4015 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4017         [BZ #19467]
4018         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4019         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4021 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4023         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4025 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4027         * benchtests/Makefile (PYTHON): Define.
4028         (bench-func): Use $(PYTHON) to run python scripts.
4029         ($(objpfx)bench-%.c): Likewise.
4031 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4033         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4034         leading slash when `file_name' is "/".
4036 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4038         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4039         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4040         Likewise.
4041         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4046         enum constant and macro.
4047         (PTRACE_SETSIGMASK): Likewise.
4048         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4049         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4050         (PTRACE_GETSIGMASK): Likewise.
4051         (PTRACE_SETSIGMASK): Likewise.
4052         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4053         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4054         Likewise.
4055         (PTRACE_SETSIGMASK): Likewise.
4056         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4058         (PTRACE_GETSIGMASK): Likewise.
4059         (PTRACE_SETSIGMASK): Likewise.
4060         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4062         Likewise.
4063         (PTRACE_SETSIGMASK): Likewise.
4064         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4066         Likewise.
4067         (PTRACE_SETSIGMASK): Likewise.
4068         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4069         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4070         Likewise.
4071         (PTRACE_SETSIGMASK): Likewise.
4072         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4074 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4075             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4077         [BZ #19439]
4078         * math/bits/mathcalls.h
4079         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4080         prototype.
4081         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4083 2016-01-11  Andreas Schwab  <schwab@suse.de>
4085         [BZ #19253]
4086         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4087         cache when TZDEFRULES was used.
4088         * time/tst-tzname.c: New file.
4089         * time/Makefile (test): Add tst-tzname.
4090         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4091         * timezone/Makefile (test-zones): Add $(posixrules-file).
4092         ($(testdata)/$(posixrules-file)): New rule.
4094 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4096         Fix doc quoting problems with Texinfo 5
4097         Without this change, in the info file output, Texinfo 5 quotes code
4098         in text with undirected single quotes 'like this' and generates
4099         code examples that with many PDF readers cannot be cut out of PDFs
4100         and pasted into code.
4101         * manual/libc.texinfo: Configure the libc manual like the GNU
4102         Emacs manual, by using @documentencoding and setting
4103         txicodequoteundirected and txicodequotebacktick.  This way,
4104         Texinfo 5 quotes code in text with directed single quotes ‘like
4105         this’ and produces examples that can be cut out of PDFs.  This
4106         change causes Texinfo 5 to generate info files that contain UTF-8
4107         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4108         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4110 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4112         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4113         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4114         barriers to their respective compiler built-ins.
4115         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4116         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4117         * sysdeps/powerpc/sysdep.h: Likewise.
4118         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4119         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4120         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4122 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4124         * scripts/config.guess: Revert previous shebang change.
4125         * scripts/config.sub: Likewise.
4126         * scripts/mkinstalldirs: Likewise.
4128 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4130         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4131         PPC_FEATURE2_HAS_IEEE128.
4132         * sysdeps/powerpc/dl-procinfo.c:
4133         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4135 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4137         [BZ #19415]
4138         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4139         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4140         (_dl_lookup_address): Rewrite using function resolver trampoline.
4141         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4142         two bits in address.
4144 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4146         * longlong.h: Change !__SHMEDIA__ to
4147         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4148         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4150 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4151             Joseph Myers  <joseph@codesourcery.com>
4152             Mark Shinwell  <shinwell@codesourcery.com>
4153             Andrew Stubbs  <ams@codesourcery.com>
4154             Rich Felker <dalias@libc.org>
4156         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4158 2016-01-07  Richard Henderson  <rth@redhat.com>
4160         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4162 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4164         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4165         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4166         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4167         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4168         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4170 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4171             Joseph Myers  <joseph@codesourcery.com>
4173         * timezone/private.h: Update from tzcode 2015g.
4174         * timezone/tzfile.h: Likewise.
4175         * timezone/tzselect.ksh: Likewise.
4176         * timezone/zdump.c: Likewise.
4177         * timezone/zic.c: Likewise.
4178         * timezone/ialloc.c: Remove file.
4179         * timezone/scheck.c: Likewise.
4180         * timezone/Makefile (extra-objs): Remove variable.
4181         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4182         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4183         -Wno-maybe-uninitialized.
4184         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4185         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4186         (CFLAGS-ialloc.c): Remove variable.
4187         (CFLAGS-scheck.c): Likewise.
4188         * timezone/README: Update list of files from tzcode.
4190 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4192         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4193         instead of __fxprintf when _LIBC is undefined.
4195 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4197         * catgets/test-gencat.sh: Remove space after shebang.
4198         * conform/GlibcConform.pm: Likewise.
4199         * conform/check-header-lists.sh: Likewise.
4200         * conform/conformtest.pl: Likewise.
4201         * conform/linknamespace.pl: Likewise.
4202         * conform/list-header-symbols.pl: Likewise.
4203         * debug/catchsegv.sh: Likewise.
4204         * elf/genrtldtbl.awk: Likewise.
4205         * elf/tst-pathopt.sh: Likewise.
4206         * elf/tst-rtld-load-self.sh: Likewise.
4207         * grp/tst_fgetgrent.sh: Likewise.
4208         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4209         * iconvdata/gen-8bit-gap.sh: Likewise.
4210         * iconvdata/gen-8bit.sh: Likewise.
4211         * iconvdata/run-iconv-test.sh: Likewise.
4212         * intl/tst-gettext.sh: Likewise.
4213         * intl/tst-gettext2.sh: Likewise.
4214         * intl/tst-gettext4.sh: Likewise.
4215         * intl/tst-gettext6.sh: Likewise.
4216         * intl/tst-translit.sh: Likewise.
4217         * io/ftwtest-sh: Likewise.
4218         * libio/test-freopen.sh: Likewise.
4219         * locale/gen-translit.pl: Likewise.
4220         * malloc/tst-mtrace.sh: Likewise.
4221         * manual/check-safety.sh: Likewise.
4222         * manual/libc-texinfo.sh: Likewise.
4223         * manual/tsort.awk: Likewise.
4224         * manual/xtract-typefun.awk: Likewise.
4225         * nptl/tst-cancel-wrappers.sh: Likewise.
4226         * nptl/tst-tls6.sh: Likewise.
4227         * posix/globtest.sh: Likewise.
4228         * posix/tst-getconf.sh: Likewise.
4229         * posix/wordexp-tst.sh: Likewise.
4230         * scripts/check-c++-types.sh: Likewise.
4231         * scripts/check-local-headers.sh: Likewise.
4232         * scripts/config.guess: Likewise.
4233         * scripts/config.sub: Likewise.
4234         * scripts/cpp: Likewise.
4235         * scripts/cross-test-ssh.sh: Likewise.
4236         * scripts/documented.sh: Likewise.
4237         * scripts/evaluate-test.sh: Likewise.
4238         * scripts/gen-libc-abis: Likewise.
4239         * scripts/gen-sorted.awk: Likewise.
4240         * scripts/list-fixed-bugs.py: Likewise.
4241         * scripts/merge-test-results.sh: Likewise.
4242         * scripts/mkinstalldirs: Likewise.
4243         * scripts/rellns-sh: Likewise.
4244         * scripts/test-installation.pl: Likewise.
4245         * scripts/update-copyrights: Likewise.
4246         * stdio-common/tst-printf.sh: Likewise.
4247         * stdio-common/tst-unbputc.sh: Likewise.
4248         * stdlib/tst-fmtmsg.sh: Likewise.
4249         * stdlib/tst-setcontext3.sh: Likewise.
4250         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4251         * sysdeps/unix/make-syscalls.sh: Likewise.
4253 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4255         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4256         asm stw with atomic_exchange_rel.  Add explanatory comment.
4257         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4258         Likewise.
4260 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4262         [BZ #19122]
4263         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4264         * sysdeps/generic/dl-unistd.h: New file.
4265         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4267 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4269          [BZ #19122]
4270          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4271          * sysdeps/generic/dl-mman.h: New file.
4272          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4274 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4276         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4277         trailing whitespace removed.
4278         * scripts/config.guess: Update to version 2016-01-01.
4279         * scripts/config.sub: Update to version 2016-01-01.
4280         * scripts/move-if-change: Update from gnulib.
4282 2016-01-04  Anton Blanchard  <anton@samba.org>
4284         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4285         for array indices.
4286         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4288 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4290         * NEWS: Update copyright dates.
4291         * catgets/gencat.c (print_version): Likewise.
4292         * csu/version.c (banner): Likewise.
4293         * debug/catchsegv.sh: Likewise.
4294         * debug/pcprofiledump.c (print_version): Likewise.
4295         * debug/xtrace.sh (do_version): Likewise.
4296         * elf/ldconfig.c (print_version): Likewise.
4297         * elf/ldd.bash.in: Likewise.
4298         * elf/pldd.c (print_version): Likewise.
4299         * elf/sotruss.sh: Likewise.
4300         * elf/sprof.c (print_version): Likewise.
4301         * iconv/iconv_prog.c (print_version): Likewise.
4302         * iconv/iconvconfig.c (print_version): Likewise.
4303         * locale/programs/locale.c (print_version): Likewise.
4304         * locale/programs/localedef.c (print_version): Likewise.
4305         * login/programs/pt_chown.c (print_version): Likewise.
4306         * malloc/memusage.sh (do_version): Likewise.
4307         * malloc/memusagestat.c (print_version): Likewise.
4308         * malloc/mtrace.pl: Likewise.
4309         * manual/libc.texinfo: Likewise.
4310         * nptl/version.c (banner): Likewise.
4311         * nscd/nscd.c (print_version): Likewise.
4312         * nss/getent.c (print_version): Likewise.
4313         * nss/makedb.c (print_version): Likewise.
4314         * posix/getconf.c (main): Likewise.
4315         * scripts/test-installation.pl: Likewise.
4316         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4318         * All files with FSF copyright notices: Update copyright dates
4319         using scripts/update-copyrights.
4320         * intl/plural.c: Regenerated.
4321         * locale/programs/charmap-kw.h: Likewise.
4322         * locale/programs/locfile-kw.h: Likewise.
4324 2016-01-02  Helge Deller  <deller@gmx.de>
4326         [BZ #19285]
4327         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4328         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4329         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4330         (MADV_xxK_PAGES): Remove.
4332 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4334         [BZ #15421]
4335         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4336         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4337         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4338         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4340 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4342         [BZ #19408]
4343         * sysdeps/unix/sysv/linux/personality.c: New file.
4344         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4345         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4346         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4347         (sysdep_routines): Add personality.
4348         (tests): Add tst-personality.
4349         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4350         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4351         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4352         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4353         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4354         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4355         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4363         Likewise.
4365 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4367         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4368         (PATH_ARM_SYSTYPE): Remove.
4369         (PATH_CPUINFO): Likewise.
4370         (IO_BASE_FOOTBRIDGE): Likewise.
4371         (IO_SHIFT_FOOTBRIDGE): Likewise.
4372         (struct platform): Likewise.
4373         (init_iosys): Remove compatibility code for 2.4 kernels.
4374         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4376 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4378         * malloc/tst-malloc-thread-fail.c: New file.
4379         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4380         (tst-malloc-thread-fail): Link against libpthread.
4382 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4384         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4385         (get_parser): New function.
4386         (main): New function.
4388 2015-12-29  Rob Wu  <rob@robwu.nl>
4390         [BZ #19369]
4391         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4393 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4395         [BZ #19270]
4396         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4398 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4400         [BZ #15421]
4401         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4403 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4405         [BZ #13690]
4406         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4407         after releasing it.
4408         (__lll_robust_unlock): Likewise.
4409         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4410         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4411         (lll_robust_unlock): Likewise.
4412         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4413         Prevent warnings in callers.
4415 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4417         * malloc/arena.c (list_lock): Update comment.
4419 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4421         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4422         __parse_hwcap_and_convert_at_platform to libc.a.
4424 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4426         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4427         platform and feature support for POWER9.
4428         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4429         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4430         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4431         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4432         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4433         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4434         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4435         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4437 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4439         Harmonize generic stdio-lock support with nptl
4441         This fixes build when _IO_funlockfile is a macro, fixes build where
4442         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4443         stack unwind.
4445         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4446         _IO_release_lock ): Use cleanup attribute on new
4447         _IO_acquire_lock_file variable instead of assuming that
4448         _IO_release_lock will be called.
4449         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4450         _IO_acquire_lock_needs_exceptions_enabled.
4451         (_IO_acquire_lock_clear_flags2): New macro.
4453 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4455         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4457 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4459         [BZ #19182]
4460         * malloc/arena.c (list_lock): Document lock ordering requirements.
4461         (free_list_lock): New lock.
4462         (ptmalloc_lock_all): Comment on free_list_lock.
4463         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4464         (detach_arena): Update comment.  free_list_lock is now needed.
4465         (_int_new_arena): Use free_list_lock around detach_arena call.
4466         Acquire arena lock after list_lock.  Add comment, including FIXME
4467         about incorrect synchronization.
4468         (get_free_list): Switch to free_list_lock.
4469         (reused_arena): Acquire free_list_lock around detach_arena call
4470         and attached threads counter update.  Add two FIXMEs about
4471         incorrect synchronization.
4472         (arena_thread_freeres): Switch to free_list_lock.
4473         * malloc/malloc.c (struct malloc_state): Update comments to
4474         mention free_list_lock.
4476 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4478         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4479         Remove functions.
4480         (sloww, sloww1): Accept argument to offset quadrant.
4481         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4482         quadrant.
4483         (__sin, __cos): Consolidate common code into new functions.
4484         (reduce_sincos_1, do_sincos_1): New functions.
4485         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4488         code to new functions.
4489         (reduce_sincos_2, do_sincos_2): New functions.
4490         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4492         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4493         common code for sincos.
4494         (__cos) [!IN_SINCOS]: Likewise.
4495         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4496         New function.
4497         (__sincos): Use it.
4499 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4501         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4502         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4503         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4505 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4507         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4510         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4511         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4512         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4513         index_Prefer_No_VZEROUPPER): New feature.
4514         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4515         Prefer_No_VZEROUPPER for Knights Landing.
4517 015-12-18  Torvald Riegel  <triegel@redhat.com>
4519         * math/atest-exp2.c (mp_exp_m1): Remove.
4521 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4523         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4524         syscalls.
4525         (__SYSCALL0): New macro.
4526         (__SYSCALL1): Likewise.
4527         (__SYSCALL2): Likewise.
4528         (__SYSCALL3): Likewise.
4529         (__SYSCALL4): Likewise.
4530         (__SYSCALL5): Likewise.
4531         (__SYSCALL6): Likewise.
4532         (__SYSCALL_CONCAT_X): Likewise.
4533         (__SYSCALL_CONCAT): Likewise.
4534         (__SYSCALL_DIST): Likewise.
4535         (__SYSCALL_CALL): Likewise.
4537 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4539         [BZ #19363]
4540         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4542 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4544         [BZ #19375]
4545         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4546         negative subnormals.
4548 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4551         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4552         (INTERNAL_SYSCALL_NCS): Use it.
4553         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4555 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4557         [BZ #19243]
4558         * malloc/arena.c (get_free_list): Remove assert and adjust
4559         reference count handling.  Add comment about reused_arena
4560         interaction.
4561         (reused_arena): Add comments abount get_free_list interaction.
4562         * malloc/tst-malloc-thread-exit.c: New file.
4563         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4564         (tst-malloc-thread-exit): Link against libpthread.
4566 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4568         [BZ #19367]
4569         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4570         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4571         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4572         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4573         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4575 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4577         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4578         Silvermont optimizations for Knights Landing.
4580 2015-12-15  Andreas Schwab  <schwab@suse.de>
4582         [BZ #17197]
4583         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4584         immediately after emitting SI.
4585         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4586         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4587         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4588         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4589         * iconvdata/bug-iconv10.c: New file.
4590         * iconvdata/Makefile (tests): Add bug-iconv10.
4591         ($(objpfx)bug-iconv10.out): New rule.
4593 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4595         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4596         aliasing violation.
4598 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4600         [BZ #18472]
4601         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4602         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4603         conditionals for them.
4604         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4605         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4607         sys/kdaemon.h.
4608         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4609         compat-only syscall, obsoleted in glibc 2.23.
4610         (create_module): Likewise.
4611         (get_kernel_syms): Likewise.
4612         (query_module): Likewise.
4613         (uselib): Likewise.
4614         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4616 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4618         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4619         <linux/version.h>.
4620         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4621         conditional code.
4622         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4623         and ioshift_name initialization.
4625 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4628         Fix indentation.
4630 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4632         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4634 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4636         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4638 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4639             Jakub Wilk  <jwilk@debian.org>
4641         [BZ #19347]
4642         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4643         to change the group of the device to the tty group.
4645 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4647         Split large string section; add truncation advice
4648         * manual/examples/strncat.c: Remove.
4649         This example was misleading, as the code would have undefined
4650         behavior if "hello" was longer than SIZE.  Anyway, the manual
4651         shouldn't encourage strncpy+strncat for this sort of thing.
4652         * manual/string.texi (Copying Strings and Arrays): Split into
4653         three sections Copying Strings and Arrays, Concatenating Strings,
4654         and Truncating Strings, as this section was way too long.  All
4655         cross-referenced changed.  Add advice about string-truncation
4656         functions.  Remove misleading strncat example.
4658 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4660         * manual/nss.texi (NSS Modules Interface): Document
4661         NSS_STATUS_NOTFOUND and SUCCESS.
4663 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4665         [BZ 18568]
4666         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4667         201505L, for Unicode 8.
4669 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4671         * locale/C-translit.h: Regenerate.
4673 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4675         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4676         and U+0153.
4678 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4680         [BZ #19351]
4681         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4682         expanding log(1+z), compare z rather than its square with epsilon
4683         to determine when to avoid evaluating the expansion.
4685         [BZ #19350]
4686         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4687         Increase overflow threshold.
4689         [BZ #19349]
4690         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4691         when small.
4693         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4695         New macro.
4696         [__LINUX_KERNEL_VERSION >= 0x040300]
4697         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4699         Likewise.
4700         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4701         Likewise.
4702         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4703         Likewise.
4704         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4705         Likewise.
4706         [__LINUX_KERNEL_VERSION >= 0x040300]
4707         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4708         [__LINUX_KERNEL_VERSION >= 0x040300]
4709         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4710         [__LINUX_KERNEL_VERSION >= 0x040300]
4711         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4712         [__LINUX_KERNEL_VERSION >= 0x040300]
4713         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4714         [__LINUX_KERNEL_VERSION >= 0x040300]
4715         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4716         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4717         Likewise.
4718         [__LINUX_KERNEL_VERSION >= 0x040300]
4719         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4720         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4721         Likewise.
4722         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4723         Likewise.
4724         [__LINUX_KERNEL_VERSION >= 0x040300]
4725         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4726         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4727         Likewise.
4728         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4729         Likewise.
4730         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4732         Likewise.
4733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4734         Likewise.
4735         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4736         Likewise.
4737         [__LINUX_KERNEL_VERSION >= 0x040300]
4738         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4739         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4740         Likewise.
4741         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4742         Likewise.
4743         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4744         Likewise.
4745         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4746         Likewise.
4747         [__LINUX_KERNEL_VERSION >= 0x040300]
4748         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4749         [__LINUX_KERNEL_VERSION >= 0x040300]
4750         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4751         [__LINUX_KERNEL_VERSION >= 0x040300]
4752         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4753         [__LINUX_KERNEL_VERSION >= 0x040300]
4754         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4755         [__LINUX_KERNEL_VERSION >= 0x040300]
4756         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4757         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4758         Likewise.
4759         [__LINUX_KERNEL_VERSION >= 0x040300]
4760         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4761         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4762         Likewise.
4763         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4764         Likewise.
4765         [__LINUX_KERNEL_VERSION >= 0x040300]
4766         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4768         Likewise.
4769         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4770         Likewise.
4771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4772         (__ASSUME_SOCKET_SYSCALL): Likewise.
4773         (__ASSUME_BIND_SYSCALL): Likewise.
4774         (__ASSUME_CONNECT_SYSCALL): Likewise.
4775         (__ASSUME_LISTEN_SYSCALL): Likewise.
4776         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4777         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4778         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4779         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4780         (__ASSUME_SEND_SYSCALL): Likewise.
4781         (__ASSUME_SENDTO_SYSCALL): Likewise.
4782         (__ASSUME_RECV_SYSCALL): Likewise.
4783         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4784         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4785         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4786         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4787         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4788         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4789         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4790         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4791         Likewise.
4792         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4793         Likewise.
4794         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4795         Likewise.
4796         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4797         Likewise.
4798         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4799         Likewise.
4800         [__LINUX_KERNEL_VERSION >= 0x020625]
4801         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4802         [__LINUX_KERNEL_VERSION >= 0x020625]
4803         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4804         [__LINUX_KERNEL_VERSION >= 0x020625]
4805         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4806         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4807         Likewise.
4808         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4809         Likewise.
4810         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4811         Likewise.
4812         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4813         Likewise.
4814         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4815         Likewise.
4816         [__LINUX_KERNEL_VERSION >= 0x020625]
4817         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4818         [__LINUX_KERNEL_VERSION >= 0x020625]
4819         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4820         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4821         Likewise.
4822         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4823         Likewise.
4825 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4827         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4828         record the current if the current ABI and CPU support the FP64
4829         extension.
4830         (has-modd-spreg): Define to record the current if the current ABI and
4831         CPU support 32-bit floating point values in odd FPU registers.
4832         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4833         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4834         $(has-modd-spreg) equals yes.
4835         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4836         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4837         $(has-modd-spreg) equal yes.
4839 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4841         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4842         basename.
4844 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4846         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4847         (bench-string): ... here.
4848         (bench): Add bench-string.
4849         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4850         to *-benchset to reflect what they are.
4851         (benchset): Adjust.
4853         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4854         cos-inputs.
4856 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4858         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4859         __attribute__ ((__simd__)) for vector math function declarations.
4861 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4863         Fix typo in strncat, wcsncat manual entries
4864         * manual/string.texi (Copying and Concatenation): Fix typos in
4865         sample implementations of strncat and wcsncat, by having them use
4866         the old value of the destination length, not the new one.
4868 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4870         [BZ #16961]
4871         [BZ #16962]
4872         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4873         string on the stack for strtod.
4874         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4875         a string on the stack for strtof.
4876         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4877         constructing a string on the stack for strtold.
4878         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4879         __strtold_nan to GLIBC_PRIVATE.
4880         * math/test-nan-overflow.c: New file.
4881         * math/test-nan-payload.c: Likewise.
4882         * math/Makefile (tests): Add test-nan-overflow and
4883         test-nan-payload.
4885 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4887         Consistency about byte vs character in string.texi
4888         * manual/string.texi (String and Array Utilities):
4889         Distinguish more carefully among bytes, multibyte characters,
4890         and wide characters.  Use "byte" when talking about C 'char',
4891         to distinguish it more clearly from multibyte characters.
4892         Say "wide character" or "multibyte character" instead of
4893         "character", when a wide or multibyte character is intended.
4894         Similarly for "multibyte string" versus "string".
4895         Define these terms more carefully.
4897 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4899         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4900         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4901         Likewise.
4902         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4903         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4904         * sysdeps/sh/math_private.h: New file.
4905         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4906         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4907         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4908         long double function name.
4909         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4910         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4912         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4915         Remove __finitel, __isinfl, and __isnanl.
4916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4920         Remove __finitel.
4921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4922         Likewise.
4923         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4925 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4927         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4928         installed libmvec_nonshared.a.
4930 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4932         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4933         (sysdep_routines): Likewise.
4934         (sysdep-rtld-routines): Likewise.
4935         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4936         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4937         * sysdeps/powerpc/Versions: Added new
4938         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4939         * sysdeps/powerpc/hwcapinfo.c: New file.
4940         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4941         and parse hwcap, hwcap2 and platform number information.
4942         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4943         to store HWCAP+HWCAP2 and platform number.
4944         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4945         for HWCAP+HWCAP2 and platform number in the TCB.
4946         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4947         the HWCAP, HWCAP2 and platform number in the TCB.
4948         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4949         (TLS_INIT_TP): Included calls to add the hwcap and
4950         at_platform values in the TCB in TP initialization.
4951         (TLS_DEFINE_INIT_TP): Likewise.
4952         (THREAD_GET_HWCAP): New macro.
4953         (THREAD_SET_HWCAP): Likewise.
4954         (THREAD_GET_AT_PLATFORM): Likewise.
4955         (THREAD_SET_AT_PLATFORM): Likewise.
4956         * sysdeps/powerpc/powerpc32/dl-machine.h:
4957         (dl_platform_init): New function that calls
4958         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4959         powerpc32.
4960         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4961         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4962         this functionality, static linking case.
4963         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4964         linking case.
4965         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4966         __parse_hwcap_and_convert_at_platform for the static linking case.
4967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4968         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4969         ABI list for GLIBC 2.23.
4970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4971         Likewise.
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4973         Likewise.
4975 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4977         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4978         * configure: Regenerate.
4979         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4980         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4982 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4984         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4985         * iconvdata/ibm933.c: Likewise.
4986         * iconvdata/ibm935.c: Likewise.
4987         * iconvdata/ibm937.c: Likewise.
4988         * iconvdata/ibm939.c: Likewise.
4990 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4992         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4993         pthread_join.
4994         * nptl/tst-cancel21.c (tf): Likewise.
4996 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4998         [BZ #19313]
4999         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5000         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5001         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5002         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5003         Likewise.
5004         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5005         Likewise.
5006         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5007         Likewise.
5008         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5009         Likewise.
5010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5011         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5012         unsigned long int with __CPU_MASK_TYPE.
5014 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5016         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5018 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5020         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5021         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5022         t512.x.
5023         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5025 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5027         [BZ #19214]
5028         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5029         argument to return extended model.  Update family and model
5030         with extended family and model when family == 0x0f.
5031         (init_cpu_features): Updated.
5033 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5035         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5036         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5038         * sysdeps/mach/hurd/mmap64.c: New file.
5040 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5042         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5043         rights for its main user thread in NEWTASK.
5045 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5047         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5048         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5050 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5052         [BZ #14259]
5053         * Makeconfig: Rename localedir to complocaledir.
5054         Rename inst_localedir to inst_complocaledir.
5055         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5056         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5057         * configure.ac: Use libc_cv_complocaledir.
5058         * configure: Regenerate.
5059         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5060         -DCOMPLOCALEDIR.
5061         * locale/findlocale.c: Use COMPLOCALEDIR.
5062         * locale/loadarchive.c: Likewise.
5063         * locale/programs/locale.c: Likewise.
5064         * locale/programs/localedef.c: Likewise.
5065         * locale/programs/locarchive.c: Likewise.
5066         * localedata/Makefile: Use inst_complocaledir.
5067         * sysdeps/gnu/configure: Regenerate.
5068         * sysdeps/hppa/configure: Regenerate.
5069         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5070         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5072         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5073         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5074         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5075         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5077 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5079         [BZ #19058]
5080         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5081         AS_NEEDED.
5082         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5083         workaround.
5084         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5085         libmvec-static-only-routines): Added new file.
5086         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5088 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5090         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5091         of interrupted RPC instead of restoring it.
5093         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5094         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5095         libc_hidden_def.
5096         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5097         into initialized data instead of common. Define rtld_hidden_data_def.
5098         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5099         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5100         libc_hidden_def.
5101         (if_freenameindex): Add libc_hidden_weak.
5102         (if_nameindex): Add libc_hidden_weak.
5103         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5104         __open64.
5105         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5106         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5107         * sysdeps/mach/nanosleep.c: Include <time.h>
5108         (__nanosleep): Rename to __libc_nanosleep.
5109         (__nanosleep): Add weak_alias.
5110         (nanosleep): Update alias.
5112 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5114         * stdlib/strtod_nan.c: New file.
5115         * stdlib/strtod_nan_double.h: Likewise.
5116         * stdlib/strtod_nan_float.h: Likewise.
5117         * stdlib/strtod_nan_main.c: Likewise.
5118         * stdlib/strtod_nan_narrow.h: Likewise.
5119         * stdlib/strtod_nan_wide.h: Likewise.
5120         * stdlib/strtof_nan.c: Likewise.
5121         * stdlib/strtold_nan.c: Likewise.
5122         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5123         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5124         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5125         * wcsmbs/wcstod_nan.c: Likewise.
5126         * wcsmbs/wcstof_nan.c: Likewise.
5127         * wcsmbs/wcstold_nan.c: Likewise.
5128         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5129         strtold_nan.
5130         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5131         wcstof_nan.
5132         * include/stdlib.h (__strtof_nan): Declare and use
5133         libc_hidden_proto.
5134         (__strtod_nan): Likewise.
5135         (__strtold_nan): Likewise.
5136         (__wcstof_nan): Likewise.
5137         (__wcstod_nan): Likewise.
5138         (__wcstold_nan): Likewise.
5139         * include/wchar.h (____wcstoull_l_internal): Declare.
5140         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5141         (____strtoull_l_internal): Remove declaration.
5142         (STRTOF_NAN): Define macro.
5143         (SET_MANTISSA): Remove macro.
5144         (STRTOULL): Likewise.
5145         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5146         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5147         (STRTOF_NAN): Define macro.
5148         (SET_MANTISSA): Remove macro.
5149         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5150         (SET_MANTISSA): Remove macro.
5151         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5152         macro.
5153         (SET_MANTISSA): Remove macro.
5154         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5155         macro.
5156         (SET_MANTISSA): Remove macro.
5157         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5158         (SET_MANTISSA): Remove macro.
5159         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5160         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5161         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5163         [BZ #19266]
5164         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5165         upper case and lower case letters inside NAN(), not using TOLOWER.
5166         * stdlib/tst-strtod-nan-locale-main.c: New file.
5167         * stdlib/tst-strtod-nan-locale.c: Likewise.
5168         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5169         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5170         Depend on $(gen-locales).
5171         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5172         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5173         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5174         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5175         Depend on $(gen-locales).
5176         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5178 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5180         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5182         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5184         __finitel, __isinfl, and __isnanl.
5185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5186         Likewise.
5187         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5189         __finitel.
5190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5191         Likewise.
5192         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5194 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5196         * malloc/memusage.c (me): Remove redundant getenv call.
5198 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5200         [BZ #19143]
5201         [BZ #19164]
5202         * nptl/check-cpuset.h: Remove.
5203         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5204         Remove CPU set size check.
5205         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5206         Likewise.
5207         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5208         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5209         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5210         (__pthread_setaffinity_new): Remove CPU set size check.
5211         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5212         (__kernel_cpumask_size): Remove.
5213         (__sched_setaffinity_new): Remove CPU set size check.
5214         * manual/threads.texi (Default Thread Attributes): Remove stale
5215         reference to check_cpuset_attr, determine_cpumask_size in comment.
5216         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5217         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5218         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5219         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5220         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5221         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5222         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5223         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5224         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5225         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5226         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5227         skeleton test file.
5228         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5229         tst-affinity-pid.
5231 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5233         * scripts/update-abilist.sh: New file.
5234         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5235         * Makerules (update-all-abi-%, update-all-abi)
5236         (subdir_update-all-abi): New targets.
5237         * elf/Makefile (update-all-abi): New target.
5239 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5241         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5242         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5243         (__libc_lock_define_initialized): Use it.
5244         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5245         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5246         * malloc/malloc.c (main_arena): Likewise.
5247         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5248         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5250 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5252         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5253         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5254         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5255         (PTRACE_O_MASK): Update value.
5256         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5257         New value in enum __ptrace_setoptions.
5258         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5259         (PTRACE_O_MASK): Update value.
5260         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5261         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5262         (PTRACE_O_MASK): Update value.
5263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5264         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5265         (PTRACE_O_MASK): Update value.
5266         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5267         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5268         (PTRACE_O_MASK): Update value.
5269         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5270         New value in enum __ptrace_setoptions.
5271         (PTRACE_O_MASK): Update value.
5272         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5273         New value in enum __ptrace_setoptions.
5274         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5275         (PTRACE_O_MASK): Update value.
5277         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5278         New macro.
5279         (PACKET_AUXDATA): Likewise.
5280         (PACKET_ORIGDEV): Likewise.
5281         (PACKET_VERSION): Likewise.
5282         (PACKET_HDRLEN): Likewise.
5283         (PACKET_RESERVE): Likewise.
5284         (PACKET_TX_RING): Likewise.
5285         (PACKET_LOSS): Likewise.
5286         (PACKET_VNET_HDR): Likewise.
5287         (PACKET_TX_TIMESTAMP): Likewise.
5288         (PACKET_TIMESTAMP): Likewise.
5289         (PACKET_FANOUT): Likewise.
5290         (PACKET_TX_HAS_OFF): Likewise.
5291         (PACKET_QDISC_BYPASS): Likewise.
5292         (PACKET_ROLLOVER_STATS): Likewise.
5293         (PACKET_FANOUT_DATA): Likewise.
5294         (PACKET_MR_UNICAST): Likewise.
5296         [BZ #19242]
5297         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5298         (TOUPPER): Likewise.
5299         * stdlib/tst-strtol-locale-main.c: New file.
5300         * stdlib/tst-strtol-locale.c: Likewise.
5301         * stdlib/Makefile (tests): Add tst-strtol-locale.
5302         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5303         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5304         Depend on $(gen-locales).
5305         * wcsmbs/tst-wcstol-locale.c: New file.
5306         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5307         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5308         tr_TR.ISO-8859-9.
5309         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5310         Depend on $(gen-locales).
5312 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5314         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5315         __glibc_likely instead of __builtin_expect.  After falling back to
5316         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5317         system interface to register the code pages as occupied.
5319 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5321         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5322         [!ARM_MATH_PRIVATE_H].
5323         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5324         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5325         [!HPPA_MATH_PRIVATE_H].
5326         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5327         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5328         to [!I386_MATH_PRIVATE_H].
5329         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5330         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5331         Change guard to [!M68K_MATH_PRIVATE_H].
5332         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5333         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5334         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5335         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5336         macro.
5337         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5338         [!MIPS_MATH_PRIVATE_H].
5339         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5340         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5341         [!NIO2_MATH_PRIVATE_H].
5342         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5343         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5344         [!TILE_MATH_PRIVATE_H].
5345         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5347         [BZ #15421]
5348         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5349         initialize with 0 and define as weak alias of __signgam.
5350         * include/math.h [!_ISOMAC] (__signgam): Declare.
5351         * math/Makefile (libm-calls): Add w_lgamma_compat.
5352         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5353         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5354         test-signgam-ullong-init.
5355         (tests-static): Add test-signgam-uchar-static,
5356         test-signgam-uchar-init-static, test-signgam-uint-static,
5357         test-signgam-uint-init-static, test-signgam-ullong-static and
5358         test-signgam-ullong-init-static.
5359         (CFLAGS-test-signgam-uchar.c): New variable.
5360         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5361         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5362         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5363         (CFLAGS-test-signgam-uint.c): Likewise.
5364         (CFLAGS-test-signgam-uint-init.c): Likewise.
5365         (CFLAGS-test-signgam-uint-static.c): Likewise.
5366         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5367         (CFLAGS-test-signgam-ullong.c): Likewise.
5368         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5369         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5370         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5371         * math/Versions (libm): Add GLIBC_2.23.
5372         * math/lgamma-compat.h: New file.
5373         * math/test-signgam-main.c: Likewise.
5374         * math/test-signgam-uchar-init-static.c: Likewise.
5375         * math/test-signgam-uchar-init.c: Likewise.
5376         * math/test-signgam-uchar-static.c: Likewise.
5377         * math/test-signgam-uchar.c: Likewise.
5378         * math/test-signgam-uint-init-static.c: Likewise.
5379         * math/test-signgam-uint-init.c: Likewise.
5380         * math/test-signgam-uint-static.c: Likewise.
5381         * math/test-signgam-uint.c: Likewise.
5382         * math/test-signgam-ullong-init-static.c: Likewise.
5383         * math/test-signgam-ullong-init.c: Likewise.
5384         * math/test-signgam-ullong-static.c: Likewise.
5385         * math/test-signgam-ullong.c: Likewise.
5386         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5387         wrapper of w_lgamma_main.c.
5388         * math/w_lgamma_compat.c: New file.
5389         * math/w_lgamma_compatf.c: Likewise.
5390         * math/w_lgamma_compatl.c: Likewise.
5391         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5392         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5393         defining compatibility symbols.
5394         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5395         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5396         wrapper of w_lgammaf_main.c.
5397         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5398         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5399         defining compatibility symbols.
5400         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5401         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5402         wrapper of w_lgammal_main.c.
5403         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5404         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5405         defining compatibility symbols.
5406         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5407         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5408         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5409         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5410         <lgamma-compat.h>.
5411         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5412         (__ieee754_gamma): Define as alias.
5413         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5414         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5415         <lgamma-compat.h>.
5416         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5417         (__ieee754_gammaf): Define as alias.
5418         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5419         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5420         <lgamma-compat.h>.
5421         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5422         (__ieee754_gammal): Define as alias.
5423         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5424         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5425         <math/w_lgamma_compat.c>.
5426         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5427         Define as alias of __lgamma_compat and use in defining lgammal.
5428         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5429         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5430         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5431         (USE_AS_COMPAT): New macro.
5432         (LGAMMA_OLD_VER): Undefine and redefine.
5433         (lgammal): Do not define here.
5434         (gammal): Only define here if [GAMMA_ALIAS].
5435         * conform/linknamespace.pl (@whitelist): Remove signgam.
5436         * sysdeps/nacl/libm.abilist: Update.
5437         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5438         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5439         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5440         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5441         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5442         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5443         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5444         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5445         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5446         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5447         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5448         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5450         Likewise.
5451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5452         Likewise.
5453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5454         Likewise.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5456         Likewise.
5457         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5458         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5459         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5460         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5461         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5465         Likewise.
5466         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5467         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5468         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5470 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5472         [BZ #16364]
5473         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5474         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5476 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5478         * sysdeps/s390/fpu/bits/mathinline.h:
5479         Use __asm__ [__volatile__] instead of asm [volatile].
5480         * sysdeps/s390/abort-instr.h: Likewise.
5481         * sysdeps/s390/atomic-machine.h: Likewise.
5482         * sysdeps/s390/bits/string.h: Likewise.
5483         * sysdeps/s390/dl-tls.h: Likewise.
5484         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5485         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5486         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5487         * sysdeps/s390/fpu/fesetround.c: Likewise.
5488         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5489         * sysdeps/s390/fpu/s_fma.c: Likewise.
5490         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5491         * sysdeps/s390/memusage.h: Likewise.
5492         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5493         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5494         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5495         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5496         * sysdeps/s390/nptl/tls.h: Likewise.
5497         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5498         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5499         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5500         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5501         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5502         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5503         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5504         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5505         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5506         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5507         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5508         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5509         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5510         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5511         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5512         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5513         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5514         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5515         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5517         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5519         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5521 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5522             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5524         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5525         Add lwarx hint, and use macro for acquire instruction.
5526         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5527         Likewise.
5528         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5529         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5530         update to use new atomic macros.
5532 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5534         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5535         (__lll_trylock_elision): Fix setting of adapt_count.
5536         * sysdeps/unix/sysv/linux/powerpc/htm.h
5537         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5538         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5539         (_ABORT_SYSCALL): Renumber, and clarify definition.
5540         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5542 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5544         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5545         after system headers to prevent MIN/MAX redefinition.  Define
5546         HAVE_ALLOCA to preserve builtin alloca usage.
5548 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5551         static and don't set or restore rounding.
5552         (__cos)[IN_SINCOS]: Likewise.
5553         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5554         (__sincos): Set and restore rounding mode.  Remove check for infinite
5555         or NaN input.
5557         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5559         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5560         as used.
5562 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5564         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5566 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5568         * config.make.in (have-glob-dat-reloc): New.
5569         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5570         target supports GLOB_DAT relocaton. AC_SUBST.
5571         * configure: Regenerated.
5572         * elf/Makefile (tests): Add tst-prelink.
5573         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5574         (tst-prelink-ENV): New.
5575         ($(objpfx)tst-prelink-conflict.out): Likewise.
5576         ($(objpfx)tst-prelink-cmp.out): Likewise.
5577         * sysdeps/x86/tst-prelink.c: Moved to ...
5578         * elf/tst-prelink.c: Here.
5579         * sysdeps/x86/tst-prelink.exp: Moved to ...
5580         * elf/tst-prelink.exp: Here.
5581         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5582         (tst-prelink-ENV): Removed.
5583         ($(objpfx)tst-prelink-conflict.out): Likewise.
5584         ($(objpfx)tst-prelink-cmp.out): Likewise.
5585         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5587 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5589         [BZ #14551]
5590         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5591         (__mpn_construct_long_double): If high part overflows to infinity,
5592         set errno and recompute overflowed result of the correct sign.
5593         * sysdeps/ieee754/ldbl-128ibm/Makefile
5594         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5595         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5596         $(libm).
5597         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5599 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5601         [BZ #15479]
5602         [BZ #19238]
5603         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5604         floating-point state after first operation on input.  Restore full
5605         state rather than just rounding mode.
5606         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5607         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5608         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5610         [BZ #19235]
5611         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5612         add 0.5 to integer arguments.
5613         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5614         Likewise.
5615         (.LC2): New object.
5617 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5619         * scripts/pylintrc (reports): Set to no.
5621 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5623         * elf/dl-load.c (open_verify): Take new argument FD.
5624         Skip __open call if passed FD is not -1.
5625         (_dl_map_object, open_path): Update callers.
5626         * elf/dl-sysdep-open.h: New file.
5627         * elf/dl-load.c: Include it.
5628         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5629         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5630         * sysdeps/nacl/dl-sysdep-open.h: New file.
5631         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5632         from libc to rtld.
5634 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #19228]
5637         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5638         and restore full floating-point state.
5639         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5640         Likewise.
5641         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5642         Likewise.
5643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5644         Likewise.
5645         * math/test-nearbyint-except-2.c: New file.
5646         * math/Makefile (tests): Add test-nearbyint-except-2.
5648 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5650         [BZ #19178]
5651         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5652         (tst-prelink-ENV): New.
5653         ($(objpfx)tst-prelink-conflict.out): Likewise.
5654         ($(objpfx)tst-prelink-cmp.out): Likewise.
5655         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5656         * sysdeps/x86/tst-prelink.c: New file.
5657         * sysdeps/x86/tst-prelink.exp: Likewise.
5659 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5661         * math/auto-libm-test-in: Add another test of pow.
5662         * math/auto-libm-test-out: Regenerated.
5663         * math/libm-test.inc (pow_test_data): Add another test.
5665 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5667         [BZ #19219]
5668         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5669         weak_alias to nearbyintl.
5671 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5673         * sysdeps/aarch64/bits/string.h: New file.
5674         (_STRING_ARCH_unaligned): Define.
5676 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5678         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5679         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5680         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5681         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5684 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5686         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5687         for original name of the DSO.  Add it to the name list of the DSO
5688         if it is actually given.
5689         (_dl_map_object): Keep track of whether an audit module rewrote
5690         the file name.  If yes, pass the original name to
5691         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5692         debugging is enabled, log the change of the file name.
5693         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5694         _dl_map_object_from_fd.
5695         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5696         * elf/tst-audit11.c: New file
5697         * elf/tst-auditmod11.c: New file.
5698         * elf/tst-audit11mod1.c: New file.
5699         * elf/tst-audit11mod2.c: New file.
5700         * elf/tst-audit11mod2.map: New file.
5701         * elf/tst-audit12.c: New file
5702         * elf/tst-auditmod12.c: New file.
5703         * elf/tst-audit12mod1.c: New file.
5704         * elf/tst-audit12mod2.c: New file.
5705         * elf/tst-audit12mod2.map: New file.
5706         * elf/tst-audit12mod3.c: New file.
5708 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5711         Don't create weak aliases,
5712         because versioned symbols are created later.
5713         * sysdeps/s390/s390-32/setjmp.S
5714         (setjmp, _setjmp): Remove weak and rename to an unique name
5715         in SHARED case due to existing versioned symbols.
5716         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5717         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5718         (getcontext): Create weak alias only in non SHARED case.
5719         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5721 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5723         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5724         (__ASSUME_*_SYSCALL) Define new macros.
5725         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5726         Remove socketcall syscalls.
5727         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5728         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5729         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5730         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5731         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5732         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5734 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5736         [BZ #12926]
5737         Terminate process on invalid netlink response.
5738         * sysdeps/unix/sysv/linux/netlinkaccess.h
5739         (__netlink_assert_response): Declare.
5740         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5741         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5742         (sysdep_routines): Add netlink_assert_response.
5743         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5744         __netlink_assert_response.
5745         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5746         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5747         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5748         __netlink_assert_response.
5750 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5752         [BZ #19178]
5753         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5754         (RTYPE_CLASS_PLT): Likewise.
5755         (RTYPE_CLASS_COPY): Likewise.
5756         (RTYPE_CLASS_TLS): Likewise.
5757         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5758         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5759         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5760         DL_DEBUG_PRELINK.
5762 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5764         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5765         calls with argument -0.5.
5766         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5768         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5769         (libc_cv_z_nodlopen): Likewise.
5770         (libc_cv_z_initfirst): Likewise.
5771         * configure: Regenerated.
5773 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5775         Simplify abilist format to be line-based.
5776         * scripts/abilist.awk: Collect descriptors in the descs variable.
5777         (emit): Write descs variable and sort it
5778         externally, with sort.
5779         * sysdeps/**/*.abilist: Convert to new format.
5781 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5783         [BZ #11460]
5784         * io/Makefile (routines): Add fts64.
5785         (tests): Add tst-fts and tst-fts-lfs.
5786         (CFLAGS-fts64.c): New.
5787         * io/Versions (GLIBC_2.23): New.
5788         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5789         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5790         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5791         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5792         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5793         (FTSENT64): Likewise.
5794         (fts64_children): Likewise.
5795         (fts64_close): Likewise.
5796         (fts64_open): Likewise.
5797         (fts64_read): Likewise.
5798         (fts64_set): Likewise.
5799         * io/fts64.c: New file.
5800         * io/tst-fts.c: New test.
5801         * io/tst-fts-lfs.c: Likewise.
5802         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5803         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5804         fts64_set.
5805         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5806         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5808         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5809         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5814         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5815         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5819         Likewise.
5820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5821         Likewise.
5822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5824         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5827         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5828         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5832         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5833         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5834         * sysdeps/wordsize-64/fts.c: New file.
5835         * sysdeps/wordsize-64/fts64.c: Likewise.
5836         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5837         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5838         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5839         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5841 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5843         * math/libm-test.inc (NON_FINITE): New macro.
5844         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5845         * math/gen-libm-test.pl (show_exceptions): Add argument
5846         $non_finite.
5847         (parse_args): Update call to show_exceptions.
5848         * math/test-math-finite.h: New file.
5849         * math/test-math-no-finite.h: Likewise.
5850         * math/test-double-finite.c: Likewise.
5851         * math/test-float-finite.c: Likewise.
5852         * math/test-ldouble-finite.c: Likewise.
5853         * math/test-double.c: Include "test-math-no-finite.h".
5854         * math/test-float.c: Include "test-math-no-finite.h".
5855         * math/test-ldouble.c: Include "test-math-no-finite.h".
5856         * math/test-math-inline.h (TEST_FINITE): New macro.
5857         * math/test-math-vector.h (TEST_FINITE): Likewise.
5858         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5859         (libm-tests): Add test-float-finite and test-double-finite.
5860         ($(objpfx)test-float-finite.o): New dependency on
5861         $(objpfx)libm-test.stmp.
5862         ($(objpfx)test-double-finite.o): Likewise.
5863         ($(objpfx)test-ldouble-finite.o): Likewise.
5864         (libm-test-no-inline-cflags): New variable.
5865         (libm-test-finite-cflags): Likewise.
5866         (CFLAGS-test-float-finite.c): Likewise.
5867         (CFLAGS-test-double-finite.c): Likewise.
5868         (CFLAGS-test-ldouble-finite.c): Likewise.
5869         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5870         (CFLAGS-test-double.c): Likewise.
5871         (CFLAGS-test-ldouble.c): Likewise.
5873 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5875         * io/fcntl.c (__fcntl): Add ... to prototype.
5876         * misc/ioctl.c (__ioctl): Likewise.
5877         * misc/syscall.c (syscall): Likewise.
5879 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5881         * scripts/list-fixed-bugs.py: New file.
5883         [BZ #19213]
5884         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5885         returned for argument 1.
5886         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5887         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5888         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5889         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5890         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5891         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5893         [BZ #19211]
5894         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5895         __USE_XOPEN], not if [!__USE_ISOC99].
5896         (lgammaf): Likewise.
5897         (lgammal): Likewise.
5898         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5899         (gammaf): Likewise.
5900         (gammal): Likewise.
5901         * math/test-signgam-finite-c11.c: New file.
5902         * math/test-signgam-finite-c99.c: Likewise.
5903         * math/test-signgam-finite.c: Likewise.
5904         * math/Makefile (tests): Add test-signgam-finite,
5905         test-signgam-finite-c99 and test-signgam-finite-c11.
5906         (CFLAGS-test-signgam-finite.c): New variable.
5907         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5908         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5910         [BZ #19212]
5911         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5912         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5913         500].
5914         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5915         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5916         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5917         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5918         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5919         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5920         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5921         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5922         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5923         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5925         [BZ #19209]
5926         * math/bits/math-finite.h (ldexp): Remove declaration.
5927         (ldexpf): Likewise.
5928         (ldexpl): Likewise.
5930         [BZ #19205]
5931         * math/bits/math-finite.h (acosf): Condition declaration on
5932         [__USE_ISOC99].
5933         (acosl): Likewise.
5934         (acoshf): Likewise.
5935         (acoshl): Likewise.
5936         (asinf): Likewise.
5937         (asinl): Likewise.
5938         (atan2f): Likewise.
5939         (atan2l): Likewise.
5940         (atanhf): Likewise.
5941         (atanhl): Likewise.
5942         (coshf): Likewise.
5943         (coshl): Likewise.
5944         (expf): Likewise.
5945         (expl): Likewise.
5946         (fmodf): Likewise.
5947         (fmodl): Likewise.
5948         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5949         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5950         (j0l): Likewise.
5951         (y0f): Likewise.
5952         (y0l): Likewise.
5953         (j1f): Likewise.
5954         (j1l): Likewise.
5955         (y1f): Likewise.
5956         (y1l): Likewise.
5957         (jnf): Likewise.
5958         (jnl): Likewise.
5959         (ynf): Likewise.
5960         (ynl): Likewise.
5961         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5962         (lgammal_r): Likewise.
5963         (__lgamma_r_finite): New declaration.
5964         (__lgammaf_r_finite): Likewise.
5965         (__lgammal_r_finite): Likewise.
5966         (lgamma): Use __lgamma_r_finite.
5967         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5968         __lgammaf_r_finite.
5969         (lgammal): Condition definition on [__USE_ISOC99].  Use
5970         __lgammal_r_finite.
5971         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5972         __lgamma_r_finite.
5973         (gammaf): Condition definition on [__USE_ISOC99].  Use
5974         __lgammaf_r_finite.
5975         (gammal): Condition definition on [__USE_ISOC99].  Use
5976         __lgammal_r_finite.
5977         (logf): Condition declaration on [__USE_ISOC99].
5978         (logl): Likewise.
5979         (log10f): Likewise.
5980         (log10l): Likewise.
5981         (ldexpf): Likewise.
5982         (ldexpl): Likewise.
5983         (powf): Likewise.
5984         (powl): Likewise.
5985         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5986         __USE_ISOC99].
5987         (remainderf): Condition declaration on [__USE_ISOC99].
5988         (remainderl): Likewise.
5989         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5990         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5991         (scalbl): Likewise.
5992         (sinhf): Condition declaration on [__USE_ISOC99].
5993         (sinhl): Likewise.
5994         (sqrtf): Likewise.
5995         (sqrtl): Likewise.
5997 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5999         * sysdeps/arm/atomic-machine.h
6000         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6001         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6002         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6003         Remove conditional code.
6004         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6005         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6006         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6007         Change conditional to [__ASSEMBLER__].
6008         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6009         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6010         [!__ASSEMBLER__].
6011         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6012         code.
6013         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6014         conditional macro definitions.
6015         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6016         (__arch_compare_and_exchange_val_16_acq): Likewise.
6017         (__arch_compare_and_exchange_val_32_acq): Likewise.
6018         (atomic_exchange_and_add): Likewise.
6019         (atomic_add): Likewise.
6020         (atomic_add_negative): Likewise.
6021         (atomic_add_zero): Likewise.
6022         (atomic_bit_set): Likewise.
6023         (atomic_bit_test_set): Likewise.
6024         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6025         code unconditional.
6026         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6028         * math/test-math-errno.h: New file.
6029         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6030         empty.
6031         (TEST_ERRNO): New macro.
6032         (TEST_EXCEPTIONS): Likewise.
6033         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6034         (TEST_EXCEPTIONS): Likewise.
6035         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6036         * math/test-double.c: Include "test-math-errno.h".
6037         * math/test-float.c: Likewise.
6038         * math/test-ldouble.c: Likewise.
6039         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6040         code unconditional.
6041         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6042         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6043         unconditional.
6044         (test_errno): Only run code if TEST_ERRNO.
6045         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6047 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6049         * nptl/tst-once5.cc: Remove attribution.
6051 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6053         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6054         sqrt, tan, tanh, y0, y1 and yn.
6055         * math/auto-libm-test-out: Regenerated.
6056         * math/libm-test.inc (scalb_test_data): Add more tests.
6057         (scalbn_test_data): Likewise.
6058         (scalbln_test_data): Likewise.
6059         (signbit_test_data): Likewise.
6060         (sin_test_data): Likewise.
6061         (sincos_test_data): Likewise.
6062         (sinh_test_data): Likewise.
6063         (sqrt_test_data): Likewise.
6064         (tan_test_data): Likewise.
6065         (tanh_test_data): Likewise.
6066         (tgamma_test_data): Likewise.
6067         (y0_test_data): Likewise.
6068         (y1_test_data): Likewise.
6069         (yn_test_data): Likewise.
6070         (significand_test_data): Likewise.
6071         * sysdeps/i386/fpu/libm-test-ulps: Update.
6073 2015-11-03  David Kastrup  <dak@gnu.org>
6075         [BZ #18604]
6076         * assert/assert.h (assert): Don't macro-expand failed assertion
6077         expression in error message.
6078         * malloc/malloc.c (assert): Likewise.
6080 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6082         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6083         test.
6084         * configure: Regenerated.
6086 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6088         * math/libm-test.inc (modf_test_data): Add more tests.
6089         (nearbyint_test_data): Likewise.
6090         (nextafter_test_data): Likewise.
6091         (nexttoward_test_data): Likewise.
6092         (pow_test_data): Likewise.
6093         (remainder_test_data): Likewise.
6094         (remquo_test_data): Likewise.
6095         (rint_test_data): Likewise.
6097         [BZ #19201]
6098         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6099         Check for zero remainder in case of large exponents and ensure
6100         correct sign of result in that case.
6101         * math/libm-test.inc (remainder_test_data): Add more tests.
6103         [BZ #6799]
6104         * math/s_nextafter.c: Include <errno.h>.
6105         (__nextafter): Set errno on overflow and underflow.
6106         * math/s_nexttowardf.c: Include <errno.h>.
6107         (__nexttowardf): Set errno on overflow and underflow.
6108         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6109         (__nextafterl): Set errno on overflow and underflow.
6110         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6111         (__nexttoward): Set errno on overflow and underflow.
6112         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6113         (__nexttowardf): Set errno on overflow and underflow.
6114         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6115         (__nextafterf): Set errno on overflow and underflow.
6116         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6117         (__nextafterl): Set errno on overflow and underflow.
6118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6119         (__nexttoward): Set errno on overflow and underflow.
6120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6121         (__nexttowardf): Set errno on overflow and underflow.
6122         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6123         (__nextafterl): Set errno on overflow and underflow.
6124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6125         (__nexttoward): Set errno on overflow and underflow.
6126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6127         (__nexttowardf): Set errno on overflow and underflow.
6128         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6129         (__nexttoward): Set errno on overflow and underflow.
6130         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6131         (__nexttowardf): Set errno on overflow and underflow.
6132         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6133         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6134         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6135         (__nextafterl): Set errno on overflow and underflow.
6136         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6137         setting to be missing on overflow.  Add more tests.
6138         (nexttoward_test_data): Likewise.
6140         * configure.ac (libc_cv_initfini_array): Remove configure test.
6141         * configure: Regenerated.
6143 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #19189]
6146         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6147         non-finite argument handle arguments with negative sign.
6149         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6150         result from infinite argument.
6151         (j1_test_data): Likewise.
6152         (jn_test_data): Likewise.
6153         (y0_test_data): Likewise.
6154         (y1_test_data): Likewise.
6155         (yn_test_data): Likewise.
6157         [BZ #16171]
6158         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6159         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6160         * math/w_remainderf.c (dremf): Define as weak alias of
6161         __remainderf.
6162         * math/w_remainderl.c (dreml): Define as weak alias of
6163         __remainderl.
6164         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6165         __remainder.
6166         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6167         __remainderf.
6168         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6169         __remainderl.
6170         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6171         weak alias of remainderl.
6172         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6173         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6174         alias of __remainder.
6175         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6176         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6177         strong alias of __remainderl.
6178         (dreml): Use long_double_symbol.
6179         * math/Makefile (libm-calls): Remove w_drem.
6180         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6181         (CFLAGS-nldbl-drem.c): Remove variable.
6182         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6183         * math/w_drem.c: Remove file.
6184         * math/w_dremf.c: Likewise.
6185         * math/w_dreml.c: Likewise.
6186         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6187         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6188         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6190         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6191         * sysdeps/i386/configure: Regenerated.
6192         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6193         * sysdeps/x86_64/configure: Regenerated.
6195         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6196         test.
6197         (libc_cv_visibility_attribute): Likewise.
6198         (libc_cv_protected_data): Test unconditionally.
6199         (libc_cv_broken_visibility_attribute): Remove configure test.
6200         (libc_cv_have_sdata_section): Test unconditionally.
6201         * configure: Regenerated.
6203         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6204         * include/scratch_buffer.h: Include <stddef.h> instead of
6205         <libc-internal.h>.
6206         (struct scratch_buffer): Use max_align_t instead of
6207         libc_max_align_t.
6209 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6211         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6212         instead of extend_alloca.  Change control flow to avoid a goto.
6213         Remove assert which is trivially always true.
6215 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #16068]
6218         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6219         (FE_ALL_EXCEPT_X86): New macro.
6220         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6221         FE_ALL_EXCEPT.  Ensure precision control is included in
6222         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6223         handle "denormal operand exception" and clear FZ and DAZ bits.
6224         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6225         (FE_ALL_EXCEPT_X86): New macro.
6226         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6227         FE_ALL_EXCEPT.  Ensure precision control is included in
6228         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6229         handle "denormal operand exception" and clear FZ and DAZ bits.
6230         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6231         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6232         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6233         test-fenv-x87 and test-fenv-sse-2.
6234         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6236         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6237         * math/test-double.h (BUILD_COMPLEX): New macro.
6238         * math/test-float.h (BUILD_COMPLEX): Likewise.
6239         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6241         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6242         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6243         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6245         instead of DBL_DENORM_MIN in comment.
6246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6247         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6249         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6250         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6251         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6253 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6255         [BZ# 19048]
6256         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6257         attached_threads member.
6258         (main_arena): Initialize attached_threads.
6259         * malloc/arena.c (list_lock): Update comment.
6260         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6261         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6262         (deattach_arena): New function.
6263         (_int_new_arena): Initialize arena reference count and deattach
6264         replaced arena.
6265         (get_free_list, reused_arena): Update reference count and deattach
6266         replaced arena.
6267         (arena_thread_freeres): Update arena reference count and only put
6268         unreferenced arenas on the free list.
6270 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6272         [BZ #19181]
6273         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6274         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6275         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6276         * math/test-fenv-clear-main.c: New file.
6277         * math/test-fenv-clear.c: Likewise.
6278         * math/Makefile (tests): Add test-fenv-clear.
6279         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6280         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6281         test-fenv-clear-sse.
6282         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6284         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6285         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6286         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6288 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6290         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6291         static libc.
6293 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6295         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6296         test.
6297         * sysdeps/i386/configure: Regenerated.
6298         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6299         test.
6300         * sysdeps/x86_64/configure: Regenerated.
6301         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6303         memset-avx2 unconditionally instead of conditionally on
6304         [$(config-cflags-avx2) = yes].
6305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6306         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6307         unconditional.
6308         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6309         * sysdeps/x86_64/multiarch/memset_chk.S
6310         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6311         to [IS_IN (libc) && SHARED].
6313 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6315         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6316         configure test.
6317         * sysdeps/arm/configure: Regenerated.
6318         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6319         Define variable if not already defined.
6321         [BZ #17404]
6322         * sysdeps/mips/atomic-machine.h
6323         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6324         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6325         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6327         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6328         unconditional.
6329         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6330         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6331         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6332         unconditional.
6333         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6334         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6335         unconditional.
6336         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6337         * stdlib/setenv.c
6338         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6339         code unconditional.
6340         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6341         Remove conditional code.
6342         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6343         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6344         unconditional.
6345         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6346         code.
6347         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6348         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6349         unconditional.
6350         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6351         code.
6352         * sysdeps/ieee754/ldbl-128/k_tanl.c
6353         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6354         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6355         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6356         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6357         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6358         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6359         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6360         unconditional.
6361         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6362         code.
6363         * sysdeps/ieee754/ldbl-96/k_tanl.c
6364         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6365         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6367         * nptl/tst-initializers1-c11.c: New file.
6368         * nptl/tst-initializers1-gnu11.c: Likewise.
6369         * nptl/Makefile (tests): Add these new tests.
6370         (CFLAGS-tst-initializers1-c11.c): New variable.
6371         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6373         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6374         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6375         instead of -std=gnu99.
6376         * configure.ac (systemtap): Test with -std=gnu11 instead of
6377         -std=gnu99.
6378         * configure: Regenerated.
6379         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6380         in compilation command in comment.
6382         * sysdeps/nptl/configure.ac: Remove file.
6383         * sysdeps/nptl/configure: Remove generated file.
6384         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6385         * configure: Regenerated.
6386         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6387         * config.make.in (have-forced-unwind): Remove variable.
6388         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6389         unconditional.
6390         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6391         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6392         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6393         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6394         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6395         unconditional.
6397 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6399         [BZ #19174]
6400         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6401         .skip_lock_out_of_tbegin_retries.
6402         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6403         (__lll_lock_elision): Likewise, and respect a value of
6404         try_tbegin <= 0.
6406 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6408         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6409         statement.
6411 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6413         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6414         variable.
6415         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6416         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6418         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6419         of -std=c1x -D_ISOC11_SOURCE.
6421         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6422         * configure: Regenerated.
6423         * manual/install.texi (Tools for Compilation): Document
6424         requirement for GCC 4.7 or later.
6425         * INSTALL: Regenerated.
6427 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6429         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6430         on CNT to a conditional jump to 'puntdata'.
6432 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6434         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6435         (libc_cv_gcc_tls_model_attr): Likewise.
6436         * configure: Regenerated.
6438         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6439         * configure: Regenerated.
6440         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6442 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6444         * configure.ac (old_glibc_headers): Remove configure test.
6445         * configure: Regenerated.
6446         * config.make.in (old-glibc-headers): Remove variable.
6447         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6448         (install): Remove dependency on remove-old-headers.
6449         (headers2_0): Remove variable.
6450         (remove-old-headers): Remove rule.
6452         * configure.ac (libc_cv_dot_text): Remove configure test.
6453         (libc_cv_asm_set_directive): Use .text instead of
6454         ${libc_cv_dot_text} in configure test.
6455         * configure: Regenerated.
6457 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6459         [BZ #19168]
6460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6462 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6464         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6465         not support static linking.
6466         * configure: Regenerate.
6468 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6470         * math/libm-test.inc (check_float_internal): Do not special-case
6471         errors up to 0.5 ulp.
6473         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6474         log2.
6475         * math/auto-libm-test-out: Regenerated.
6476         * math/libm-test.inc (MAX_EXP): New macro.
6477         (ilogb_test_data): Add more tests.
6478         (isfinite_test_data): Likewise.
6479         (isgreater_test_data): Likewise.
6480         (isgreaterequal_test_data): Likewise.
6481         (isinf_test_data): Likewise.
6482         (isless_test_data): Likewise.
6483         (islessequal_test_data): Likewise.
6484         (islessgreater_test_data): Likewise.
6485         (isnan_test_data): Likewise.
6486         (isnormal_test_data): Likewise.
6487         (issignaling_test_data): Likewise.
6488         (isunordered_test_data): Likewise.
6489         (j0_test_data): Likewise.
6490         (j1_test_data): Likewise.
6491         (jn_test_data): Likewise.
6492         (lgamma_test_data): Likewise.
6493         (log_test_data): Likewise.
6494         (log10_test_data): Likewise.
6495         (log1p_test_data): Likewise.
6496         (log2_test_data): Likewise.
6497         (logb_test_data): Likewise.
6498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6500         [BZ #18611]
6501         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6502         avoid excess range and precision on underflow.
6503         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6504         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6505         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6506         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6507         underflow.
6508         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6509         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6510         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6512         * math/auto-libm-test-in: Do not allow missing errno setting for
6513         tests of j1 and jn.
6514         * math/auto-libm-test-out: Regenerated.
6516 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6518         [BZ #15491]
6519         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6520         floating-point environment instead of clearing all exceptions.
6521         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6522         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6523         merging in "invalid" exceptions from frndint.
6524         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6525         * math/test-nearbyint-except.c: New file.
6526         * math/Makefile (tests): Add test-nearbyint-except.
6528 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6530         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6532         * sysdeps/tile/libm-test-ulps: Regenerated.
6534 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6537         (__NR_sync_file_range2): Assume it is always defined.
6538         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6539         (__NR_sync_file_range): Assume it is always defined.
6541 2015-10-22  Andreas Schwab  <schwab@suse.de>
6543         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6544         INTERNAL_SYSCALL_ERRNO.
6545         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6546         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6547         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6548         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6549         Likewise.
6550         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6552 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6554         * io/tst-fcntl.c (fd): New static variable.
6555         (do_prepare): Open temporary file here....
6556         (do_test): ...not here.
6558         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6560 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6562         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6563         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6564         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6565         Moved before "#ifdef __ASSEMBLER__".
6567 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6569         [BZ #19156]
6570         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6571         arguments very close to 0.
6573 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6575         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6576         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6578 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6580         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6581         New.  Defined for GCC 5 and above when not compiling for
6582         profiling.
6583         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6585         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6586         Renamed to ...
6587         (CFLAGS-epoll_pwait.o): This.
6588         (CFLAGS-mmap.c): Renamed to ...
6589         (CFLAGS-mmap.o): This.
6590         (CFLAGS-mmap64.c): Renamed to ...
6591         (CFLAGS-mmap64.o): This.
6592         (CFLAGS-epoll_pwait.os): New.
6593         (CFLAGS-mmap.os): Likewise.
6594         (CFLAGS-mmap64.os): Likewise.
6595         (CFLAGS-semtimedop.os): Likewise.
6596         (CFLAGS-semtimedop.c): Renamed to ...
6597         (CFLAGS-semtimedop.o): This.
6599 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6601         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6602         warning message.
6604 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6606         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6607         * Makefile ($(objpfx)c++-types-check.out): Filter out
6608         $(+gccwarn-c) instead of -Wstrict-prototypes.
6610         * io/fts.c (fts_open): Convert to prototype-style function
6611         definition.
6612         * malloc/mcheck.c (mcheck): Likewise.
6613         (mcheck_pedantic): Likewise.
6614         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6615         internal_function.
6616         (re_search_internal): Likewise.
6617         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6618         prototype-style function definition.
6619         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6620         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6621         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6622         (xdr_utmpptr): Likewise.
6623         (xdr_utmparr): Likewise.
6624         (xdr_utmpidle): Likewise.
6625         (xdr_utmpidleptr): Likewise.
6626         (xdr_utmpidlearr): Likewise.
6628         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6629         log, log10 and log2.
6630         * math/auto-libm-test-out: Regenerated.
6631         * math/libm-test.inc (fmod_test_data): Add more tests.
6632         (fpclassify_test_data): Likewise.
6633         (frexp_test_data): Likewise.
6634         (hypot_test_data): Likewise.
6635         (ilogb_test_data): Likewise.
6637 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6639         * debug/fortify_fail.c (__fortify_fail): Convert to
6640         prototype-style function definition.  Use internal_function.
6641         * libio/genops.c (save_for_backup): Convert to prototype-style
6642         function definition.
6643         * libio/wgenops.c (save_for_wbackup): Likewise.
6644         * login/grantpt.c (grantpt): Likewise.
6645         * login/ptsname.c (ptsname): Likewise.
6646         (__ptsname_r): Likewise.
6647         * login/unlockpt.c (unlockpt): Likewise.
6648         * mach/msgserver.c (__mach_msg_server): Likewise.
6649         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6650         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6651         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6652         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6653         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6654         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6655         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6656         Likewise.
6657         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6658         internal_function.
6659         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6660         prototype-style function definition.
6661         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6662         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6663         (__pthread_create_2_0): Likewise.
6664         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6665         * nptl/register-atfork.c (__register_atfork): Likewise.
6666         * posix/glob.c (glob): Likewise.
6667         * posix/regcomp.c (re_comp): Likewise.
6668         * posix/regexec.c (re_exec): Likewise.
6669         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6670         [!__STDC__]: Remove conditional code.
6671         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6672         [!__STDC__]: Remove conditional code.
6673         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6674         [!__STDC__]: Remove conditional code.
6675         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6676         [!__STDC__]: Remove conditional code.
6677         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6678         [!__STDC__]: Remove conditional code.
6679         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6680         [!__STDC__]: Remove conditional code.
6681         * stdlib/mul.c [__STDC__]: Make code unconditional.
6682         [!__STDC__]: Remove conditional code.
6683         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6684         [!__STDC__]: Remove conditional code.
6685         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6686         [!__STDC__]: Remove conditional code.
6687         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6688         function definition.
6689         (STRTOF): Likewise.
6690         * stdlib/strtod_l.c (__STRTOF): Likewise.
6691         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6692         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6693         (__strtol_l): Likewise.
6694         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6695         [!__STDC__]: Remove conditional code.
6696         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6697         definition.
6698         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6699         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6700         type.
6701         (__strcasecmp): Convert to prototype-style function definition.
6702         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6703         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6704         type.
6705         (__strncasecmp): Convert to prototype-style function definition.
6706         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6707         * sunrpc/xdr.c (xdr_union): Likewise.
6708         * sunrpc/xdr_array.c (xdr_array): Likewise.
6709         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6710         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6711         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6712         Likewise.
6713         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6714         Likewise.
6715         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6716         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6717         Likewise.
6718         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6719         (LOCALE_PARAM_PROTO): Likewise.
6720         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6721         argument type.
6722         (ut_argument_spec): Remove macro.
6723         (ut_argument_spec_iso): Rename to ut_argument_spec.
6724         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6725         prototype-style function definition.
6726         (memcpy_uppcase): Likewise.
6727         (__strftime_internal): Likewise.
6728         (my_strftime): Likewise.
6729         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6730         (LOCALE_PARAM_DECL): Likewise.
6731         [_LIBC] (LOCALE_PARAM): Include argument type.
6732         (__strptime_internal): Convert to prototype-style function
6733         definition.
6734         (strptime): Likewise.
6735         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6736         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6737         type.
6738         (__wcscasecmp): Convert to prototype-style function definition.
6739         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6740         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6741         type.
6742         (__wcsncasecmp): Convert to prototype-style function definition.
6744         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6745         function definition.
6746         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6747         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6748         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6749         * elf/dl-minimal.c (_itoa): Likewise.
6750         * hurd/hurdmalloc.c (malloc): Likewise.
6751         (free): Likewise.
6752         (realloc): Likewise.
6753         * inet/inet6_option.c (inet6_option_space): Likewise.
6754         (inet6_option_init): Likewise.
6755         (inet6_option_append): Likewise.
6756         (inet6_option_alloc): Likewise.
6757         (inet6_option_next): Likewise.
6758         (inet6_option_find): Likewise.
6759         * io/ftw.c (FTW_NAME): Likewise.
6760         (NFTW_NAME): Likewise.
6761         (NFTW_NEW_NAME): Likewise.
6762         (NFTW_OLD_NAME): Likewise.
6763         * libio/iofwide.c (_IO_fwide): Likewise.
6764         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6765         (_IO_str_init_static): Likewise.
6766         (_IO_str_init_readonly): Likewise.
6767         (_IO_str_overflow): Likewise.
6768         (_IO_str_underflow): Likewise.
6769         (_IO_str_count): Likewise.
6770         (_IO_str_seekoff): Likewise.
6771         (_IO_str_pbackfail): Likewise.
6772         (_IO_str_finish): Likewise.
6773         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6774         (_IO_wstr_overflow): Likewise.
6775         (_IO_wstr_underflow): Likewise.
6776         (_IO_wstr_count): Likewise.
6777         (_IO_wstr_seekoff): Likewise.
6778         (_IO_wstr_pbackfail): Likewise.
6779         (_IO_wstr_finish): Likewise.
6780         * locale/programs/localedef.c (normalize_codeset): Likewise.
6781         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6782         (add_locales_to_archive): Likewise.
6783         (delete_locales_from_archive): Likewise.
6784         * malloc/malloc.c (__libc_mallinfo): Likewise.
6785         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6786         * misc/tsearch.c (__tfind): Likewise.
6787         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6788         * nptl/pthread_attr_getdetachstate.c
6789         (__pthread_attr_getdetachstate): Likewise.
6790         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6791         Likewise.
6792         * nptl/pthread_attr_getinheritsched.c
6793         (__pthread_attr_getinheritsched): Likewise.
6794         * nptl/pthread_attr_getschedparam.c
6795         (__pthread_attr_getschedparam): Likewise.
6796         * nptl/pthread_attr_getschedpolicy.c
6797         (__pthread_attr_getschedpolicy): Likewise.
6798         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6799         Likewise.
6800         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6801         Likewise.
6802         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6803         Likewise.
6804         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6805         Likewise.
6806         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6807         (__pthread_attr_init_2_0): Likewise.
6808         * nptl/pthread_attr_setdetachstate.c
6809         (__pthread_attr_setdetachstate): Likewise.
6810         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6811         Likewise.
6812         * nptl/pthread_attr_setinheritsched.c
6813         (__pthread_attr_setinheritsched): Likewise.
6814         * nptl/pthread_attr_setschedparam.c
6815         (__pthread_attr_setschedparam): Likewise.
6816         * nptl/pthread_attr_setschedpolicy.c
6817         (__pthread_attr_setschedpolicy): Likewise.
6818         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6819         Likewise.
6820         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6821         Likewise.
6822         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6823         Likewise.
6824         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6825         Likewise.
6826         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6827         Likewise.
6828         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6829         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6830         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6831         use internal_function.
6832         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6833         prototype-style function definition.
6834         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6835         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6836         internal_function.
6837         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6838         Convert to prototype-style function definition.
6839         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6840         Likewise.
6841         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6842         Likewise.
6843         (__pthread_mutex_unlock): Likewise.
6844         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6845         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6846         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6847         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6848         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6849         * nss/makedb.c (process_input): Likewise.
6850         * posix/fnmatch.c (__strchrnul): Likewise.
6851         (__wcschrnul): Likewise.
6852         (fnmatch): Likewise.
6853         * posix/fnmatch_loop.c (FCT): Likewise.
6854         * posix/glob.c (globfree): Likewise.
6855         (__glob_pattern_type): Likewise.
6856         (__glob_pattern_p): Likewise.
6857         * posix/regcomp.c (re_compile_pattern): Likewise.
6858         (re_set_syntax): Likewise.
6859         (re_compile_fastmap): Likewise.
6860         (regcomp): Likewise.
6861         (regerror): Likewise.
6862         (regfree): Likewise.
6863         * posix/regexec.c (regexec): Likewise.
6864         (re_match): Likewise.
6865         (re_search): Likewise.
6866         (re_match_2): Likewise.
6867         (re_search_2): Likewise.
6868         (re_search_stub): Likewise.  Use internal_function
6869         (re_copy_regs): Likewise.
6870         (re_set_registers): Convert to prototype-style function
6871         definition.
6872         (prune_impossible_nodes): Likewise.  Use internal_function.
6873         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6874         prototype-style function definition.
6875         (inet_net_pton_ipv4): Likewise.
6876         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6877         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6878         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6879         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6880         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6881         Make variadic.
6882         * time/strptime_l.c (localtime_r): Convert to prototype-style
6883         function definition.
6884         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6885         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6886         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6887         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6889         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6890         definition.
6891         (_ufc_doit_r): Likewise.
6892         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6893         (_ufc_output_conversion_r): Likewise.
6894         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6895         * inet/rcmd.c (rcmd_af): Likewise.
6896         (rcmd): Likewise.
6897         (ruserok_af): Likewise.
6898         (ruserok): Likewise.
6899         (ruserok2_sa): Likewise.
6900         (ruserok_sa): Likewise.
6901         (iruserok_af): Likewise.
6902         (iruserok): Likewise.
6903         (__ivaliduser): Likewise.
6904         (__validuser2_sa): Likewise.
6905         * inet/rexec.c (rexec_af): Likewise.
6906         (rexec): Likewise.
6907         * inet/ruserpass.c (ruserpass): Likewise.
6908         * locale/programs/xmalloc.c (xcalloc): Likewise.
6909         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6910         * math/w_drem.c (__drem): Likewise.
6911         * math/w_dremf.c (__dremf): Likewise.
6912         * math/w_dreml.c (__dreml): Likewise.
6913         * misc/daemon.c (daemon): Likewise.
6914         * resolv/res_debug.c (p_fqnname): Likewise.
6915         * stdlib/div.c (div): Likewise.
6916         * string/memcmp.c (memcmp_bytes): Likewise.
6917         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6918         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6920         * crypt/cert.c (main): Convert to prototype-style function
6921         definition.
6922         * io/pipe.c (__pipe): Likewise.
6923         * io/pipe2.c (__pipe2): Likewise.
6924         * misc/futimesat.c (futimesat): Likewise.
6925         * misc/utimes.c (__utimes): Likewise.
6926         * posix/execve.c (__execve): Likewise.
6927         * posix/execvp.c (execvp): Likewise.
6928         * posix/execvpe.c (__execvpe): Likewise.
6929         * posix/fexecve.c (fexecve): Likewise.
6930         * socket/socketpair.c (socketpair): Likewise.
6931         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6932         * stdlib/erand48.c (erand48): Likewise.
6933         * stdlib/erand48_r.c (__erand48_r): Likewise.
6934         * stdlib/jrand48.c (jrand48): Likewise.
6935         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6936         * stdlib/lcong48.c (lcong48): Likewise.
6937         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6938         * stdlib/nrand48.c (nrand48): Likewise.
6939         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6940         * stdlib/seed48.c (seed48): Likewise.
6941         * stdlib/seed48_r.c (__seed48_r): Likewise.
6942         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6943         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6944         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6946 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6948         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6949         * configure: Regenerated.
6950         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6951         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6952         unconditional.
6953         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6954         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6955         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6956         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6957         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6958         unconditional.
6959         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6961         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6962         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6964         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6965         function definition.
6966         * crypt/crypt_util.c (__encrypt_r): Likewise.
6967         * libio/genops.c (_IO_no_init): Likewise.
6968         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6969         (_IO_old_fopencookie): Likewise.
6970         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6971         * libio/iogetline.c (_IO_getline): Likewise.
6972         (_IO_getline_info): Likewise.
6973         * libio/iogetwline.c (_IO_getwline): Likewise.
6974         (_IO_getwline_info): Likewise.
6975         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6976         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6977         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6978         (find_entry): Likewise.
6979         (iterate_table): Likewise.
6980         (lookup): Likewise.
6981         * login/forkpty.c (forkpty): Likewise.
6982         * misc/hsearch_r.c (__hsearch_r): Likewise.
6983         * misc/select.c (__select): Likewise.
6984         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6985         Likewise.
6986         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6987         Likewise.
6988         * nptl/old_pthread_cond_timedwait.c
6989         (__pthread_cond_timedwait_2_0): Likewise.
6990         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6991         * nptl/pthread_barrierattr_getpshared.c
6992         (pthread_barrierattr_getpshared): Likewise.
6993         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6994         Likewise.
6995         * nptl/pthread_mutex_setprioceiling.c
6996         (pthread_mutex_setprioceiling): Likewise.
6997         * nptl/pthread_mutexattr_getprioceiling.c
6998         (pthread_mutexattr_getprioceiling): Likewise.
6999         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7000         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7001         Likewise.
7002         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7003         Likewise.
7004         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7005         Likewise.
7006         * socket/recvfrom.c (__recvfrom): Likewise.
7007         * socket/sendto.c (__sendto): Likewise.
7008         * socket/setsockopt.c (__setsockopt): Likewise.
7009         * stdio-common/_itoa.c (_itoa): Likewise.
7010         * stdio-common/_itowa.c (_itowa): Likewise.
7011         * stdio-common/reg-printf.c (__register_printf_specifier):
7012         Likewise.
7013         (__register_printf_function): Likewise.
7014         * stdio-common/tempname.c (__path_search): Likewise.
7015         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7016         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7017         * stdlib/random_r.c (__initstate_r): Likewise.
7018         * stdlib/setenv.c (__add_to_environ): Likewise.
7019         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7020         * streams/getpmsg.c (getpmsg): Likewise.
7021         * streams/putmsg.c (putmsg): Likewise.
7022         * streams/putpmsg.c (putpmsg): Likewise.
7023         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7024         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7025         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7026         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7027         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7028         * sunrpc/svc_udp.c (cache_get): Likewise.
7029         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7030         * sysdeps/mach/hurd/getcwd.c
7031         (__canonicalize_directory_name_internal): Likewise.
7032         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7033         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7034         * sysdeps/mach/hurd/select.c (__select): Likewise.
7035         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7036         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7037         * sysdeps/sparc/nptl/pthread_barrier_init.c
7038         (__pthread_barrier_init): Likewise.
7039         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7040         (__pthread_cond_timedwait): Likewise.
7041         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7042         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7043         Likewise.
7044         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7045         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7046         Likewise.
7047         * sysvipc/semtimedop.c (semtimedop): Likewise.
7048         * time/setitimer.c (__setitimer): Likewise.
7049         * time/strftime_l.c (emacs_strftime): Likewise.
7051 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7053         * config.make.in (have-ssp): Delete.
7054         (stack-protector): New variable.
7055         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7056         cache test for -fstack-protector-strong.  Export stack_protector to
7057         the best ssp flag.
7058         * configure: Regenerated.
7059         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7060         * nscd/Makefile (CFLAGS-nscd): Likewise.
7061         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7063 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7065         [BZ #19122]
7066         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7067         attribute_hidden.
7069 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7071         [BZ #18743]
7072         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7073         code to...
7074         (ELIDE_LOCK): ...here.
7075         (__get_new_count): New function with part of the code from
7076         __elide_lock that updates the value of adapt_count after a
7077         transaction abort.
7078         (__elided_trylock): Moved this code to...
7079         (ELIDE_TRYLOCK): ...here.
7081 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7083         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7084         * configure: Regenerate.
7085         * INSTALL: Regenerate.
7086         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7087         and tweak grammar.
7089 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7091         * login/programs/pt_chown.c: Include signal.h
7092         (main): Clear any signal mask from the parent process.
7094 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7096         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7097         * configure: Regenerated.
7098         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7099         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7100         $(gnu89-inline-CFLAGS).
7102         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7103         test.
7104         (libc_cv_asm_weakext_directive): Likewise.
7105         * configure: Regenerated.
7106         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7107         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7108         * include/libc-symbols.h
7109         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7110         #error.
7111         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7112         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7114         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7115         prototype-style function definition.
7116         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7117         * sysdeps/i386/ffs.c (__ffs): Likewise.
7118         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7119         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7120         Likewise.
7121         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7122         Likewise.
7123         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7124         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7125         Likewise.
7126         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7127         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7128         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7129         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7130         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7131         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7132         * sysdeps/mach/hurd/access.c (__access): Likewise.
7133         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7134         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7135         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7136         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7137         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7138         (cthread_getspecific): Likewise.
7139         (cthread_setspecific): Likewise.
7140         (__libc_getspecific): Likewise.
7141         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7142         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7143         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7144         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7145         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7146         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7147         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7148         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7149         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7150         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7151         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7152         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7153         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7154         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7155         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7156         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7157         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7158         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7159         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7160         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7161         * sysdeps/mach/hurd/link.c (__link): Likewise.
7162         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7163         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7164         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7165         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7166         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7167         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7168         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7169         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7170         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7171         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7172         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7173         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7174         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7175         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7176         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7177         * sysdeps/mach/hurd/send.c (__send): Likewise.
7178         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7179         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7180         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7181         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7182         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7183         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7184         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7185         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7186         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7187         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7188         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7189         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7190         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7191         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7192         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7193         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7194         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7195         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7196         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7197         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7198         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7199         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7200         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7201         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7202         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7203         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7204         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7205         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7206         * sysdeps/posix/alarm.c (alarm): Likewise.
7207         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7208         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7209         * sysdeps/posix/dup.c (__dup): Likewise.
7210         * sysdeps/posix/dup2.c (__dup2): Likewise.
7211         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7212         (main): Likewise.
7213         * sysdeps/posix/flock.c (__flock): Likewise.
7214         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7215         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7216         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7217         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7218         * sysdeps/posix/isatty.c (__isatty): Likewise.
7219         * sysdeps/posix/killpg.c (killpg): Likewise.
7220         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7221         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7222         * sysdeps/posix/raise.c (raise): Likewise.
7223         * sysdeps/posix/remove.c (remove): Likewise.
7224         * sysdeps/posix/rename.c (rename): Likewise.
7225         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7226         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7227         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7228         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7229         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7230         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7231         * sysdeps/posix/sigset.c (sigset): Likewise.
7232         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7233         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7234         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7235         * sysdeps/posix/time.c (time): Likewise.
7236         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7237         (ttyname): Likewise.
7238         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7239         * sysdeps/posix/utime.c (utime): Likewise.
7240         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7241         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7242         Likewise.
7243         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7244         (pthread_spin_trylock): Likewise.
7245         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7246         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7247         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7248         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7249         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7250         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7251         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7252         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7253         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7254         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7255         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7256         * sysdeps/s390/ffs.c (__ffs): Likewise.
7257         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7258         Likewise.
7259         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7260         Likewise.
7261         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7262         Likewise.
7263         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7264         (pthread_barrier_destroy): Likewise.
7265         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7266         (__pthread_barrier_wait): Likewise.
7267         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7268         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7269         (__pthread_barrier_wait): Likewise.
7270         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7271         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7272         (memcmp_not_common_alignment): Likewise.
7273         (MEMCMP): Likewise.
7274         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7275         (_wordcopy_fwd_dest_aligned): Likewise.
7276         (_wordcopy_bwd_aligned): Likewise.
7277         (_wordcopy_bwd_dest_aligned): Likewise.
7278         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7279         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7280         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7281         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7282         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7283         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7284         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7285         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7286         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7287         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7288         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7289         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7290         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7291         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7292         * sysdeps/unix/stime.c (stime): Likewise.
7293         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7294         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7295         Likewise.  Use internal_function.
7296         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7297         Convert to prototype-style function definition.
7298         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7299         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7300         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7301         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7302         Likewise.  Use internal_function.
7303         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7304         prototype-style function definition
7305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7306         Likewise.
7307         (__getlogin_r): Likewise.
7308         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7309         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7310         (__pthread_cond_broadcast): Likewise.
7311         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7312         (__pthread_cond_destroy): Likewise.
7313         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7314         (__pthread_cond_init): Likewise.
7315         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7316         (__pthread_cond_signal): Likewise.
7317         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7318         (__pthread_cond_wait): Likewise.
7319         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7320         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7321         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7322         Likewise.
7323         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7324         Likewise.
7325         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7326         Likewise.
7327         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7328         Likewise.
7329         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7331         (__ftruncate64): Likewise.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7333         (truncate64): Likewise.
7334         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7335         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7336         (pthread_getcpuclockid): Likewise.
7337         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7338         Likewise.
7339         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7340         Likewise.
7341         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7342         Likewise.
7343         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7344         Likewise.
7345         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7346         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7347         (__libc_sigaction): Likewise.
7348         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7349         Likewise.
7350         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7351         (__sigprocmask): Likewise.
7352         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7353         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7354         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7355         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7356         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7357         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7358         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7359         Likewise.
7360         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7361         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7362         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7363         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7364         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7365         Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7367         (__sigprocmask): Likewise.
7368         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7369         (cfgetispeed): Likewise.
7370         (cfsetospeed): Likewise.
7371         (cfsetispeed): Likewise.
7372         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7373         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7374         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7375         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7376         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7377         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7378         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7379         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7380         Likewise.
7381         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7382         Likewise.
7383         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7384         Likewise.
7385         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7386         Likewise.
7387         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7389 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7391         sunrpc: Rewrite with explicit TLS access using __thread.
7392         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7393         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7394         directly.
7395         (__rpc_thread_variables): Access thread_rpc_vars directly.
7396         Eliminate redundant assignment of the tvp variable.
7398 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7400         malloc: Rewrite with explicit TLS access using __thread.
7401         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7402         (tsd_setspecific, tsd_getspecific): Remove.
7403         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7404         (tsd_setspecific, tsd_getspecific): Likewise.
7405         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7406         (tsd_setspecific, tsd_getspecific): Likewise.
7407         * malloc/arena.c (thread_arena): New TLS variable.
7408         (arena_key): Remove variable.
7409         (arena_get): Use thread_arena.
7410         (arena_lookup): Remove macro.
7411         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7412         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7413         (_int_new_arena, get_free_list, reused_arena)
7414         (arena_thread_freeres): Use thread_arena.
7415         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7416         tsd_getspecific, tsd_setspecific from safety annotations.
7417         (Allocating Cleared Space): Remove arena_lookup from safety
7418         annotations.
7420 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7422         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7423         struct scratch_buffer instead of extend_alloca.
7425 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7427         * sysdeps/unix/sysv/linux/kernel-features.h
7428         (__ASSUME_SOCK_CLOEXEC): Remove.
7429         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7430         (__have_paccept): Remove unused macro.
7431         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7432         * misc/syslog.c (openlog_internal): Remove fallback code for
7433         !__ASSUME_SOCK_CLOEXEC.
7434         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7435         missing SOCK_CLOEXEC.
7436         * nscd/connections.c (have_sock_cloexec): Remove definition.
7437         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7438         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7439         !__ASSUME_SOCK_CLOEXEC.
7440         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7441         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7442         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7443         definition.
7444         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7445         code for !__ASSUME_SOCK_CLOEXEC.
7447 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7449         [BZ #18982]
7450         * manual/stdio.texi (Variable Arguments Output): Add portability
7451         note, explaining that vfprintf clobbers the va_list pointer.
7453 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7455         * math/libm-test.inc (fabs_test_data): Add more tests.
7456         (fdim_test_data): Likewise.
7457         (fma_test_data): Likewise.
7458         (fmax_test_data): Likewise.
7459         (fmin_test_data): Likewise.
7460         (fmod_test_data): Likewise.
7462 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7464         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7465         data.
7467 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7469         * math/libm-test.inc (ceil_test_data): Add more tests and more
7470         expectations for "inexact".
7471         (floor_test_data): Add more tests.
7472         (round_test_data): Likewise.
7473         (trunc_test_data): Likewise.
7475         * crypt/cert.c (good_bye): Convert to prototype-style function
7476         definition.
7477         (get8): Likewise.
7478         (put8): Likewise.
7479         * crypt/crypt-entry.c (crypt): Likewise.
7480         (__fcrypt): Likewise.
7481         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7482         (_ufc_set_bits): Likewise.
7483         (_ufc_clearmem): Likewise.
7484         (__init_des_r): Likewise.
7485         (shuffle_sb): Likewise.
7486         (shuffle_sb): Likewise.
7487         (_ufc_setup_salt_r): Likewise.
7488         (_ufc_mk_keytab_r): Likewise.
7489         (_ufc_dofinalperm_r): Likewise.
7490         (encrypt): Likewise.
7491         (__setkey_r): Likewise.
7492         (setkey): Likewise.
7493         * crypt/md5.c (md5_init_ctx): Likewise.
7494         (md5_read_ctx): Likewise.
7495         (md5_finish_ctx): Likewise.
7496         (md5_stream): Likewise.
7497         (md5_buffer): Likewise.
7498         (md5_process_bytes): Likewise.
7499         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7500         (__sha256_finish_ctx): Likewise.
7501         (__sha256_process_bytes): Likewise.
7502         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7503         (__sha512_finish_ctx): Likewise.
7504         (__sha512_process_bytes): Likewise.
7505         * ctype/isctype.c (__isctype): Likewise.
7506         * debug/backtrace.c (__backtrace): Likewise.
7507         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7508         * debug/fgets_chk.c (__fgets_chk): Likewise.
7509         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7510         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7511         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7512         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7513         * debug/memset_chk.c (__memset_chk): Likewise.
7514         * debug/strcat_chk.c (__strcat_chk): Likewise.
7515         * debug/strncat_chk.c (__strncat_chk): Likewise.
7516         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7517         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7518         * dirent/dirfd.c (dirfd): Likewise.
7519         * dirent/getdents.c (__getdirentries): Likewise.
7520         * dirent/getdents64.c (getdirentries64): Likewise.
7521         * dirent/rewinddir.c (__rewinddir): Likewise.
7522         * dirent/seekdir.c (seekdir): Likewise.
7523         * dirent/telldir.c (telldir): Likewise.
7524         * elf/sln.c (makesymlinks): Likewise.
7525         (makesymlink): Likewise.
7526         * gmon/gmon.c (__moncontrol): Likewise.
7527         (__monstartup): Likewise.
7528         (write_hist): Likewise.
7529         (write_call_graph): Likewise.
7530         (write_bb_counts): Likewise.
7531         * grp/setgroups.c (setgroups): Likewise.
7532         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7533         * inet/inet_net.c (inet_network): Likewise.
7534         * inet/inet_netof.c (inet_netof): Likewise.
7535         * inet/rcmd.c (rresvport_af): Likewise.
7536         (rresvport): Likewise.
7537         * io/access.c (__access): Likewise.
7538         * io/chdir.c (__chdir): Likewise.
7539         * io/chmod.c (__chmod): Likewise.
7540         * io/chown.c (__chown): Likewise.
7541         * io/close.c (__close): Likewise.
7542         * io/creat.c (creat): Likewise.
7543         * io/creat64.c (creat64): Likewise.
7544         * io/dup.c (__dup): Likewise.
7545         * io/dup2.c (__dup2): Likewise.
7546         * io/dup3.c (__dup3): Likewise.
7547         * io/euidaccess.c (__euidaccess): Likewise.
7548         * io/faccessat.c (faccessat): Likewise.
7549         * io/fchmod.c (__fchmod): Likewise.
7550         * io/fchmodat.c (fchmodat): Likewise.
7551         * io/fchown.c (__fchown): Likewise.
7552         * io/fchownat.c (fchownat): Likewise.
7553         * io/fcntl.c (__fcntl): Likewise.
7554         * io/flock.c (__flock): Likewise.
7555         * io/fts.c (fts_load): Likewise.
7556         (fts_close): Likewise.
7557         (fts_read): Likewise.
7558         (fts_set): Likewise.
7559         (fts_children): Likewise.
7560         (fts_build): Likewise.
7561         (fts_stat): Likewise.
7562         (fts_sort): Likewise.
7563         (fts_alloc): Likewise.
7564         (fts_lfree): Likewise.
7565         (fts_palloc): Likewise.
7566         (fts_padjust): Likewise.
7567         (fts_maxarglen): Likewise.
7568         (fts_safe_changedir): Likewise.
7569         * io/getwd.c (getwd): Likewise.
7570         * io/isatty.c (__isatty): Likewise.
7571         * io/lchown.c (__lchown): Likewise.
7572         * io/link.c (__link): Likewise.
7573         * io/linkat.c (linkat): Likewise.
7574         * io/lseek.c (__libc_lseek): Likewise.
7575         * io/mkdir.c (__mkdir): Likewise.
7576         * io/mkdirat.c (mkdirat): Likewise.
7577         * io/mkfifo.c (mkfifo): Likewise.
7578         * io/mkfifoat.c (mkfifoat): Likewise.
7579         * io/open.c (__libc_open): Likewise.
7580         * io/open64.c (__libc_open64): Likewise.
7581         * io/readlink.c (__readlink): Likewise.
7582         * io/readlinkat.c (readlinkat): Likewise.
7583         * io/rmdir.c (__rmdir): Likewise.
7584         * io/symlink.c (__symlink): Likewise.
7585         * io/symlinkat.c (symlinkat): Likewise.
7586         * io/ttyname.c (ttyname): Likewise.
7587         * io/ttyname_r.c (__ttyname_r): Likewise.
7588         * io/umask.c (__umask): Likewise.
7589         * io/unlink.c (__unlink): Likewise.
7590         * io/unlinkat.c (unlinkat): Likewise.
7591         * io/utime.c (utime): Likewise.
7592         * libio/clearerr.c (clearerr): Likewise.
7593         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7594         * libio/feof.c (_IO_feof): Likewise.
7595         * libio/feof_u.c (feof_unlocked): Likewise.
7596         * libio/ferror.c (_IO_ferror): Likewise.
7597         * libio/ferror_u.c (ferror_unlocked): Likewise.
7598         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7599         * libio/fileno.c (__fileno): Likewise.
7600         * libio/fputc.c (fputc): Likewise.
7601         * libio/fputc_u.c (fputc_unlocked): Likewise.
7602         * libio/fputwc.c (fputwc): Likewise.
7603         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7604         * libio/freopen.c (freopen): Likewise.
7605         * libio/freopen64.c (freopen64): Likewise.
7606         * libio/fseek.c (fseek): Likewise.
7607         * libio/fseeko.c (fseeko): Likewise.
7608         * libio/fseeko64.c (fseeko64): Likewise.
7609         * libio/ftello.c (__ftello): Likewise.
7610         * libio/ftello64.c (ftello64): Likewise.
7611         * libio/fwide.c (fwide): Likewise.
7612         * libio/genops.c (_IO_un_link): Likewise.
7613         (_IO_link_in): Likewise.
7614         (_IO_least_marker): Likewise.
7615         (_IO_switch_to_main_get_area): Likewise.
7616         (_IO_switch_to_backup_area): Likewise.
7617         (_IO_switch_to_get_mode): Likewise.
7618         (_IO_free_backup_area): Likewise.
7619         (_IO_switch_to_put_mode): Likewise.
7620         (__overflow): Likewise.
7621         (__underflow): Likewise.
7622         (__uflow): Likewise.
7623         (_IO_setb): Likewise.
7624         (_IO_doallocbuf): Likewise.
7625         (_IO_default_underflow): Likewise.
7626         (_IO_default_uflow): Likewise.
7627         (_IO_default_xsputn): Likewise.
7628         (_IO_sgetn): Likewise.
7629         (_IO_default_xsgetn): Likewise.
7630         (_IO_sync): Likewise.
7631         (_IO_default_setbuf): Likewise.
7632         (_IO_default_seekpos): Likewise.
7633         (_IO_default_doallocate): Likewise.
7634         (_IO_init): Likewise.
7635         (_IO_old_init): Likewise.
7636         (_IO_default_sync): Likewise.
7637         (_IO_default_finish): Likewise.
7638         (_IO_default_seekoff): Likewise.
7639         (_IO_sputbackc): Likewise.
7640         (_IO_sungetc): Likewise.
7641         (_IO_set_column): Likewise.
7642         (_IO_set_column): Likewise.
7643         (_IO_adjust_column): Likewise.
7644         (_IO_get_column): Likewise.
7645         (_IO_init_marker): Likewise.
7646         (_IO_remove_marker): Likewise.
7647         (_IO_marker_difference): Likewise.
7648         (_IO_marker_delta): Likewise.
7649         (_IO_seekmark): Likewise.
7650         (_IO_unsave_markers): Likewise.
7651         (_IO_nobackup_pbackfail): Likewise.
7652         (_IO_default_pbackfail): Likewise.
7653         (_IO_default_seek): Likewise.
7654         (_IO_default_stat): Likewise.
7655         (_IO_default_read): Likewise.
7656         (_IO_default_write): Likewise.
7657         (_IO_default_showmanyc): Likewise.
7658         (_IO_default_imbue): Likewise.
7659         (_IO_iter_next): Likewise.
7660         (_IO_iter_file): Likewise.
7661         * libio/getc.c (_IO_getc): Likewise.
7662         * libio/getwc.c (_IO_getwc): Likewise.
7663         * libio/iofclose.c (_IO_new_fclose): Likewise.
7664         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7665         * libio/iofflush.c (_IO_fflush): Likewise.
7666         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7667         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7668         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7669         * libio/iofgets.c (_IO_fgets): Likewise.
7670         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7671         * libio/iofgetws.c (fgetws): Likewise.
7672         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7673         * libio/iofopen64.c (_IO_fopen64): Likewise.
7674         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7675         (_IO_cookie_write): Likewise.
7676         (_IO_cookie_seek): Likewise.
7677         (_IO_cookie_close): Likewise.
7678         (_IO_cookie_seekoff): Likewise.
7679         (_IO_old_cookie_seek): Likewise.
7680         * libio/iofputs.c (_IO_fputs): Likewise.
7681         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7682         * libio/iofputws.c (fputws): Likewise.
7683         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7684         * libio/iofread.c (_IO_fread): Likewise.
7685         * libio/iofread_u.c (__fread_unlocked): Likewise.
7686         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7687         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7688         * libio/ioftell.c (_IO_ftell): Likewise.
7689         * libio/iofwrite.c (_IO_fwrite): Likewise.
7690         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7691         * libio/iogets.c (_IO_gets): Likewise.
7692         * libio/iopadn.c (_IO_padn): Likewise.
7693         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7694         (_IO_new_popen): Likewise.
7695         (_IO_new_proc_close): Likewise.
7696         * libio/ioputs.c (_IO_puts): Likewise.
7697         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7698         (_IO_seekoff): Likewise.
7699         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7700         (_IO_seekpos): Likewise.
7701         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7702         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7703         * libio/ioungetc.c (_IO_ungetc): Likewise.
7704         * libio/ioungetwc.c (ungetwc): Likewise.
7705         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7706         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7707         * libio/iowpadn.c (_IO_wpadn): Likewise.
7708         * libio/libc_fatal.c (__libc_fatal): Likewise.
7709         * libio/memstream.c (__open_memstream): Likewise.
7710         (_IO_mem_sync): Likewise.
7711         (_IO_mem_finish): Likewise.
7712         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7713         (_IO_old_file_close_it): Likewise.
7714         (_IO_old_file_finish): Likewise.
7715         (_IO_old_file_fopen): Likewise.
7716         (_IO_old_file_attach): Likewise.
7717         (_IO_old_file_setbuf): Likewise.
7718         (_IO_old_do_write): Likewise.
7719         (old_do_write): Likewise.
7720         (_IO_old_file_underflow): Likewise.
7721         (_IO_old_file_overflow): Likewise.
7722         (_IO_old_file_sync): Likewise.
7723         (_IO_old_file_seekoff): Likewise.
7724         (_IO_old_file_write): Likewise.
7725         (_IO_old_file_xsputn): Likewise.
7726         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7727         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7728         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7729         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7730         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7731         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7732         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7733         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7734         (_IO_old_popen): Likewise.
7735         (_IO_old_proc_close): Likewise.
7736         * libio/oldpclose.c (__old_pclose): Likewise.
7737         * libio/pclose.c (__new_pclose): Likewise.
7738         * libio/peekc.c (_IO_peekc_locked): Likewise.
7739         * libio/putc.c (_IO_putc): Likewise.
7740         * libio/putc_u.c (putc_unlocked): Likewise.
7741         * libio/putchar.c (putchar): Likewise.
7742         * libio/putchar_u.c (putchar_unlocked): Likewise.
7743         * libio/putwc.c (putwc): Likewise.
7744         * libio/putwc_u.c (putwc_unlocked): Likewise.
7745         * libio/putwchar.c (putwchar): Likewise.
7746         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7747         * libio/rewind.c (rewind): Likewise.
7748         * libio/setbuf.c (setbuf): Likewise.
7749         * libio/setlinebuf.c (setlinebuf): Likewise.
7750         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7751         * libio/vscanf.c (_IO_vscanf): Likewise.
7752         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7753         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7754         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7755         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7756         (_IO_switch_to_main_wget_area): Likewise.
7757         (_IO_switch_to_wbackup_area): Likewise.
7758         (_IO_wsetb): Likewise.
7759         (_IO_wdefault_pbackfail): Likewise.
7760         (_IO_wdefault_finish): Likewise.
7761         (_IO_wdefault_uflow): Likewise.
7762         (__woverflow): Likewise.
7763         (__wuflow): Likewise.
7764         (__wunderflow): Likewise.
7765         (_IO_wdefault_xsputn): Likewise.
7766         (_IO_wdefault_xsgetn): Likewise.
7767         (_IO_wdoallocbuf): Likewise.
7768         (_IO_wdefault_doallocate): Likewise.
7769         (_IO_switch_to_wget_mode): Likewise.
7770         (_IO_free_wbackup_area): Likewise.
7771         (_IO_switch_to_wput_mode): Likewise.
7772         (_IO_sputbackwc): Likewise.
7773         (_IO_sungetwc): Likewise.
7774         (_IO_adjust_wcolumn): Likewise.
7775         (_IO_init_wmarker): Likewise.
7776         (_IO_wmarker_delta): Likewise.
7777         (_IO_seekwmark): Likewise.
7778         (_IO_unsave_wmarkers): Likewise.
7779         * libio/wmemstream.c (open_wmemstream): Likewise.
7780         (_IO_wmem_sync): Likewise.
7781         (_IO_wmem_finish): Likewise.
7782         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7783         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7784         * locale/programs/simple-hash.c (init_hash): Likewise.
7785         (delete_hash): Likewise.
7786         (insert_entry): Likewise.
7787         (set_entry): Likewise.
7788         (next_prime): Likewise.
7789         (is_prime): Likewise.
7790         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7791         (xmalloc): Likewise.
7792         (xrealloc): Likewise.
7793         * locale/programs/xstrdup.c (xstrdup): Likewise.
7794         * localedata/collate-test.c (xstrcoll): Likewise.
7795         * localedata/xfrm-test.c (xstrcmp): Likewise.
7796         * login/getlogin_r.c (__getlogin_r): Likewise.
7797         * login/getpt.c (__posix_openpt): Likewise.
7798         * login/login_tty.c (login_tty): Likewise.
7799         * login/setlogin.c (setlogin): Likewise.
7800         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7801         (mach_msg_destroy_port): Likewise.
7802         (mach_msg_destroy_memory): Likewise.
7803         * malloc/mcheck.c (flood): Likewise.
7804         * misc/acct.c (acct): Likewise.
7805         * misc/brk.c (__brk): Likewise.
7806         * misc/chflags.c (chflags): Likewise.
7807         * misc/chroot.c (chroot): Likewise.
7808         * misc/fchflags.c (fchflags): Likewise.
7809         * misc/fstab.c (getfsspec): Likewise.
7810         (getfsfile): Likewise.
7811         * misc/fsync.c (fsync): Likewise.
7812         * misc/ftruncate.c (__ftruncate): Likewise.
7813         * misc/ftruncate64.c (__ftruncate64): Likewise.
7814         * misc/getdomain.c (getdomainname): Likewise.
7815         (getdomainname): Likewise.
7816         * misc/gethostname.c (__gethostname): Likewise.
7817         * misc/getpass.c (getpass): Likewise.
7818         * misc/getttyent.c (skip): Likewise.
7819         (value): Likewise.
7820         * misc/gtty.c (gtty): Likewise.
7821         * misc/hsearch.c (hsearch): Likewise.
7822         (hcreate): Likewise.
7823         * misc/hsearch_r.c (__hcreate_r): Likewise.
7824         (__hdestroy_r): Likewise.
7825         * misc/ioctl.c (__ioctl): Likewise.
7826         * misc/mkdtemp.c (mkdtemp): Likewise.
7827         * misc/mkostemp.c (mkostemp): Likewise.
7828         * misc/mkostemp64.c (mkostemp64): Likewise.
7829         * misc/mkostemps.c (mkostemps): Likewise.
7830         * misc/mkostemps64.c (mkostemps64): Likewise.
7831         * misc/mkstemp.c (mkstemp): Likewise.
7832         * misc/mkstemp64.c (mkstemp64): Likewise.
7833         * misc/mkstemps.c (mkstemps): Likewise.
7834         * misc/mkstemps64.c (mkstemps64): Likewise.
7835         * misc/mktemp.c (__mktemp): Likewise.
7836         * misc/preadv.c (preadv): Likewise.
7837         * misc/preadv64.c (preadv64): Likewise.
7838         * misc/pwritev.c (pwritev): Likewise.
7839         * misc/pwritev64.c (pwritev64): Likewise.
7840         * misc/readv.c (__readv): Likewise.
7841         * misc/revoke.c (revoke): Likewise.
7842         * misc/setdomain.c (setdomainname): Likewise.
7843         * misc/setegid.c (setegid): Likewise.
7844         * misc/seteuid.c (seteuid): Likewise.
7845         * misc/sethostid.c (sethostid): Likewise.
7846         * misc/sethostname.c (sethostname): Likewise.
7847         * misc/setregid.c (__setregid): Likewise.
7848         * misc/setreuid.c (__setreuid): Likewise.
7849         * misc/sstk.c (sstk): Likewise.
7850         * misc/stty.c (stty): Likewise.
7851         * misc/syscall.c (syscall): Likewise.
7852         * misc/syslog.c (setlogmask): Likewise.
7853         * misc/truncate.c (__truncate): Likewise.
7854         * misc/truncate64.c (truncate64): Likewise.
7855         * misc/ualarm.c (ualarm): Likewise.
7856         * misc/usleep.c (usleep): Likewise.
7857         * misc/ustat.c (ustat): Likewise.
7858         * misc/writev.c (__writev): Likewise.
7859         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7860         * nptl/old_pthread_cond_broadcast.c
7861         (__pthread_cond_broadcast_2_0): Likewise.
7862         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7863         Likewise.
7864         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7865         Likewise.
7866         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7867         Likewise.
7868         * nptl/pt-raise.c (raise): Likewise.
7869         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7870         Likewise.
7871         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7872         * nptl/pthread_barrierattr_destroy.c
7873         (pthread_barrierattr_destroy): Likewise.
7874         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7875         Likewise.
7876         * nptl/pthread_barrierattr_setpshared.c
7877         (pthread_barrierattr_setpshared): Likewise.
7878         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7879         Likewise.
7880         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7881         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7882         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7883         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7884         Likewise.
7885         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7886         Likewise.
7887         * nptl/pthread_condattr_getpshared.c
7888         (pthread_condattr_getpshared): Likewise.
7889         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7890         Likewise.
7891         * nptl/pthread_condattr_setpshared.c
7892         (pthread_condattr_setpshared): Likewise.
7893         * nptl/pthread_detach.c (pthread_detach): Likewise.
7894         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7895         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7896         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7897         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7898         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7899         Likewise.
7900         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7901         Likewise.
7902         * nptl/pthread_mutex_getprioceiling.c
7903         (pthread_mutex_getprioceiling): Likewise.
7904         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7905         Likewise.
7906         * nptl/pthread_mutexattr_getprotocol.c
7907         (pthread_mutexattr_getprotocol): Likewise.
7908         * nptl/pthread_mutexattr_getpshared.c
7909         (pthread_mutexattr_getpshared): Likewise.
7910         * nptl/pthread_mutexattr_getrobust.c
7911         (pthread_mutexattr_getrobust): Likewise.
7912         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7913         Likewise.
7914         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7915         Likewise.
7916         * nptl/pthread_mutexattr_setprioceiling.c
7917         (pthread_mutexattr_setprioceiling): Likewise.
7918         * nptl/pthread_mutexattr_setprotocol.c
7919         (pthread_mutexattr_setprotocol): Likewise.
7920         * nptl/pthread_mutexattr_setpshared.c
7921         (pthread_mutexattr_setpshared): Likewise.
7922         * nptl/pthread_mutexattr_setrobust.c
7923         (pthread_mutexattr_setrobust): Likewise.
7924         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7925         Likewise.
7926         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7927         Likewise.
7928         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7929         Likewise.
7930         * nptl/pthread_rwlockattr_getkind_np.c
7931         (pthread_rwlockattr_getkind_np): Likewise.
7932         * nptl/pthread_rwlockattr_getpshared.c
7933         (pthread_rwlockattr_getpshared): Likewise.
7934         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7935         Likewise.
7936         * nptl/pthread_rwlockattr_setkind_np.c
7937         (pthread_rwlockattr_setkind_np): Likewise.
7938         * nptl/pthread_rwlockattr_setpshared.c
7939         (pthread_rwlockattr_setpshared): Likewise.
7940         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7941         Likewise.
7942         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7943         Likewise.
7944         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7945         Likewise.
7946         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7947         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7948         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7949         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7950         * nptl/sem_close.c (sem_close): Likewise.
7951         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7952         * nptl/sem_init.c (__old_sem_init): Likewise.
7953         * nptl/sigaction.c (__sigaction): Likewise.
7954         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7955         * posix/_exit.c (_exit): Likewise.
7956         * posix/alarm.c (alarm): Likewise.
7957         * posix/confstr.c (confstr): Likewise.
7958         * posix/fpathconf.c (__fpathconf): Likewise.
7959         * posix/getgroups.c (__getgroups): Likewise.
7960         * posix/getpgid.c (__getpgid): Likewise.
7961         * posix/group_member.c (__group_member): Likewise.
7962         * posix/pathconf.c (__pathconf): Likewise.
7963         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7964         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7965         * posix/setgid.c (__setgid): Likewise.
7966         * posix/setpgid.c (__setpgid): Likewise.
7967         * posix/setuid.c (__setuid): Likewise.
7968         * posix/sleep.c (__sleep): Likewise.
7969         * posix/sysconf.c (__sysconf): Likewise.
7970         * posix/times.c (__times): Likewise.
7971         * posix/uname.c (__uname): Likewise.
7972         * posix/waitid.c (__waitid): Likewise.
7973         * pwd/getpw.c (__getpw): Likewise.
7974         * resolv/base64.c (b64_pton): Likewise.
7975         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7976         * resolv/gethnamaddr.c (Dprintf): Likewise.
7977         (gethostbyname): Likewise.
7978         (gethostbyname2): Likewise.
7979         (gethostbyaddr): Likewise.
7980         (_sethtent): Likewise.
7981         (_gethtbyname): Likewise.
7982         (_gethtbyname2): Likewise.
7983         (_gethtbyaddr): Likewise.
7984         (map_v4v6_address): Likewise.
7985         (map_v4v6_hostent): Likewise.
7986         (addrsort): Likewise.
7987         (ht_sethostent): Likewise.
7988         (ht_gethostbyname): Likewise.
7989         (ht_gethostbyaddr): Likewise.
7990         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7991         (inet_net_ntop_ipv4): Likewise.
7992         * resolv/inet_neta.c (inet_neta): Likewise.
7993         * resolv/inet_ntop.c (inet_ntop): Likewise.
7994         (inet_ntop4): Likewise.
7995         (inet_ntop6): Likewise.
7996         * resolv/inet_pton.c (__inet_pton): Likewise.
7997         (inet_pton4): Likewise.
7998         (inet_pton6): Likewise.
7999         * resolv/res_debug.c (loc_aton): Likewise.
8000         (loc_ntoa): Likewise.
8001         * resource/getpriority.c (__getpriority): Likewise.
8002         * resource/getrusage.c (__getrusage): Likewise.
8003         * resource/nice.c (nice): Likewise.
8004         * resource/setpriority.c (__setpriority): Likewise.
8005         * resource/setrlimit64.c (setrlimit64): Likewise.
8006         * resource/vlimit.c (vlimit): Likewise.
8007         * resource/vtimes.c (vtimes): Likewise.
8008         * rt/aio_error.c (aio_error): Likewise.
8009         * rt/aio_return.c (aio_return): Likewise.
8010         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8011         * signal/kill.c (__kill): Likewise.
8012         * signal/killpg.c (killpg): Likewise.
8013         * signal/raise.c (raise): Likewise.
8014         * signal/sigaction.c (__sigaction): Likewise.
8015         * signal/sigaddset.c (sigaddset): Likewise.
8016         * signal/sigaltstack.c (sigaltstack): Likewise.
8017         * signal/sigandset.c (sigandset): Likewise.
8018         * signal/sigblock.c (__sigblock): Likewise.
8019         * signal/sigdelset.c (sigdelset): Likewise.
8020         * signal/sigempty.c (sigemptyset): Likewise.
8021         * signal/sigfillset.c (sigfillset): Likewise.
8022         * signal/sighold.c (sighold): Likewise.
8023         * signal/sigignore.c (sigignore): Likewise.
8024         * signal/sigintr.c (siginterrupt): Likewise.
8025         * signal/sigisempty.c (sigisemptyset): Likewise.
8026         * signal/sigismem.c (sigismember): Likewise.
8027         * signal/signal.c (signal): Likewise.
8028         * signal/sigorset.c (sigorset): Likewise.
8029         * signal/sigpause.c (__sigpause): Likewise.
8030         * signal/sigpending.c (sigpending): Likewise.
8031         * signal/sigprocmask.c (__sigprocmask): Likewise.
8032         * signal/sigrelse.c (sigrelse): Likewise.
8033         * signal/sigreturn.c (__sigreturn): Likewise.
8034         * signal/sigset.c (sigset): Likewise.
8035         * signal/sigsetmask.c (__sigsetmask): Likewise.
8036         * signal/sigstack.c (sigstack): Likewise.
8037         * signal/sigsuspend.c (__sigsuspend): Likewise.
8038         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8039         * signal/sysv_signal.c (__sysv_signal): Likewise.
8040         * socket/accept.c (accept): Likewise.
8041         * socket/accept4.c (__libc_accept4): Likewise.
8042         * socket/bind.c (__bind): Likewise.
8043         * socket/connect.c (__connect): Likewise.
8044         * socket/getpeername.c (getpeername): Likewise.
8045         * socket/getsockname.c (__getsockname): Likewise.
8046         * socket/getsockopt.c (getsockopt): Likewise.
8047         * socket/listen.c (__listen): Likewise.
8048         * socket/recv.c (__recv): Likewise.
8049         * socket/recvmsg.c (__recvmsg): Likewise.
8050         * socket/send.c (__send): Likewise.
8051         * socket/sendmsg.c (__sendmsg): Likewise.
8052         * socket/shutdown.c (shutdown): Likewise.
8053         * socket/sockatmark.c (sockatmark): Likewise.
8054         * socket/socket.c (__socket): Likewise.
8055         * stdio-common/ctermid.c (ctermid): Likewise.
8056         * stdio-common/cuserid.c (cuserid): Likewise.
8057         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8058         * stdio-common/remove.c (remove): Likewise.
8059         * stdio-common/rename.c (rename): Likewise.
8060         * stdio-common/renameat.c (renameat): Likewise.
8061         * stdio-common/tempname.c (__gen_tempname): Likewise.
8062         * stdio-common/xbug.c (InitBuffer): Likewise.
8063         (AppendToBuffer): Likewise.
8064         (ReadFile): Likewise.
8065         * stdlib/a64l.c (a64l): Likewise.
8066         * stdlib/drand48_r.c (drand48_r): Likewise.
8067         * stdlib/getcontext.c (getcontext): Likewise.
8068         * stdlib/getenv.c (getenv): Likewise.
8069         * stdlib/l64a.c (l64a): Likewise.
8070         * stdlib/llabs.c (llabs): Likewise.
8071         * stdlib/lldiv.c (lldiv): Likewise.
8072         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8073         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8074         * stdlib/putenv.c (putenv): Likewise.
8075         * stdlib/random.c (__srandom): Likewise.
8076         (__initstate): Likewise.
8077         (__setstate): Likewise.
8078         * stdlib/random_r.c (__srandom_r): Likewise.
8079         (__setstate_r): Likewise.
8080         (__random_r): Likewise.
8081         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8082         * stdlib/setcontext.c (setcontext): Likewise.
8083         * stdlib/setenv.c (setenv): Likewise.
8084         (unsetenv): Likewise.
8085         * stdlib/srand48.c (srand48): Likewise.
8086         * stdlib/srand48_r.c (__srand48_r): Likewise.
8087         * stdlib/swapcontext.c (swapcontext): Likewise.
8088         * stdlib/system.c (__libc_system): Likewise.
8089         * stdlib/tst-strtod.c (expand): Likewise.
8090         * stdlib/tst-strtol.c (expand): Likewise.
8091         * stdlib/tst-strtoll.c (expand): Likewise.
8092         * streams/fattach.c (fattach): Likewise.
8093         * streams/fdetach.c (fdetach): Likewise.
8094         * streams/getmsg.c (getmsg): Likewise.
8095         * streams/isastream.c (isastream): Likewise.
8096         * string/ffs.c (__ffs): Likewise.
8097         * string/ffsll.c (ffsll): Likewise.
8098         * string/memcmp.c (memcmp_common_alignment): Likewise.
8099         (memcmp_not_common_alignment): Likewise.
8100         (MEMCMP): Likewise.
8101         * string/memcpy.c (memcpy): Likewise.
8102         * string/memmove.c (MEMMOVE): Likewise.
8103         * string/memset.c (memset): Likewise.
8104         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8105         * string/strchrnul.c (STRCHRNUL): Likewise.
8106         * string/strerror.c (strerror): Likewise.
8107         * string/strndup.c (__strndup): Likewise.
8108         * string/strverscmp.c (__strverscmp): Likewise.
8109         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8110         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8111         (clnttcp_freeres): Likewise.
8112         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8113         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8114         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8115         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8116         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8117         (xdr_callhdr): Likewise.
8118         * sunrpc/rpcinfo.c (udpping): Likewise.
8119         (tcpping): Likewise.
8120         (pstatus): Likewise.
8121         (pmapdump): Likewise.
8122         (brdcst): Likewise.
8123         (deletereg): Likewise.
8124         (getprognum): Likewise.
8125         (getvers): Likewise.
8126         (get_inet_address): Likewise.
8127         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8128         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8129         (svcudp_stat): Likewise.
8130         (svcudp_recv): Likewise.
8131         (svcudp_reply): Likewise.
8132         (svcudp_getargs): Likewise.
8133         (svcudp_freeargs): Likewise.
8134         (svcudp_destroy): Likewise.
8135         * sunrpc/xdr.c (xdr_bytes): Likewise.
8136         (xdr_netobj): Likewise.
8137         (xdr_string): Likewise.
8138         (xdr_wrapstring): Likewise.
8139         * sunrpc/xdr_float.c (xdr_float): Likewise.
8140         (xdr_double): Likewise.
8141         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8142         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8143         * sysvipc/ftok.c (ftok): Likewise.
8144         * sysvipc/msgctl.c (msgctl): Likewise.
8145         * sysvipc/msgget.c (msgget): Likewise.
8146         * sysvipc/msgrcv.c (msgrcv): Likewise.
8147         * sysvipc/msgsnd.c (msgsnd): Likewise.
8148         * sysvipc/semget.c (semget): Likewise.
8149         * sysvipc/semop.c (semop): Likewise.
8150         * sysvipc/shmat.c (shmat): Likewise.
8151         * sysvipc/shmctl.c (shmctl): Likewise.
8152         * sysvipc/shmdt.c (shmdt): Likewise.
8153         * sysvipc/shmget.c (shmget): Likewise.
8154         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8155         * termios/speed.c (cfgetospeed): Likewise.
8156         (cfgetispeed): Likewise.
8157         (cfsetospeed): Likewise.
8158         (cfsetispeed): Likewise.
8159         * termios/tcflow.c (tcflow): Likewise.
8160         * termios/tcflush.c (tcflush): Likewise.
8161         * termios/tcgetattr.c (__tcgetattr): Likewise.
8162         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8163         * termios/tcgetsid.c (tcgetsid): Likewise.
8164         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8165         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8166         * time/adjtime.c (__adjtime): Likewise.
8167         * time/dysize.c (dysize): Likewise.
8168         * time/ftime.c (ftime): Likewise.
8169         * time/getitimer.c (__getitimer): Likewise.
8170         * time/gettimeofday.c (__gettimeofday): Likewise.
8171         * time/gmtime.c (__gmtime_r): Likewise.
8172         (gmtime): Likewise.
8173         * time/localtime.c (__localtime_r): Likewise.
8174         (localtime): Likewise.
8175         * time/offtime.c (__offtime): Likewise.
8176         * time/settimeofday.c (__settimeofday): Likewise.
8177         * time/stime.c (stime): Likewise.
8178         * time/strftime_l.c (tm_diff): Likewise.
8179         (iso_week_days): Likewise.
8180         * time/strptime.c (strptime): Likewise.
8181         * time/time.c (time): Likewise.
8182         * time/timespec_get.c (timespec_get): Likewise.
8183         * time/tzset.c (tzset_internal): Likewise.
8184         (compute_change): Likewise.
8185         (__tz_compute): Likewise.
8186         * wcsmbs/btowc.c (__btowc): Likewise.
8187         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8188         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8189         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8190         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8191         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8192         * wcsmbs/wcscat.c (__wcscat): Likewise.
8193         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8194         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8195         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8196         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8197         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8198         * wcsmbs/wcslen.c (__wcslen): Likewise.
8199         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8200         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8201         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8202         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8203         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8204         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8205         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8206         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8207         * wcsmbs/wcstok.c (wcstok): Likewise.
8208         * wcsmbs/wctob.c (wctob): Likewise.
8209         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8210         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8211         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8212         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8213         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8214         * wcsmbs/wmemset.c (__wmemset): Likewise.
8215         * wctype/wcfuncs.c (__towlower): Likewise.
8216         (__towupper): Likewise.
8218         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8219         (lll_unlock_elision): Add adapt_count parameter.
8221 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8223         * sysdeps/nptl/configure.ac: Do not give errors based on the
8224         results of top-level configure tests.
8225         * sysdeps/nptl/configure: Regenerated.
8227         * configure.ac (libc_cv_Bgroup): Remove configure test.
8228         * configure: Regenerated.
8229         * config.make.in (have-Bgroup): Remove variable.
8231         * configure.ac (sizeof_long_double): Remove configure test.
8232         * configure: Regenerated.
8233         * config.make.in (sizeof-long-double): Remove variable.
8235         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8236         * configure: Regenerated.
8237         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8238         variable.
8239         (exceptions): Likewise.
8240         * sysdeps/arm/configure: Regenerated.
8241         * config.make.in (exceptions): Remove variable.
8242         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8243         $(exceptions).
8244         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8245         (CFLAGS-vdprintf_chk.c): Likewise.
8246         (CFLAGS-printf_chk.c): Likewise.
8247         (CFLAGS-fprintf_chk.c): Likewise.
8248         (CFLAGS-vprintf_chk.c): Likewise.
8249         (CFLAGS-vfprintf_chk.c): Likewise.
8250         (CFLAGS-gets_chk.c): Likewise.
8251         (CFLAGS-fgets_chk.c): Likewise.
8252         (CFLAGS-fgets_u_chk.c): Likewise.
8253         (CFLAGS-fread_chk.c): Likewise.
8254         (CFLAGS-fread_u_chk.c): Likewise.
8255         (CFLAGS-wprintf_chk.c): Likewise.
8256         (CFLAGS-fwprintf_chk.c): Likewise.
8257         (CFLAGS-vwprintf_chk.c): Likewise.
8258         (CFLAGS-vfwprintf_chk.c): Likewise.
8259         (CFLAGS-fgetws_chk.c): Likewise.
8260         (CFLAGS-fgetws_u_chk.c): Likewise.
8261         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8262         (CFLAGS-fputc.c): Likewise.
8263         (CFLAGS-fputwc.c): Likewise.
8264         (CFLAGS-freopen64.c): Likewise.
8265         (CFLAGS-freopen.c): Likewise.
8266         (CFLAGS-fseek.c): Likewise.
8267         (CFLAGS-fseeko64.c): Likewise.
8268         (CFLAGS-fseeko.c): Likewise.
8269         (CFLAGS-ftello64.c): Likewise.
8270         (CFLAGS-ftello.c): Likewise.
8271         (CFLAGS-fwide.c): Likewise.
8272         (CFLAGS-genops.c): Likewise.
8273         (CFLAGS-getc.c): Likewise.
8274         (CFLAGS-getchar.c): Likewise.
8275         (CFLAGS-getwc.c): Likewise.
8276         (CFLAGS-getwchar.c): Likewise.
8277         (CFLAGS-iofclose.c): Likewise.
8278         (CFLAGS-iofflush.c): Likewise.
8279         (CFLAGS-iofgetpos64.c): Likewise.
8280         (CFLAGS-iofgetpos.c): Likewise.
8281         (CFLAGS-iofgets.c): Likewise.
8282         (CFLAGS-iofgetws.c): Likewise.
8283         (CFLAGS-iofputs.c): Likewise.
8284         (CFLAGS-iofputws.c): Likewise.
8285         (CFLAGS-iofread.c): Likewise.
8286         (CFLAGS-iofsetpos64.c): Likewise.
8287         (CFLAGS-iofsetpos.c): Likewise.
8288         (CFLAGS-ioftell.c): Likewise.
8289         (CFLAGS-iofwrite.c): Likewise.
8290         (CFLAGS-iogetdelim.c): Likewise.
8291         (CFLAGS-iogetline.c): Likewise.
8292         (CFLAGS-iogets.c): Likewise.
8293         (CFLAGS-iogetwline.c): Likewise.
8294         (CFLAGS-ioputs.c): Likewise.
8295         (CFLAGS-ioseekoff.c): Likewise.
8296         (CFLAGS-ioseekpos.c): Likewise.
8297         (CFLAGS-iosetbuffer.c): Likewise.
8298         (CFLAGS-iosetvbuf.c): Likewise.
8299         (CFLAGS-ioungetc.c): Likewise.
8300         (CFLAGS-ioungetwc.c): Likewise.
8301         (CFLAGS-oldfileops.c): Likewise.
8302         (CFLAGS-oldiofclose.c): Likewise.
8303         (CFLAGS-oldiofgetpos64.c): Likewise.
8304         (CFLAGS-oldiofgetpos.c): Likewise.
8305         (CFLAGS-oldiofsetpos64.c): Likewise.
8306         (CFLAGS-oldiofsetpos.c): Likewise.
8307         (CFLAGS-peekc.c): Likewise.
8308         (CFLAGS-putc.c): Likewise.
8309         (CFLAGS-putchar.c): Likewise.
8310         (CFLAGS-putwc.c): Likewise.
8311         (CFLAGS-putwchar.c): Likewise.
8312         (CFLAGS-rewind.c): Likewise.
8313         (CFLAGS-wfileops.c): Likewise.
8314         (CFLAGS-wgenops.c): Likewise.
8315         (CFLAGS-oldiofopen.c): Likewise.
8316         (CFLAGS-iofopen.c): Likewise.
8317         (CFLAGS-iofopen64.c): Likewise.
8318         (CFLAGS-oldtmpfile.c): Likewise.
8319         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8320         (CFLAGS-fprintf.c): Likewise.
8321         (CFLAGS-printf.c): Likewise.
8322         (CFLAGS-vfwprintf.c): Likewise.
8323         (CFLAGS-vfscanf.c): Likewise.
8324         (CFLAGS-vfwscanf.c): Likewise.
8325         (CFLAGS-fscanf.c): Likewise.
8326         (CFLAGS-scanf.c): Likewise.
8327         (CFLAGS-isoc99_vfscanf.c): Likewise.
8328         (CFLAGS-isoc99_vscanf.c): Likewise.
8329         (CFLAGS-isoc99_fscanf.c): Likewise.
8330         (CFLAGS-isoc99_scanf.c): Likewise.
8331         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8332         (CFLAGS-isoc99_fwscanf.c): Likewise.
8333         (CFLAGS-isoc99_vwscanf.c): Likewise.
8334         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8336         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8337         after mkstemp64.
8338         * login/tst-utmp.c (do_prepare): Likewise.
8339         * rt/tst-aio.c (do_prepare): Likewise.
8340         * rt/tst-aio64.c (do_prepare): Likewise.
8342 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8344         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8345         (__lll_lock_elision): Remove adapt_count decrement...
8346         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8347         (__lll_trylock_elision): Likewise.
8348         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8349         (__lll_unlock_elision): ... to here. And utilize
8350         new adapt_count parameter.
8351         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8352         (__lll_unlock_elision): Update to include adapt_count
8353         parameter.
8354         (lll_unlock_elision): Pass pointer to adapt_count
8355         variable.
8357 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8359         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8360         Add elision adapt_count parameter to list of arguments.
8361         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8362         (lll_unlock_elision): Update with new parameter list
8363         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8364         (lll_unlock_elision): Likewise.
8365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8366         (lll_unlock_elision): Likewise.
8368 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8370         [BZ #19122]
8371         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8372         attribute_hidden.
8374         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8375         attribute_hidden.
8376         [IS_IN (rtld)] (__strdup): Likewise.
8377         [IS_IN (rtld)] (__strerror_r): Likewise.
8378         [IS_IN (rtld)] (__strsep_g): Likewise.
8379         [IS_IN (rtld)] (memchr): Likewise.
8380         [IS_IN (rtld)] (memcmp): Likewise.
8381         [IS_IN (rtld)] (memcpy): Likewise.
8382         [IS_IN (rtld)] (memmove): Likewise.
8383         [IS_IN (rtld)] (memset): Likewise.
8384         [IS_IN (rtld)] (rawmemchr): Likewise.
8385         [IS_IN (rtld)] (stpcpy): Likewise.
8386         [IS_IN (rtld)] (strchr): Likewise.
8387         [IS_IN (rtld)] (strcmp): Likewise.
8388         [IS_IN (rtld)] (strlen): Likewise.
8389         [IS_IN (rtld)] (strnlen): Likewise.
8390         [IS_IN (rtld)] (strsep): Likewise.
8392         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8393         attribute_hidden.
8394         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8396         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8397         attribute_hidden.
8398         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8400         * include/setjmp.h (__longjmp): Add attribute_hidden.
8401         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8403         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8404         Add attribute_hidden.
8406         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8407         [IS_IN (rtld)] (__open): Likewise.
8408         [IS_IN (rtld)] (__fcntl): Likewise.
8410         * include/dirent.h (__opendirat): Add attribute_hidden.
8411         (__getdents): Likewise.
8412         (__getdents64): Likewise.
8413         (__alloc_dir): Likewise.
8414         [IS_IN (rtld)] (__closedir): Likewise.
8415         [IS_IN (rtld)] (__fdopendir): Likewise.
8416         [IS_IN (rtld)] (__readdir): Likewise.
8417         [IS_IN (rtld)] (__readdir64): Likewise.
8418         [IS_IN (rtld)] (__rewinddir): Likewise.
8420         * include/dlfcn.h (_dl_catch_error): Moved to ...
8421         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8422         attribute_hidden.
8424         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8425         (_itoa_word): Likewise.
8427         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8428         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8429         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8430         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8431         (_dl_higher_prime_number): Likewise.
8432         (_dl_debug_printf_c): Likewise.
8433         (_dl_signal_cerror): Likewise.
8434         (_dl_receive_error): Likewise.
8435         (_dl_reloc_bad_type): Likewise.
8436         (_dl_resolve_conflicts): Likewise.
8437         (_dl_check_all_versions): Likewise.
8438         (_dl_check_map_versions): Likewise.
8439         (_dl_sort_fini): Likewise.
8440         (_dl_debug_initialize): Likewise.
8441         (_dl_init_paths): Likewise.
8442         (_dl_show_auxv): Likewise.
8443         (_dl_next_ld_env_entry): Likewise.
8444         (_dl_important_hwcaps): Likewise.
8445         (_dl_load_cache_lookup): Likewise.
8446         (_dl_update_slotinfo): Likewise.
8447         (_dl_show_scope): Likewise.
8449         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8450         attribute_hidden.
8451         (_wordcopy_fwd_dest_aligned): Likewise.
8452         (_wordcopy_bwd_aligned): Likewise.
8453         (_wordcopy_bwd_dest_aligned): Likewise.
8455         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8456         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8457         Likewise.
8458         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8459         Likewise.
8460         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8462 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8464         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8465         GCC 5 requirement.
8467 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8469         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8470         test.
8471         * sysdeps/i386/configure: Regenerated.
8472         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8473         code unconditional.
8475         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8476         test.
8477         (libc_cv_asm_popsection_directive): Likewise.
8478         * configure: Regenerated.
8479         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8480         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8481         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8482         (__make_section_unallocated): Make definition unconditional.
8483         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8484         Remove conditional definition.
8485         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8486         (__make_section_unallocated): Likewise.
8488         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8489         * configure: Regenerated.
8490         * config.make.in (static-libgcc): Remove variable.
8491         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8492         $(static-libgcc).
8493         (build-module-helper): Likewise.
8495         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8496         * configure: Regenerated.
8498 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8500         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8501         (struct char_buffer): New type.
8502         (char_buffer_start, char_buffer_size, char_buffer_error)
8503         (char_buffer_rewind, char_buffer_add): New functions.
8504         (ADDW): Remove macro, replaced by the char_buffer_add function.
8505         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8506         of extend_alloca.  Make control flow more explicit.
8508 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8510         [BZ #19137]
8511         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8512         Add -fomit-frame-pointer.
8513         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8515 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8517         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8518         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8520         only if !__GNUC_PREREQ (5,0).
8521         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8522         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8523         (INTERNAL_SYSCALL_NCS): Likewise.
8524         (LOADREGS_0): New macro for GCC 5.
8525         (ASMARGS_0): Likewise.
8526         (LOADREGS_1): Likewise.
8527         (ASMARGS_1): Likewise.
8528         (LOADREGS_2): Likewise.
8529         (ASMARGS_2): Likewise.
8530         (LOADREGS_3): Likewise.
8531         (ASMARGS_3): Likewise.
8532         (LOADREGS_4): Likewise.
8533         (ASMARGS_4): Likewise.
8534         (LOADREGS_5): Likewise.
8535         (ASMARGS_5): Likewise.
8536         (LOADREGS_6): Likewise.
8537         (ASMARGS_6): Likewise.
8539 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8541         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8542         -fomit-frame-pointer.
8543         (CFLAGS-mmap64.c): Likewise.
8544         (CFLAGS-semtimedop.c): Likewise.
8545         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8546         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8547         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8548         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8550 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8552         [BZ #18928]
8553         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8554         _dl_pointer_guard member.
8555         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8556         initializer.
8557         (security_init): Always set up pointer guard.
8558         (process_envvars): Do not process LD_POINTER_GUARD.
8560 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8562         [BZ #19134]
8563         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8564         (.LC2): Likewise.
8565         (.LC3): Likewise.
8566         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8568 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8570         [BZ #19129]
8571         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8572         r0 and r1.
8574 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8576         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8578 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8580         * include/stap-probe.h: Fix macro definition formatting.
8582 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8584         [BZ #19074]
8585         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8586         load and store num_ifs.
8588 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8590         [BZ #18822]
8591         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8592         (__sched_getaffinity_new): Add libc_hidden_proto and
8593         libc_hidden_def.
8595 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8597         [BZ #19007]
8598         * scripts/localplt.awk: Also allow GOT references.
8599         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8600         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8601         with "+ REL R_386_GLOB_DAT".
8602         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8603         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8605 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8607         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8608         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8609         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8610         Likewise.
8611         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8612         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8613         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8614         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8615         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8616         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8617         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8618         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8619         Likewise.
8620         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8622 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8624         [BZ #19125]
8625         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8626         <math_private.h> and <stdint.h>.
8627         (__llround): Avoid conversions to and from long long int, and
8628         subtractions, where those might raise spurious exceptions.
8629         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8630         <math_private.h> and <stdint.h>.
8631         (__llroundf): Avoid conversions to and from long long int, and
8632         subtractions, where those might raise spurious exceptions.
8634 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8636         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8637         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8638         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8639         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8640         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8641         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8642         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8643         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8644         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8645         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8646         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8647         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8648         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8649         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8650         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8651         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8652         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8653         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8654         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8655         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8656         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8657         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8658         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8659         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8660         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8661         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8662         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8663         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8664         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8665         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8666         (__xstat64_conv): Likewise.
8667         (__xstat32_conv): Likewise.
8669 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8671         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8672         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8673         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8674         <sysdeps/unix/sysv/linux/sysdep.h>.
8675         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8676         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8677         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8678         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8679         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8680         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8681         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8682         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8683         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8689         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8691         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8692         (sysdep-dl-routines): Add sysdep.
8693         [$(subdir) == nptl] (libpthread-routines): Likewise.
8694         [$(subdir) == rt] (librt-routines): Likewise.
8695         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8696         PIC when branching to SYSCALL_ERROR_LABEL.
8697         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8699         <sysdeps/unix/sysv/linux/sysdep.h>.
8700         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8701         (SYSCALL_ERROR_ERRNO): Removed.
8702         (SYSCALL_ERROR_HANDLER): Changed to empty.
8703         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8704         (__syscall_error): New prototype.
8705         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8706         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8708 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8710         [BZ #19124]
8711         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8712         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8713         _dl_runtime_resolve_avx.
8714         (_dl_runtime_profile_avx512): Make it a hidden alias of
8715         _dl_runtime_profile_avx.
8717 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8719         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8720         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8721         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8722         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8724         [BZ #16422]
8725         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8726         New configure test.
8727         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8728         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8729         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8730         <math_private.h> and <stdint.h>.
8731         (__llrint): Avoid conversions to long long int where those might
8732         raise spurious exceptions.
8733         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8734         <math_private.h> and <stdint.h>.
8735         (__llrintf): Avoid conversions to long long int where those might
8736         raise spurious exceptions.
8738 2015-10-12  Andreas Schwab  <schwab@suse.de>
8740         [BZ #18969]
8741         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8742         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8743         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8744         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8745         $(gen-locales).
8746         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8747         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8748         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8749         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8750         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8751         $(gen-locales).
8752         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8753         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8754         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8755         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8756         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8757         ($(objpfx)tst-ftell-active-handler.out)
8758         ($(objpfx)tst-ftell-append.out)
8759         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8760         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8761         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8762         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8763         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8764         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8765         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8766         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8767         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8768         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8769         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8770         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8771         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8772         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8773         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8774         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8775         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8776         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8777         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8778         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8779         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8780         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8781         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8782         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8783         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8784         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8785         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8786         $(gen-locales).
8787         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8788         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8789         $(gen-locales).
8790         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8791         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8792         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8793         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8794         $(gen-locales).
8795         * libio/tst_wprintf2.c (main): Use explicit locale.
8796         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8798 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8800         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8801         __msg_sig_post.
8802         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8804 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8806         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8809         * sysdeps/arm/libm-test-ulps: Regenerated.
8811         [BZ #15470]
8812         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8814         [BZ #16399]
8815         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8816         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8817         and <fix-fp-int-convert-overflow.h>.
8818         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8819         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8820         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8821         and <fix-fp-int-convert-overflow.h>.
8822         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8823         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8824         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8825         <fix-fp-int-convert-overflow.h>.
8826         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8827         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8828         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8829         <fix-fp-int-convert-overflow.h>.
8830         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8831         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8832         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8833         and <fix-fp-int-convert-overflow.h>.
8834         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8835         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8836         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8837         <limits.h> and <fix-fp-int-convert-overflow.h>.
8838         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8839         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8840         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8841         and <fix-fp-int-convert-overflow.h>.
8842         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8843         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8844         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8845         and <fix-fp-int-convert-overflow.h>.
8846         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8847         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8848         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8850 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8852         [BZ #18589]
8853         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8854         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8855         $(gen-locales).
8857 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8858             Phil Blundell <pb@pbcl.net>
8860         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8861         * nptl/tst-cancel26.c: New file.
8862         * nptl/tst-cancel27.c: Likewise.
8864 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8866         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8867         __ILP32__ isn't defined.
8868         (lrint): Likewise.
8869         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8870         (lrintf): Likewise.
8871         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8872         (lrintl): Likewise.
8873         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8874         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8875         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8877 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8879         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8880         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8883         file.
8884         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8885         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8887 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8889         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8890         configure test.
8891         * sysdeps/i386/configure: Regenerated.
8892         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8893         configure test.
8894         * sysdeps/x86_64/configure: Regenerated.
8895         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8896         Make code unconditional.
8898         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8899         test.
8900         * sysdeps/i386/configure: Regenerated.
8901         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8902         test.
8903         * sysdeps/x86_64/configure: Regenerated.
8904         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8905         Make code unconditional.
8906         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8907         Likewise.
8908         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8909         Likewise.
8910         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8911         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8912         code unconditional.
8913         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8914         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8915         code unconditional.
8916         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8917         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8918         code unconditional.
8919         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8920         code unconditional.
8921         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8922         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8923         code unconditional.
8924         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8925         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8926         code unconditional.
8927         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8928         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8929         code unconditional.
8930         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8931         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8932         code unconditional.
8933         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8934         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8936         [BZ #19095]
8937         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8938         mantissa to long int before shifting left.
8940 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8942         [BZ #19094]
8943         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8944         <limits.h>.
8945         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8946         when result overflows but exception would not result from cast.
8947         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8948         <limits.h>.
8949         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8950         when result overflows but exception would not result from cast.
8951         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8952         <limits.h>.
8953         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8954         when result overflows but exception would not result from cast.
8955         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8956         <limits.h>.
8957         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8958         when result overflows but exception would not result from cast.
8959         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8960         <limits.h>.
8961         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8962         when result overflows but exception would not result from cast.
8963         * math/libm-test.inc (lrint_test_data): Add more tests.
8964         (llrint_test_data): Likewise.
8966 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8968         [BZ #18872]
8969         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8970         Move out from under [$(run-built-tests) = yes] conditional.
8971         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8972         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8974 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8976         [BZ #18589]
8977         * string/Makefile (tests): Add bug-strcoll2.
8978         (LOCALES): Add cs_CZ.UTF-8.
8979         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8981         [BZ #18589]
8982         * string/bug-strcoll2.c: New file.
8983         * locale/categories.def: Revert commit
8984         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8985         * locale/langinfo.h: Likewise.
8986         * locale/localeinfo.h: Likewise.
8987         * locale/C-collate.c: Likewise.
8988         * locale/programs/ld-collate.c (collate_output): Likewise.
8989         * string/strcoll_l.c (STRDIFF): Likewise.
8990         (STRCOLL): Likewise.
8991         * wcsmbs/wcscoll_l.c: Likewise.
8993 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8995         * math/libm-test.inc (lround_test_data): Do not expect the absence
8996         of "inexact" for some tests with non-integer arguments.
8997         (llround_test_data): Likewise.
8999         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9000         test.
9001         (libc_cv_cc_sse2avx): Likewise.
9002         * sysdeps/i386/configure: Regenerated.
9003         * sysdeps/i386/i686/multiarch/Makefile
9004         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9005         [$(subdir) = math].
9006         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9007         code unconditional.
9008         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9009         Likewise.
9010         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9011         Likewise.
9012         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9013         Likewise.
9014         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9015         test.
9016         (libc_cv_cc_sse2avx): Likewise.
9017         * sysdeps/x86_64/configure: Regenerated.
9018         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9019         unconditional.
9020         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9021         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9022         unconditional.
9023         (_dl_runtime_profile)
9024         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9025         conditional code.
9026         * sysdeps/x86_64/fpu/multiarch/Makefile
9027         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9029         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9030         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9031         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9032         * sysdeps/x86_64/fpu/multiarch/e_log.c
9033         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9034         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9035         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9036         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9037         Likewise.
9038         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9039         Likewise.
9040         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9041         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9042         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9043         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9044         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9045         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9046         (HAVE_SSE2AVX_SUPPORT): Likewise.
9048 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9050         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9051         instead of #pragma optimize.
9053 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9055         [BZ #17195]
9056         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9057         as is similarly done in systrim and _int_free already.
9059 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9061         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9063 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9065         [BZ #19088]
9066         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9067         <limits.h>.
9068         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9069         overflows but exception would not result from cast.
9070         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9071         and <limits.h>.
9072         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9073         overflows but exception would not result from cast.
9074         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9075         <limits.h>.
9076         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9077         overflows but exception would not result from cast.
9078         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9079         <limits.h>.
9080         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9081         overflows but exception would not result from cast.
9082         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9083         <limits.h>.
9084         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9085         overflows but exception would not result from cast.
9086         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9087         <limits.h>.
9088         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9089         overflows but exception would not result from cast.
9090         * math/libm-test.inc (lround_test_data): Add more tests.
9091         (llround_test_data): Likewise.
9093 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9095         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9096         (CFLAGS-ialloc.c): Ditto.
9097         (CFLAGS-scheck.c): Ditto.
9099 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9101         [BZ #19086]
9102         * manual/filesys.texi (Storage Allocation): Fix argument order for
9103         posix_fallocate64.
9105 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9107         [BZ #19085]
9108         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9109         exponent below 48 inside case for non-overflowing exponent.
9110         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9112 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9114         * iconvdata/cp737.h (from_idx): Add const.
9115         * iconvdata/cp775.h (from_idx): Likewise.
9117 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9119         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9120         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9121         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9123         [BZ #19079]
9124         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9125         file, conditioned on [!_LP64].
9126         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9127         [!_LP64] (__lround): Do not define as function or alias.
9128         [!_LP64] (lround): Likewise.
9129         [!_LP64] (__lroundl): Likewise.
9130         [!_LP64] (lroundl): Likewise.
9131         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9132         macro.
9133         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9134         Likewise.
9136 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9138         * math/libm-test.inc (lrint_test_data): Add more tests.
9139         (llrint_test_data): Likewise.
9140         (lround_test_data): Likewise.
9141         (llround_test_data): Likewise.
9143         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9144         (llrint_test_data): Add tests used for lrint.
9146         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9147         test.
9148         * sysdeps/i386/configure: Regenerated.
9149         * sysdeps/i386/i686/multiarch/Makefile
9150         [$(config-cflags-sse4) = yes]: Make code unconditional.
9151         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9152         Likewise.
9153         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9154         Likewise.
9155         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9156         test.
9157         * sysdeps/x86_64/configure: Regenerated.
9158         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9159         Make code unconditional.
9160         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9161         Likewise.
9162         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9163         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9165         * scripts/rpm2dynsym.sh: Remove file.
9167 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9169         * configure.ac (libc_cv_cxx_thread_local): Define.
9170         * configure: Regenerate.
9171         * config.make.in (have-cxx-thread_local): Define.
9172         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9173         (LDLIBS-tst-thread_local1): Define.
9174         (tests): Add tst-thread_local1.
9175         [have-cxx-thread_local != yes] (tests-unsupported): Add
9176         tst-thread_local1.
9177         * nptl/tst-thread_local1.cc: New file.
9179 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9181         [BZ #19078]
9182         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9183         (u_thres): Likewise.
9184         (__expl): Determine whether to call __kernel_standard_l based on
9185         value of result, not argument.
9187         * math/libm-test.inc (scalb_test_data): Add more expectations for
9188         the "inexact" exception.
9190         [BZ #19077]
9191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9192         0.0L for argument 1.0L.
9194         [BZ #19076]
9195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9196         constant 0.0L when computing infinite result.
9198 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9200         [BZ #10432]
9201         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9202         malloc_usable_size.
9204 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9206         [BZ #19018]
9207         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9208         Mangle function pointer before storing it.
9209         (__call_tls_dtors): Demangle function pointer before calling it.
9211 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9213         [BZ #19012]
9214         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9215         Clean up on failure.
9217 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9219         [BZ #19071]
9220         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9221         long int variable to store possibly incremented high part of
9222         mantissa.
9223         * math/libm-test.inc (lround_test_data): Add tests used for
9224         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9225         for tests requiring 64-bit long.  Do not condition tests on
9226         [TEST_FLOAT] unnecessarily.
9227         (llround_test_data): Add tests used for lround.  Add another
9228         expectation for the "inexact" exception.  Do not condition tests
9229         on [TEST_FLOAT] unnecessarily.
9231         [BZ #887]
9232         [BZ #19049]
9233         [BZ #19050]
9234         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9235         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9236         <fix-int-fp-convert-zero.h>.
9237         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9238         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9239         <fix-int-fp-convert-zero.h>.
9240         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9241         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9242         <fix-int-fp-convert-zero.h>.
9243         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9244         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9245         <fix-int-fp-convert-zero.h>.
9246         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9247         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9248         <fix-int-fp-convert-zero.h>.
9249         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9250         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9251         <fix-int-fp-convert-zero.h>.
9252         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9253         * sysdeps/ieee754/flt-32/s_erff.c: Include
9254         <fix-int-fp-convert-zero.h>.
9255         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9256         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9257         <fix-int-fp-convert-zero.h>.
9258         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9259         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9260         <fix-int-fp-convert-zero.h>.
9261         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9262         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9263         <fix-int-fp-convert-zero.h>.
9264         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9265         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9266         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9267         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9268         file.
9269         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9271 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9275 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9277         [BZ #19059]
9278         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9279         overflowing computation.
9280         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9281         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9282         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9283         Likewise.
9284         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9285         Likewise.
9286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9287         Likewise.
9288         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9289         Likewise.
9290         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9291         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9292         Likewise.
9293         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9294         Likewise.
9295         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9297         * nss/rewrite_field.c (__nss_rewrite_field): Use
9298         internal_function.
9299         * nss/valid_field.c (__nss_valid_field): Likewise.
9300         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9302 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9304         [BZ #18724]
9305         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9306         (__nss_invalid_field_characters, __nss_valid_field)
9307         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9308         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9309         tst-field.c: New file.
9310         * nss/Makefile (routines): Add valid_field, rewrite_field.
9311         (tests-static): Define unconditionally.
9312         (tests): Include tests-static.
9313         [build-static-nss] (tests-static): Use append.
9314         [build-static-nss] (tests): Remove modification.
9315         * nss/getent.c (print_group): Call putgrent.  Report error.
9316         (print_gshadow): Call putsgent.  Report error.
9317         (print_passwd): Call putpwent.  Report error.
9318         (print_shadow): Call putspent.  Report error.
9319         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9320         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9321         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9322         name, password, directory, shell fields for valid syntax.  Rewrite
9323         GECOS field to match syntax.
9324         * pwd/Makefile (tests): Add tst-putpwent.
9325         * pwd/tst-putpwent.c: New file.
9326         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9327         Check grName, grpasswd, gr_mem fields for valid syntax.
9328         Change loop variable i to size_t.
9329         * grp/Makefile (tests): Add tst-putgrent.
9330         * grp/tst-putgrent.c: New file.
9331         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9332         valid syntax.
9333         * shadow/Makefile (tests): Add tst-putspent.
9334         * shadow/tst-putspent.c: New file.
9335         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9336         sg_mem fields for valid syntax.
9337         * gshadow/Makefile (tests): Add tst-putsgent.
9338         * gshadow/tst-putsgent.c: New file.
9340 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9342         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9343         assembly instructions.
9345 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9347         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9348         prefix from operands.
9350 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9352         [BZ #16347]
9353         [BZ #19046]
9354         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9355         <libc-internal.h>.
9356         (MAXLGM): Do not use diagnostic control macros.
9357         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9358         threshold for ldbl-128ibm.
9359         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9360         instead of multiplying by log then subtracting.
9361         * math/auto-libm-test-in: Add more tests of lgamma.
9362         * math/auto-libm-test-out: Regenerated.
9364         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9365         (TYPE_HEX_DIG): Likewise.
9366         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9367         precisions when printing floating-point numbers.
9368         (check_float_internal): Likewise.
9370 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9372         [BZ #16620]
9373         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9374         of log (10) rounded downward to 48 bits.
9375         (log10_low): Use corresponding low part of log (10).
9377         [BZ #19032]
9378         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9379         compute result as (x - x) / (x - x) not as 0 / 0.
9380         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9381         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9383         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9384         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9385         and expm1.
9386         * math/auto-libm-test-out: Regenerated.
9387         * math/libm-test.inc (acos_test_data): Add more tests.
9388         (asin_test_data): Likewise.
9389         (asinh_test_data): Likewise.
9390         (atan_test_data): Likewise.
9391         (atanh_test_data): Likewise.
9392         (atan2_test_data): Likewise.
9393         (cbrt_test_data): Likewise.
9394         (ceil_test_data): Likewise.
9395         (copysign_test_data): Likewise.
9396         (cos_test_data): Likewise.
9397         (cosh_test_data): Likewise.
9398         (erf_test_data): Likewise.
9399         (erfc_test_data): Likewise.
9400         (exp_test_data): Likewise.
9401         (exp10_test_data): Likewise.
9402         (exp2_test_data): Likewise.
9403         (expm1_test_data): Likewise.
9404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9406 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9408         [BZ #19006]
9409         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9410         to ...
9411         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9412         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9413         to ...
9414         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9415         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9416         to ...
9417         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9418         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9419         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9420         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9421         to ...
9422         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9423         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9424         Moved to ...
9425         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9426         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9427         Moved to ...
9428         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9429         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9430         to ...
9431         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9432         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9433         Moved to ...
9434         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9435         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9436         to ...
9437         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9438         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9439         Removed.
9440         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9441         Likewise.
9442         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9443         Likewise.
9444         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9445         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9446         Likewise.
9447         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9448         Likewise.
9449         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9450         Likewise.
9451         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9452         Likewise.
9453         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9454         Likewise.
9455         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9456         Likewise.
9457         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9458         Likewise.
9459         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9460         Likewise.
9461         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9462         Likewise.
9463         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9464         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9465         Likewise.
9466         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9467         Likewise.
9468         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9469         Likewise.
9470         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9471         Likewise.
9472         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9473         Likewise.
9474         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9475         Replace ../i486/pthread_cond_timedwait.S with
9476         ../pthread_cond_timedwait.S.
9478 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9480         * math/libm-test.inc (acos_test_data): Refine expectations for
9481         errno and "inexact" exceptions.
9482         (acosh_test_data): Likewise.
9483         (asin_test_data): Likewise.
9484         (asinh_test_data): Likewise.
9485         (atan_test_data): Likewise.
9486         (atanh_test_data): Likewise.
9487         (atan2_test_data): Likewise.
9488         (cbrt_test_data): Likewise.
9489         (ceil_test_data): Likewise.
9490         (copysign_test_data): Likewise.
9491         (cosh_test_data): Likewise.
9492         (erf_test_data): Likewise.
9493         (erfc_test_data): Likewise.
9494         (exp_test_data): Likewise.
9495         (exp10_test_data): Likewise.
9496         (exp2_test_data): Likewise.
9497         (expm1_test_data): Likewise.
9498         (fabs_test_data): Likewise.
9499         (floor_test_data): Likewise.
9500         (fma_test_data): Likewise.
9501         (fmax_test_data): Likewise.
9502         (fmin_test_data): Likewise.
9503         (fmod_test_data): Likewise.
9504         (fpclassify_test_data): Likewise.
9505         (frexp_test_data): Likewise.
9506         (hypot_test_data): Likewise.
9507         (ilogb_test_data): Likewise.
9508         (isgreater_test_data): Likewise.
9509         (isgreaterequal_test_data): Likewise.
9510         (isinf_test_data): Likewise.
9511         (isless_test_data): Likewise.
9512         (islessequal_test_data): Likewise.
9513         (islessgreater_test_data): Likewise.
9514         (isnan_test_data): Likewise.
9515         (isnormal_test_data): Likewise.
9516         (issignaling_test_data): Likewise.
9517         (isunordered_test_data): Likewise.
9518         (j0_test_data): Likewise.
9519         (j1_test_data): Likewise.
9520         (jn_test_data): Likewise.
9521         (lgamma_test_data): Likewise.
9522         (lrint_test_data): Likewise.
9523         (llrint_test_data): Likewise.
9524         (log_test_data): Likewise.
9525         (log10_test_data): Likewise.
9526         (log1p_test_data): Likewise.
9527         (log2_test_data): Likewise.
9528         (logb_test_data): Likewise.
9529         (lround_test_data): Likewise.
9530         (llround_test_data): Likewise.
9531         (modf_test_data): Likewise.
9532         (nearbyint_test_data): Likewise.
9533         (nextafter_test_data): Likewise.
9534         (nexttoward_test_data): Likewise.
9535         (pow_test_data): Likewise.
9536         (remainder_test_data): Likewise.
9537         (remquo_test_data): Likewise.
9538         (rint_test_data): Likewise.
9539         (round_test_data): Likewise.
9540         (signbit_test_data): Likewise.
9541         (sinh_test_data): Likewise.
9542         (sqrt_test_data): Likewise.
9543         (tanh_test_data): Likewise.
9544         (tgamma_test_data): Likewise.
9545         (trunc_test_data): Likewise.
9546         (y0_test_data): Likewise.
9547         (y1_test_data): Likewise.
9548         (yn_test_data): Likewise.
9549         (significand_test_data): Likewise.
9551 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9553         * manual/filesys.texi (Storage Allocation): Document that
9554         posix_fallocate emulation fails when fd is open with O_WRONLY.
9556 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9558         [BZ #19016]
9559         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9560         allow more cases with X^2 + Y^2 >= 0.5.
9561         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9562         normal element in sum instead of special-casing based on values of
9563         arguments.
9564         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9565         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9566         -1 as normal element in sum instead of special-casing based on
9567         values of arguments.
9568         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9569         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9570         (__x2y2m1): Update comment.
9571         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9572         as normal element in sum instead of special-casing based on values
9573         of arguments.
9574         * math/s_clog.c (__clog): Handle more cases using log1p without
9575         hypot.
9576         * math/s_clog10.c (__clog10): Likewise.
9577         * math/s_clog10f.c (__clog10f): Likewise.
9578         * math/s_clog10l.c (__clog10l): Likewise.
9579         * math/s_clogf.c (__clogf): Likewise.
9580         * math/s_clogl.c (__clogl): Likewise.
9581         * math/auto-libm-test-in: Add more tests of clog and clog10.
9582         * math/auto-libm-test-out: Regenerated.
9583         * sysdeps/i386/fpu/libm-test-ulps: Update.
9584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9586 2015-09-28  Martin Sebor  <msebor@redhat.com>
9588         [BZ #18969]
9589         * string/Makefile (LOCALES): Define.
9590         (gen-locales.mk): Include.
9591         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9592         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9593         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9594         on setlocale failure.
9596 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9598         [BZ #18985]
9599         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9600         (__strftime_internal): Likewise.
9601         * time/tst-strftime.c (do_bz18985): New test.
9602         (do_test): Call it.
9604 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #18956]
9607         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9608         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9609         extracting high part.
9610         * math/auto-libm-test-in: Add another test of pow.
9611         * math/auto-libm-test-out: Regenerated.
9612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9614 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #18825]
9617         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9618         New macro.
9619         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9620         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9621         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9622         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9623         DBL_NARROW_EVAL, reloading the PIC register as needed.
9624         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9625         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9626         FLT_NARROW_EVAL.  Use separate return path for case when first
9627         argument is NaN.
9628         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9629         DEFINE_LDBL_MIN.
9630         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9631         PIC register.
9632         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9633         math_check_force_underflow_nonneg.
9634         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9635         underflow for subnormal result.
9636         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9637         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9638         math_check_force_underflow_nonneg.
9639         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9640         math_check_force_underflow.
9641         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9642         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9643         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9644         DEFINE_LDBL_MIN.
9645         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9646         * math/auto-libm-test-in: Add more tests of pow.
9647         * math/auto-libm-test-out: Regenerated.
9649 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9651         * nss/bug17079.c (init_test_items): Add diagnostic for
9652         inconsistent entries.
9653         (test_buffer_size): Skip inconsistent entries.
9655 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9657         [BZ #13304]
9658         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9659         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9660         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9662         [BZ #13304]
9663         * sysdeps/microblaze/s_fma.c: New file.
9664         * sysdeps/microblaze/s_fmaf.c: Likewise.
9665         * sysdeps/microblaze/sfp-machine.h: Likewise.
9667 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9669         [BZ #17250]
9670         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9671         member.
9673 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9675         [BZ #18803]
9676         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9677         (MO): New macro.
9678         (__ieee754_hypot) [PIC]: Load PIC register.
9679         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9680         DBL_NARROW_EVAL.
9681         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9682         math_check_force_underflow_nonneg in case where result might be
9683         tiny.
9684         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9685         Likewise.
9686         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9687         Likewise.
9688         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9689         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9690         * math/auto-libm-test-in: Add more tests of hypot.
9691         * math/auto-libm-test-out: Regenerated.
9693 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9695         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9697 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9699         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9700         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9701         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9702         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9703         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9704         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9705         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9707         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9708         LOAD_PIC_REG.
9710         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9711         (FLT_CHECK_FORCE_UFLOW): Likewise.
9712         (DBL_CHECK_FORCE_UFLOW): Likewise.
9713         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9714         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9715         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9716         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9717         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9718         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9719         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9720         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9721         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9723         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9724         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9725         (flt_min): Replace with use of DEFINE_FLT_MIN.
9726         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9727         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9728         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9729         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9730         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9731         (flt_min): Replace with use of DEFINE_FLT_MIN.
9732         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9733         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9734         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9735         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9736         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9737         (flt_min): Replace with use of DEFINE_FLT_MIN.
9738         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9739         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9740         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9741         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9742         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9743         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9744         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9745         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9746         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9747         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9748         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9749         (flt_min): Replace with use of DEFINE_FLT_MIN.
9750         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9751         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9752         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9753         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9754         main computation.
9755         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9756         (flt_min): Replace with use of DEFINE_FLT_MIN.
9757         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9758         main computation.
9759         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9760         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9761         (MO): New macro.
9762         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9763         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9764         (flt_min): Replace with use of DEFINE_FLT_MIN.
9765         (MO): New macro.
9766         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9767         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9768         (__log1pl): Use MO.
9770         [BZ #19003]
9771         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9772         $(config-cflags-nofma).
9774 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9776         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9778 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9780         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9781         (TWO127): Likewise.
9783         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9784         (min_of_type): Likewise.
9785         (math_check_force_underflow): Likewise.
9786         (math_check_force_underflow_nonneg): Likewise.
9787         (math_check_force_underflow_complex): Likewise.
9788         * math/e_exp2l.c (__ieee754_exp2l): Use
9789         math_check_force_underflow_nonneg.
9790         * math/k_casinh.c (__kernel_casinh): Likewise.
9791         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9792         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9793         * math/s_catan.c (__catan): Use
9794         math_check_force_underflow_complex.
9795         * math/s_catanf.c (__catanf): Likewise.
9796         * math/s_catanh.c (__catanh): Likewise.
9797         * math/s_catanhf.c (__catanhf): Likewise.
9798         * math/s_catanhl.c (__catanhl): Likewise.
9799         * math/s_catanl.c (__catanl): Likewise.
9800         * math/s_ccosh.c (__ccosh): Likewise.
9801         * math/s_ccoshf.c (__ccoshf): Likewise.
9802         * math/s_ccoshl.c (__ccoshl): Likewise.
9803         * math/s_cexp.c (__cexp): Likewise.
9804         * math/s_cexpf.c (__cexpf): Likewise.
9805         * math/s_cexpl.c (__cexpl): Likewise.
9806         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9807         * math/s_clog10.c (__clog10): Likewise.
9808         * math/s_clog10f.c (__clog10f): Likewise.
9809         * math/s_clog10l.c (__clog10l): Likewise.
9810         * math/s_clogf.c (__clogf): Likewise.
9811         * math/s_clogl.c (__clogl): Likewise.
9812         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9813         * math/s_csinf.c (__csinf): Likewise.
9814         * math/s_csinh.c (__csinh): Likewise.
9815         * math/s_csinhf.c (__csinhf): Likewise.
9816         * math/s_csinhl.c (__csinhl): Likewise.
9817         * math/s_csinl.c (__csinl): Likewise.
9818         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9819         * math/s_csqrtf.c (__csqrtf): Likewise.
9820         * math/s_csqrtl.c (__csqrtl): Likewise.
9821         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9822         * math/s_ctanf.c (__ctanf): Likewise.
9823         * math/s_ctanh.c (__ctanh): Likewise.
9824         * math/s_ctanhf.c (__ctanhf): Likewise.
9825         * math/s_ctanhl.c (__ctanhl): Likewise.
9826         * math/s_ctanl.c (__ctanl): Likewise.
9827         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9828         instead of volatile.
9829         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9830         math_check_force_underflow.
9831         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9832         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9833         volatile when forcing underflow.
9834         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9835         math_check_force_underflow_nonneg.
9836         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9837         Likewise.
9838         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9839         math_check_force_underflow.
9840         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9841         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9842         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9843         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9844         math_check_force_underflow_nonneg.
9845         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9846         math_check_force_underflow.
9847         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9848         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9849         instead of volatile.
9850         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9851         math_check_force_underflow.
9852         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9853         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9854         math_check_force_underflow_nonneg.
9855         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9856         math_check_force_underflow.
9857         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9858         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9859         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9860         math_check_force_underflow_nonneg.
9861         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9862         Likewise.
9863         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9864         math_check_force_underflow.
9865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9866         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9867         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9868         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9869         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9870         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9871         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9872         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9873         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9874         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9875         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9876         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9877         Likewise.
9878         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9879         math_check_force_underflow_nonneg.
9880         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9881         Likewise.
9882         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9883         math_check_force_underflow.
9884         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9885         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9886         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9887         Likewise.
9888         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9889         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9890         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9891         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9892         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9893         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9895         instead of volatile.
9896         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9897         math_check_force_underflow.
9898         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9899         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9900         math_check_force_underflow.
9901         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9902         Likewise.
9903         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9904         Use math_check_force_underflow_nonneg.
9905         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9906         math_check_force_underflow.
9907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9908         Likewise.
9909         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9910         Likewise.
9911         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9912         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9913         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9914         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9916         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9917         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9918         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9919         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9920         math_check_force_underflow_nonneg.
9921         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9922         math_check_force_underflow.
9923         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9924         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9925         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9926         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9927         math_check_force_underflow_nonneg.
9928         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9929         math_check_force_underflow.
9930         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9932         instead of volatile.
9933         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9934         math_check_force_underflow.
9936         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9937         * stdlib/strtod_l.c: Include <math_private.h>.
9938         (overflow_value): Use math_narrow_eval.
9939         (underflow_value): Likewise.
9940         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9941         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9942         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9943         (__ieee754_gamma_r): Likewise.
9944         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9945         Likewise.
9946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9947         Likewise.
9948         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9949         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9950         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9951         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9952         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9953         (__ieee754_gammaf_r): Likewise.
9954         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9955         Likewise.
9956         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9957         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9958         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9959         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9960         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9961         volatile.
9962         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9963         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9964         math_narrow_eval.
9965         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9966         Likewise.
9967         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9968         Likewise.
9969         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9970         Likewise.
9971         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9972         volatile.
9973         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9974         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9975         math_narrow_eval.
9976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9977         Likewise.
9978         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9979         Likewise.
9981 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9983         * nptl/Versions: Remove ignored symbols.
9985 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9987         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9988         * nss/Makefile (tests): Update.
9990 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9992         * nss/bug18287.c: New file.
9993         * nss/Makefile (tests): Add bug18287.
9995 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9997         * mach/Versions (__mach_host_self_): Add symbol.
9999 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10001         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10002         vm_page_size.
10004 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10006         Really fix sysdeps/i386/fpu/s_scalbn.S build
10008         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10009         (libc: GLIBC_2_22): Remove unused version set.
10011 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10013         * config.make.in (enable-timezone-tools): New variable.
10014         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10015         (enable_timezone_tools): Export to generated files.
10016         * configure: Regenerate.
10017         * INSTALL: Regenerate.
10018         * manual/install.texi (--disable-timezone-tools): Document new flag.
10019         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10020         ifeq ($(enable-timezone-tools),yes) check.
10022 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10024         * timezone/Makefile: Revert previous change.
10026         [BZ #18980]
10027         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10028         (DEFINE_DBL_MIN): Likewise.
10029         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10030         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10031         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10032         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10033         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10034         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10035         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10036         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10037         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10038         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10039         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10040         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10041         (flt_min): Replace with use of DEFINE_FLT_MIN.
10042         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10043         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10044         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10045         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10046         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10047         (flt_min): Replace with use of DEFINE_FLT_MIN.
10048         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10049         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10050         (flt_min): Replace with use of DEFINE_FLT_MIN.
10051         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10052         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10053         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10054         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10055         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10056         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10057         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10058         (__ieee754_pow): Use DBL_NARROW_EVAL.
10059         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10060         (__ieee754_powf): Use FLT_NARROW_EVAL.
10061         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10062         (__ieee754_expf_sse2): Convert double-precision result to single
10063         precision.
10064         * sysdeps/i386/fpu/libm-test-ulps: Update.
10066 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10068         * timezone/Makefile: Ignore unused variable errors due to private.h
10069         (time_t_min) and (time_t_max).
10070         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10071         Likewise.
10073 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10075         [BZ #18981]
10076         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10077         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10078         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10079         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10080         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10081         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10082         (__scalbn): Use DBL_NARROW_EVAL.
10083         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10084         (__scalbnf): Use FLT_NARROW_EVAL.
10086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10088         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10089         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10090         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10091         * stdio-common/printf_fp.c (___printf_fp):
10092         Use signbit to get the sign. Use isinf macro to allow inlining.
10093         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10094         * stdio-common/printf_size.c (__printf_size): Likewise.
10096 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10098         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10100 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10102         [BZ #18980]
10103         * sysdeps/generic/math_private.h: Include <float.h>.
10104         (math_narrow_eval): New macro.
10105         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10106         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10107         math_narrow_eval on overflowing return value.
10108         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10109         Likewise.
10110         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10111         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10113         Likewise.
10114         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10116 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10118         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10119         * math/Makefile: Remove isinf_ns.c.
10120         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10121         * math/multc3.c (__multc3): Likewise.
10122         * math/s_casin.c (__casin): Likewise.
10123         * math/s_casinf.c (__casinf): Likewise.
10124         * math/s_casinl.c (__casinl): Likewise.
10125         * math/s_cproj.c (__cproj): Likewise.
10126         * math/s_cprojf.c (__cprojf): Likewise.
10127         * math/s_cprojl.c (__cprofl): Likewise.
10128         * math/s_ctan.c (__ctan): Likewise.
10129         * math/s_ctanf.c (__ctanf): Likewise.
10130         * math/s_ctanh.c (__ctanh): Likewise.
10131         * math/s_ctanhf.c (__ctanhf): Likewise.
10132         * math/s_ctanhl.c (__ctanhl): Likewise.
10133         * math/s_ctanl.c (__ctanl): Likewise.
10134         * math/w_fmod.c (__fmod): Likewise.
10135         * math/w_fmodf.c (__fmodf): Likewise.
10136         * math/w_fmodl.c (_fmodl): Likewise.
10137         * math/w_remainder.c (__remainder): Likewise.
10138         * math/w_remainderf.c (__remainderf): Likewise.
10139         * math/w_remainderl.c (__remainderl): Likewise.
10140         * math/w_scalb.c (__scalb): Likewise.
10141         * math/w_scalbf.c (__scalbf): Likewise.
10142         * math/w_scalbl.c (__scalbl): Likewise.
10143         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10144         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10145         with isinf.
10146         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10148         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10149         __isinf_nsf with isinf.
10150         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10151         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10152         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10153         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10154         with isinf.
10155         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10156         __isinf_nsl with isinf.
10157         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10158         with isinf.
10159         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10160         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10161         __isinf_nsl with isinf.
10162         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10163         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10164         with isinf.
10166 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10168         * resolv/base64.c (rcsid): Remove unused static.
10169         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10170         static.  (tqpi1): Likewise.
10171         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10172         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10173         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10174         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10176         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10177         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10178         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10179         Likewise.
10181 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10183         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10184         <nptl/pthreadP.h>.
10185         (_longjmp_unwind): Use __libc_ptf_call.
10186         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10188 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10190         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10191         * sysdeps/arm/__longjmp.S: Likewise.
10193 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10195         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10196         Use __builtin_signbit.
10197         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10198         Use __builtin_signbitf.
10199         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10200         Use __builtin_signbitl.
10201         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10202         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10204 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10206         [BZ #15367]
10207         [BZ #17441]
10209         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10210         * math/math.h (fpclassify): Use __builtin_fpclassify when
10211         available.  (signbit): Use __builtin_signbit(f/l).
10212         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10213         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10214         (isinf): Use __builtin_isinf_sign.
10216 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10218         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10219         * benchtests/bench-math-inlines.c: New benchmark.
10220         * benchtests/bench-util.h: New file.
10221         * benchtests/bench-util.c: New file.
10222         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10224 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10226         * elf/tst-dlmopen1.c: Define TEST_SO.
10227         (do_test): Use TEST_SO.
10229         * elf/dl-load.c: Include libc-internal.h.
10230         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10232 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10234         [BZ #17887]
10235         * time/strptime_l.c (__strptime_internal): Make %z accept
10236         [+-]HH:MM time zones.
10238 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10240         [BZ #17886]
10241         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10242         valid time zone.
10244 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10246         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10247         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10248         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10249         (__ASSUME_FDATASYNC): Delete.
10251 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10253         * conform/linknamespace.pl: Require weak undefined symbols to be
10254         in the standard namespace.
10255         (%strong_syms): Rename to %seen_syms.
10256         (%strong_seen): Rename to %seen_where.
10258 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10260         [BZ #18970]
10261         * misc/error.c (error): Replace pthread_setcancelstate with
10262         __pthread_setcancelstate.
10263         (error_at_line): Likewise.
10264         * posix/wordexp.c (parse_comm): Likewise.
10265         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10266         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10267         (__pthread_setcancelstate): This.
10268         (pthread_setcancelstate): Add an alias.
10269         * nptl/nptl-init.c (pthread_functions): Replace
10270         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10271         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10272         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10273         hidden_proto.
10274         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10275         it with hidden_def.
10276         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10277         (pthread_setcancelstate): Renamed to ...
10278         (__pthread_setcancelstate): This.
10279         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10280         __libc_ptf_call with __pthread_setcancelstate.
10282 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10283             Andreas Schwab  <schwab@suse.de>
10285         [BZ #17118]
10286         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10287         result when imaginary part of argument is infinite using sine and
10288         cosine.
10289         * math/s_ctanf.c (__ctanf): Likewise.
10290         * math/s_ctanl.c (__ctanl): Likewise.
10291         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10292         of result when real part of argument is infinite using sine and
10293         cosine.
10294         * math/s_ctanhf.c (__ctanhf): Likewise.
10295         * math/s_ctanhl.c (__ctanhl): Likewise.
10296         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10297         (ctanh_test_data): Add more tests of ctanh.
10299 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10301         [BZ #15384]
10302         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10303         bit-mask as in subtraction.
10304         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10305         Likewise.
10306         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10307         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10308         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10310         [BZ #18951]
10311         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10312         underflow exception for small results.
10313         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10314         Likewise.
10315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10316         Likewise.
10317         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10318         Likewise.
10319         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10320         Likewise.
10321         * math/auto-libm-test-in: Add more tests of tgamma.
10322         * math/auto-libm-test-out: Regenerated.
10324 2015-09-17  Andreas Schwab  <schwab@suse.de>
10326         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10328 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10330         [BZ #18977]
10331         * math/bits/mathcalls.h
10332         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10333         not declare.
10334         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10335         Likewise.
10336         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10337         Likewise.
10338         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10339         Likewise.
10340         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10341         Likewise.
10342         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10343         Likewise.
10344         * conform/data/math.h-data
10345         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10346         function.
10347         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10348         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10349         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10350         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10351         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10352         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10353         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10354         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10355         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10356         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10357         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10359         [BZ #6803]
10360         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10361         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10362         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10363         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10364         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10365         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10366         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10367         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10368         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10369         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10370         Likewise.
10371         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10372         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10373         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10374         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10375         long_double_symbol calls.
10376         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10377         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10378         strong alias of __ldexpl.
10379         (scalbnl): Define using long_double_symbol.
10380         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10381         Remove alias.
10382         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10383         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10384         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10385         (scalbln_test_data): Add more errno expectations.
10387 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10389         Cache the host port like we cache the task port.  This way we do not
10390         need to call the kernel just to get the port.  Furthermore, we no
10391         longer increase the reference count on every invocation of
10392         `mach_host_self'.
10394         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10395         Protect declarations against the macro expansion.
10396         * mach/mach_init.c (__mach_host_self_): New variable.
10397         (mach_init): Initialize `__mach_host_self_'.
10398         * mach/mach_init.h (__mach_host_self_): New declaration.
10399         (__mach_host_self, mach_host_self): New macros.
10400         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10401         Release reference.
10403 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10405         [BZ #4404]
10406         * po/de.po: Update from Translation Project.
10408         [BZ #16415]
10409         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10410         (__expm1l): Remove code to handle positive infinity and overflow.
10411         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10412         variable.
10413         (__expm1l): Remove code to handle positive infinity and overflow.
10415 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10416             Paul Pluzhnikov  <ppluzhnikov@google.com>
10418         [BZ #18872]
10419         * stdio-common/Makefile (tst-printf-bz18872): New test.
10420         (tst-printf-bz18872-mem.out): Likewise.
10421         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10422         * stdio-common/vfprintf.c: Fix memory leaks.
10424 2015-09-16  Andreas Schwab  <schwab@suse.de>
10426         [BZ #17244]
10427         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10428         Remove extra va_start/va_end calls.
10430         [BZ #17243]
10431         * posix/execl.c (execl): Add missing va_end.
10432         * posix/execle.c (execle): Likewise.
10433         * posix/execlp.c (execlp): Likewise.
10435 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10437         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10438         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10440 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10442         [BZ #18967]
10443         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10444         undefine around includes of <bits/mathcalls.h>.
10445         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10446         not declare function.
10447         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10448         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10449         (scalb): Likewise.
10450         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10451         not define macro.
10452         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10453         variable.
10454         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10455         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10456         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10458         [BZ #18857]
10459         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10460         return non-finite argument without doing ordered comparisons on
10461         it.
10463         [BZ #16296]
10464         * math/fenv.h (fegetround): Use __attribute_pure__.
10465         * include/fenv.h (__fegetround): Likewise.
10467         [BZ #18595]
10468         * math/s_ctan.c (__ctan): Force underflow exception for results
10469         whose real or imaginary part has small absolute value.
10470         * math/s_ctanf.c (__ctanf): Likewise.
10471         * math/s_ctanh.c (__ctanh): Likewise.
10472         * math/s_ctanhf.c (__ctanhf): Likewise.
10473         * math/s_ctanhl.c (__ctanhl): Likewise.
10474         * math/s_ctanl.c (__ctanl): Likewise.
10475         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10476         and ctanh.  Add more tests of ctan and ctanh.
10478         [BZ #15918]
10479         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10480         handling of cases where one argument is an infinity.
10482         [BZ #18875]
10483         [BZ #18966]
10484         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10485         (MO): New macro.
10486         (__ieee754_exp10): For small results, force underflow exception
10487         and remove excess range and precision from return value.
10488         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10489         (MO): New macro.
10490         (__ieee754_exp10f): For small results, force underflow exception
10491         and remove excess range and precision from return value.
10492         * math/auto-libm-test-in: Add more tests of exp10.
10493         * math/auto-libm-test-out: Regenerated.
10495 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10497         [BZ #18875]
10498         [BZ #18961]
10499         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10500         (MO): New macro.
10501         (__ieee754_exp): For small results, force underflow exception and
10502         remove excess range and precision from return value.
10503         (__exp_finite): Likewise.
10504         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10505         (MO): New macro.
10506         (__ieee754_expf): For small results, force underflow exception and
10507         remove excess range and precision from return value.
10508         (__expf_finite): Likewise.
10509         * math/auto-libm-test-in: Add more tests of exp.
10510         * math/auto-libm-test-out: Regenerated.
10512         [BZ #16521]
10513         [BZ #18875]
10514         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10515         small results.
10516         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10517         (MO): New macro.
10518         (__ieee754_exp2): For small results, force underflow exception and
10519         remove excess range and precision from return value.
10520         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10521         (MO): New macro.
10522         (__ieee754_exp2f): For small results, force underflow exception
10523         and remove excess range and precision from return value.
10524         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10525         (MO): New macro.
10526         (__ieee754_exp2l): Force underflow exception for small results.
10527         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10528         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10529         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10530         (MO): New macro.
10531         (__ieee754_exp2l): Force underflow exception for small results.
10532         * math/auto-libm-test-in: Add more tests or exp2.
10533         * math/auto-libm-test-out: Regenerated.
10535 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10537         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10539         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10540         /dev/null.
10542 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10544         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10545         io fs process)): Drop spurious backslash.
10547 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10549         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10550         Use sysinfo system call instead of parsing /proc/meminfo.
10551         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10552         Likewise.
10554 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10556         [BZ #16985]
10557         * programs/localedef.c (main): Display argv[remaining] when
10558         output_path is NULL.
10560 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10562         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10563         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10564         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10565         tanh.
10566         * math/auto-libm-test-out: Regenerated.
10567         * sysdeps/i386/fpu/libm-test-ulps: Update.
10568         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10569         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10572 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10574         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10575         Use 'override' keyword to freeze the value here, preventing
10576         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10578 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10580         [BZ #14912]
10581         * sysdeps/aarch64/bits/atomic.h: Move to ...
10582         * sysdeps/aarch64/atomic-machine.h: ...here.
10583         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10584         _AARCH64_ATOMIC_MACHINE_H.
10585         * sysdeps/alpha/bits/atomic.h: Move to ...
10586         * sysdeps/alpha/atomic-machine.h: ...here.
10587         * sysdeps/arm/bits/atomic.h: Move to ...
10588         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10589         * bits/atomic.h: Move to ...
10590         * sysdeps/generic/atomic-machine.h: ...here.
10591         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10592         * sysdeps/i386/bits/atomic.h: Move to ...
10593         * sysdeps/i386/atomic-machine.h: ...here.
10594         * sysdeps/ia64/bits/atomic.h: Move to ...
10595         * sysdeps/ia64/atomic-machine.h: ...here.
10596         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10597         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10598         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10599         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10600         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10601         * sysdeps/microblaze/bits/atomic.h: Move to ...
10602         * sysdeps/microblaze/atomic-machine.h: ...here.
10603         * sysdeps/mips/bits/atomic.h: Move to ...
10604         * sysdeps/mips/atomic-machine.h: ...here.
10605         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10606         * sysdeps/powerpc/bits/atomic.h: Move to ...
10607         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10608         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10609         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10610         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10611         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10612         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10613         <atomic-machine.h> instead of <bits/atomic.h>.
10614         * sysdeps/s390/bits/atomic.h: Move to ...
10615         * sysdeps/s390/atomic-machine.h: ...here.
10616         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10617         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10618         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10619         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10620         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10621         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10622         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10623         * sysdeps/tile/bits/atomic.h: Move to ...
10624         * sysdeps/tile/atomic-machine.h: ...here.
10625         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10626         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10627         <sysdeps/tile/atomic-machine.h> instead of
10628         <sysdeps/tile/bits/atomic.h>.
10629         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10630         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10631         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10632         <sysdeps/tile/atomic-machine.h> instead of
10633         <sysdeps/tile/bits/atomic.h>.
10634         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10635         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10636         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10637         <sysdeps/arm/atomic-machine.h> instead of
10638         <sysdeps/arm/bits/atomic.h>.
10639         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10640         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10641         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10642         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10643         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10644         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10645         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10646         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10647         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10648         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10649         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10650         * sysdeps/x86_64/bits/atomic.h: Move to ...
10651         * sysdeps/x86_64/atomic-machine.h: ...here.
10652         * include/atomic.h: Include <atomic-machine.h> instead of
10653         <bits/atomic.h>.
10655         * sysdeps/mips/mips32/libm-test-ulps: Update.
10656         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10658         [BZ #18952]
10659         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10660         not convert non-integer negative arguments to int to determine the
10661         value of signgam.
10662         * math/auto-libm-test-in: Add more tests of lgamma.
10663         * math/auto-libm-test-out: Regenerated.
10665         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10666         cosh, csqrt, erfc, expm1 and lgamma.
10667         * math/auto-libm-test-out: Regenerated.
10668         * sysdeps/i386/fpu/libm-test-ulps: Update.
10669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10671 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10673         [BZ #2542]
10674         [BZ #2543]
10675         [BZ #2558]
10676         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10677         __lgamma_neg for arguments from -28.0 to -2.0.
10678         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10679         __lgamma_negf for arguments from -15.0 to -2.0.
10680         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10681         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10682         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10683         Call __lgamma_negl for arguments from -33.0 to -2.0.
10684         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10685         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10686         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10687         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10688         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10691         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10692         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10694         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10695         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10696         (__lgamma_neg): Likewise.
10697         (__lgamma_negl): Likewise.
10698         (__lgamma_product): Likewise.
10699         (__lgamma_productl): Likewise.
10700         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10701         * math/auto-libm-test-in: Add more tests of lgamma.
10702         * math/auto-libm-test-out: Regenerated.
10703         * sysdeps/i386/fpu/libm-test-ulps: Update.
10704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10706 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10708         [BZ #18675]
10709         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10711 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10713         [BZ #14912]
10714         * bits/libc-lock.h: Move to ...
10715         * sysdeps/generic/libc-lock.h: ...here.
10716         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10717         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10718         * sysdeps/mach/hurd/libc-lock.h: ...here.
10719         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10720         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10721         * sysdeps/mach/bits/libc-lock.h: Move to ...
10722         * sysdeps/mach/libc-lock.h: ...here.
10723         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10724         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10725         * sysdeps/nptl/libc-lock.h: ...here.
10726         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10727         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10728         * sysdeps/nptl/libc-lockP.h: ...here.
10729         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10730         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10731         <bits/libc-lock.h>.
10732         * dirent/scandir-tail.c: Likewise.
10733         * dlfcn/dlerror.c: Likewise.
10734         * elf/dl-close.c: Likewise.
10735         * elf/dl-iteratephdr.c: Likewise.
10736         * elf/dl-lookup.c: Likewise.
10737         * elf/dl-open.c: Likewise.
10738         * elf/dl-support.c: Likewise.
10739         * elf/dl-writev.h: Likewise.
10740         * elf/rtld.c: Likewise.
10741         * grp/fgetgrent.c: Likewise.
10742         * gshadow/fgetsgent.c: Likewise.
10743         * gshadow/sgetsgent.c: Likewise.
10744         * iconv/gconv_conf.c: Likewise.
10745         * iconv/gconv_db.c: Likewise.
10746         * iconv/gconv_dl.c: Likewise.
10747         * iconv/gconv_int.h: Likewise.
10748         * iconv/gconv_trans.c: Likewise.
10749         * include/link.h: Likewise.
10750         * inet/getnameinfo.c: Likewise.
10751         * inet/getnetgrent.c: Likewise.
10752         * inet/getnetgrent_r.c: Likewise.
10753         * intl/bindtextdom.c: Likewise.
10754         * intl/dcigettext.c: Likewise.
10755         * intl/finddomain.c: Likewise.
10756         * intl/gettextP.h: Likewise.
10757         * intl/loadmsgcat.c: Likewise.
10758         * intl/localealias.c: Likewise.
10759         * intl/textdomain.c: Likewise.
10760         * libidn/idn-stub.c: Likewise.
10761         * libio/libioP.h: Likewise.
10762         * locale/duplocale.c: Likewise.
10763         * locale/freelocale.c: Likewise.
10764         * locale/newlocale.c: Likewise.
10765         * locale/setlocale.c: Likewise.
10766         * login/getutent_r.c: Likewise.
10767         * login/getutid_r.c: Likewise.
10768         * login/getutline_r.c: Likewise.
10769         * login/utmp-private.h: Likewise.
10770         * login/utmpname.c: Likewise.
10771         * malloc/mtrace.c: Likewise.
10772         * misc/efgcvt.c: Likewise.
10773         * misc/error.c: Likewise.
10774         * misc/fstab.c: Likewise.
10775         * misc/getpass.c: Likewise.
10776         * misc/mntent.c: Likewise.
10777         * misc/syslog.c: Likewise.
10778         * nis/nis_call.c: Likewise.
10779         * nis/nis_callback.c: Likewise.
10780         * nis/nss-default.c: Likewise.
10781         * nis/nss_compat/compat-grp.c: Likewise.
10782         * nis/nss_compat/compat-initgroups.c: Likewise.
10783         * nis/nss_compat/compat-pwd.c: Likewise.
10784         * nis/nss_compat/compat-spwd.c: Likewise.
10785         * nis/nss_nis/nis-alias.c: Likewise.
10786         * nis/nss_nis/nis-ethers.c: Likewise.
10787         * nis/nss_nis/nis-grp.c: Likewise.
10788         * nis/nss_nis/nis-hosts.c: Likewise.
10789         * nis/nss_nis/nis-network.c: Likewise.
10790         * nis/nss_nis/nis-proto.c: Likewise.
10791         * nis/nss_nis/nis-pwd.c: Likewise.
10792         * nis/nss_nis/nis-rpc.c: Likewise.
10793         * nis/nss_nis/nis-service.c: Likewise.
10794         * nis/nss_nis/nis-spwd.c: Likewise.
10795         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10796         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10797         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10798         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10799         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10800         * nis/nss_nisplus/nisplus-network.c: Likewise.
10801         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10802         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10803         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10804         * nis/nss_nisplus/nisplus-service.c: Likewise.
10805         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10806         * nis/ypclnt.c: Likewise.
10807         * nptl/libc_pthread_init.c: Likewise.
10808         * nss/getXXbyYY.c: Likewise.
10809         * nss/getXXent.c: Likewise.
10810         * nss/getXXent_r.c: Likewise.
10811         * nss/nss_db/db-XXX.c: Likewise.
10812         * nss/nss_db/db-netgrp.c: Likewise.
10813         * nss/nss_db/nss_db.h: Likewise.
10814         * nss/nss_files/files-XXX.c: Likewise.
10815         * nss/nss_files/files-alias.c: Likewise.
10816         * nss/nsswitch.c: Likewise.
10817         * posix/regex_internal.h: Likewise.
10818         * posix/wordexp.c: Likewise.
10819         * pwd/fgetpwent.c: Likewise.
10820         * resolv/res_hconf.c: Likewise.
10821         * resolv/res_libc.c: Likewise.
10822         * shadow/fgetspent.c: Likewise.
10823         * shadow/lckpwdf.c: Likewise.
10824         * shadow/sgetspent.c: Likewise.
10825         * socket/opensock.c: Likewise.
10826         * stdio-common/reg-modifier.c: Likewise.
10827         * stdio-common/reg-printf.c: Likewise.
10828         * stdio-common/reg-type.c: Likewise.
10829         * stdio-common/vfprintf.c: Likewise.
10830         * stdio-common/vfscanf.c: Likewise.
10831         * stdlib/abort.c: Likewise.
10832         * stdlib/cxa_atexit.c: Likewise.
10833         * stdlib/fmtmsg.c: Likewise.
10834         * stdlib/random.c: Likewise.
10835         * stdlib/setenv.c: Likewise.
10836         * string/strsignal.c: Likewise.
10837         * sunrpc/auth_none.c: Likewise.
10838         * sunrpc/bindrsvprt.c: Likewise.
10839         * sunrpc/create_xid.c: Likewise.
10840         * sunrpc/key_call.c: Likewise.
10841         * sunrpc/rpc_thread.c: Likewise.
10842         * sysdeps/arm/backtrace.c: Likewise.
10843         * sysdeps/generic/ldsodefs.h: Likewise.
10844         * sysdeps/generic/stdio-lock.h: Likewise.
10845         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10846         * sysdeps/i386/backtrace.c: Likewise.
10847         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10848         * sysdeps/m68k/backtrace.c: Likewise.
10849         * sysdeps/mach/hurd/cthreads.c: Likewise.
10850         * sysdeps/mach/hurd/dirstream.h: Likewise.
10851         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10852         * sysdeps/nptl/malloc-machine.h: Likewise.
10853         * sysdeps/nptl/stdio-lock.h: Likewise.
10854         * sysdeps/posix/dirstream.h: Likewise.
10855         * sysdeps/posix/getaddrinfo.c: Likewise.
10856         * sysdeps/posix/system.c: Likewise.
10857         * sysdeps/pthread/aio_suspend.c: Likewise.
10858         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10859         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10860         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10861         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10862         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10863         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10864         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10865         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10866         * sysdeps/unix/sysv/linux/system.c: Likewise.
10867         * sysdeps/x86_64/backtrace.c: Likewise.
10868         * time/alt_digit.c: Likewise.
10869         * time/era.c: Likewise.
10870         * time/tzset.c: Likewise.
10871         * wcsmbs/wcsmbsload.c: Likewise.
10872         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10873         instead of <bits/libc-lock.h> in comment.
10875 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10877         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10878         Only use .set mips2 if the current ISA is below mips2.
10879         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10880         Likewise.
10881         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10882         mips32r2 if the current ISA is below mips32r2.
10883         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10884         (TLS_IE): Updated to use the TLD_RDHWR macro.
10885         (TLS_LE): Likewise.
10886         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10887         __ASSEMBLER__ condition.
10889 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10891         Fix parallel build of before-compile targets.
10893         * sysdeps/mach/Makefile ($(patsubst
10894         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10895         mach-before-compile target.
10896         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10897         io fs process)): Move rule to dedicated hurd-before-compile target.
10899 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10901         Fix rules generating headers in hurd/ and mach/ when initial make call
10902         has subdir= explicitly set.
10904         * sysdeps/mach/Makefile ($(patsubst
10905         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10906         calling $(MAKE).
10907         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10908         io fs process)): Force subdir to hurd when calling $(MAKE).
10909         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10910         subdir to mach when calling $(MAKE).
10912 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10914         Check sysheaders when looking for Mach and Hurd headers
10916         * sysdeps/mach/configure.ac: Add sysheaders check.
10917         * sysdeps/mach/configure: Regenerate.
10918         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10919         * sysdeps/mach/hurd/configure: Regenerate.
10921 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10923         [BZ #18921]
10924         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10925         Fix inverted sense of test of 'o_directory_works' value.
10926         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10927         Bernhard Voelker <mail@bernhard-voelker.de>.
10929 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10931         [BZ #14912]
10932         * bits/linkmap.h: Move to ...
10933         * sysdeps/generic/linkmap.h: ...here.
10934         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10935         * sysdeps/aarch64/linkmap.h: ...here.
10936         * sysdeps/arm/bits/linkmap.h: Move to ...
10937         * sysdeps/arm/linkmap.h: ...here.
10938         * sysdeps/hppa/bits/linkmap.h: Move to ...
10939         * sysdeps/hppa/linkmap.h: ...here.
10940         * sysdeps/ia64/bits/linkmap.h: Move to ...
10941         * sysdeps/ia64/linkmap.h: ...here.
10942         * sysdeps/mips/bits/linkmap.h: Move to ...
10943         * sysdeps/mips/linkmap.h: ...here.
10944         * sysdeps/s390/bits/linkmap.h: Move to ...
10945         * sysdeps/s390/linkmap.h: ...here.
10946         * sysdeps/sh/bits/linkmap.h: Move to ...
10947         * sysdeps/sh/linkmap.h: ...here.
10948         * sysdeps/x86/bits/linkmap.h: Move to ...
10949         * sysdeps/x86/linkmap.h: ...here.
10950         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10952 2015-09-04  Andreas Schwab  <schwab@suse.de>
10954         [BZ #18635]
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10956         (__makecontext): Terminate FDE before return label.
10957         (__novec_makecontext): Likewise.
10959 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10961         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10962         first member of struct sv in syscall macro.
10964 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #14912]
10967         * bits/stdio-lock.h: Move to ...
10968         * sysdeps/generic/stdio-lock.h: ...here.
10969         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10970         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10971         * sysdeps/nptl/stdio-lock.h: ...here.
10972         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10973         * include/libio.h: Include <stdio-lock.h> instead of
10974         <bits/stdio-lock.h>.
10975         * sysdeps/nptl/fork.c: Likewise.
10976         * sysdeps/pthread/flockfile.c: Likewise.
10977         * sysdeps/pthread/ftrylockfile.c: Likewise.
10978         * sysdeps/pthread/funlockfile.c: Likewise.
10980         [BZ #14912]
10981         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10982         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10983         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10984         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10985         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10986         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10987         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10989 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10991         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10992         (test-xfail-tst-protected1b): New variable.
10994 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10996         [BZ #14912]
10997         * bits/libc-tsd.h: Move to ...
10998         * sysdeps/generic/libc-tsd.h: ...here.
10999         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11000         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11001         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11002         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11003         * include/ctype.h: Include <libc-tsd.h> instead of
11004         <bits/libc-tsd.h>.
11005         * include/rpc/rpc.h: Likewise.
11006         * locale/localeinfo.h: Likewise.
11007         * sunrpc/rpc_thread.c: Likewise.
11008         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11009         * sysdeps/nptl/malloc-machine.h: Likewise.
11011         * Makefile (headers): Remove bits/libc-lock.h.
11012         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11014         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11015         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11016         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11017         <bits/stdio-lock.h>.
11018         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11019         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11021 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11023         [BZ #18757]
11024         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11025         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11026         BZ #18757.
11028 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11030         * malloc/mtrace.pl: Filter out NULL entries.
11032 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11034         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11035         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11036         macro.
11038         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11039         (TCP_CC_INFO): Likewise.
11040         (TCP_SAVE_SYN): Likewise.
11041         (TCP_SAVED_SYN): Likewise.
11043 2015-08-31  Brett Neumeier <brett@neumeier.us>
11045         [BZ #18870]
11046         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11048 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11050         [BZ #18873]
11051         Fix broken overflow check in posix_fallocate
11052         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11053         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11054         Fix parenthesization typo.
11056 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11058         [BZ #18887]
11059         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11060         tst-mntent-blank-passno.
11061         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11062         * misc/tst-mntent-blank-corrupt.c: New test.
11063         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11064         * misc/tst-mntent.c (do_test): ... here.
11066 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11068         [BZ #4404]
11069         * po/de.po: Fix SIGALRM typo.
11071 2015-08-28  James Perkins  <james@loowit.net>
11073         * time/tst-strptime2.c (tests): Replace short list of test
11074         strings for strptime %z specifier with code which exhaustively
11075         tests every combination of sign and 0 to 5 digits. Tests for
11076         rejection of invalid strings.
11078 2015-08-28  James Perkins  <james@loowit.net>
11080         [BZ #16141]
11081         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11082         calculation, removing incorrect decimal time rounding, so that
11083         all minute values result in a valid seconds value.
11084         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11085         offset range limits to UTC-99:59 through UTC+99:59 to parse
11086         current and historical use cases.
11087         * time/tst-strptime2.c (tests): Modify and add tests for the
11088         strptime %z input field descriptor, specifically conversion of
11089         minutes to seconds and validating an offset range of -9959 to
11090         +9959.
11092 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11093             Dmitry V. Levin  <ldv@altlinux.org>
11095         [BZ #18877]
11096         * posix/Makefile (tests): Add tst-mmap-offset.
11097         * posix/tst-mmap.c: New file.
11098         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11099         offset calculation for negative values.
11101 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11103         * sysdeps/i386/init-arch.h: New file.
11104         * sysdeps/i386/i586/init-arch.h: Likewise.
11105         * sysdeps/i386/i686/init-arch.h: Likewise.
11106         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11107         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11108         * sysdeps/x86/cpu-features.h (bit_I586): New.
11109         (bit_I686): Likewise.
11110         (bit_CX8): Likewise.
11111         (bit_CMOV): Likewise.
11112         (index_CX8): Likewise.
11113         (index_CMOV): Likewise.
11114         (index_I586): Likewise.
11115         (index_I686): Likewise.
11116         (reg_CX8): Likewise.
11117         (reg_CMOV): Likewise.
11118         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11119         available at compile-time.
11120         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11121         available at compile-time.
11122         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11123         (USE_I686): Likewise.
11125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11127         * sysdeps/i386/bcopy.S: New file.
11128         * sysdeps/i386/bzero.S: Likewise.
11129         * sysdeps/i386/memcpy.S: Likewise.
11130         * sysdeps/i386/memmove.S: Likewise.
11131         * sysdeps/i386/mempcpy.S: Likewise.
11132         * sysdeps/i386/memset.S: Likewise.
11133         * sysdeps/i386/bzero.c: Removed.
11134         * sysdeps/i386/memset.c: Likewise.
11135         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11136         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11137         * sysdeps/i386/i586/memset_chk.S: Likewise.
11138         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11139         * sysdeps/i386/memcpy_chk.S: Here.
11140         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11141         * sysdeps/i386/memmove_chk.S: Here.
11142         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11143         * sysdeps/i386/mempcpy_chk.S: Likewise.
11144         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11145         * sysdeps/i386/memset_chk.S: Likewise.
11147 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11149         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11150         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11151         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11152         * soft-fp/fmadf4.c: Ditto.
11153         * soft-fp/fmatf4.c: Ditto.
11155 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11157         * sysdeps/i386/i586/Implies: Removed.
11158         * sysdeps/i386/i686/Implies: Likewise.
11160 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11162         * sysdeps/i386/i486/strlen.S: Moved to ...
11163         * sysdeps/i386/strlen.S: Here.
11165 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11167         * sysdeps/i386/i486/strcat.S: Moved to ...
11168         * sysdeps/i386/strcat.S: Here.
11170 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11172         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11173         * sysdeps/i386/pthread_spin_trylock.S: Here.
11174         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11175         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11177 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11179         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11180         * sysdeps/i386/string-inlines.c: Here.
11182 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11184         * sysdeps/i386/i486/htonl.S: Moved ...
11185         * sysdeps/i386/htonl.S: here.
11187 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11189         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11190         * sysdeps/i386/bits/atomic.h: Here.
11192 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11194         * sysdeps/i386/i486/Versions: Removed.
11196 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11198         [BZ #2898]
11199         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11200         Based on patch by Aurelien Jarno.
11202 2015-08-26  Stan Shebs  <stanshebs@google.com>
11204         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11205         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11207 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11209         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11210         * sysdeps/powerpc/dl-procinfo.c:
11211         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11212         feature so it shows when LD_SHOW_AUXV=1.
11214 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11216         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11217         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11218         definition.  ISA 2.07B no longer requires full sync.
11220 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11222         [BZ #18863]
11223         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11224         (si_call_addr): Define.
11225         (si_syscall): Define.
11226         (si_arch): Define.
11228 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11230         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11231         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11232         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11233         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11234         (__memset_zero_constant_len_parameter): New.
11235         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11236         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11237         (__memset_zero_constant_len_parameter): Don't define if
11238         __memset_chk or USE_AS_BZERO are defined.
11240         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11241         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11242         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11244         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11245         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11246         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11247         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11248         comments.
11249         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11250         -mno-mmx for $(all-rtld-routines).
11251         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11252         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11253         i386.
11255 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11257         * sysdeps/generic/unwind.h
11258         (_Unwind_Word): Use __mode__(__unwind_word__)
11259         instead of __mode__(__word__).
11260         (_Unwind_Sword): Likewise.
11262         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11263         (MAX_NEEDED_INPUT): New define.
11264         (MAX_NEEDED_OUTPUT): New define.
11266         * NEWS: New item for IBM z13 string optimizations.
11268         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11269         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11270         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11271         * sysdeps/s390/multiarch/Makefile
11272         (sysdep_routines): Add memrchr functions.
11273         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11274         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11276         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11277         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11278         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11279         * sysdeps/s390/multiarch/Makefile
11280         (sysdep_routines): Add wmemcmp functions.
11281         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11282         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11283         * benchtests/bench-wmemcmp.c: New File.
11284         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11286         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11287         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11288         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11289         * sysdeps/s390/multiarch/Makefile
11290         (sysdep_routines): Add wmemset functions.
11291         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11292         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11293         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11294         * string/test-memset.c: Add wmemset support.
11295         * wcsmbs/test-wmemset.c: New File.
11296         * wcsmbs/Makefile (strop-tests): Add wmemset.
11297         * benchtests/bench-memset.c: Add wmemset support.
11298         * benchtests/bench-wmemset.c: New File.
11299         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11301         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11302         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11303         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11304         * sysdeps/s390/multiarch/Makefile
11305         (sysdep_routines): Add memccpy functions.
11306         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11307         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11308         * string/memccpy.c: Use MEMCCPY if defined.
11310         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11311         * sysdeps/s390/multiarch/memchr.c: Likewise.
11312         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11313         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11314         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11315         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11316         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11317         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11318         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11319         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11321         and rawmemchr functions.
11322         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11323         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11324         and wmemchr.
11325         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11326         * string/test-memchr.c: Add wmemchr support.
11327         * wcsmbs/test-wmemchr.c: New File.
11328         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11329         * benchtests/bench-memchr.c: Add wmemchr support.
11330         * benchtests/bench-wmemchr.c: New File.
11331         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11333         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11334         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11335         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11336         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11337         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11338         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11339         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11340         wcscspn functions.
11341         * sysdeps/s390/multiarch/ifunc-impl-list.c
11342         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11343         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11344         * string/test-strcspn.c: Add wcscspn support.
11345         * wcsmbs/test-wcscspn.c: New File.
11346         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11347         * benchtests/bench-strcspn.c: Add wcscspn support.
11348         * benchtests/bench-wcscspn.c: New File.
11349         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11351         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11352         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11353         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11354         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11355         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11356         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11357         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11358         wcspbrk functions.
11359         * sysdeps/s390/multiarch/ifunc-impl-list.c
11360         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11361         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11362         * string/test-strpbrk.c: Add wcspbrk support.
11363         * wcsmbs/test-wcspbrk.c: New File.
11364         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11365         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11366         * benchtests/bench-wcspbrk.c: New File.
11367         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11369         * sysdeps/s390/multiarch/strspn-c.c: New File.
11370         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11371         * sysdeps/s390/multiarch/strspn.c: Likewise.
11372         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11373         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11374         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11375         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11377         wcsspn functions.
11378         * sysdeps/s390/multiarch/ifunc-impl-list.c
11379         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11380         * string/test-strspn.c: Add wcsspn support.
11381         * wcsmbs/test-wcsspn.c: New File.
11382         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11383         * benchtests/bench-strspn.c: Add wcsspn support.
11384         * benchtests/bench-wcsspn.c: New File.
11385         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11387         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11388         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11389         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11390         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11391         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11392         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11394         wcsrchr functions.
11395         * sysdeps/s390/multiarch/ifunc-impl-list.c
11396         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11397         * benchtests/bench-wcsrchr.c: New File.
11398         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11400         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11401         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11402         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11403         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11404         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11405         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11406         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11407         wcschrnul functions.
11408         * sysdeps/s390/multiarch/ifunc-impl-list.c
11409         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11410         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11411         * string/test-strchr.c: Add wcschrnul support.
11412         * wcsmbs/test-wcschrnul.c: New File.
11413         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11414         * benchtests/bench-strchr.c: Add wcschrnul support.
11415         * benchtests/bench-wcschrnul.c: New File.
11416         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11418         * sysdeps/s390/multiarch/strchr-c.c: New File.
11419         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11420         * sysdeps/s390/multiarch/strchr.c: Likewise.
11421         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11422         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11423         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11425         wcschr functions.
11426         * sysdeps/s390/multiarch/ifunc-impl-list.c
11427         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11428         * string/strchr.c (STRCHR): Define and use macro.
11429         * benchtests/bench-wcschr.c: New File.
11430         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11432         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11433         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11434         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11435         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11436         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11437         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11438         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11439         wcsncmp functions.
11440         * sysdeps/s390/multiarch/ifunc-impl-list.c
11441         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11442         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11443         * benchtests/bench-strncmp.c: Add wcsncmp support.
11444         * benchtests/bench-wcsncmp.c: New File.
11445         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11447         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11448         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11449         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11450         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11451         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11452         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11453         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11454         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11455         wcscmp functions.
11456         * sysdeps/s390/multiarch/ifunc-impl-list.c
11457         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11458         * string/strcmp.c (STRCMP): Define and use macro.
11459         * benchtests/bench-wcscmp.c: New File.
11460         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11461         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11462         instead of _HAVE_STRING_ARCH_memchr.
11464         * sysdeps/s390/multiarch/strncat-c.c: New File.
11465         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11466         * sysdeps/s390/multiarch/strncat.c: Likewise.
11467         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11468         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11469         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11470         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11471         wcsncat functions.
11472         * sysdeps/s390/multiarch/ifunc-impl-list.c
11473         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11474         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11475         * string/test-strncat.c: Add wcsncat support.
11476         * wcsmbs/test-wcsncat.c: New File.
11477         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11478         * benchtests/bench-strncat.c: Add wcsncat support.
11479         * benchtests/bench-wcsncat.c: New File.
11480         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11482         * sysdeps/s390/multiarch/strcat-c.c: New File.
11483         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11484         * sysdeps/s390/multiarch/strcat.c: Likewise.
11485         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11486         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11487         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11488         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11489         wcscat functions.
11490         * sysdeps/s390/multiarch/ifunc-impl-list.c
11491         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11492         * string/strcat.c (STRCAT): Define and use macro.
11493         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11494         * string/test-strcat.c: Add wcscat support.
11495         * wcsmbs/test-wcscat.c: New File.
11496         * wcsmbs/Makefile (strop-tests): Add wcscat.
11497         * benchtests/bench-strcat.c: Add wcscat support.
11498         * benchtests/bench-wcscat.c: New File.
11499         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11501         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11502         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11503         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11504         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11505         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11506         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11507         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11508         wcpncpy functions.
11509         * sysdeps/s390/multiarch/ifunc-impl-list.c
11510         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11511         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11512         * string/test-stpncpy.c: Add wcpncpy support.
11513         * wcsmbs/test-wcpncpy.c: New File.
11514         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11515         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11516         * benchtests/bench-wcpncpy.c: New File.
11517         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11519         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11520         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11521         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11522         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11523         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11524         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11525         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11527         wcsncpy functions.
11528         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11529         * sysdeps/s390/multiarch/ifunc-impl-list.c
11530         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11531         * string/test-strncpy.c: Add wcsncpy support.
11532         * wcsmbs/test-wcsncpy.c: New File.
11533         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11534         * benchtests/bench-strncpy.c: Add wcsncpy support.
11535         * benchtests/bench-wcsncpy.c: New File.
11536         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11538         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11539         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11540         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11541         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11542         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11543         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11544         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11545         wcpcpy functions.
11546         * string/stpcpy.c: Use STPCPY if defined.
11547         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11548         * sysdeps/s390/multiarch/ifunc-impl-list.c
11549         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11550         * string/test-stpcpy.c: Add wcpcpy support.
11551         * wcsmbs/test-wcpcpy.c: New File.
11552         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11553         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11554         * benchtests/bench-wcpcpy.c: New File.
11555         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11557         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11558         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11559         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11560         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11561         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11562         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11563         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11564         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11565         wcscpy functions.
11566         * sysdeps/s390/multiarch/ifunc-impl-list.c
11567         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11568         * benchtests/bench-wcscpy.c: New File.
11569         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11571         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11572         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11573         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11574         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11575         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11576         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11577         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11578         wcsnlen functions.
11579         * sysdeps/s390/multiarch/ifunc-impl-list.c
11580         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11581         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11582         * string/test-strnlen.c: Add wcsnlen support.
11583         * wcsmbs/test-wcsnlen.c: New File.
11584         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11585         * benchtests/bench-strnlen.c: Add wcsnlen support.
11586         * benchtests/bench-wcsnlen.c: New File.
11587         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11589         * sysdeps/s390/multiarch/Makefile: New File.
11590         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11591         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11592         * sysdeps/s390/multiarch/strlen.c: Likewise.
11593         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11594         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11595         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11596         * string/strlen.c (STRLEN): Define and use macro.
11597         * sysdeps/s390/multiarch/ifunc-impl-list.c
11598         (IFUNC_VX_IMPL): New macro function.
11599         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11600         * benchtests/Makefile (wcsmbs-bench): New variable.
11601         (string-bench-all): Added wcsmbs-bench.
11602         * benchtests/bench-wcslen.c: New File.
11604         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11605         s390_vx_libc_ifunc2): New macro function.
11607         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11608         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11609         assembler support.
11610         * sysdeps/s390/configure: Regenerated.
11612         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11613         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11615         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11616         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11617         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11619         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11620         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11621         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11622         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11623         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11624         (memcmp, bcmp): Use __memcmp_default as alias source.
11625         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11626         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11627         Rename to __memcmp_default.
11628         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11629         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11630         (memcpy): Use __memcpy_default as alias source.
11631         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11632         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11633         Rename to __memcpy_default.
11634         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11635         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11636         (memset): Use __memset_default as alias source.
11637         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11638         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11639         Rename to __memset_default.
11640         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11641         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11642         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11643         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11644         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11645         (memcmp, bcmp): Use __memcmp_default as alias source.
11646         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11647         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11648         Rename to __memcmp_default.
11649         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11650         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11651         (memcpy): Use __memcpy_default as alias source.
11652         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11653         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11654         Rename to __memcpy_default.
11655         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11656         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11657         (memset): Use __memset_default as alias source.
11658         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11659         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11660         Rename to __memset_default.
11661         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11662         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11664         [BZ #18610]
11665         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11666         __ieee_instruction_pointer to __unused.
11667         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11668         __ieee_instruction_pointer.
11669         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11670         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11671         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11672         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11673         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11674         Mark dxc-field as reserved.
11676 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11678         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11679         if the weak reference is not null.
11681 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11683         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11685         [BZ #11214]
11686         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11688 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11690         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11691         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11692         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11693         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11694         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11695         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11696         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11697         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11698         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11699         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11700         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11701         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11702         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11703         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11704         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11705         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11706         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11707         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11709 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11711         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11712         register other than r0 for tabort, it has special meaning.
11713         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11714         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11715         transaction before starting syscall.
11717 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11719         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11721 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11725         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11726         * sysdeps/x86_64/rtld-memset.S: Likewise.
11727         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11728         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11729         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11730         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11732         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11734 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11736         * debug/strcpy_chk.c: Improve performance.
11737         * debug/stpcpy_chk.c: Likewise.
11738         * sysdeps/x86_64/strcpy_chk.S: Remove.
11739         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11741         [BZ #18240]
11742         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11744 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11746         [BZ #15128]
11747         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11748         ifuncmain8.
11749         (modules-names): Add ifuncmod8.
11750         ($(objpfx)ifuncmain8): New rule.
11751         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11752         <cpuid.h>.
11753         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11754         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11755         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11756         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11757         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11758         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11759         * sysdeps/x86_64/ifuncmain8.c: New file.
11760         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11761         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11762         Removed.
11763         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11764         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11765         Change rtld_savespace_sse to __glibc_unused2.
11766         (RTLD_CHECK_FOREIGN_CALL): Removed.
11767         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11768         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11769         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11771 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11773         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11775 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11777         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11778         Unconditionally set __fpcr to avoid uninialized warning.
11779         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11781 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11783         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11784         is corrupt.
11786         * malloc/arena.c (arena_get2): Drop unused argument.
11787         (arena_lock): Adjust.
11788         (arena_get_retry): Likewise.
11790 2015-08-24  Andreas Schwab  <schwab@suse.de>
11792         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11793         Don't define.
11794         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11795         (__ASSUME_IPC64): Don't undef.
11796         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11797         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11798         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11799         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11800         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11801         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11802         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11803         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11804         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11805         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11806         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11807         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11808         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11809         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11810         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11811         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11812         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11813         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11814         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11815         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11816         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11818 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11820         * manual/Makefile (install): Only build manual when perl is available.
11822 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11824         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11825         '#undef memcpy' by '#undef memchr'.
11827 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11829         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11830         memchr not point to the internal __GI_memchr implementation.
11832 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11834         * timezone/Makefile (CFLAGS-zdump.c): Remove
11835         -Wno-strict-prototypes.
11836         (CFLAGS-zic.c): Likewise.
11837         (CFLAGS-ialloc.c): Likewise.
11838         (CFLAGS-scheck.c): Likewise.
11840         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11841         -Wno-error=undef.
11843 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11845         * i386/i686/multiarch/strcasestr-c.c: Removed.
11846         * x86_64/multiarch/strcasestr.c: Likewise.
11847         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11848         Remove strcasestr.
11850 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11852         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11854         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11855         variables for high and low parts before possibly modifying them.
11857 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11859         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11860         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11861         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11862         of "multiarch/init-arch.h".
11863         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11864         * sysdeps/x86/init-arch.h: This.
11866 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11868         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11869         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11871 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11873         [BZ #17787]
11874         * manual/macros.texi: Add twoexp macro.
11875         * manual/filesys.texi: Fix exponents.
11876         * manual/llio.texi: Likewise.
11877         * manual/stdio.texi: Likewise.
11879 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11881         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11882         incorrect use.
11884 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11886         [BZ #18370]
11887         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11888         whose real or imaginary part has small absolute value.
11889         * math/s_csqrtf.c (__csqrtf): Likewise.
11890         * math/s_csqrtl.c (__csqrtl): Likewise.
11891         * math/auto-libm-test-in: Add more tests of csqrt.
11892         * math/auto-libm-test-out: Regenerated.
11893         * sysdeps/i386/fpu/libm-test-ulps: Update.
11895 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11897         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11898         __ppc_set_ppr_very_low): New functions.
11899         * manual/platform.texi: Add documentation about
11900         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11902 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11904         * string/stpncpy.c (stpncpy): Improve performance using
11905         __strnlen/memcpy/memset.
11907 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11909         [BZ #18796]
11910         * scripts/test-installation.pl: Don't add -lmvec to build options if
11911         libmvec wasn't built.
11913 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11915         [BZ #14341]
11916         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11917         case when there is a gap between DT_REL and DT_JMPREL sections.
11918         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11919         (LDFLAGS-tst-split-dynreloc): New.
11920         (tst-split-dynreloc-ENV): Likewise.
11921         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11922         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11924 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11926         [BZ #18822]
11927         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11928         attribute_hidden.
11929         (__xstat64_conv): Likewise.
11930         (__xstat32_conv): Likewise.
11932 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11934         [BZ #18822]
11935         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11936         Don't load %ebx when calling __setcontext.  Call __setcontext
11937         with HIDDEN_JUMPTARGET.
11938         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11939         libc_hidden_def.
11941 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11943         * sysdeps/i386/i686/Makefile
11944         [$(subdir) == string] (sysdep_routines): Moved to ...
11945         * sysdeps/i386/Makefile: Here.
11946         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11947         * sysdeps/i386/cacheinfo.c: Here.
11948         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11949         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11950         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11951         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11953 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11955         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11956         __i586__ is defined.
11957         (HAS_I686): Defined to 1 if __i686__ is defined.
11959 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11961         * elf/Makefile [$(have-z-execstack) = yes]
11962         (CPPFLAGS-tst-execstack.c): New variable.
11964         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11965         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11966         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11967         UTMPX || _HAVE_UT_TV].
11968         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11969         UTMPX || _HAVE_UT_TV - 0].
11971 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11973         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11974         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11975         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11977 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11979         * sysdeps/powerpc/dl-procinfo.c:
11980         (_dl_powerpc_cap_flags): Added missing strings for some
11981         hwcap features.
11982         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11984 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11986         Port the 0x7efe...feff pattern to GCC 6.
11987         See Steve Ellcey's bug report in:
11988         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11989         * string/memrchr.c (MEMRCHR):
11990         * string/rawmemchr.c (RAWMEMCHR):
11991         * string/strchr.c (strchr):
11992         * string/strchrnul.c (STRCHRNUL):
11993         Rewrite code to avoid issues with signed shift overflow.
11995 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11997         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11998         whether cpuid is available only if HAS_CPUID is 0.
11999         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12000         (HAS_I586): Likewise.
12001         (HAS_I686): Likewise.
12003 2015-08-18  Zack Weinberg  <zackw@panix.com>
12005         * misc/Versions (libc): Add GLIBC_2.23.
12007 2015-08-18  Alan Modra  <amodra@gmail.com>
12009         [BZ #18421]
12010         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12011         .Lp__global.
12012         (_start): Load %dp via .Lp__global.
12013         [!SHARED]: Use .section .rodata.
12015 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12017         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12018         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12020 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12022         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12023         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12025 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12027         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12028         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12030 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12032         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12033         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12035 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12037         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12038         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12040 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12042         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12043         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12045 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12047         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12049 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12051         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12052         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12053         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12054         (__ASSUME_LWS_CAS): Delete.
12056 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12058         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12059         * sysdeps/hppa/configure: Regenerated.
12060         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12061         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12062         * sysdeps/hppa/nptl/tls.h: Likewise.
12064 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12066         [BZ #18823]
12067         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12068         for scaling up small arguments.
12069         * math/s_csqrtf.c (__csqrtf): Likewise.
12070         * math/s_csqrtl.c (__csqrtl): Likewise.
12071         * math/auto-libm-test-in: Add more tests of csqrt.
12072         * math/auto-libm-test-out: Regenerated.
12074 2015-08-17  Andreas Schwab  <schwab@suse.de>
12076         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12077         version set GLIBC_2.19.
12079 2015-08-16  Zack Weinberg  <zackw@panix.com>
12081         [BZ #18681]
12082         * misc/regexp.h: This interface is no longer supported.
12083         Remove all contents, leaving only an #error directive.
12084         * misc/regexp.c (loc1, loc2, locs, step, advance):
12085         Demote to compatibility symbols.
12087 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12089         [BZ #18084]
12090         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12091         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12092         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12093         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12094         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12095         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12096         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12097         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12098         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12100 2015-08-15  Zack Weinberg  <zackw@panix.com>
12102         [BZ #18795]
12103         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12104         buffer length is known to be too large, not if it's known to be
12105         small enough.
12106         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12107         overflow at runtime, involving a length parameter, twice: once
12108         with a compile-time constant length parameter, once without.
12110 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12112         [BZ #18824]
12113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12114         scaling x * y up instead of down.
12115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12117         * math/auto-libm-test-in: Add more tests of fma.
12118         * math/auto-libm-test-out: Regenerated.
12120 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12124 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12126         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12127         unnecessary movq.
12128         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12129         Likewise.
12131 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12133         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12134         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12135         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12136         and tgamma.
12137         * math/auto-libm-test-out: Regenerated.
12138         * sysdeps/i386/fpu/libm-test-ulps: Update.
12139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12141         [BZ #16520]
12142         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12143         (__tanh): Force underflow exception for arguments with small
12144         absolute value.
12145         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12146         (__tanhf): Force underflow exception for arguments with small
12147         absolute value.
12148         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12149         (__tanhl): Force underflow exception for arguments with small
12150         absolute value.
12151         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12152         (__tanhl): Force underflow exception for arguments with small
12153         absolute value.
12154         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12155         (__tanhl): Force underflow exception for arguments with small
12156         absolute value.
12157         * math/auto-libm-test-in: Add more tests of tanh.
12158         * math/auto-libm-test-out: Regenerated.
12159         * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12163         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12164         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12166 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12168         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12169         <cpuid.h>.
12171 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12173         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12174         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12176 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12178         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12179         Remove $(objpfx)init-arch.o.
12180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12181         init-arch.
12182         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12183         (INIT_ARCH_EXT): Defined as empty.
12184         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12185         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12186         __init_cpu_features call.  Replace HAS_XXX with
12187         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12188         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12189         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12190         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12191         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12193         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12194         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12195         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12196         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12198         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12200         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12201         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12202         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12203         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12211         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12213         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12215         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12219         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12220         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12221         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12224 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12226         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12227         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12228         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12229         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12230         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12231         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12232         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12233         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12234         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12235         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12236         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12237         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12238         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12239         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12240         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12241         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12242         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12243         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12244         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12245         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12246         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12247         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12248         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12249         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12250         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12251         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12252         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12253         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12254         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12255         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12256         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12257         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12258         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12259         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12260         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12261         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12262         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12263         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12264         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12265         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12266         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12267         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12268         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12270 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12272         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12273         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12274         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12275         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12276         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12277         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12279         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12280         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12281         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12282         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12283         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12284         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12285         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12286         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12287         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12288         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12289         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12290         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12291         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12293         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12294         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12295         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12296         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12297         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12298         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12299         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12300         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12301         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12302         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12303         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12304         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12307         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12308         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12309         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12310         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12311         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12312         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12313         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12314         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12316 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12318         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12319         (dl_platform_init): Call init_cpu_features.
12320         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12321         * sysdeps/i386/i686/cacheinfo.c
12322         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12323         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12324         * sysdeps/i386/i686/multiarch/Versions: Removed.
12325         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12326         Removed.
12327         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12328         * sysdeps/unix/sysv/linux/x86/Makefile
12329         (libpthread-sysdep_routines): Remove init-arch.
12330         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12331         <sysdeps/x86_64/dl-procinfo.c> instead of
12332         sysdeps/generic/dl-procinfo.c>.
12333         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12334         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12335         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12336         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12337         [$(subdir) == elf] (tests-static): Add
12338         tst-get-cpu-features-static.
12339         * sysdeps/x86/Versions: New file.
12340         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12341         * sysdeps/x86/cpu-features.c: Likewise.
12342         * sysdeps/x86/cpu-features.h: Likewise.
12343         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12344         * sysdeps/x86/libc-start.c: Likewise.
12345         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12346         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12347         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12348         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12349         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12350         Assume USE_MULTIARCH is defined and don't check it.
12351         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12352         (is_amd): Likewise.
12353         (max_cpuid): Likewise.
12354         (intel_check_word): Likewise.
12355         (__cache_sysconf): Don't call __init_cpu_features.
12356         (__x86_preferred_memory_instruction): Removed.
12357         (init_cacheinfo): Don't call __init_cpu_features. Replace
12358         __cpu_features with GLRO(dl_x86_cpu_features).
12359         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12360         (dl_platform_init): Call init_cpu_features.
12361         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12362         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12363         * sysdeps/x86_64/multiarch/Versions: Removed.
12364         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12365         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12366         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12367         Removed.
12368         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12370 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12372         [BZ #18820]
12373         * libio/Makefile (test-fmemopen-mem): New test.
12374         * libio/test-fmemopen.c (do_bz18820): New test.
12375         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12376         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12378 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12380         [BZ #16734]
12381         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12382         (FREE_BUF): Delete.
12383         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12384         * libio/genops.c (_IO_setb): Use malloc and free directly.
12385         (_IO_default_doallocate, _IO_default_finish): Likewise.
12386         ( _IO_unbuffer_all): Likewise.
12387         ( libc_freeres_fn): Likewise.
12388         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12389         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12390         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12391         (_IO_wdefault_doallocate): Likewise.
12393 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12395         [BZ #18086]
12396         * sysdeps/posix/nice.c (nice): Restore old errno.
12397         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12399 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12401         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12403 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12405         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12406         __bcopy and add a weak_alias to bcopy.
12407         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12408         for static build.
12410         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12411         cleanup macro usage.
12412         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12414         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12415         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12416         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12417         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12418         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12419         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12420         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12421         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12422         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12423         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12425         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12427         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12428         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12430         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12432         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12433         libc_hidden_def.
12434         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12436         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12437         (sysdep_routines): Add strstr-ppc64.
12438         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12440 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12442         [BZ #18778]
12443         * elf/Makefile (tests): Add Add tst-nodelete2.
12444         (modules-names): Add tst-nodelete2mod.
12445         (tst-nodelete2mod.so-no-z-defs): New.
12446         ($(objpfx)tst-nodelete2): Likewise.
12447         ($(objpfx)tst-nodelete2.out): Likewise.
12448         (LDFLAGS-tst-nodelete2): Likewise.
12449         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12450         out of loop through all loaded libraries.
12451         * elf/tst-nodelete2.c: New file.
12452         * elf/tst-nodelete2mod.c: Likewise.
12453         * elf/tst-znodelete-zlib.cc: Delete.
12455 2015-08-11  Andreas Schwab  <schwab@suse.de>
12457         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12458         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12459         (__openat64_nocancel): Likewise.
12461 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12463         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12464         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12465         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12466         * math/auto-libm-test-out: Regenerated.
12467         * sysdeps/i386/fpu/libm-test-ulps: Update.
12468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12470 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12472         [BZ #18790]
12473         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12474         threshold for returning +/- 1.
12475         * math/auto-libm-test-in: Add more tests of tanh.
12476         * math/auto-libm-test-out: Regenerated.
12477         * sysdeps/i386/fpu/libm-test-ulps: Update.
12479 2015-08-10  Andreas Schwab  <schwab@suse.de>
12481         [BZ #18781]
12482         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12483         MORE_OFLAGS to oflag.
12484         * io/test-lfs.c (do_test): Test openat64.
12486 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12488         [BZ #18789]
12489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12490         smaller threshold for returning the argument.
12491         * math/auto-libm-test-in: Add more tests of sinh.
12492         * math/auto-libm-test-out: Regenerated.
12493         * sysdeps/i386/fpu/libm-test-ulps: Update.
12495 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12497         [BZ #18674]
12498         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12499         break.
12501 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12503         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12504         (generated): Don't add $(addprefix z.,$(tzfiles)).
12506 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12508         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12509         * scripts/sysd-rules.awk: Likewise.
12511 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12513         * iconvdata/tst-tables.sh: Change echo -n to printf.
12514         * nss/db-Makefile: Likewise.
12515         * posix/tst-getconf.sh: Likewise.
12516         * stdio-common/tst-unbputc.sh: Likewise.
12518 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12520         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12521         MADV_*_PAGES defines behind this feature check.
12523 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12525         [BZ #18480]
12526         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12527         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12528         Define.
12529         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12530         LOAD_REGS_5, LOAD_REGS_6): Update.
12531         (INTERNAL_SYSCALL): Update using new LOAD defines.
12532         (INTERNAL_SYSCALL_NCS): Likewise.
12533         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12535 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12537         [BZ #16734]
12538         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12540 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12542         [BZ #17905]
12543         * catgets/Makefile (tst-catgets-mem): New test.
12544         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12545         * catgets/open_catalog.c (__open_catalog): Likewise.
12546         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12548 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12550         [BZ #18787]
12551         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12552         clobber registers.
12553         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12554         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12555         Cast return to __typeof (oldval).
12557 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12559         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12560         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12561         and delete sys/syscall.h include.
12563 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12565         [BZ #16517]
12566         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12567         (tan): Force underflow exception for arguments with small absolute
12568         value.
12569         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12570         (__kernel_tanf): Force underflow exception for arguments with
12571         small absolute value.
12572         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12573         (__kernel_tanl): Force underflow exception for arguments with
12574         small absolute value.
12575         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12576         (__kernel_tanl): Force underflow exception for arguments with
12577         small absolute value.
12578         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12579         (__kernel_tanl): Force underflow exception for arguments with
12580         small absolute value.
12581         * math/auto-libm-test-in: Add more tests of tan.
12582         * math/auto-libm-test-out: Regenerated.
12584 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12586         Fix sysdeps/i386/fpu/s_scalbn.S build
12588         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12590 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12592         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12594 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12596         Fix gcrt0.o compilation
12598         When static-start-installed-name is different from
12599         start-installed-name, we must not use the shared objects.
12601         * csu/Makefile
12602         (extra-objs): Add gmon-start.o when building shared library and
12603         $(static-start-installed-name) is different from
12604         $(start-installed-name).
12605         $(objpfx)g$(static-start-installed-name): When building shared
12606         library and $(static-start-installed-name) is different from
12607         $(static-start-installed-name), revert to non-shared rule,
12608         i.e. using $(objpfx)% and gmon-start.o.
12610 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12612         [BZ #16519]
12613         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12614         (__ieee754_sinh): Force underflow exception for arguments with
12615         small absolute value.
12616         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12617         (__ieee754_sinhf): Force underflow exception for arguments with
12618         small absolute value.
12619         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12620         (__ieee754_sinhl): Force underflow exception for arguments with
12621         small absolute value.
12622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12623         (__ieee754_sinhl): Force underflow exception for arguments with
12624         small absolute value.
12625         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12626         (__ieee754_sinhl): Force underflow exception for arguments with
12627         small absolute value.
12628         * math/auto-libm-test-in: Add more tests of sinh.
12629         * math/auto-libm-test-out: Regenerated.
12630         * sysdeps/i386/fpu/libm-test-ulps: Update.
12632 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12634         * libio/oldfileops.c: Include unistd.h.
12636 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12638         * stdlib/isomac.c: Include ctype.h.
12640 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12642         * dirent/tst-seekdir.c (main): Converted to ...
12643         (do_test): ... this.
12644         (TEST_FUNCTION): New macro.
12645         Include test-skeleton.c.
12646         * elf/tst-dlmodcount.c (main): Converted to ...
12647         (do_test): ... this.
12648         (TEST_FUNCTION): New macro.
12649         Include test-skeleton.c.
12650         * elf/tst-order-main.c (main): Converted to ...
12651         (do_test): ... this.
12652         (TEST_FUNCTION): New macro.
12653         Include test-skeleton.c.
12654         * elf/tst-pie2.c (main): Converted to ...
12655         (do_test): ... this.
12656         (TEST_FUNCTION): New macro.
12657         Include test-skeleton.c.
12658         * inet/tst-ether_aton.c (main): Converted to ...
12659         (do_test): ... this.
12660         (TEST_FUNCTION): New macro.
12661         Include test-skeleton.c.
12662         * misc/tst-mntent.c (main): Converted to ...
12663         (do_test): ... this.
12664         (TEST_FUNCTION): New macro.
12665         Include test-skeleton.c.
12666         * misc/tst-tsearch.c (main): Converted to ...
12667         (do_test): ... this.
12668         (TEST_FUNCTION): New macro.
12669         Include test-skeleton.c.
12670         * posix/tst-regexloc.c (main): Converted to ...
12671         (do_test): ... this.
12672         (TEST_FUNCTION): New macro.
12673         Include test-skeleton.c.
12674         * resolv/tst-aton.c (main): Converted to ...
12675         (do_test): ... this.
12676         (TEST_FUNCTION): New macro.
12677         Include test-skeleton.c.
12678         * stdio-common/test-fwrite.c (main): Converted to ...
12679         (do_test): ... this.
12680         (TEST_FUNCTION): New macro.
12681         Include test-skeleton.c.
12682         * stdio-common/tst-ferror.c (main): Converted to ...
12683         (do_test): ... this.
12684         (TEST_FUNCTION): New macro.
12685         Include test-skeleton.c.
12686         * stdio-common/tst-printf.c (main): Converted to ...
12687         (do_test): ... this.
12688         (TEST_FUNCTION): New macro.
12689         Include test-skeleton.c.
12690         * stdio-common/tst-printfsz.c (main): Converted to ...
12691         (do_test): ... this.
12692         (TEST_FUNCTION): New macro.
12693         Include test-skeleton.c.
12694         * stdlib/tst-strtod.c (main): Converted to ...
12695         (do_test): ... this.
12696         (TEST_FUNCTION): New macro.
12697         Include test-skeleton.c.
12698         * string/tst-strlen.c (main): Converted to ...
12699         (do_test): ... this.
12700         (TEST_FUNCTION): New macro.
12701         Include test-skeleton.c.
12702         * string/tst-svc.c (main): Converted to ...
12703         (do_test): ... this.
12704         (TEST_FUNCTION): New macro.
12705         Include test-skeleton.c.
12706         * time/tst-strptime.c (main): Converted to ...
12707         (do_test): ... this.
12708         (TEST_FUNCTION): New macro.
12709         Include test-skeleton.c.
12710         * timezone/tst-timezone.c (main): Converted to ...
12711         (do_test): ... this.
12712         (TEST_FUNCTION): New macro.
12713         Include test-skeleton.c.
12715 2015-08-05  Zack Weinberg  <zackw@panix.com>
12717         * misc/regexp.h: Update comments.
12719 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12721         [BZ #18635]
12722         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12723         before return label.
12725 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12727         [BZ #18661]
12728         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12729         when calling __errno_location.
12730         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12731         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12733 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12735         [BZ #18661]
12736         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12737         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12738         __gettimeofday.
12740 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12742         [BZ #18661]
12743         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12744         (__start_context): Don't use pop to restore %rdi so that stack
12745         is aligned to 16 bytes when calling __setcontext.
12747 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12749         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12750         only for libc.
12751         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12753 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12755         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12756         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12757         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12759 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12761         * string/memccpy.c (memccpy):
12762         Improve performance by using memchr/memcpy/__mempcpy.
12764 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12766         * string/strncpy.c (strncpy):
12767         Improve performance by using __strnlen/memcpy.
12769 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12771         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12772         Optimize to avoid an unnecessary FPCR read.
12774 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12776         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12777         Optimize to reduce FPCR/FPSR accesses.
12779 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12781         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12782         dead->data[category] != NULL.
12784 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #18647]
12787         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12788         and |x| close to 1, use absolute value of x when computing log.
12789         * math/auto-libm-test-in: Add more tests of pow.
12790         * math/auto-libm-test-out: Regenerated.
12792 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12794         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12795         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12796         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12798 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12800         [BZ #18525]
12801         * locales/km_KH: Remove timezone definition.
12802         * locales/lo_LA: Likewise.
12803         * locales/my_MM: Likewise.
12804         * locales/nan_TW@latin: Likewise.
12805         * locales/th_TH: Likewise.
12806         * locales/uk_UA: Likewise.
12808 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12810         [BZ #18265]
12811         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12812         (wcsncat): Likewise.
12813         (wcscmp): Likewise.
12814         (wcsncmp): Likewise.
12816 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12818         * test-skeleton.c (usage): New function.
12819         (main): Call usage when opt is '?'.
12821 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12823         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12824         before first use.
12826 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12828         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12829         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12830         in there too.
12832 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12834         * version.h (RELEASE): Set to "development".
12835         (VERSION): Set to "2.22.90"
12837         * version.h (RELEASE): Set to "stable".
12838         (VERSION): Set to "2.22"
12839         * include/features.h (__GLIBC_MINOR__): Set to 22.
12841 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12843         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12844         Restructure macro to avoid "value computed is not used" warning.
12845         (atomic_compare_and_exchange_val_acq): Likewise.
12847 2015-08-04  Andreas Schwab  <schwab@suse.de>
12849         [BZ #18635]
12850         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12851         ret.
12852         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12854 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12856         * po/pl.po: Updated translation.
12857         * po/uk.po: Likewise.
12858         * po/fi.po: Likewise.
12859         * po/ko.po: Likewise.
12860         * po/ru.po: Likewise.
12861         * po/vi.po: Likewise.
12863 2015-07-31  Zack Weinberg  <zackw@panix.com>
12865         [BZ #18681]
12866         * regexp.h: Add unconditional #warning stating that this header
12867         will be removed soon.  Revise banner comment to match.
12868         (compile): Consistently use ERROR instead of RETURN to report
12869         errors (partial fix for bz#18681).
12870         * regexp.c: Don't include regexp.h. Remove some unnecessary
12871         declarations.
12873 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12875         * po/libc.pot: Regenerated.
12877 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12879         [BZ #18740]
12880         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12881         float-vlen4-arch-ext-cflags): Removed.
12882         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12883         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12885 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12887         [BZ #14113]
12888         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12889         aligned to __aligned__.
12890         (pthread_cond_t, pthread_rwlock_t): Likewise.
12892 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12894         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12896 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12898         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12899         (struct sigaction): Change sa_flags from a long to an int, and add
12900         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12902 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12904         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12905         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12906         sysdeps/generic/sysdep.h include.
12907         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12908         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12909         sysdeps/hppa/sysdep.h.
12910         (ENTRY, PSEUDO): Undefine before defining.
12912 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12914         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12915         from scratch to use INTERNAL_SYSCALL.
12917 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12919         [BZ #18078]
12920         * scripts/check-localplt.awk: Support alternate relocations.
12921         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12922         sections.
12923         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12924         malloc entries with + REL R_386_GLOB_DAT.
12925         * sysdeps/x86_64/localplt.data: New file.
12927 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12929         [BZ #18731]
12930         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12931         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12932         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12934 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12936         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12938 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12940         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12941         directly in terms of __sync_fetch_and_add and delete (int) cast.
12943 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12945         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12946         the -D_ASM_IA64_CURRENT_H flag.
12948 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12950         [BZ #18641]
12951         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12953 2015-07-27  Andreas Schwab  <schwab@suse.de>
12955         * conform/conformtest.pl (checknamespace): Filter out string
12956         literals while tokenizing.
12958 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12960         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12961         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12962         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12964 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12966         * nptl/tst-join7mod.c: Add #include <string.h>.
12968 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12970         * sysdeps/nios2/libm-test-ulps: Update.
12972 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12974         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12975         Fix order of arguments to the rt_sigprocmask syscall.
12976         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12977         Likewise.
12979 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12981         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12983 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12985         [BZ #18457]
12986         * nptl/Makefile (tests): New test case tst-join7.
12987         (modules-names): New test case module tst-join7mod.
12988         * nptl/tst-join7.c: New file.
12989         * nptl/tst-join7mod.c: New file.
12990         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12991         all translation units in libc.so, libpthread.so and rtld.
12993 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12997 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13001         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13002         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13004         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13006         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13009         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13010         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13011         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13012         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13014         implementation.
13016 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13018         [BZ #17711]
13019         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13020         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13021         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13022         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13023         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13024         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13026 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13028         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13029         instead of just saying load lock in the comments.
13031 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13033         * sysdeps/unix/Subdirs: Moved ...
13034         * sysdeps/posix/Subdirs: ... here.
13035         * login/pty.h (struct termios, struct winsize): Add forward decls.
13036         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13037         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13038         * sysdeps/arm/nacl/libc.abilist: Updated.
13039         * sysdeps/nacl/libutil.abilist: New file.
13041         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13042         (SIGWINCH): New macro.
13044         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13045         * sysdeps/arm/nacl/libc.abilist: Add it.
13047 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13049         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13051 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13053         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13054         Swap __glibc_reserved0 and sa_flags order.
13056 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13058         [BZ #18657]
13059         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13060         are pending TLS destructor calls.
13061         * include/link.h (struct link_map): Add concurrency note for
13062         L_TLS_DTOR_COUNT.
13063         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13064         Don't touch the link map flag.  Atomically increment
13065         l_tls_dtor_count.
13066         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13067         Avoid taking the load lock and don't touch the link map flag.
13068         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13069         * stdlib/Makefile (tests): Use it.
13070         * stdlib/tst-tls-atexit.c (do_test): dlopen
13071         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13072         to allow tst-tls-atexit-nodelete test case to use it.
13074 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13076         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13077         to bits/types.h.
13078         (msgqnum_t): New typedef.
13079         (msglen_t): Likewise.
13080         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13081         and msg_qbytes type to msglen_t.
13083 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13085         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13086         pad0 to __glibc_reserved0.
13087         (struct stat64): Likewise.
13089 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13091         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13092         Change sa_flags from a long to an int and add __glibc_reserved0 before
13093         it for padding.
13095 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13097         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13098         anonymous by deleting "siginfo" name.
13100 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13102         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13103         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13104         rather than __nacl_irt_filename.
13105         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13107         * NEWS: New item for arm-nacl port.
13108         * sysdeps/arm/nacl/libc.abilist: New file.
13109         * sysdeps/nacl/ld.abilist: New file.
13110         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13111         * sysdeps/nacl/libanl.abilist: New file.
13112         * sysdeps/nacl/libcrypt.abilist: New file.
13113         * sysdeps/nacl/libdl.abilist: New file.
13114         * sysdeps/nacl/libm.abilist: New file.
13115         * sysdeps/nacl/libpthread.abilist: New file.
13116         * sysdeps/nacl/libresolv.abilist: New file.
13117         * sysdeps/nacl/librt.abilist: New file.
13119 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13121         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13122         __startcontext to initialize the new context.
13123         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13124         up CFI directive to forbid further backtracing.
13126 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13128         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13129         reference.
13130         * charmaps/ANSI_X3.4-1968: Likewise.
13131         * charmaps/BS_4730: Likewise.
13132         * charmaps/BS_VIEWDATA: Likewise.
13133         * charmaps/CP1250: Likewise.
13134         * charmaps/CP1251: Likewise.
13135         * charmaps/CP1252: Likewise.
13136         * charmaps/CP1253: Likewise.
13137         * charmaps/CP1254: Likewise.
13138         * charmaps/CP1255: Likewise.
13139         * charmaps/CP1256: Likewise.
13140         * charmaps/CSN_369103: Likewise.
13141         * charmaps/EBCDIC-DK-NO: Likewise.
13142         * charmaps/GB_1988-80: Likewise.
13143         * charmaps/GREEK-CCITT: Likewise.
13144         * charmaps/GREEK7: Likewise.
13145         * charmaps/INIS-8: Likewise.
13146         * charmaps/ISIRI-3342: Likewise.
13147         * charmaps/ISO_2033-1983: Likewise.
13148         * charmaps/ISO_5427-EXT: Likewise.
13149         * locales/POSIX: Likewise.
13150         * locales/ar_SA: Likewise.
13151         * locales/be_BY: Likewise.
13152         * locales/be_BY@latin: Likewise.
13153         * locales/ca_ES: Likewise.
13154         * locales/cs_CZ: Likewise.
13155         * locales/da_DK: Likewise.
13156         * locales/de_BE: Likewise.
13157         * locales/de_CH: Likewise.
13158         * locales/de_LU: Likewise.
13159         * locales/en_AU: Likewise.
13160         * locales/en_BW: Likewise.
13161         * locales/en_CA: Likewise.
13162         * locales/en_DK: Likewise.
13163         * locales/en_GB: Likewise.
13164         * locales/en_IE: Likewise.
13165         * locales/en_NZ: Likewise.
13166         * locales/en_ZA: Likewise.
13167         * locales/en_ZW: Likewise.
13168         * locales/es_AR: Likewise.
13169         * locales/es_BO: Likewise.
13170         * locales/es_CL: Likewise.
13171         * locales/es_CO: Likewise.
13172         * locales/es_DO: Likewise.
13173         * locales/es_EC: Likewise.
13174         * locales/es_ES: Likewise.
13175         * locales/es_HN: Likewise.
13176         * locales/es_MX: Likewise.
13177         * locales/es_PA: Likewise.
13178         * locales/es_PE: Likewise.
13179         * locales/es_PY: Likewise.
13180         * locales/es_SV: Likewise.
13181         * locales/es_US: Likewise.
13182         * locales/es_UY: Likewise.
13183         * locales/es_VE: Likewise.
13184         * locales/et_EE: Likewise.
13185         * locales/fa_IR: Likewise.
13186         * locales/fo_FO: Likewise.
13187         * locales/fr_CA: Likewise.
13188         * locales/fr_CH: Likewise.
13189         * locales/gv_GB: Likewise.
13190         * locales/he_IL: Likewise.
13191         * locales/hr_HR: Likewise.
13192         * locales/id_ID: Likewise.
13193         * locales/is_IS: Likewise.
13194         * locales/it_CH: Likewise.
13195         * locales/iw_IL: Likewise.
13196         * locales/kl_GL: Likewise.
13197         * locales/ko_KR: Likewise.
13198         * locales/kw_GB: Likewise.
13199         * locales/lg_UG: Likewise.
13200         * locales/lt_LT: Likewise.
13201         * locales/lv_LV: Likewise.
13202         * locales/mi_NZ: Likewise.
13203         * locales/nhn_MX: Likewise.
13204         * locales/nl_BE: Likewise.
13205         * locales/pl_PL: Likewise.
13206         * locales/sk_SK: Likewise.
13207         * locales/sl_SI: Likewise.
13208         * locales/sv_FI: Likewise.
13209         * locales/tl_PH: Likewise.
13210         * locales/tr_TR: Likewise.
13211         * locales/vi_VN: Likewise.
13213 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13215         [BZ #17475]
13216         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13217         of tu_IN and bh_IN.
13219 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13221         [BZ #18694]
13222         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13223         bits/wordsize.h.
13224         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13226 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13228         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13229         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13230         (spawn_thread): New function.
13231         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13232         (do_test): ... here.  Use IS_LOADED to test for its
13233         availability.
13235 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13237         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13239 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13241         [BZ #18696]
13242         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13243         si_addr_bnd.
13244         (si_lower): New.
13245         (si_upper): Likewise.
13247 2015-07-16  David S. Miller  <davem@davemloft.net>
13249         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13251 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13253         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13254         buffer.
13255         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13256         fail output information.
13258 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13261         and strstr-ppc64..
13262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13263         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13264         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13265         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13266         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13268 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13270         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13271         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13272         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13273         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13275 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13277         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13278         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13279         rtld_hidden_proto.
13280         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13282 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13284         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13285         the test can fail.
13287         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13289         [BZ #18676]
13290         * elf/tst-nodelete-opened.c: New test case.
13291         * elf/tst-nodelete-opened-lib.c: New test case module.
13292         * elf/Makefile (tests, modules-names): Use them.
13293         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13294         early.
13296 2015-07-15  David S. Miller  <davem@davemloft.net>
13298         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13299         futex-intenal.h
13300         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13301         * sysdeps/sparc/sparc64/Makefile: Likewise.
13302         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13303         Remove space from macro define.
13304         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13306 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13308         [BZ #17475]
13309         * locale/iso-639.def: Update Bhili and Tulu language codes as
13310         per iso639-3.
13312 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13314         * elf/tst-leaks1.c (main): Converted to ...
13315         (do_test): ... this.
13316         (TEST_FUNCTION): New macro.
13317         Include test-skeleton.c.
13318         * localedata/tst-langinfo.c (main): Converted to ...
13319         (do_test): ... this.
13320         (TEST_FUNCTION): New macro.
13321         Include test-skeleton.c.
13322         * math/test-fpucw.c (main): Converted to ...
13323         (do_test): ... this.
13324         (TEST_FUNCTION): New macro.
13325         Include test-skeleton.c.
13326         * math/test-tgmath.c (main): Converted to ...
13327         (do_test): ... this.
13328         (TEST_FUNCTION): New macro.
13329         Include test-skeleton.c.
13330         * math/test-tgmath2.c (main): Converted to ...
13331         (do_test): ... this.
13332         (TEST_FUNCTION): New macro.
13333         Include test-skeleton.c.
13334         * setjmp/tst-setjmp.c (main): Converted to ...
13335         (do_test): ... this.
13336         (TEST_FUNCTION): New macro.
13337         Include test-skeleton.c.
13338         * stdio-common/tst-sscanf.c (main): Converted to ...
13339         (do_test): ... this.
13340         (TEST_FUNCTION): New macro.
13341         Include test-skeleton.c.
13342         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13343         (do_test): ... this.
13344         (TEST_FUNCTION): New macro.
13345         Include test-skeleton.c.
13347         * elf/tst-audit9.c (main): Converted to ...
13348         (do_test): ... this.
13349         (TEST_FUNCTION): New macro.
13350         Include test-skeleton.c.
13352 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13354         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13356 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13358         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13359         New variable.
13361 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13363         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13365 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13367         * sysdeps/generic/dl-fileid.h: New file.
13368         * sysdeps/posix/dl-fileid.h: New file.
13369         * sysdeps/nacl/dl-fileid.h: New file.
13370         * include/link.h: Include <dl-fileid.h>.
13371         (struct link_map): Replace l_dev and l_ino with l_file_id.
13372         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13373         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13374         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13376 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13378         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13380 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13382         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13383         Add iff $CXX is set.
13384         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13385         Likewise.
13386         (tst-nodelete-zmodiff): Likewise.
13387         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13389 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13391         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13393 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13395         * sysdeps/aarch64/fpu/math_private.h
13396         (define math_opt_barrier): Add AArch64 version.
13397         (math_force_eval): Likewise.
13399 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13401         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13403 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13405         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13406         %ld with %jd and cast to intmax_t.
13407         (do_test_length_zero): Likewise.
13409 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13411         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13413 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13415         * sysdeps/tile/libm-test-ulps: Regenerated.
13417         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13418         Comment out the whole function, not just its body.
13420 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13422         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13423         locks.
13425         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13427 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13429         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13430         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13432 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13434         * sysdeps/nptl/futex-internal.h: New file.
13435         * sysdeps/nacl/futex-internal.h: New file.
13436         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13437         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13438         error checking.
13439         (setxid_unmark_thread): Likewise.
13440         (__nptl_setxid): Likewise.
13441         (__wait_lookup_done): Likewise.
13442         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13443         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13444         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13445         * nptl/pthread_once.c (clear_once_control): Likewise.
13446         (__pthread_once_slow): Likewise.
13447         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13448         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13449         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13450         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13451         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13452         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13453         Likewise.
13454         (__pthread_rwlock_rdlock): Likewise.
13455         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13456         Likewise.
13457         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13458         Likewise.
13459         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13460         Likewise.
13461         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13462         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13463         Likewise.
13464         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13465         __ASSUME_PRIVATE_FUTEX check.
13466         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13467         Check that shared futexes are supported.
13468         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13469         wrappers with error checking.
13470         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13471         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13472         * nptl/pthread_barrierattr_setpshared.c
13473         (pthread_barrierattr_setpshared): Check that shared futexes are
13474         supported.
13475         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13476         Likewise.
13477         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13478         Likewise.
13479         * nptl/sem_init.c (futex_private_if_supported): Remove.
13480         (__new_sem_init): Adapt and check that shared futexes are supported.
13481         * nptl/sem_open.c (sem_open): Likewise.
13482         * nptl/sem_post.c (futex_wake): Remove.
13483         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13484         (do_futex_wait): Use futex wrappers with error checking.
13485         * nptl/sem_wait.c: Include lowlevellock.h.
13486         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13487         Use futex_supports_pshared.
13488         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13489         Use futex wrappers with error checking.
13490         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13491         Likewise.
13492         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13493         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13494         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13495         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13496         (futex_wake): Likewise.
13497         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13498         (do_futex_wait): Use futex wrappers with error checking.
13499         (__new_sem_wait_slow): Update EINTR handling.
13500         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13502 2015-07-09  Martin Sebor  <msebor@redhat.com>
13504         [BZ #18435]
13505         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13506         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13507         * nptl/Makefile (test-xfail-tst-once5): Define.
13509 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13511         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13512         * elf/dl-minimal.c: For readability, reorder some definitions and
13513         introduce more page breaks.  Include <stdio.h>.
13514         (__libc_fatal): New function.
13516         * include/unistd.h: Add rtld_hidden_proto for _exit.
13517         * posix/_exit.c: Add rtld_hidden_def.
13518         * sysdeps/mach/hurd/_exit.c: Likewise.
13519         * sysdeps/nacl/_exit.c: Likewise.
13520         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13521         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13523 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13525         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13526         bndmov encoding with zero displacement.
13528 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13529             H.J. Lu  <hongjiu.lu@intel.com>
13531         [BZ #18134]
13532         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13533         * sysdeps/i386/configure: Regenerated.
13534         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13535         (_dl_runtime_profile): Save and restore Intel MPX return bound
13536         registers when calling _dl_call_pltexit.  Add
13537         PRESERVE_BND_REGS_PREFIX before return.
13538         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13539         (LRV_BND1_OFFSET): Likewise.
13540         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13541         lrv_bnd1.
13542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13543         typo in bndmov encoding.
13544         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13545         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13546         branch instructions to preserve bounds.
13548 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13551         [GLIBC_2.22]: Add fmemopen.
13553 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13555         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13556         returns an error, also try to use host port from __mach_host_self for
13557         the __vm_wire call.
13558         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13560 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13562         [BZ #18400]
13563         [BZ #18648]
13564         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13565         Fix pr_uid and pr_gid members.
13566         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13567         definition to elf_greg_t.
13569 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13571         [BZ #18383]
13572         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13573         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13574         * sysdeps/arm/configure: Regenerated.
13575         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13576         (test-xfail-tst-tlsalign-static): Variable removed.
13578         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13579         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13580         rather than explicit 'ln -s'.
13582         * resolv/rpc/netdb.h: New file.
13583         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13585 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13587         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13588         length buffers.
13589         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13590         test-skeleton.c.
13592         [BZ #6544]
13593         [BZ #11216]
13594         [BZ #12836]
13595         [BZ #13151]
13596         [BZ #13152]
13597         [BZ #14292]
13598         * include/stdio.h (fmemopen): Remove hidden prototype.
13599         (__fmemopen): Add new hidden prototype.
13600         * libio/Makefile: Add oldfmemopen object.
13601         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13602         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13603         compliance.
13604         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13605         symbol compatibility.
13606         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13607         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13608         fmemopen.
13609         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13610         on append and read mode.
13611         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13612         fmemopen.
13613         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13614         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13615         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13616         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13617         Likewise.
13618         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13619         [GLIBC_2.22]: Likewise.
13620         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13621         Likewise.
13622         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13623         Likewise.
13624         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13625         [GLIBC_2.22]: Likewise.
13626         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13627         [GLIBC_2.22]: Likewise.
13628         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13629         [GLIBC_2.22]: Likewise.
13630         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13631         [GLIBC_2.22]: Likewise.
13632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13633         [GLIBC_2.22]: Likewise.
13634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13635         [GLIBC_2.22]: Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13637         [GLIBC_2.22]: Likewise.
13638         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13639         Likewise.
13640         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13641         Likewise.
13642         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13643         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13644         [GLIBC_2.22]: Likewise.
13645         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13646         [GLIBC_2.22]: Likewise.
13647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13648         [GLIBC_2.22]: Likewise.
13649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13650         [GLIBC_2.22]: Likewise.
13651         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13652         Likewise.
13653         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13654         Likewise.
13655         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13656         Likewise.
13657         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13658         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13660 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13662         [BZ #18643]
13663         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13664         IPV6_PATHMTU, and IPV6_DONTFRAG.
13666 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13668         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13669         and _IO_UNBUFFERED.
13670         * libio/oldfileops.c: Likewise.
13671         * libio/wfileops.c: Likewise.
13673 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13675         * nscd/selinux.c: Delete selinux/flask.h include.
13677 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13679         [BZ #18641]
13680         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13681         (putpwent): Likewise.
13682         (getpwnam): Likewise.
13683         (getpwent_r): Likewise.
13684         (getpwuid_r): Likewise.
13685         (getpwnam_r): Likewise.
13686         (fgetpwent_r): Likewise.
13688 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13690         [BZ #18557]
13691         * inet/rcmd.c (__validuser2_sa): Check user first to
13692         short-circuit host check.
13694 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13695             Mikhail Ilin  <m.ilin@samsung.com>
13697         [BZ #17833]
13698         * elf/Makefile (tests): Add tst-nodelete.
13699         (modules-names): Add tst-nodelete-uniquemod.
13700         (tst-nodelete-uniquemod.so-no-z-defs): New.
13701         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13702         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13703         ($(objpfx)tst-nodelete): Likewise.
13704         ($(objpfx)tst-nodelete.out): Likewise.
13705         (LDFLAGS-tst-nodelete): Likewise.
13706         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13707         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13708         implement forced object deletion.
13709         (_dl_close): Pass false to _dl_close_worker.
13710         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13711         * elf/tst-nodelete.cc: New file.
13712         * elf/tst-nodeletelib.cc: Likewise.
13713         * elf/tst-znodeletelib.cc: Likewise.
13714         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13716 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13718         [BZ #18508]
13719         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13720         Depend on $(libdl).
13721         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13722         is not called infinitely times.
13723         (backtrace_helper): New function.
13724         (trace_arg): New struct.
13725         (st1): Enlarge stack size.
13726         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13727         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13728         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13729         Likewise.
13731 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13733         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13735 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13737         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13738         Include sys/types.h instead of bits/types.h.
13739         Remove inclusion of bits/wordsize.h.
13741 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13743         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13744         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13745         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13746         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13747         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13748         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13750 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13752         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13753         link-defines.sym.
13754         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13755         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13756         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13757         and LR_SIZE.
13758         * sysdeps/i386/link-defines.sym: New file.
13760 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13762         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13763         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13764         ($(objpfx)tst-audit3): New rule.
13765         ($(objpfx)tst-audit3.out): Likewise.
13766         * sysdeps/i386/tst-audit3.c: New file.
13767         * sysdeps/i386/tst-audit3.h: Likewise.
13768         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13769         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13771 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13773         [BZ #18633]
13774         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13775         pointer in C code.
13776         (__strcat_c): Likewise.
13777         (__strcat_g): Likewise.
13779 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13781         [BZ #18592]
13782         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13784 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13786         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13787         New function.  (__ieee754_sqrtf): New function.
13788         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13789         New function.
13790         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13791         New function.
13793 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13795         * sysdeps/ieee754/support.c: Remove unused file.
13797 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13799         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13800         registers instead of d ones so the layout is kernel abi compatible.
13801         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13802         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13803         Likewise.
13805 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13807         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13809 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13811         [BZ #18619]
13812         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13813         and return argument in case of subnormal argument.
13815 2015-07-01  Martin Sebor  <msebor@redhat.com>
13817         [BZ #18435]
13818         * nptl/Makefile: Add tst-once5.cc.
13819         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13820         Remove macro redefinitions.
13821         * nptl/tst-once5.cc: New test.
13823 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13825         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13827         * sysdeps/arm/libm-test-ulps: Regenerated.
13829         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13830         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13832 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13834         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13835         lll_lock_wait_private and lll_futex_wake probes.
13837         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13838         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13839         Likewise.
13840         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13841         atomic_spin_nop.
13842         * sysdeps/x86_64/bits/atomic.h: Likewise.
13843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13844         to atomic_spin_nop and move ...
13845         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13846         ... here and ...
13847         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13848         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13849         atomic_spin_nop instead of BUSY_WAIT_NOP.
13850         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13851         Likewise.
13852         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13853         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13854         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13855         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13856         instead of atomic_delay.
13858 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13860         [BZ #18613]
13861         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13862         X_ADJ not X when adjusting exponent.
13863         (__ieee754_gamma_r): Do intermediate computations in
13864         round-to-nearest then adjust overflowing and underflowing results
13865         as needed.
13866         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13867         of X_ADJ not X when adjusting exponent.
13868         (__ieee754_gammaf_r): Do intermediate computations in
13869         round-to-nearest then adjust overflowing and underflowing results
13870         as needed.
13871         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13872         log of X_ADJ not X when adjusting exponent.
13873         (__ieee754_gammal_r): Do intermediate computations in
13874         round-to-nearest then adjust overflowing and underflowing results
13875         as needed.  Use 1.0L not 1.0f as numerator of division.
13876         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13877         log of X_ADJ not X when adjusting exponent.
13878         (__ieee754_gammal_r): Do intermediate computations in
13879         round-to-nearest then adjust overflowing and underflowing results
13880         as needed.  Use 1.0L not 1.0f as numerator of division.
13881         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13882         of X_ADJ not X when adjusting exponent.
13883         (__ieee754_gammal_r): Do intermediate computations in
13884         round-to-nearest then adjust overflowing and underflowing results
13885         as needed.  Use 1.0L not 1.0f as numerator of division.
13886         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13887         to auto-libm-test-in.
13888         (tgamma_test): Use ALL_RM_TEST.
13889         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13890         tests of tgamma with spurious-overflow.
13891         * math/auto-libm-test-out: Regenerated.
13892         * math/gen-libm-have-vector-test.sh: Do not check for START.
13893         * sysdeps/i386/fpu/libm-test-ulps: Update.
13894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13896         [BZ #18612]
13897         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13898         arguments, just return 0.5 times the argument, with underflow
13899         forced as needed.
13900         * math/auto-libm-test-in: Add more tests of j1.
13901         * math/auto-libm-test-out: Regenerated.
13903         [BZ #16559]
13904         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13905         (__ieee754_j1): Force underflow exception for small results.
13906         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13907         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13908         (__ieee754_j1f): Force underflow exception for small results.
13909         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13910         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13912         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13913         (__ieee754_j1l): Force underflow exception for small results.
13914         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13915         * math/auto-libm-test-in: Add more tests of j1 and jn.
13916         * math/auto-libm-test-out: Regenerated.
13918         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13919         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13920         (PF_MPLS): Likewise.
13921         (AF_IB): Likewise.
13922         (AF_MPLS): Likewise.
13923         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13924         value and macro.
13925         (MS_RMT_MASK): Include MS_LAZYTIME.
13927 2015-06-26  Mel Gorman  <mgorman@suse.de>
13929         [BZ #18502]
13930         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13931         already minimal.
13933 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13935         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13936         (DT_MIPS_NUM): Update.
13937         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13938         DT_MIPS_RLD_MAP_REL.
13940 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13942         [BZ #16559]
13943         [BZ #18602]
13944         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13945         round-to-nearest internally then recompute results that
13946         underflowed to zero in the original rounding mode.
13947         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13948         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13950         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13951         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13952         * sysdeps/i386/fpu/libm-test-ulps: Update.
13953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13955 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13957         * NEWS: Fixed description of link with vector math library.
13959 2015-06-25  Andreas Schwab  <schwab@suse.de>
13961         [BZ #18549]
13962         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13963         * libio/test-fmemopen.c (do_test): Add test for it.
13965 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13967         [BZ #17841]
13968         * Makeconfig (no-pie-ldflag): New.
13969         (+link): Set to $(+link-pie) if default to PIE.
13970         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13971         * config.make.in (build-pie-default): New.
13972         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13973         is default.  AC_SUBST.
13974         * configure: Regenerated.
13975         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13977 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13979         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13980         to 'unsigned int'.
13982         * resolv/gai_misc.h (struct waitlist): Change type of field
13983         counterp to 'volatile unsigned int *'.
13984         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13985         FUTEXADDR and OLDVAL.
13986         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13987         Give local variable TOTAL type 'volatile unsigned int'.
13988         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13989         * resolv/gai_suspend.c (gai_suspend):
13990         Give local variable CNTR type 'unsigned int'.
13992         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13993         counterp to 'volatile unsigned int *'.
13994         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13995         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13996         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13997         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13998         Give local variable TOTAL type 'volatile unsigned int'.
13999         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14001 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14003         [BZ #18383]
14004         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14005         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14006         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14007         comment for i386/x86-64.
14008         (test-xfail-tst-tlsalign-extern-static): Removed.
14010 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14012         * math/test-double.h: New file.
14013         * math/test-float.h: Likewise.
14014         * math/test-ldouble.h: Likewise.
14015         * math/test-math-inline.h: Likewise.
14016         * math/test-math-no-inline.h: Likewise.
14017         * math/test-math-scalar.h: Likewise.
14018         * math/test-math-vector.h: Likewise.
14019         * math/test-vec-loop.h: Remove file.  Contents moved into
14020         test-math-vector.h.
14021         * math/libm-test.inc (MATHCONST): Do not document macro.
14022         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14023         and test-math-scalar.h.
14024         (FUNC): Remove macro.
14025         (FUNC_TEST): Likewise.
14026         (FLOAT): Likewise.
14027         (MATHCONST): Likewise.
14028         (PRINTF_EXPR): Likewise.
14029         (PRINTF_XEXPR): Likewise.
14030         (PRINTF_NEXPR): Likewise.
14031         (TEST_DOUBLE): Likewise.
14032         (TEST_MATHVEC): Likewise.
14033         (__NO_MATH_INLINES): Likewise.
14034         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14035         and test-math-scalar.h.
14036         (FUNC): Remove macro.
14037         (FUNC_TEST): Likewise.
14038         (FLOAT): Likewise.
14039         (MATHCONST): Likewise.
14040         (PRINTF_EXPR): Likewise.
14041         (PRINTF_XEXPR): Likewise.
14042         (PRINTF_NEXPR): Likewise.
14043         (TEST_FLOAT): Likewise.
14044         (TEST_MATHVEC): Likewise.
14045         (__NO_MATH_INLINES): Likewise.
14046         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14047         and test-math-scalar.h.
14048         (FUNC): Remove macro.
14049         (FUNC_TEST): Likewise.
14050         (FLOAT): Likewise.
14051         (MATHCONST): Likewise.
14052         (PRINTF_EXPR): Likewise.
14053         (PRINTF_XEXPR): Likewise.
14054         (PRINTF_NEXPR): Likewise.
14055         (TEST_DOUBLE): Likewise.
14056         (TEST_MATHVEC): Likewise.
14057         (TEST_INLINE): Likewise.
14058         (__NO_MATH_INLINES): Likewise.
14059         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14060         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_FLOAT): Likewise.
14069         (TEST_MATHVEC): Likewise.
14070         (TEST_INLINE): Likewise.
14071         (__NO_MATH_INLINES): Likewise.
14072         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14073         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         (TEST_INLINE): Likewise.
14084         (__NO_MATH_INLINES): Likewise.
14085         * math/test-ldouble.c: Include test-ldouble.h,
14086         test-math-no-inline.h and test-math-scalar.h.
14087         (FUNC): Remove macro.
14088         (FUNC_TEST): Likewise.
14089         (FLOAT): Likewise.
14090         (MATHCONST): Likewise.
14091         (PRINTF_EXPR): Likewise.
14092         (PRINTF_XEXPR): Likewise.
14093         (PRINTF_NEXPR): Likewise.
14094         (TEST_LDOUBLE): Likewise.
14095         (TEST_MATHVEC): Likewise.
14096         (__NO_MATH_INLINES): Likewise.
14097         * math/test-double-vlen2.h: Include test-double.h,
14098         test-math-no-inline.h and test-math-vector.h.
14099         (FLOAT): Remove macro.
14100         (FUNC): Likewise.
14101         (MATHCONST): Likewise.
14102         (PRINTF_EXPR): Likewise.
14103         (PRINTF_XEXPR): Likewise.
14104         (PRINTF_NEXPR): Likewise.
14105         (TEST_DOUBLE): Likewise.
14106         (TEST_MATHVEC): Likewise.
14107         (__NO_MATH_INLINES): Likewise.
14108         (CNCT): Likewise.
14109         (CONCAT): Likewise.
14110         (WRAPPER_NAME): Likewise.
14111         (WRAPPER_DECL): Likewise.
14112         (WRAPPER_DECL_ff): Likewise.
14113         (WRAPPER_DECL_fFF): Likewise.
14114         (VECTOR_WRAPPER): Likewise.
14115         (VECTOR_WRAPPER_ff): Likewise.
14116         (VECTOR_WRAPPER_fFF): Likewise.
14117         (VEC_LEN): New macro.
14118         * math/test-double-vlen4.h: Include test-double.h,
14119         test-math-no-inline.h and test-math-vector.h.
14120         (FLOAT): Remove macro.
14121         (FUNC): Likewise.
14122         (MATHCONST): Likewise.
14123         (PRINTF_EXPR): Likewise.
14124         (PRINTF_XEXPR): Likewise.
14125         (PRINTF_NEXPR): Likewise.
14126         (TEST_DOUBLE): Likewise.
14127         (TEST_MATHVEC): Likewise.
14128         (__NO_MATH_INLINES): Likewise.
14129         (CNCT): Likewise.
14130         (CONCAT): Likewise.
14131         (WRAPPER_NAME): Likewise.
14132         (WRAPPER_DECL): Likewise.
14133         (WRAPPER_DECL_ff): Likewise.
14134         (WRAPPER_DECL_fFF): Likewise.
14135         (VECTOR_WRAPPER): Likewise.
14136         (VECTOR_WRAPPER_ff): Likewise.
14137         (VECTOR_WRAPPER_fFF): Likewise.
14138         (VEC_LEN): New macro.
14139         * math/test-double-vlen8.h: Include test-double.h,
14140         test-math-no-inline.h and test-math-vector.h.
14141         (FLOAT): Remove macro.
14142         (FUNC): Likewise.
14143         (MATHCONST): Likewise.
14144         (PRINTF_EXPR): Likewise.
14145         (PRINTF_XEXPR): Likewise.
14146         (PRINTF_NEXPR): Likewise.
14147         (TEST_DOUBLE): Likewise.
14148         (TEST_MATHVEC): Likewise.
14149         (__NO_MATH_INLINES): Likewise.
14150         (CNCT): Likewise.
14151         (CONCAT): Likewise.
14152         (WRAPPER_NAME): Likewise.
14153         (WRAPPER_DECL): Likewise.
14154         (WRAPPER_DECL_ff): Likewise.
14155         (WRAPPER_DECL_fFF): Likewise.
14156         (VECTOR_WRAPPER): Likewise.
14157         (VECTOR_WRAPPER_ff): Likewise.
14158         (VECTOR_WRAPPER_fFF): Likewise.
14159         (VEC_LEN): New macro.
14160         * math/test-float-vlen4.h: Include test-float.h,
14161         test-math-no-inline.h and test-math-vector.h.
14162         (FLOAT): Remove macro.
14163         (FUNC): Likewise.
14164         (MATHCONST): Likewise.
14165         (PRINTF_EXPR): Likewise.
14166         (PRINTF_XEXPR): Likewise.
14167         (PRINTF_NEXPR): Likewise.
14168         (TEST_FLOAT): Likewise.
14169         (TEST_MATHVEC): Likewise.
14170         (__NO_MATH_INLINES): Likewise.
14171         (CNCT): Likewise.
14172         (CONCAT): Likewise.
14173         (WRAPPER_NAME): Likewise.
14174         (WRAPPER_DECL): Likewise.
14175         (WRAPPER_DECL_ff): Likewise.
14176         (WRAPPER_DECL_fFF): Likewise.
14177         (VECTOR_WRAPPER): Likewise.
14178         (VECTOR_WRAPPER_ff): Likewise.
14179         (VECTOR_WRAPPER_fFF): Likewise.
14180         (VEC_LEN): New macro.
14181         * math/test-float-vlen8.h: Include test-float.h,
14182         test-math-no-inline.h and test-math-vector.h.
14183         (FLOAT): Remove macro.
14184         (FUNC): Likewise.
14185         (MATHCONST): Likewise.
14186         (PRINTF_EXPR): Likewise.
14187         (PRINTF_XEXPR): Likewise.
14188         (PRINTF_NEXPR): Likewise.
14189         (TEST_FLOAT): Likewise.
14190         (TEST_MATHVEC): Likewise.
14191         (__NO_MATH_INLINES): Likewise.
14192         (CNCT): Likewise.
14193         (CONCAT): Likewise.
14194         (WRAPPER_NAME): Likewise.
14195         (WRAPPER_DECL): Likewise.
14196         (WRAPPER_DECL_ff): Likewise.
14197         (WRAPPER_DECL_fFF): Likewise.
14198         (VECTOR_WRAPPER): Likewise.
14199         (VECTOR_WRAPPER_ff): Likewise.
14200         (VECTOR_WRAPPER_fFF): Likewise.
14201         (VEC_LEN): New macro.
14202         * math/test-float-vlen16.h: Include test-float.h,
14203         test-math-no-inline.h and test-math-vector.h.
14204         (FLOAT): Remove macro.
14205         (FUNC): Likewise.
14206         (MATHCONST): Likewise.
14207         (PRINTF_EXPR): Likewise.
14208         (PRINTF_XEXPR): Likewise.
14209         (PRINTF_NEXPR): Likewise.
14210         (TEST_FLOAT): Likewise.
14211         (TEST_MATHVEC): Likewise.
14212         (__NO_MATH_INLINES): Likewise.
14213         (CNCT): Likewise.
14214         (CONCAT): Likewise.
14215         (WRAPPER_NAME): Likewise.
14216         (WRAPPER_DECL): Likewise.
14217         (WRAPPER_DECL_ff): Likewise.
14218         (WRAPPER_DECL_fFF): Likewise.
14219         (VECTOR_WRAPPER): Likewise.
14220         (VECTOR_WRAPPER_ff): Likewise.
14221         (VECTOR_WRAPPER_fFF): Likewise.
14222         (VEC_LEN): New macro.
14223         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14224         test-vec-loop.h.
14225         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14226         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14227         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14228         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14229         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14231         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14233 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14235         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14236         (__getlogin_r): ... this.
14238 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14240         [BZ #18594]
14241         * math/s_ccosh.c (__ccosh): Compare with least normal value
14242         instead of comparing class with FP_SUBNORMAL.
14243         * math/s_ccoshf.c (__ccoshf): Likewise.
14244         * math/s_ccoshl.c (__ccoshl): Likewise.
14245         * math/s_cexp.c (__cexp): Likewise.
14246         * math/s_cexpf.c (__cexpf): Likewise.
14247         * math/s_cexpl.c (__cexpl): Likewise.
14248         * math/s_csin.c (__csin): Likewise.
14249         * math/s_csinf.c (__csinf): Likewise.
14250         * math/s_csinh.c (__csinh): Likewise.
14251         * math/s_csinhf.c (__csinhf): Likewise.
14252         * math/s_csinhl.c (__csinhl): Likewise.
14253         * math/s_csinl.c (__csinl): Likewise.
14254         * math/s_ctan.c (__ctan): Likewise.
14255         * math/s_ctanf.c (__ctanf): Likewise.
14256         * math/s_ctanh.c (__ctanh): Likewise.
14257         * math/s_ctanhf.c (__ctanhf): Likewise.
14258         * math/s_ctanhl.c (__ctanhl): Likewise.
14259         * math/s_ctanl.c (__ctanl): Likewise.
14260         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14261         csin, csinh, ctan and ctanh.
14262         * math/auto-libm-test-out: Regenerated.
14263         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14264         * sysdeps/i386/fpu/libm-test-ulps: Update.
14265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14267 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14269         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14270         return value is wrong, print the expected value too.
14272 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14274         [BZ #18585]
14275         * elf/readlib.c (is_gdb_python_file): New.
14276         (process_file): Don't issue errors on filenames with -gdb.py
14277         suffix.
14279 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14281         * math/auto-libm-test-in: Add more tests of csin and csinh.
14282         * math/auto-libm-test-out: Regenerated.
14283         * math/libm-test.inc (csin_test_data): Remove tests moved to
14284         auto-libm-test-in.
14285         (csinh_test_data): Likewise.
14287         [BZ #18593]
14288         * math/s_csin.c (__csin): Negate before rather than after possibly
14289         overflowing multiplication.
14290         * math/s_csinf.c (__csinf): Likewise.
14291         * math/s_csinh.c (__csinh): Likewise.
14292         * math/s_csinhf.c (__csinhf): Likewise.
14293         * math/s_csinhl.c (__csinhl): Likewise.
14294         * math/s_csinl.c (__csinl): Likewise.
14295         * math/auto-libm-test-in: Add some tests of csin and csinh.
14296         * math/auto-libm-test-out: Regenerated.
14297         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14298         (csinh_test_data): Likewise.
14299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14301         [BZ #18586]
14302         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14303         underflow exception for small results.
14305 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14307         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14309         variable and included header.
14310         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14312         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14313         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14314         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14318         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14319         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14320         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14321         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14322         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14323         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14324         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14325         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14327 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14329         [BZ #16526]
14330         [BZ #16538]
14331         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14332         (__sin): Force underflow exception for arguments with small
14333         absolute value.
14334         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14335         (__kernel_sinf): Force underflow exception for arguments with
14336         small absolute value.
14337         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14338         (__kernel_sincosl): Force underflow exception for arguments with
14339         small absolute value.
14340         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14341         (__kernel_sinl): Force underflow exception for arguments with
14342         small absolute value.
14343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14344         (__kernel_sincosl): Force underflow exception for arguments with
14345         small absolute value.
14346         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14347         (__kernel_sinl): Force underflow exception for arguments with
14348         small absolute value.
14349         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14350         (__kernel_sinl): Force underflow exception for arguments with
14351         small absolute value.
14352         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14353         (__kernel_sinf): Force underflow exception for arguments with
14354         small absolute value.
14355         * math/auto-libm-test-in: Add more tests of sin and sincos.
14356         * math/auto-libm-test-out: Regenerated.
14358         [BZ #18245]
14359         [BZ #18583]
14360         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14361         (__kernel_standard_l): Use feholdexcept and fesetenv around
14362         conversion to double instead of special-casing overflow and
14363         underflow.
14364         * math/libm-test.inc (fmod_test_data): Add more tests.
14365         (remainder_test_data): Likewise.
14366         (sqrt_test_data): Likewise.
14368 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14370         [BZ #17403]
14371         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14372         atomic_read_barrier, atomic_write_barrier): Define.
14373         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14374         atomic_read_barrier, atomic_write_barrier): Define.
14376 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14378         * math/Makefile [$(PERL) != no]
14379         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14380         dependency on libm-test.stmp below the inclusion of Rules.
14382 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14384         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14385         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14386         and included header.
14387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14388         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14389         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14391         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14393         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14395         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14396         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14397         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14398         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14399         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14400         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14401         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14402         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14403         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14404         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14405         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14407 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14409         [BZ #18371]
14410         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14411         intermediate but not final result might underflow.
14412         * math/s_csqrtf.c (__csqrtf): Likewise.
14413         * math/s_csqrtl.c (__csqrtl): Likewise.
14414         * math/auto-libm-test-in: Add more tests of csqrt.
14415         * math/auto-libm-test-out: Regenerated.
14416         * sysdeps/i386/fpu/libm-test-ulps: Update.
14418         [BZ #18219]
14419         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14420         threshold on absolute value of exponent for which scaling is used.
14421         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14422         * math/auto-libm-test-in: Add more tests of exp2.
14423         * math/auto-libm-test-out: Regenerated.
14425 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14427         [BZ #17977]
14428         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14429         when initializing interface list, based on the bug analysis
14430         and the patch proposed by Eric Newton.
14431         * resolv/tst-res_hconf_reorder.c: New test.
14432         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14433         tst-res_hconf_reorder.
14434         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14435         and $(shared-thread-library).
14436         (tst-res_hconf_reorder-ENV): New variable.
14438         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14439         in comment.
14441 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14443         [BZ #16353]
14444         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14445         (__expm1): Force underflow exception for arguments with small
14446         absolute value.
14447         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14448         (__expm1f): Force underflow exception for arguments with small
14449         absolute value.
14450         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14451         (__expm1): Force underflow exception for arguments with small
14452         absolute value.
14453         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14454         (__expm1f): Force underflow exception for arguments with small
14455         absolute value.
14456         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14457         Check for small arguments before calling __expm1.
14458         * math/auto-libm-test-in: Do not mark underflow exceptions as
14459         possibly missing for bug 16353.
14460         * math/auto-libm-test-out: Regenerated.
14462 2015-06-22  Andreas Schwab  <schwab@suse.de>
14464         [BZ #18513]
14465         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14466         PTR queries.
14468 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14470         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14472         * string/strcoll_l.c: Remove unused struct element idxnow.
14474 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #18569]
14477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14478         underflow and return argument in case of subnormal argument.
14479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14480         Likewise.
14481         * math/auto-libm-test-in: Add more tests of expm1.
14482         * math/auto-libm-test-out: Regenerated.
14484         [BZ #16361]
14485         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14486         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14487         tiny results.
14488         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14489         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14490         tiny results.
14491         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14492         mark underflow exceptions as possibly missing for bug 16361.
14493         * math/auto-libm-test-out: Regenerated.
14495 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14497         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14498         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14499         Remove variable.
14500         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14501         (test-xfail-XOPEN2K8/utmpx.h/conform).
14503         * conform/conformtest.pl ($xerrors): New variable.
14504         (note_error): New function.
14505         (compiletest): New argument $xfail.  Use not_error.
14506         (runtest): Likewise.
14507         (top level): Handle xfail- lines.  Update calls to compiletest and
14508         runtest.  Handle xfail- and optional- in headers listed with
14509         allow-header.
14510         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14511         (O_EXEC): Likewise.
14512         (O_SEARCH): Likewise.
14513         * conform/data/stropts.h-data (ioctl): Likewise.
14514         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14515         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14516         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14517         (msghdr.msg_controllen): Likewise.
14518         (cmsghdr.cmsg_len): Likewise.
14519         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14520         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14521         variable.
14522         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14523         (test-xfail-XPG4/stropts.h/conform): Likewise.
14524         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14525         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14526         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14527         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14528         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14529         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14530         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14531         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14532         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14533         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14534         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14535         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14536         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14537         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14538         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14539         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14540         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14541         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14542         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14544 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14546         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14547         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14548         definitions for proper unfolding of __MATHDECL_VEC.
14550 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14552         * benchtests/bench-strcoll.c:
14553         Include string.h.
14554         (main): Remove unused variable res.
14556 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14558         * timezone/Makefile (%/UTC %/Universal):
14559         Generate test-result files for UTC and Universal.
14561 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14563         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14565 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14567         [BZ #16350]
14568         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14569         for arguments with small absolute value.
14570         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14571         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14572         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14573         (__asinh): Force underflow exception for arguments with small
14574         absolute value.
14575         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14576         (__asinhf): Force underflow exception for arguments with small
14577         absolute value.
14578         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14579         (__asinhl): Force underflow exception for arguments with small
14580         absolute value.
14581         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14582         (__asinhl): Force underflow exception for arguments with small
14583         absolute value.
14584         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14585         (__asinhl): Force underflow exception for arguments with small
14586         absolute value.
14587         * math/auto-libm-test-in: Do not mark underflow exceptions as
14588         possibly missing for bug 16350.
14589         * math/auto-libm-test-out: Regenerated.
14591         * include/bits/ipc.h: Remove file.
14592         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14593         variable.
14594         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14595         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14596         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14597         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14598         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14599         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14600         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14601         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14602         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14604         * math/auto-libm-test-in: Remove spurious underflow allowance for
14605         tests of cexp.
14606         * math/auto-libm-test-out: Regenerated.
14608         [BZ #18558]
14609         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14610         unconditional definition.
14611         (MCAST_BLOCK_SOURCE): Likewise.
14612         (MCAST_UNBLOCK_SOURCE): Likewise.
14613         (MCAST_LEAVE_GROUP): Likewise.
14614         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14615         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14616         (MCAST_MSFILTER): Likewise.
14617         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14618         Remove variable.
14619         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14620         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14621         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14622         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14623         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14625 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14627         * NEWS: Mention addition of x86_64 vector sincosf.
14628         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14629         * math/test-float-vlen4.h: Likewise.
14630         * math/test-float-vlen8.h: Likewise.
14631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14632         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14633         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14634         * sysdeps/x86_64/fpu/Versions: New versions added.
14635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14636         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14637         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14639         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14641         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14642         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14643         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14644         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14645         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14646         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14647         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14648         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14649         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14650         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14651         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14652         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14660         * NEWS: Mention addition of x86_64 vector sincos.
14661         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14662         * math/math.h (__MATHDECL_VEC): New macro.
14663         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14664         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14665         declaration under condition.
14666         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14667         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14668         TEST_VEC_LOOP change.
14669         * math/test-double-vlen4.h: Likewise.
14670         * math/test-double-vlen8.h: Likewise.
14671         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14672         * math/test-float-vlen4.h: Likewise.
14673         * math/test-float-vlen8.h: Likewise.
14674         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14675         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14677         * sysdeps/x86_64/fpu/Versions: New versions added.
14678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14679         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14680         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14681         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14682         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14683         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14684         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14685         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14686         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14687         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14688         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14689         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14690         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14691         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14692         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14693         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14694         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14695         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14697         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14698         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14699         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14700         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14701         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14703         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14704         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14705         redirections for powf.
14706         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14707         * sysdeps/x86_64/fpu/Versions: New versions added.
14708         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14709         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14710         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14711         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14712         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14713         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14714         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14715         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14716         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14717         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14718         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14719         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14720         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14721         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14722         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14723         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14724         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14725         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14726         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14727         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14729         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14730         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14731         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14732         * math/test-float-vlen16.h: Fixed 2 argument macro.
14733         * math/test-float-vlen4.h: Likewise.
14734         * math/test-float-vlen8.h: Likewise.
14735         * NEWS: Mention addition of x86_64 vector powf.
14737 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14739         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14740         and redefine.
14741         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14742         and redefine.
14743         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14744         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14745         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14747         [BZ #18553]
14748         * resource/getpriority.c (getpriority): Rename to __getpriority
14749         and define as weak alias of __getpriority.
14750         * resource/setpriority.c (setpriority): Rename to __setpriority
14751         and define as weak alias of __setpriority.
14752         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14753         __getpriority and define as weak alias of __getpriority.
14754         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14755         __setpriority and define as weak alias of __setpriority.
14756         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14757         strong name.
14758         (setpriority): Use __setpriority as strong name.
14759         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14760         __getpriority and define as weak alias of __getpriority.
14761         * include/sys/resource.h (__getpriority): Declare.  Use
14762         libc_hidden_proto.
14763         (__setpriority): Likewise.
14764         (getpriority): Don't use libc_hidden_proto.
14765         (setpriority): Likewise.
14766         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14767         getpriority.  Call __setpriority instead of setpriority.
14768         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14769         Remove variable.
14771         [BZ #18547]
14772         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14773         as weak alias of __getttynam.  Use prototype function definition.
14774         Call __setttyent, __getttyent and __endttyent instead of
14775         setttyent, getttyent and endttyent.
14776         (getttyent): Rename to __getttyent and define as weak alias of
14777         __getttyent.  Call __setttyent instead of setttyent.  Call
14778         __fgets_unlocked instead of fgets_unlocked.
14779         (setttyent): Rename to __setttyent and define as weak alias of
14780         __setttyent.
14781         (endttyent): Rename to __endttyent and define as weak alias of
14782         __endttyent.
14783         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14784         (__setttyent): Likewise.
14785         (__endttyent): Likewise.
14786         (getttyent): Don't use libc_hidden_proto.
14787         (setttyent): Likewise.
14788         (endttyent): Likewise.
14789         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14790         __endttyent instead of setttyent, getttyent and endttyent.
14791         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14792         Remove variable.
14794         [BZ #18546]
14795         * socket/recv.c (__recv): Use libc_hidden_def.
14796         * socket/socket.c (__socket): Likewise.
14797         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14798         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14799         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14800         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14801         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14802         libc_hidden_def.
14803         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14804         libc_hidden_weak.
14805         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14806         Use libc_hidden_proto.
14807         (__recv): Likewise.
14808         * socket/Versions (libc): Export __recv and __socket at version
14809         GLIBC_PRIVATE.
14810         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14811         instead of recv.
14812         (init_mq_netlink): Call __socket instead of socket.
14813         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14814         Remove variable.
14816         [BZ #18545]
14817         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14818         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14819         hidden_weak.
14820         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14821         define as alias of __mq_timedsend.  Use hidden_weak.
14822         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14823         __mq_timedsend as strong name.
14824         (mq_timedreceive): Use __mq_timedreceive as strong name.
14825         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14826         (__mq_timedreceive): Likewise.
14827         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14828         __mq_timedreceive instead of mq_timedreceive.
14829         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14830         instead of mq_timedsend.
14831         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14832         Remove variable.
14834         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14835         hidden_def and hidden_weak instead of libc_hidden_def and
14836         libc_hidden_weak.
14837         (top level): Refer to hidden_def in comment.
14838         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14839         macro.  Use it instead of libc_hidden_def.
14840         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14841         specify __GI_* name explicitly.
14842         (mq_timedreceive): Likewise.
14843         (mq_setattr): Likewise.
14845         [BZ #18544]
14846         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14847         __pthread_barrier_init and define as weak alias of
14848         __pthread_barrier_init.
14849         * sysdeps/sparc/nptl/pthread_barrier_init.c
14850         (pthread_barrier_init): Likewise.
14851         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14852         __pthread_barrier_wait and define as weak alias of
14853         __pthread_barrier_wait.
14854         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14855         (pthread_barrier_wait): Likewise.
14856         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14857         (pthread_barrier_wait): Likewise.
14858         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14859         (pthread_barrier_wait): Likewise.
14860         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14861         (pthread_barrier_wait): Likewise.
14862         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14863         __pthread_barrier_wait at version GLIBC_PRIVATE.
14864         * include/pthread.h (__pthread_barrier_init): Declare.
14865         (__pthread_barrier_wait): Likewise.
14866         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14867         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14868         (helper_thread): Likewise.
14869         (init_mq_netlink): Call __pthread_barrier_init instead of
14870         pthread_barrier_init.
14872         [BZ #18542]
14873         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14874         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14875         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14876         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14877         vswscanf.
14878         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14879         Remove variable.
14881         [BZ #18540]
14882         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14883         strong alias of _IO_fflush.  Use libc_hidden_def.
14884         * libio/iofflush_u.c (fflush_unlocked): Rename to
14885         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14886         Use libc_hidden_weak.
14887         * include/stdio.h (__fflush_unlocked): Declare.  Use
14888         libc_hidden_proto.
14889         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14890         fflush_unlocked.
14891         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14892         Remove variable.
14894         [BZ #18539]
14895         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14896         define as weak alias of __addseverity.
14897         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14898         Remove variable.
14899         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14900         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14901         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14903         [BZ #18536]
14904         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14905         (__tfind): Likewise.
14906         (__tdelete): Likewise.
14907         (__twalk): Likewise.
14908         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14909         __twalk to GLIBC_PRIVATE.
14910         * include/search.h (__tsearch): Use libc_hidden_proto.
14911         (__tfind): Likewise.
14912         (__tdelete): Likewise.
14913         (__twalk): Likewise.
14914         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14915         Call __tdelete instead of tdelete.
14916         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14917         tfind.  Call __tsearch instead of tsearch.
14918         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14919         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14920         Remove variable.
14921         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14923         [BZ #18534]
14924         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14925         (dprintf): Define as a weak alias of __dprintf, not a strong
14926         alias.
14927         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14928         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14929         dprintf.
14930         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14931         Remove variable.
14932         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14933         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14935         [BZ #18533]
14936         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14937         not a strong alias.
14938         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14939         Remove variable.
14941         [BZ #18532]
14942         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14943         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14944         (in6addr_loopback): Rename to __in6addr_loopback and define as
14945         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14946         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14947         libc_hidden_proto.
14948         (__in6addr_any): Likewise.
14949         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14950         in6addr_any.
14951         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14952         variable.
14953         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14955 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14957         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14958         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14959         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14960         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14961         redirections for pow.
14962         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14963         * sysdeps/x86_64/fpu/Versions: New versions added.
14964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14965         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14966         build of SSE, AVX2 and AVX512 IFUNC versions.
14967         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14968         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14969         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14970         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14971         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14972         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14973         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14974         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14975         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14976         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14977         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14978         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14979         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14981         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14982         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14984         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14985         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14986         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14987         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14988         * NEWS: Mention addition of x86_64 vector pow.
14990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14992         redirections for expf.
14993         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14994         * sysdeps/x86_64/fpu/Versions: New versions added.
14995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14996         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14997         build of SSE, AVX2 and AVX512 IFUNC versions.
14998         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15000         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15001         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15002         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15003         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15004         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15005         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15006         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15007         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15008         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15009         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15010         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15011         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15012         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15013         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15015         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15016         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15017         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15018         * NEWS: Mention addition of x86_64 vector expf.
15020         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15021         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15022         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15023         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15024         redirections for exp.
15025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15026         * sysdeps/x86_64/fpu/Versions: New versions added.
15027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15029         build of SSE, AVX2 and AVX512 IFUNC versions.
15030         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15031         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15033         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15034         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15035         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15036         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15037         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15038         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15039         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15040         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15041         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15042         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15043         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15044         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15045         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15046         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15047         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15048         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15049         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15050         * NEWS: Mention addition of x86_64 vector exp.
15052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15053         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15054         redirections for logf.
15055         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15056         * sysdeps/x86_64/fpu/Versions: New versions added.
15057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15058         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15059         build of SSE, AVX2 and AVX512 IFUNC versions.
15060         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15061         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15062         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15063         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15064         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15065         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15066         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15067         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15068         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15069         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15070         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15071         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15072         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15073         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15074         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15075         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15077         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15078         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15079         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15080         * NEWS: Mention addition of x86_64 vector logf.
15082         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15083         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15084         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15085         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15086         redirections for log.
15087         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15088         * sysdeps/x86_64/fpu/Versions: New versions added.
15089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15090         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15091         build of SSE, AVX2 and AVX512 IFUNC versions.
15092         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15093         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15094         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15095         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15096         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15097         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15098         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15099         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15100         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15101         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15102         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15103         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15104         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15105         test.
15106         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15110         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15112         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15113         * NEWS: Mention addition of x86_64 vector log.
15115 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15117         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15118         cfi_adjust_cfa_offset argument.
15119         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15120         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15122         [BZ #18034]
15123         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15124         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15125         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15126         ordering using ldar.
15127         (_dl_tlsdesc_dynamic): Likewise.
15128         (_dl_tlsdesc_return_lazy): Likewise.
15129         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15130         relaxed atomics instead of volatile and synchronize with release store.
15131         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15132         volatile.
15133         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15135 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15137         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15138         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15139         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15140         * sysdeps/x86_64/fpu/Versions: New versions added.
15141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15142         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15143         build of SSE, AVX2 and AVX512 IFUNC versions.
15144         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15145         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15146         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15147         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15148         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15149         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15150         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15151         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15152         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15153         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15154         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15155         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15157         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15158         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15159         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15163         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15164         * NEWS: Mention addition of x86_64 vector sinf.
15166 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15168         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15169         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15170         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15171         Remove variable.
15172         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15173         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15175 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15177         [BZ #18530]
15178         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15179         strong alias of _IO_fputs.  Use libc_hidden_def.
15180         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15181         and define as weak alias of __fputs_unlocked.  Use
15182         libc_hidden_weak.
15183         * include/stdio.h (__fputs_unlocked): Declare.  Use
15184         libc_hidden_proto.
15185         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15186         fputs_unlocked.
15188         [BZ #18529]
15189         * resolv/netdb.h [__USE_POSIX]: Change condition to
15190         [__USE_XOPEN2K].
15191         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15192         not expect.
15193         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15194         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15195         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15196         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15197         [XPG4 || UNIX98] (AI_ALL): Likewise.
15198         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15199         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15200         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15201         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15202         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15203         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15204         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15205         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15206         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15207         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15208         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15209         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15210         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15211         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15212         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15213         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15214         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15215         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15216         [XPG4 || UNIX98] (gai_strerror): Likewise.
15217         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15218         [XPG4 || UNIX98] (getnameinfo): Likewise.
15220         [BZ #18528]
15221         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15222         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15223         __USE_XOPEN2K8].
15224         (getgrent): Likewise.
15225         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15226         expect.
15227         [XPG3 || POSIX2008] (endgrent): Likewise.
15228         [XPG3] (setgrent): Likewise.
15229         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15230         variable.
15231         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15233         [BZ #18527]
15234         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15235         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15236         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15237         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15238         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15239         * include/unistd.h (__getlogin_r): Declare.  Use
15240         libc_hidden_proto.
15241         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15242         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15243         variable.
15244         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15245         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15246         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15248 2015-06-12  Martin Sebor  <msebor@redhat.com>
15250         [BZ #18512]
15251         * Makerules (check-install-supported): New target.
15252         (install): Add check-install-supported as a dependency.
15253         * manual/install.texi (Installing the C Library): Document
15254         that overriding prefix and exec_prefix is not supported.
15255         Mention DESTDIR.
15256         * INSTALL: Regenerate from the above.
15258 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15260         [BZ #18519]
15261         * posix/Versions (libc): Export __libc_pread at version
15262         GLIBC_PRIVATE.
15263         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15264         instead of pread.
15265         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15266         variable.
15268         [BZ #18522]
15269         * misc/efgcvt_r.c
15270         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15271         (cvt_symbol): Use weak_alias instead of strong_alias.
15272         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15273         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15274         Remove variable.
15275         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15276         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15278         [BZ #18520]
15279         * inet/herrno.c (h_errno): Rename to __h_errno.
15280         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15281         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15282         to __h_errno instead of h_errno.
15283         * nptl/herrno.c (h_errno): Rename to __h_errno.
15284         (__h_errno_location): Refer to __h_errno not h_errno.
15285         * resolv/Versions (h_errno): Rename to __h_errno.
15286         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15287         Remove variable.
15288         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15290 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15292         * configure.ac: More strict check for AVX512 assembler support.
15293         * configure: Regenerated.
15295         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15296         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15298         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15299         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15300         * sysdeps/x86_64/fpu/Versions: New versions added.
15301         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15302         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15303         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15304         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15305         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15306         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15307         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15308         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15309         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15310         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15311         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15312         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15313         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15314         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15315         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15316         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15317         test.
15318         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15319         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15320         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15321         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15322         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15323         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15324         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15325         * NEWS: Mention addition of x86_64 vector sin.
15327 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15329         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15330         comment.
15332 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15334         [BZ #18479]
15335         * nptl/pt-interp.c: New file.
15336         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15337         Add pt-interp.
15338         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15339         $(common-objpfx)runtime-linker.h.
15341 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15343         * Makeconfig (+interp): Remove unused variable.
15344         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15345         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15346         $(elf-objpfx)runtime-linker.h.
15347         ($(elf-objpfx)runtime-linker.h): Rename to
15348         $(common-objpfx)runtime-linker.h and move ...
15349         * Makerules [$(build-shared) = yes]: ... here.
15350         * elf/interp.c: Include <runtime-linker.h> instead of
15351         <elf/runtime-linker.h>.
15353 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15355         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15356         (__gettimeofday_syscall): Remove vsyscall fallback.
15357         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15358         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15359         Add syscall fallback function.
15360         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15361         if vDSO is not present.
15362         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15363         fallback function.
15364         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15365         present.
15366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15367         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15369 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15371         [BZ #18497]
15372         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15373         of wcscmp.
15374         (wcscmp): Define as weak alias of WCSCMP.
15375         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15376         wcscoll.
15377         (USE_HIDDEN_DEF): Define.
15378         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15379         __wcscoll.  Don't use libc_hidden_weak.
15380         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15381         wcscmp.
15382         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15383         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15384         __GI_wcscmp.
15385         (weak_alias): Undefine and redefine.
15386         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15387         __wcscmp and define as weak alias of __wcscmp.
15388         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15389         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15390         (__wcscoll): Likewise.
15391         (wcscmp): Don't use libc_hidden_proto.
15392         (wcscoll): Likewise.
15393         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15394         wcscoll.
15395         * posix/regexec.c (check_node_accept_bytes): Likewise.
15396         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15397         variable.
15398         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15399         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15401         [BZ #18507]
15402         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15403         __fstatvfs and define as weak alias of __fstatvfs.  Use
15404         libc_hidden_weak.
15405         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15406         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15407         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15408         Define as alias of __fstatvfs, not fstatvfs.
15409         (fstatvfs64): Likewise.
15410         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15411         Define as alias of __statvfs, not statvfs.
15412         (statvfs64): Likewise.
15413         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15414         Remove variable.
15416 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15419         (HAVE_GETCPU_VSYSCALL): Define.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15421         (HAVE_GETCPU_VSYSCALL): Likewise.
15422         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15423         * sysdeps/unix/sysv/linux/sched_getcpu.c
15424         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15425         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15426         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15427         prototype.
15428         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15429         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15430         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15431         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15432         Define.
15433         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15434         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15435         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15436         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15438 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15440         * sysdeps/x86_64/fpu/Makefile: New file.
15441         * sysdeps/x86_64/fpu/Versions: New file.
15442         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15443         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15444         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15445         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15446         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15447         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15448         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15449         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15451         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15452         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15453         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15454         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15455         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15456         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15457         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15458         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15459         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15460         * sysdeps/x86_64/configure: Regenerated.
15461         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15463         * manual/install.texi (Configuring and compiling): Document
15464         --disable-mathvec.
15465         * INSTALL: Regenerated.
15466         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15468         * math/Makefile: Added rules for vector tests.
15469         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15470         declaration under condition.
15471         * math/test-double-vlen2.h: New file.
15472         * math/test-double-vlen4.h: New file.
15473         * math/test-double-vlen8.h: New file.
15474         * math/test-vec-loop.h: Added initialization macro.
15475         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15477         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15478         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15479         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15480         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15481         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15482         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15483         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15484         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15485         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15487         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15488         * sysdeps/x86_64/fpu/Versions: New versions added.
15489         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15490         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15491         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15492         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15493         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15494         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15495         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15496         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15497         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15498         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15499         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15500         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15501         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15503         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15505         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15506         * NEWS: Mention addition of x86_64 vector cosf.
15508         * math/Makefile: Added CFLAGS for new tests.
15509         * math/test-float-vlen16.h: New file.
15510         * math/test-float-vlen4.h: New file.
15511         * math/test-float-vlen8.h: New file.
15512         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15513         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15516         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15517         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15518         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15520         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15521         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15522         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15524 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15526         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15527         * locale/programs/ld-ctype.c: Likewise.
15529 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15531         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15532         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15533         bit_ZMM16_31_state): New macro.
15534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15535         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15537 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15539         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15541 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15543         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15545 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15547         [BZ #18498]
15548         * libio/memstream.c (open_memstream): Rename to __open_memstream
15549         and define as weak alias of __open_memstream.
15550         * include/stdio.h (__open_memstream): Declare.  Use
15551         libc_hidden_proto.
15552         (open_memstream): Don't use libc_hidden_proto.
15553         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15554         open_memstream.
15555         * posix/getopt.c (_getopt_internal_r): Likewise.
15556         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15557         variable.
15558         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15559         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15560         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15562         [BZ #18496]
15563         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15564         instead of wcrtomb.
15566         [BZ #18483]
15567         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15568         [__USE_XOPEN2K8].  Remove redundant #endif.
15569         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15570         Remove redundant #if.
15571         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15572         Remove variable.
15573         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15574         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15576         [BZ #18495]
15577         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15578         (__iswlower): Likewise.
15579         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15580         (__iswlower): Likewise.
15581         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15582         instead of towlower.
15583         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15584         instead of iswlower.  Call __towupper instead of towupper.
15585         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15586         instead of iswalnum.
15588 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15590         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15591         errors to stderr.
15593 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15595         [BZ #15661]
15596         [BZ #17322]
15597         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15598         Check for overflow properly.  Check for O_APPEND.  Ignore large
15599         file system block sizes.  Add comments about problems.
15600         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15601         * manual/filesys.texi (Storage Allocation): New node.
15603 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15605         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15606         cancellable syscalls.
15607         (SYS_ify): Add guard to no redefine it.
15608         (INLINE_SYSCALL): Likewise.
15609         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15610         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15611         SYSCALL_CANCEL instead.
15612         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15613         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15614         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15615         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15616         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15617         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15618         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15619         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15620         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15621         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15622         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15623         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15624         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15625         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15626         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15627         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15628         Likewise.
15629         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15630         (__libc_pread64): Likewise.
15631         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15632         (__libc_preadv): Likewise.
15633         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15634         (__libc_readv64): Likewise.
15635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15636         (__libc_pwrite): Likewise.
15637         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15638         (__libc_pwrite64): Likewise.
15639         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15640         (__libc_pwritev): Likewise.
15641         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15642         (__libc_pwritev64): Likewise.
15643         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15644         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15645         (sync_file_range): Likewise.
15646         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15647         Likewise.
15648         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15649         Likewise.
15650         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15651         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15652         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15653         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15654         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15655         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15656         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15657         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15659         Likewise.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15661         (__libc_read64): Likewise.
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15663         Likewise.
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15665         Likewise.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15667         Likewise.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15669         Likewise.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15671         (__libc_pread64): Likewise.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15673         Likewise.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15675         (__libc_pwrite64): Likewise.
15676         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15677         (sync_file_range): Likewise.
15678         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15679         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15680         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15681         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15682         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15683         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15684         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15685         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15686         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15687         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15688         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15689         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15690         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15691         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15692         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15693         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15694         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15695         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15696         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15697         Likewise.
15698         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15699         Likewise.
15700         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15701         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15702         Likewise.
15703         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15704         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15705         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15706         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15707         Likewise.
15708         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15709         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15710         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15711         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15712         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15714 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15716         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15717         Include dl-vdso.
15718         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15719         Use VDSO routines for gettimeofday, clock_gettime if
15720         available.
15721         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15722         Declare VDSO symbols.
15723         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15724         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15725         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15726         * sysdeps/unix/sysv/linux/arm/Versions: Add
15727         __vdso_clock_gettime.
15729 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15731         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15732         be an inline implementation regardless of library is built within.
15733         (open_not_cancel_2): Likewise.
15734         (__read_nocancel): Likewise.
15735         (__write_nocancel): Likewise.
15736         (openat_not_cancel): Likewise.
15737         (openat_not_cancel_3): Likewise.
15738         (openat64_not_cancel): Likewise.
15739         (openat64_not_cancel_3): Likewise.
15740         (__close_nocancel): Likewise.
15741         (pause_not_cancel): Likewise.
15742         (nanosleep_not_cancel): Likewise.
15743         (sigsuspend_not_cancel): Likewise.
15745 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15747         [BZ #14958]
15748         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15749         wake-up.
15750         (__pthread_rwlock_rdlock_slow): Likewise.
15751         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15752         Likewise.
15753         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15754         Likewise.
15755         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15756         * nptl/tst-rwlock16.c: New file.
15757         * nptl/Makefile (tests): Add new test.
15759 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15761         [BZ #18324]
15762         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15763         missing wake-up of readers.
15764         * nptl/tst-rwlock15.c: New file.
15765         * nptl/Makefile (tests): Add new test.
15767 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15769         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15770         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15771         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15772         and __nacl_supply_interface_rtld.
15773         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15774         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15775         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15776         Add __nacl_supply_interface_rtld.
15777         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15779 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15781         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15782         isfinite.
15783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15784         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15786 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15788         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15789         __signbit* with standard C99 macros.
15790         * math/e_exp10l.c: Likewise.
15791         * math/e_exp2l.c: Likewise.
15792         * math/e_scalb.c: Likewise.
15793         * math/e_scalbf.c: Likewise.
15794         * math/e_scalbl.c: Likewise.
15795         * math/s_ldexp.c: Likewise.
15796         * math/s_ldexpf.c: Likewise.
15797         * math/s_ldexpl.c: Likewise.
15798         * math/w_atan2.c: Likewise.
15799         * math/w_atan2f.c: Likewise.
15800         * math/w_atan2l.c: Likewise.
15801         * math/w_cosh.c: Likewise.
15802         * math/w_coshf.c: Likewise.
15803         * math/w_coshl.c: Likewise.
15804         * math/w_exp10.c: Likewise.
15805         * math/w_exp10f.c: Likewise.
15806         * math/w_exp10l.c: Likewise.
15807         * math/w_exp2.c: Likewise.
15808         * math/w_exp2f.c: Likewise.
15809         * math/w_exp2l.c: Likewise.
15810         * math/w_fmod.c: Likewise.
15811         * math/w_fmodf.c: Likewise.
15812         * math/w_fmodl.c: Likewise.
15813         * math/w_hypot.c: Likewise.
15814         * math/w_hypotf.c: Likewise.
15815         * math/w_hypotl.c: Likewise.
15816         * math/w_jnl.c: Likewise.
15817         * math/w_lgamma.c: Likewise.
15818         * math/w_lgamma_r.c: Likewise.
15819         * math/w_lgammaf.c: Likewise.
15820         * math/w_lgammaf_r.c: Likewise.
15821         * math/w_lgammal.c: Likewise.
15822         * math/w_lgammal_r.c: Likewise.
15823         * math/w_pow.c: Likewise.
15824         * math/w_powf.c: Likewise.
15825         * math/w_powl.c: Likewise.
15826         * math/w_remainder.c: Likewise.
15827         * math/w_remainderf.c: Likewise.
15828         * math/w_remainderl.c: Likewise.
15829         * math/w_scalb.c: Likewise.
15830         * math/w_scalbf.c: Likewise.
15831         * math/w_scalbl.c: Likewise.
15832         * math/w_scalbln.c: Likewise.
15833         * math/w_scalblnf.c: Likewise.
15834         * math/w_scalblnl.c: Likewise.
15835         * math/w_sinh.c: Likewise.
15836         * math/w_sinhf.c: Likewise.
15837         * math/w_sinhl.c: Likewise.
15838         * math/w_tgamma.c: Likewise.
15839         * math/w_tgammaf.c: Likewise.
15840         * math/w_tgammal.c: Likewise.
15841         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15842         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15843         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15844         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15845         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15846         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15847         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15848         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15849         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15850         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15851         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15852         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15854         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15855         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15856         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15857         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15858         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15859         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15860         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15865         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15866         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15867         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15868         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15869         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15870         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15871         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15872         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15873         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15874         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15875         * stdio-common/printf_fp.c: Likewise.
15876         * stdio-common/printf_fphex.c: Likewise.
15877         * stdio-common/printf_size.c: Likewise.
15879 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15881         [BZ #18470]
15882         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15883         strnlen.
15884         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15885         Remove variable.
15886         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15887         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15888         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15889         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15890         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15891         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15892         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15893         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15894         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15895         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15897         [BZ #18468]
15898         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15899         weak alias of __wmemchr.  Use libc_hidden_weak.
15900         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15901         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15902         instead of wmemchr.
15904 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15906         [BZ #18383]
15907         * elf/tst-tlsalign-extern.c: New file.
15908         * elf/tst-tlsalign-extern-static.c: New file.
15909         * elf/tst-tlsalign-vars.c: New file.
15910         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15911         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15912         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15913         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15914         (test-xfail-tst-tlsalign-extern-static): New variable.
15916 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15918         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15919         Use variable name _sc_err instead of err.
15920         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15921         instead of ret.
15922         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15923         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15924         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15925         (INLINE_SYSCALL): Likewise.
15927         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15928         * include/string.h (__strnlen): Use libc_hidden_proto.
15929         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15930         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15931         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15933         (libc_hidden_def): Undefine and redefine.
15934         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15935         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15936         __GI_strnlen.
15937         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15938         libc_hidden_def.
15939         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15941         [BZ #18469]
15942         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15943         weak alias of __towlower.  Use libc_hidden_weak.
15944         (towupper): Rename to __towupper and define as weak alias of
15945         __towupper.  Use libc_hidden_weak.
15946         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15947         (__towupper): Likewise.
15948         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15949         __towlower instead of towlower.
15951 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15953         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15954         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15956 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15958         * sysdeps/aarch64/libm-test-ulps: Update.
15960 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15962         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15963         Define.
15964         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15966         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15967         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15968         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15969         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15970         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15972 2015-06-01  Martin Sebor  <msebor@redhat.com>
15974         [BZ #18116]
15975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15976         (__setcontext): Use extended four-operand version of mtsf whenever
15977         possible.
15978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15979         (__novec_swapcontext): Likewise.
15981 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15983         * benchtests/scripts/compare_bench.py: New file.
15984         * benchtests/scripts/import_bench.py (mean): New function.
15985         (split_list): Likewise.
15986         (do_for_all_timings): Likewise.
15987         (compress_timings): Likewise.
15989         * benchtests/scripts/import_bench.py: New file.
15990         * benchtests/scripts/validate_benchout.py: Import import_bench
15991         instead of jsonschema.
15992         (validate_bench): Remove function.
15993         (main): Use import_bench.
15995 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15997         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15998         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16000 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16004 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16006         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16007         set THREAD_SELF->tid to a magic value and futex-wake it.
16008         Pass its address to the thread_exit system call.
16009         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16010         bit is clear.
16011         * sysdeps/nacl/lowlevellock.h: New file.
16012         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16014         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16015         Add TIMEOUT to current time, don't subtract it.
16017 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16019         [BZ #2981]
16020         [BZ #18422]
16021         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16022         ($(objpfx)tst-audit2.out): Also depend on
16023         $(objpfx)tst-auditmod9b.so.
16024         * elf/tst-audit2.c: Include <dlfcn.h>.
16025         (calloc_called): New.
16026         (calloc): Allow to be called more than once.
16027         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16029 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16031         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16032         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16034 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16036         * stdlib/monetary.h: Fix comment.
16038 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16040         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16041         Avoid using variables in #defines that might cause shadowing.
16042         (INTERNAL_VSYSCALL_CALL): Likewise.
16044 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16046         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16048         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16049         * nptl/lll_timedlock_wait.c: ... to this new file.
16050         * nptl/Makefile (libpthread-routines): Add it.
16051         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16052         * nptl/lll_timedwait_tid.c: ... to this new file.
16053         * nptl/Makefile (libpthread-routines): Add it.
16054         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16055         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16056         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16057         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16058         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16059         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16060         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16061         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16062         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16063         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16065 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16067         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16069         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16070         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16071         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16073         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16075         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16076         * sysdeps/unix/sysv/linux/tile/sysdep.h
16077         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16078         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16079         using vDSO syscall macro.
16081 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16083         [BZ #17293]
16084         * uk_UA: Fix sorting order for Ukrainian locale
16086 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16088         * stdlib/monetary.h: Fix comment.
16090 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16092         [BZ #18234]
16093         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16094         st_mtim and st_ctim members.
16095         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16096         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16097         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16098         (struct stat64): Likewise.
16099         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16100         (struct stat64): Likewise.
16101         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16102         (struct stat64): Likewise.
16104 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16106         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16107         Define and include sysdep-vdso.h.
16108         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16109         Likewise.
16110         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16111         Likewise.
16112         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16113         Define with VDSO_SYMBOL and use PTR_MANGLE.
16114         (__vdso_clock_gettime): Likewise.
16115         (__vdso_clock_getres): Likewise.
16116         (_libc_vdso_platform_setup): Likewise.
16117         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16118         Likewise.
16119         (_libc_vdso_platform_setup): Likewise.
16120         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16121         Likewise.
16122         (__vdso_clock_gettime): Likewise.
16123         (__vdso_clock_getres): Likewise.
16124         (__vdso_get_tbfreq): Likewise.
16125         (__vdso_getcpu): Likewise.
16126         (__vdso_time): Likewise.
16127         (__vdso_sigtramp_rt64): Likewise.
16128         (__vdso_signtramp32): Likewise.
16129         (__vdso_sigtramp_rt32): Likewise.
16130         (_libc_vdso_platform_setup): Likewise.
16131         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16132         Likewise.
16133         (__vdso_clock_gettime): Likewise.
16134         (__vdso_clock_getres): Likewise.
16135         (_libc_vdso_platform_setup): Likewise.
16136         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16137         Likewise.
16138         (__vdso_clock_gettime): Likewise.
16139         (_libc_vdso_platform_setup): Likewise.
16140         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16141         Likewise.
16142         (__vdso_getcpu): Likewise.
16143         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16144         Use VDSO_SYMBOL macro to define.
16145         (__vdso_clock_gettime): Likewise.
16146         (__vdso_clock_getres): Likewise.
16147         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16148         Likewise.
16149         (__vdso_clock_gettime): Likewise.
16150         (__vdso_clock_getres): Likewise.
16151         (__vdso_get_tbfreq): Likewise.
16152         (__vdso_getcpu): Likewise.
16153         (__vdso_time): Likewise.
16154         (__vdso_sigtramp_rt64): Likewise.
16155         (__vdso_signtramp32): Likewise.
16156         (__vdso_sigtramp_rt32): Likewise.
16157         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16158         Likewise.
16159         (__vdso_clock_gettime): Likewise.
16160         (__vdso_clock_getres): Likewise.
16161         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16162         Likewise.
16163         (__vdso_clock_gettime): Likewise.
16164         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16165         Likewise.
16166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16167         macro.
16168         (INTERNAL_VSYSCALL): Likewise.
16169         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16170         Remove macro.
16171         (INTERNAL_VSYSCALL): Likewise.
16172         (INTERNAL_VSYSCALL_NCS): Likewise.
16173         (INTERNAL_VSYSCALL_CALL): New macro.
16174         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16176         Likewise.
16177         (INTERNAL_VSYSCALL): Likewise.
16178         (INTERNAL_VSYSCALL_NCS): Likewise.
16179         (INTERNAL_VSYSCALL_CALL): New macro.
16180         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16182         (INLINE_VSYSCALL): Remove macro.
16183         (INTERNAL_VSYSCALL): Remove macro.
16184         (INTERNAL_VSYSCALL_NCS): Remove macro.
16185         (INTERNAL_VSYSCALL_CALL): New macro.
16186         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16187         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16188         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16189         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16190         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16192         (INLINE_VSYSCALL): Remove macro.
16193         (INTERNAL_VSYSCALL): Likewise.
16194         (INTERNAL_VSYSCALL_NCS): Likewise.
16195         (INTERNAL_VSYSCALL_CALL): New macro.
16196         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16197         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16198         PTR_DEMANGLE on vDSO pointer.
16199         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16200         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16201         macro.
16202         (INTERNAL_SYSCALL): Likewise.
16203         (INTERNAL_VSYSCALL_NCS): Remove macro.
16204         (INTERNAL_VSYSCALL_CALL): New macro.
16205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16206         Remove macro.
16207         (INTERNAL_VSYSCALL): Likewise.
16208         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16209         sysdep-vdso.h instead of libc-vdso.h.
16210         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16211         definition.
16212         (INLINE_VSYSCALL): Likewise.
16213         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16214         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16215         definition.
16216         (INLINE_VSYSCALL): Likewise.
16217         (INTERNAL_VSYSCALL): Likewise.
16218         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16219         * sysdeps/unix/sysv/linux/timespec_get.c
16220         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16221         (timespec_get): Use ANSI prototype.
16222         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16223         and definition for Linux.
16225 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16227         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16228         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16230 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16232         [BZ #2981]
16233         [BZ #18410]
16234         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16235         for missing DT_PLTRELSZ.
16237 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16239         Remove obsolete aliases that broke 'locale -a'
16240         [BZ #18412]
16241         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16242         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16243         breaking some applications that use 'locale -a' output.
16244         Change the encoding of this file from Latin-1 to ASCII to avoid
16245         other potential problems with people grepping this file.
16247 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16249         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16250         -fasynchronous-unwind-tables.
16251         (CFLAGS-sendto.c): Likewise.
16252         (CFLAGS-sendmsg.c): Likewise.
16253         (CFLAGS-connect.c): Likewise.
16254         (CFLAGS-recvmsg.c): Likewise.
16255         (CFLAGS-recvfrom.c): Likewise.
16256         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16257         (SOCKETCALL): New macro: non-cancellable socketcall.
16258         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16259         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16260         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16261         * sysdeps/unix/sysv/linux/accept.c: New file.
16262         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16263         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16264         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16265         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16266         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16267         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16268         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16269         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16270         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16271         * sysdeps/unix/sysv/linux/send.c: Likewise.
16272         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16273         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16274         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16275         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16276         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16277         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16278         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16279         prototype.
16280         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16281         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16282         instead of __internal_xxx function.
16283         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16284         prototype.
16285         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16286         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16287         instead of __internal_xxx function.
16288         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16289         prototype.
16290         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16291         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16292         instead of __internal_xxx function.
16293         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16294         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16295         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16296         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16297         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16298         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16299         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16300         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16301         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16302         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16303         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16304         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16305         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16307         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16308         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16309         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16310         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16311         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16312         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16315         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16316         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16317         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16318         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16319         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16320         * sysdeps/unix/sysv/linux/send.S: Likewise.
16321         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16322         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16323         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16324         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16325         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16326         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16327         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16328         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16329         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16330         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16331         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16332         socketcall is implemented in GLIBC.
16334 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16336         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16337         (__fma): Ignore uninitialized warnings around packing.
16338         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16339         (__fmaf): Ignore uninitialized warnings around packing.
16340         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16341         (__fmal): Ignore uninitialized warnings around packing.
16343         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16344         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16346         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16348         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16349         switch statement into default case.
16350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16352         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16353         a conditional in forcing "inexact".
16354         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16355         Likewise.
16357 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16359         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16360         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16361         for each INTERNAL_SYSCALL use.
16363 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16365         [BZ #438]
16366         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16367         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16368         variable.
16370         [BZ #18444]
16371         * string/basename.c (basename): Rename to __basename and define as
16372         weak alias of __basename.  Use libc_hidden_weak.
16373         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16374         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16375         __basename instead of basename.
16376         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16377         Remove variable.
16378         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16380 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16382         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16383         (_IO_JUMPS_FILE_plus): New.
16384         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16385         _IO_CAST_FIELD_ACCESS.
16386         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16387         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16388         * libio/freopen.c (freopen): Likewise.
16389         * libio/freopen64.c (freopen64): Likewise.
16390         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16391         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16392         * libio/iofwide.c (_IO_fwide): Likewise.
16393         * libio/memstream.c (open_memstream): Likewise.
16394         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16395         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16396         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16398 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16400         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16401         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16402         NADJ.
16403         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16404         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16405         NADJ.
16406         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16407         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16408         NADJ.
16410         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16411         (p == 4) case.
16413         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16414         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16415         Remove variable.
16416         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16417         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16418         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16420 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16422         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16423         Adjust jump table label generation macros.
16425 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16427         * stdio-common/vfprintf.c (vfprintf): Move local variables
16428         args_malloced, specs, specs_malloced, and the code after
16429         do_positional to the printf_positional function.
16430         (printf_positional): New function.
16432 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16434         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16435         function.
16436         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16437         STEP4_TABLE, process_arg): Move macro definitions
16438         out of the vfprintf function.  (Cosmetic change only.)
16440 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16442         * benchtests/Makefile (stdio-common-bench): Define.
16443         (benchset): Add stdio-common-bench.
16444         * sprintf-inputs: New file.
16445         * sprintf-source.c: New file.
16447 2015-05-21  Andreas Schwab  <schwab@suse.de>
16449         [BZ #13028]
16450         [BZ #17053]
16451         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16452         of struct __res_state.
16453         * resolv/res_send.c (__libc_res_nsend): Likewise.
16454         (get_nsaddr): New function.
16455         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16456         statp directly.
16458 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16460         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16461         -D_POSIX_C_SOURCE=199506L.
16463         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16465         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16466         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16467         Do not mention otherwise.
16468         [POSIX] (_XOPEN_VERSION): Do not expect.
16469         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16470         [POSIX] (_POSIX2_C_BIND): Likewise.
16471         [POSIX] (_POSIX2_VERSION): Likewise.
16472         [POSIX] (_XOPEN_XPG2): Likewise.
16473         [POSIX] (_XOPEN_XPG3): Likewise.
16474         [POSIX] (_XOPEN_XPG4): Likewise.
16475         [POSIX] (_XOPEN_UNIX): Likewise.
16476         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16477         [POSIX] (_POSIX_BARRIERS): Likewise.
16478         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16479         [POSIX] (_POSIX_CPUTIME): Likewise.
16480         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16481         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16482         [POSIX] (_POSIX_SHELL): Likewise.
16483         [POSIX] (_POSIX_SPAWN): Likewise.
16484         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16485         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16486         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16487         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16488         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16489         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16490         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16491         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16492         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16493         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16494         [POSIX] (_POSIX2_PBS): Likewise.
16495         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16496         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16497         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16498         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16499         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16500         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16501         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16502         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16503         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16504         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16505         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16506         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16507         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16508         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16509         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16510         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16511         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16512         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16513         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16514         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16515         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16516         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16517         [POSIX] (_SC_2_C_BIND): Likewise.
16518         [POSIX] (_SC_2_C_VERSION): Likewise.
16519         [POSIX] (_SC_2_PBS): Likewise.
16520         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16521         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16522         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16523         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16524         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16525         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16526         [POSIX] (_SC_BARRIERS): Likewise.
16527         [POSIX] (_SC_BASE): Likewise.
16528         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16529         [POSIX] (_SC_DEVICE_IO): Likewise.
16530         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16531         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16532         [POSIX] (_SC_FD_MGMT): Likewise.
16533         [POSIX] (_SC_FIFO): Likewise.
16534         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16535         [POSIX] (_SC_FILE_LOCKING): Likewise.
16536         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16537         [POSIX] (_SC_IOV_MAX): Likewise.
16538         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16539         [POSIX] (_SC_NETWORKING): Likewise.
16540         [POSIX] (_SC_PAGE_SIZE): Likewise.
16541         [POSIX] (_SC_PASS_MAX): Likewise.
16542         [POSIX] (_SC_PIPE): Likewise.
16543         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16544         [POSIX] (_SC_REGEXP): Likewise.
16545         [POSIX] (_SC_SHELL): Likewise.
16546         [POSIX] (_SC_SIGNALS): Likewise.
16547         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16548         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16549         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16550         [POSIX] (_SC_USER_GROUPS): Likewise.
16551         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16552         [POSIX] (_SC_STREAMS): Likewise.
16553         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16554         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16555         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16556         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16557         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16558         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16559         [POSIX] (_PC_FILESIZEBITS): Likewise.
16560         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16561         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16562         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16563         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16564         [POSIX] (uid_t): Likewise.
16565         [POSIX] (gid_t): Likewise.
16566         [POSIX] (off_t): Likewise.
16567         [POSIX] (pid_t): Likewise.
16568         [POSIX] (cuserid): Allow.
16569         (_SC_2_CHAR_TERM): Require constant.
16570         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16571         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16572         variable.
16574 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16576         * sysdeps/nacl/pthread-pids.h: New file.
16577         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16578         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16580         * nptl/pthread-pids.h: New file.
16581         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16582         * nptl/nptl-init.c: Include <pthread-pids.h>.
16583         (__pthread_initialize_minimal_internal):
16584         Call __pthread_initialize_pids instead of set_tid_address syscall.
16586         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16587         * sysdeps/posix/usleep.c: ... here.
16589 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16591         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16592         call_pselect6 object.
16593         [$(subdir) = io]: Remove call_sync_file_range object.
16594         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16595         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16596         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16597         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16599 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16601         * math/s_cproj.c: Add include "math_private.h".
16602         * math/s_cprojf.c: Likewise.
16603         * math/s_cprojl.c: Likewise.
16605 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16607         [BZ #18244]
16608         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16609         high mantissa bit when testing whether P is a NaN.
16610         * math/libm-test.inc (remainder_test_data): Add more tests.
16611         (remquo_test_data): Likewise.
16613         [BZ #18049]
16614         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16615         below -32, return the argument, with underflow if subnormal.
16616         * math/auto-libm-test-in: Add more tests of atanh.
16617         * math/auto-libm-test-out: Regenerated.
16619 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16621         [BZ #18434]
16622         * nptl/tst-sem15.c: New file.
16623         * nptl/Makefile (tests): Add it.
16624         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16625         s/<</>>/ to fix typo in EOVERFLOW check.
16626         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16628 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16630         * manual/strings.texi (envz_remove): Fix typo in safety
16631         annotations.
16633 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16634             Steve Ellcey  <sellcey@imgtec.com>
16636         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16637         in order to avoid strict alias warnings.
16638         (iruserok_af): Ditto for ra.
16640 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16642         [BZ #17581]
16643         * malloc/hooks.c
16644         (magicbyte): Convert to a function and avoid returning 0x01.
16645         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16646         (mem2chunk_check): Fix unsigned comparisons to zero.
16647         Hoist defs of sz and magic.
16649 2015-05-19  Richard Henderson  <rth@redhat.com>
16651         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16653         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16655 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16657         [BZ #16159]
16658         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16659         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16660         (reused_arena): Find a non-corrupt arena.
16661         (heap_trim): Pass arena to unlink.
16662         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16663         malloc_printerr.
16664         (top_check): Likewise.
16665         (free_check): Likewise.
16666         (realloc_check): Likewise.
16667         * malloc/malloc.c (malloc_printerr): Add arena argument.
16668         (unlink): Likewise.
16669         (munmap_chunk): Adjust.
16670         (ARENA_CORRUPTION_BIT): New macro.
16671         (arena_is_corrupt): Likewise.
16672         (set_arena_corrupt): Likewise.
16673         (sysmalloc): Use mmap if there are no usable arenas.
16674         (_int_malloc): Likewise.
16675         (__libc_malloc): Don't fail if arena_get returns NULL.
16676         (_mid_memalign): Likewise.
16677         (__libc_calloc): Likewise.
16678         (__libc_realloc): Adjust for additional argument to
16679         malloc_printerr.
16680         (_int_free): Likewise.
16681         (malloc_consolidate): Likewise.
16682         (_int_realloc): Likewise.
16683         (_int_memalign): Don't touch corrupt arenas.
16684         * malloc/tst-malloc-backtrace.c: New test case.
16686         * Makefile (summarize-tests): Fix return value on success.
16688         * manual/string.texi (Envz Functions): Add envz_remove.
16690 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16692         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16693         (invalid_name): New function, broken out of ...
16694         (__opendirat): ... here.  Call it.
16695         (need_isdir_precheck): New function, broken out of ...
16696         (__opendirat): ... here.  Call it.
16697         Use __fxstatat64, not __xstatat64.
16698         (opendir_oflags): New function, broken out of ...
16699         (__opendirat): ... here.  Call it.
16700         (opendir_tail): New function, broken out of ...
16701         (__opendirat): ... here.  Call it.
16702         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16703         opendir_tail, rather than punting to __opendirat.
16704         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16706 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16708         * .gitignore: Ignore generated *.pyc.
16710 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16712         * include/stdio.h: Define __need_wint_t.
16713         * test-skeleton.c: Avoid `for' loop initial declaration.
16714         * nptl/tst-initializers1.c: Use test-skeleton.c.
16716 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16718         [BZ #18418]
16719         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16721 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16723         [BZ #16352]
16724         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16725         (__ieee754_atanh): Force underflow exception for results with
16726         small absolute value.
16727         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16728         (__ieee754_atanhf): Force underflow exception for results with
16729         small absolute value.
16730         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16731         (__ieee754_atanh): Force underflow exception for results with
16732         small absolute value.
16733         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16734         (__ieee754_atanhf): Force underflow exception for results with
16735         small absolute value.
16736         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16737         (__ieee754_atanhl): Force underflow exception for results with
16738         small absolute value.
16739         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16740         (__ieee754_atanhl): Force underflow exception for results with
16741         small absolute value.
16742         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16743         (__ieee754_atanhl): Force underflow exception for results with
16744         small absolute value.
16745         * math/auto-libm-test-in: Do not allow missing underflow
16746         exceptions from atanh.
16747         * math/auto-libm-test-out: Regenerated.
16749         [BZ #18221]
16750         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16751         2**-28 as threshold for returning x or +/- 1/x.
16752         * math/auto-libm-test-in: Add more tests of tan.
16753         * math/auto-libm-test-out: Regenerated.
16755         [BZ #18220]
16756         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16757         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16758         * math/auto-libm-test-in: Add another test of lgamma.
16759         * math/auto-libm-test-out: Regenerated.
16761 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16763         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16764         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16765         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16766         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16767         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16768         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16769         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16772         (log1): Use fabs.  (my_log2): Use fabs.
16773         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16774         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16775         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16776         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16778         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16779         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16780         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16781         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16782         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16783         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16785 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16787         [BZ #18217]
16788         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16789         as threshold for returning 1 - x.
16790         * math/auto-libm-test-in: Add more tests of erfc.
16791         * math/auto-libm-test-out: Regenerated.
16793 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16795         [BZ #18196]
16796         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16797         threshold for large arguments.
16798         * math/auto-libm-test-in: Add another test of atan.
16799         * math/auto-libm-test-out: Regenerated.
16801         [BZ #16339]
16802         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16803         (__log1p): Force underflow exception for results with small
16804         absolute value.
16805         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16806         (__log1pf): Force underflow exception for results with small
16807         absolute value.
16808         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16809         (__log1p): Force underflow exception for results with small
16810         absolute value.
16811         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16812         (__log1pf): Force underflow exception for results with small
16813         absolute value.
16814         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16815         (__log1pl): Force underflow exception for results with small
16816         absolute value.
16817         * math/auto-libm-test-in: Do not allow missing underflow
16818         exceptions from log1p.
16819         * math/auto-libm-test-out: Regenerated.
16821 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16822             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16824         [BZ #16704]
16825         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16827 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16829         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16830         (libmvec): New variable.
16831         * configure.ac: Added option for mathvec build.
16832         * configure: Regenerated.
16833         * mathvec/Depend: New file.
16834         * mathvec/Makefile: New file.
16835         * shlib-versions: Added libmvec.
16836         * math/Makefile: Added rule for libm.so installation.
16838         * bits/math-vector.h: New file.
16839         * bits/libm-simd-decl-stubs.h: New header.
16840         * math/Makefile (headers): Added new header
16841         libm-simd-decl-stubs.h.
16842         * math/math.h (__MATHCALL_VEC): New macro.
16844         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16845         for conditions in testing functions.
16846         * math/Makefile: Added call of libm-have-vector-test.sh.
16847         * math/libm-test.inc (HAVE_VECTOR): New macros.
16849         * math/libm-test.inc: START refactored.
16850         * math/test-double.c (TEST_MATHVEC): Add define.
16851         * math/test-float.c: Likewise.
16852         * math/test-idouble.c: Likewise.
16853         * math/test-ifloat.c: Likewise.
16854         * math/test-ildoubl.c: Likewise.
16855         * math/test-ldouble.c: Likewise.
16856         * sysdeps/generic/math-tests-arch.h
16857         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16858         architecture check.
16860         * math/test-double.c (FUNC_TEST): New macro.
16861         * math/test-float.c: Likewise.
16862         * math/test-idouble.c: Likewise.
16863         * math/test-ifloat.c: Likewise.
16864         * math/test-ildoubl.c: Likewise.
16865         * math/test-ldouble.c: Likewise.
16866         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16868 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16870         * sysdeps/nacl/fdopendir.c: New file.
16872         * dirent/scandir-tail.c: New file.
16873         * dirent/scandir64-tail.c: New file.
16874         * dirent/Makefile (routines): Add them.
16875         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16876         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16877         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16878         [!SCANDIR] (SCANDIR_TAIL): New macro.
16879         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16880         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16881         (SCANDIRAT): Macro removed.
16882         (SCANDIR_TAIL): New macro.
16883         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16884         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16885         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16886         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16887         (READDIR): Macro removed.
16888         (SCANDIR_TAIL): New macro.
16889         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16890         (SCANDIR_TAIL): New macro.
16892         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16893         * dirent/scandir-cancel.c: ... to this new file.
16894         * dirent/Makefile (routines): Add it.
16895         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16896         * sysdeps/unix/sysv/linux/i386/scandir64.c
16897         (SKIP_SCANDIR_CANCEL): Macro removed.
16898         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16900         * dirent/tst-scandir.c: New file.
16901         * dirent/tst-scandir64.c: New file.
16902         * dirent/Makefile (tests): Add them.
16904 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16906         [BZ #18409]
16907         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16909 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16911         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16912         list.
16914 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16916         * benchtests/bench-strcoll.c: New benchmark.
16917         * benchtests/Makefile: Generate locales and run benchmark.
16918         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16919         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16920         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16921         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16922         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16923         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16924         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16925         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16926         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16927         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16928         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16929         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16930         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16931         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16932         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16933         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16934         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16935         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16936         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16937         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16938         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16939         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16940         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16941         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16943 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16945         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16946         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16948 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16950         * posix/uname-values.h: New file.
16951         * posix/uname.c: Include that instead of <config-name.h>.
16952         * sysdeps/nacl/uname-values.h: New file.
16953         * sysdeps/arm/nacl/uname-values.h: New file.
16955 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16957         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16958         splitting into fields.
16960 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16962         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16963         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16964         * locale/localeinfo.h: Add enum collation_encoding_type.
16965         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16966         * programs/ld-collate.c (collate_output): Add encoding type info.
16967         * string/strcoll_l.c (STRDIFF): New function.
16968         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16969         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16971 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16973         [BZ #18397]
16974         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16975         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16976         <fpu_control.h> instead of <math/fpu_control.c>.
16977         * sysdeps/mips/mips32/fpu/Makefile: New file.
16979 2015-05-11  Andreas Schwab  <schwab@suse.de>
16981         [BZ #18007]
16982         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16983         nss_endgrent.
16984         (_nss_compat_endgrent): Call nss_endgrent.
16985         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16986         nss_endpwent.
16987         (_nss_compat_endpwent): Call nss_endpwent.
16988         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16989         needent, call nss_setspent only if non-zero.
16990         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16991         (internal_endspent): Don't call nss_endspent.
16992         (_nss_compat_endspent): Call nss_endspent.
16993         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16994         Remove.  All uses removed.
16995         (internal_setent): Remove parameter stayopen, add parameter
16996         stream.  Use it instead of global variable.
16997         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16998         (internal_endent, internal_getent): Add parameter stream.  Use it
16999         instead of global variable.
17000         (CONCAT(_nss_files_end,ENTNAME))
17001         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17002         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17003         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17004         uses removed.
17005         (internal_setent, internal_endent): Add parameter stream.  Use it
17006         instead of global variable.
17007         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17008         stream.
17009         (get_next_alias): Add parameter stream.
17010         (_nss_files_getaliasent_r): Pass global stream.
17011         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17012         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17013         (_nss_files_gethostbyname4_r): Pass local stream to
17014         internal_setent, internal_getent and internal_endent.  Remove
17015         locking.
17017 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17019         * tst-strfmon1.c (tests): Update expected currency symbol.
17021 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17023         * sysdeps/nacl/gethostname.c: New file.
17025 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17027         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17028         and sinh.
17029         * math/auto-libm-test-out: Regenerated.
17030         * sysdeps/i386/fpu/libm-test-ulps: Update.
17031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17033 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17035         [BZ #18125]
17036         * stdlib/tst-setcontext3.c: New file.
17037         * stdlib/tst-setcontext3.sh: New file.
17038         * stdlib/Makefile (tests): Add tst-setcontext3.
17039         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17040         to verify test program created output file.
17041         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17042         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17043         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17044         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17046 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17048         [BZ #18383]
17049         * elf/tst-tlsalign.c: New file.
17050         * elf/tst-tlsalign-static.c: New file.
17051         * elf/tst-tlsalign-lib.c: New file.
17052         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17053         (tests-static): Add tst-tlsalign-static.
17054         (modules-names): Add tst-tlsalign-lib.
17055         (test-xfail-tst-tlsalign): New variable.
17056         (test-xfail-tst-tlsalign-static): New variable.
17058         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17059         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17061 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17063         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17064         csqrt, erfc, sin and sincos.
17065         * math/auto-libm-test-out: Regenerated.
17066         * sysdeps/i386/fpu/libm-test-ulps: Update.
17067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17069 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17071         * sysdeps/aarch64/libm-test-ulps: Update.
17073 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17075         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17076         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17077         * math/auto-libm-test-out: Regenerated.
17078         * sysdeps/i386/fpu/libm-test-ulps: Update.
17079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17081 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17083         [BZ #18265]
17084         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17085         (wcsncpy): Likewise.
17087 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17089         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17090         Assume __ASSUME_FALLOCATE is always true.
17091         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17092         (__posix_fallocate64_l64): Likweise.
17093         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17094         (posix_fallocate): Likewise.
17095         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17096         (__posix_fallocate64_l64): Likewise.
17097         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17098         [!__ASSUME_FALLOCATE]: Add comment.
17100 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17102         * sysdeps/unix/sysv/linux/i386/Makefile
17103         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17104         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17105         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17106         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17107         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17108         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17109         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17111 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17113         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17114         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17115         tgamma.
17116         * math/auto-libm-test-out: Regenerated.
17117         * sysdeps/i386/fpu/libm-test-ulps: Update.
17118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17120 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17122         * math/auto-libm-test-in: Add more tests of tgamma.
17123         * math/auto-libm-test-out: Regenerated.
17124         * sysdeps/i386/fpu/libm-test-ulps: Update.
17125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17127         * math/auto-libm-test-in: Add more tests of tanh.
17128         * math/auto-libm-test-out: Regenerated.
17129         * sysdeps/i386/fpu/libm-test-ulps: Update.
17130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17132         * math/auto-libm-test-in: Add more tests of tan.
17133         * math/auto-libm-test-out: Regenerated.
17134         * sysdeps/i386/fpu/libm-test-ulps: Update.
17135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17137         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17138         * math/auto-libm-test-out: Regenerated.
17139         * sysdeps/i386/fpu/libm-test-ulps: Update.
17140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17142         * math/auto-libm-test-in: Add another test of pow.
17143         * math/auto-libm-test-out: Regenerated.
17144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17146         * math/auto-libm-test-in: Add more tests of lgamma.
17147         * math/auto-libm-test-out: Regenerated.
17148         * sysdeps/i386/fpu/libm-test-ulps: Update.
17149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17151         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17152         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17159         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17160         Elf64_Chdr structs and ELFCOMPRESS constants.
17162 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17164         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17165         expm1.
17166         * math/auto-libm-test-out: Regenerated.
17167         * sysdeps/i386/fpu/libm-test-ulps: Update.
17168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17170         * math/auto-libm-test-in: Add more tests of erf and erfc.
17171         * math/auto-libm-test-out: Regenerated.
17172         * sysdeps/i386/fpu/libm-test-ulps: Update.
17173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17175 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17177         * config.h.in (HAVE_AARCH64_BE): Add.
17179 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17181         * math/auto-libm-test-in: Add more tests of csqrt.
17182         * math/auto-libm-test-out: Regenerated.
17183         * sysdeps/i386/fpu/libm-test-ulps: Update.
17184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17187         * math/auto-libm-test-out: Regenerated.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17193 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17195         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17196         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17198         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17199         (euidaccess, eaccess): Define as weak aliases.
17201         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17202         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17203         but __suseconds_t is often 'long int' so some sources assume that
17204         type is being used (e.g. they use %ld to print tv_usec).
17206 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17208         [BZ #18007]
17209         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17210         (CVE-2014-8121)
17211         * nss/tst-nss-getpwent.c: New file.
17212         * nss/Makefile (tests): Add new test.
17214 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17216         [BZ #18346]
17217         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17218         exponents less than 48 as cases where high part of mantissa needs
17219         examining to determine whether argument is integral.
17220         * math/libm-test.inc (round_test_data): Add more tests.
17222 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17224         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17226 2015-04-27  David S. Miller  <davem@davemloft.net>
17228         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17229         __tls_get_addr.
17230         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17232 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17234         [BZ#18333]
17235         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17237 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17239         [BZ#18333]
17240         * time/tzset.c (parse_tzname): Return error on memory allocation
17241         failure.
17242         * test-skeleton.c (struct temp_name_list): Change type of name
17243         member to non-const.
17244         (add_temp_file): Create a copy of the file name.
17245         (delete_temp_files): Deallocate memory.
17246         (create_temp_file): Add comment.
17248 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17250         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17251         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17253 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17255         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17256         * sysdeps/arm/configure: Regenerated.
17258 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17260         [BZ #17715]
17261         * time/tzfile.c (__tzfile_read): Check for large values of
17262         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17263         * time/tzset.c (__tzstring_len): New function, based on the old
17264         __tzstring function.
17265         (__tzstring): Call __tzstring_len.
17266         (parse_tzname): New helper function extracted from
17267         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17268         the input string.
17269         (parse_offset): New helper function extracted from
17270         __tzset_parse_tz.  Replace switch with fallthrough with
17271         initialization before sscanf.
17272         (parse_rule): Likewise.
17273         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17274         new-style function definition.
17275         * timezone/Makefile (tests): Add tst-tzset.
17276         (tst-tzset.out): Dependencies on time zone files.
17277         (tst-tzset-ENV): Set TZDIR.
17278         (testdata/XT%): Copy crafted time zone files.
17279         * timezone/README: Mention crafted time zone files.
17280         * timezone/testdata/XT1, timezone/testdata/XT2,
17281         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17282         files.
17283         * timezone/tst-tzset.c: New test.
17285 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17287         * Makeconfig (+gccwarn): Remove -Winline.
17289 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17291         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17293 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17295         * NEWS: Mention sysconf() cache information support for s390.
17296         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17298 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17300         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17301         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17302         (__nearbyint): Likewise.
17303         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17304         (copysignl): Likewise.
17306 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17308         [BZ #18287]
17309         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17310         based on padding.  (CVE-2015-1781)
17312 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17314         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17315         libc-vdso.h.
17316         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17317         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17318         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17319         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17320         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17321         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17322         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17324         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17325         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17326         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17327         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17328         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17329         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17330         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17331         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17332         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17333         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17334         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17335         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17336         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17337         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17338         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17340 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17342         * stdlib/setenv.c (__add_to_environ):
17343         Dump core quickly if setenv (..., NULL, ...) is called.
17344         This time, do it the right way, and pacify GCC with a pragma.
17346 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17348         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17349         IMAP->l_prev cannot be null, and #if out the code for the contrary
17350         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17351         believe that NS (&_dl_ns[NSID]) could point outside the array.
17353         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17354         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17355         before using NSID as an index.
17357 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17359         [BZ #17825]
17360         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17361         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17362         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17364 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17366         Add preliminary port to Google Native Client on ARM.
17367         * abi-tags (.*-.*-nacl.*): New entry.
17368         * sysdeps/arm/nacl: New directory.
17369         * sysdeps/nacl: New directory.
17371 2015-04-16  David S. Miller  <davem@davemloft.net>
17373         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17374         lowlevellock-futex.h
17376 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17378         * sysdeps/tile/configure.ac: New file.
17379         * sysdeps/tile/configure: Regenerated.
17381 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17383         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17384         conditionals for weak_alias and libc_hidden_weak.
17385         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17386         libc_hidden_weak and weak_alias.
17387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17388         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17389         and weak_alias for static one.
17391 2015-04-15  David S. Miller  <davem@davemloft.net>
17393         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17395 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17397         [BZ #18206]
17398         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17399           Use signed comparision instead of substraction to avoid
17400           overflow bug.
17401         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17402           Take the sign of ret.
17403         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17404           Do not expect precise return values. Only the sign matters.
17405         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17406         * wcsmbs/test-wcsncmp.c: New File.
17407         * string/test-strncmp.c: Add wcsncmp support.
17409 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17411         [BZ #6792]
17412         * math/w_log1p.c: New file.
17413         * math/w_log1pf.c: Likewise.
17414         * math/w_log1pl.c: Likewise.
17415         * math/Makefile (libm-calls): Add w_log1p.
17416         * math/s_log1pl.c (log1pl): Remove weak_alias.
17417         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17418         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17419         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17420         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17421         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17422         [NO_LONG_DOUBLE] (log1pl): Likewise.
17423         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17424         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17425         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17426         (log1p): Remove long_double_symbol.
17427         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17428         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17429         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17430         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17431         remove weak_alias for corresponding log1p function.
17432         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17433         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17434         * sysdeps/ia64/fpu/w_log1p.c: New file.
17435         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17436         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17437         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17439 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17441         [BZ #18247]
17442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17443         decimal exponent by 1.
17444         * stdlib/tst-strtod-round-data: Add more tests.
17445         * stdlib/tst-strtod-round.c (tests): Regenerated.
17447 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17449         * math/auto-libm-test-in: Add more tests of clog and clog10.
17450         * math/auto-libm-test-out: Regenerated.
17451         * sysdeps/i386/fpu/libm-test-ulps: Update.
17452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17456         * Makeconfig (module-cppflags): Exclude all .v.i files.
17457         (skip-module-cppflags): Variable removed.
17459         * configure.ac (libc_config_ok): Initialize before reading
17460         preconfigure scripts, not after.
17461         * configure: Regenerated.
17463         * test-skeleton.c (TIMEOUT): Move #define to top level.
17464         (main): Grok environment variable TEST_DIRECT.  If set, print
17465         test expectation details into that file and then behave as if
17466         given --direct.
17468 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17470         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17471         warning on 32-bit.
17473 2015-04-08  David S. Miller  <davem@davemloft.net>
17475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17477 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17479         * math/auto-libm-test-in: Add more tests of atanh.
17480         * math/auto-libm-test-out: Regenerated.
17481         * sysdeps/i386/fpu/libm-test-ulps: Update.
17482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17484         * math/auto-libm-test-in: Add more tests of atan.
17485         * math/auto-libm-test-out: Regenerated.
17486         * sysdeps/i386/fpu/libm-test-ulps: Update.
17487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17489 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17491         * elf/pldd.c (main): Rewrite to use struct
17492         scratch_buffer instead of extend_alloca.
17493         * elf/pldd-xx.c (find_maps): Likewise.
17494         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17495         <alloca.h>.
17496         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17497         scratch_buffer instead of extend_alloca.
17498         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17499         grp/compat-initgroups.c.
17500         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17501         Rewrite to use struct scratch_buffer instead of extend_alloca.
17502         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17503         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17505 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17507         * math/auto-libm-test-in: Add more tests of cbrt.
17508         * math/auto-libm-test-out: Regenerated.
17509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17511         * math/auto-libm-test-in: Add more tests of cabs.
17512         * math/auto-libm-test-out: Regenerated.
17513         * sysdeps/i386/fpu/libm-test-ulps: Update.
17514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17516         [BZ #18210]
17517         [BZ #18211]
17518         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17519         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17520         computations.
17521         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17522         clog10.
17523         * math/auto-libm-test-out: Regenerated.
17524         * sysdeps/i386/fpu/libm-test-ulps: Update.
17525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17527         [BZ #18197]
17528         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17529         (atan): Set FE_TONEAREST mode for internal computations.
17530         * math/auto-libm-test-in: Add more tests of atan.
17531         * math/auto-libm-test-out: Regenerated.
17533 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17535         [BZ #17930]
17536         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17538 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17540         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17542 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17544         * include/scratch_buffer.h: New file.
17545         * malloc/scratch_buffer_grow.c: Likewise.
17546         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17547         * malloc/scratch_buffer_set_array_size.c: Likewise.
17548         * malloc/tst-scratch_buffer.c: Likewise.
17549         * malloc/Makefile (routines): Add scratch_buffer_grow.
17550         (tests): Add test case.
17551         * malloc/Versions (GLIBC_PRIVATE): Export
17552         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17553         __libc_scratch_buffer_set_array_size.
17555 2015-04-06  Richard Henderson  <rth@redhat.com>
17557         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17558         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17560         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17561         unsigned int before printing.
17563 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17565         [BZ #17596]
17566         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17567         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17569 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17571         * include/libc-internal.h (libc_max_align_t): Define.
17573 2015-04-02  Andreas Schwab  <schwab@suse.de>
17575         [BZ #16850]
17576         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17578 2015-04-02  Mel Gorman  <mgorman@suse.de>
17580         [BZ #17195]
17581         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17582         as well as the main arena.
17584 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17586         [BZ #18185]
17587         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17588         sharing L2 cache to 2 for Silvermont/Knights Landing.
17590 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17592         [BZ #17711]
17593         * config.make.in (have-protected-data): New.
17594         * configure.ac: Check linker support for protected data symbol.
17595         * configure: Regenerated.
17596         * elf/Makefile (modules-names): Add tst-protected1moda and
17597         tst-protected1modb if $(have-protected-data) is yes.
17598         (tests): Add tst-protected1a and tst-protected1b if
17599         $(have-protected-data) is yes.
17600         ($(objpfx)tst-protected1a): New.
17601         ($(objpfx)tst-protected1b): Likewise.
17602         (tst-protected1modb.so-no-z-defs): Likewise.
17603         * elf/tst-protected1a.c: New file.
17604         * elf/tst-protected1b.c: Likewise.
17605         * elf/tst-protected1mod.h: Likewise.
17606         * elf/tst-protected1moda.c: Likewise.
17607         * elf/tst-protected1modb.c: Likewise.
17609 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17611         [BZ #17711]
17612         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17613         indicates it is called from do_lookup_x on relocation against
17614         protected data, skip the data definion in the executable from
17615         copy reloc.
17616         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17617         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17618         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17619         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17620         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17621         otherwise to 0.
17622         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17623         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17624         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17625         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17626         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17627         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17629 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17631         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17632         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17634 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17636         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17637         THREAD_SETMEM_NC.
17638         * sysdeps/x86_64/nptl/tls.h: Ditto.
17640 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17642         * dlfcn/tststatic.c (main): Converted to ...
17643         (do_test): ... this.
17644         (TEST_FUNCTION): New macro.
17645         Include test-skeleton.c.
17647 2015-03-26  Alan Modra  <amodra@gmail.com>
17649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17650         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17651         zero for undefined weak.
17652         (elf_machine_plt_conflict): Similarly.
17654 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17656         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17657         atanh.
17658         * math/auto-libm-test-out: Regenerated.
17659         * sysdeps/i386/fpu/libm-test-ulps: Update.
17660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17662         * math/auto-libm-test-in: Add another test of asin.
17663         * math/auto-libm-test-out: Regenerated.
17664         * sysdeps/i386/fpu/libm-test-ulps: Update.
17665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17668         Remove macro.
17669         (LLL_EBX_REG): Likewise.
17670         (LLL_ENTER_KERNEL): Likewise.
17672         * math/auto-libm-test-in: Add more tests of asin.
17673         * math/auto-libm-test-out: Regenerated.
17674         * sysdeps/i386/fpu/libm-test-ulps: Update.
17675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17677         [BZ #18138]
17678         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17679         libc_do_syscall_args): New structure.
17680         (INTERNAL_SYSCALL_MAIN_0): New macro.
17681         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17682         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17683         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17684         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17685         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17686         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17687         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17688         Replace conditional definitions by conditional definitions of ....
17689         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17690         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17691         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17692         (libpthread-sysdep_routines): Add libc-do-syscall.
17693         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17694         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17695         to __NR_futex not 240.
17697 2015-03-25  Alan Modra  <amodra@gmail.com>
17699         * NEWS: Advertise TLS optimization.
17700         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17701         (DT_PPC_NUM): Increment.
17702         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17703         (CHECK_STATIC_TLS): Use here.
17704         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17705         TLS descriptors.
17706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17707         * sysdeps/powerpc/dl-tls.c: New file.
17708         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17709         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17710         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17711         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17716 2015-03-25  Alan Modra  <amodra@gmail.com>
17718         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17719         for overlapping .opd entries" to "support...".
17720         * sysdeps/powerpc/powerpc64/configure: Regenerate
17722 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17724         * math/auto-libm-test-in: Add more tests of acos.
17725         * math/auto-libm-test-out: Regenerated.
17726         * sysdeps/i386/fpu/libm-test-ulps: Update.
17727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729         * math/auto-libm-test-in: Add more tests of expm1.
17730         * math/auto-libm-test-out: Regenerated.
17731         * sysdeps/i386/fpu/libm-test-ulps: Update.
17732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17734 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17736         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17737         * math/auto-libm-test-out: Regenerated.
17738         * sysdeps/i386/fpu/libm-test-ulps: Update.
17739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17741         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744         * math/auto-libm-test-in: Add more tests of log2.
17745         * math/auto-libm-test-out: Regenerated.
17746         * sysdeps/i386/fpu/libm-test-ulps: Update.
17747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17749 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17751         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17752         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17753         _IO_IS_APPENDING bit in READ_WRITE instead.
17755 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17757         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17758         (__determine_cpumask_size): Replace extend_alloca with a
17759         variable-length array.  Do not treat res == 0 as an error.
17761 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17763         [BZ #18100]
17764         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17765         and integer overflow.
17766         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17767         (main): Add integer overflow tests.
17768         * manual/pattern.texi (Calling Wordexp): Document additional use
17769         for WRDE_SYNTAX.
17771 2015-03-23  Alan Modra  <amodra@gmail.com>
17773         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17774         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17775         and false branch of conditional.
17776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17777         Likewise.
17779 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17781         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17782         libc-modules.h
17783         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17784         unused declaration of _hurd_intr_rpc_msg_in_trap.
17785         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17786         defined instead of whether it is non-zero.
17787         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17788         input constraint instead of both input and output constraint.  Use ecx
17789         clobber instead of %ecx.
17790         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17791         mutex_unlock): Use a statement expression instead of an expression list.
17792         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17793         type to vm_size_t instead of vm_address_t.
17794         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17795         defined instead of whether it is non-zero.
17796         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17797         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17798         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17799         comparisons with mapaddr.
17800         * nscd/nscd-client.h: Include <time.h>.
17801         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17802         9th parameter to __vm_region instead of int.
17803         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17804         * scripts/check-local-headers.sh (exclude): Add device/,
17805         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17806         cthreads.h.
17808 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17810         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17811         to account for alignment padding.
17812         * sysdeps/arm/memmove.S: Likewise.
17814 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17816         * sysdeps/unix/sysv/linux/generic/README: New file.
17818 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17820         [BZ #18138]
17821         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17822         (futex_abstimed_wait)
17823         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17824         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17825         of lll_futex_timed_wait.
17827 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17829         [BZ #17542]
17830         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17832 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17834         [BZ #17090]
17835         [BZ #17620]
17836         [BZ #17621]
17837         [BZ #17628]
17838         * NEWS: Update.
17839         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17840         entries with Static TLS too.  Skip entries past the end of the
17841         allocated DTV, from Alan Modra.
17842         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17843         Static TLS DTV entry set up from...
17844         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17845         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17846         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17847         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17848         for Static TLS.
17849         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17850         that the slot we find is associated with the given map before
17851         using its generation count.
17852         * nptl_db/db_info.c: Include ldsodefs.h.
17853         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17854         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17855         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17856         (link_map::l_tls_offset): New struct field.
17857         (dtv_t::counter): Likewise.
17858         (rtld_global): New struct.
17859         (_rtld_global): New rtld variable.
17860         (dl_tls_dtv_slotinfo_list): New rtld global field.
17861         (dtv_slotinfo_list): New struct.
17862         (dtv_slotinfo): Likewise.
17863         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17864         (td_lookup): Rename to...
17865         (td_mod_lookup): ... this.  Use new mod parameter instead of
17866         LIBPTHREAD_SO.
17867         * nptl_db/td_thr_tlsbase.c: Include link.h.
17868         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17869         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17870         addresses even if the DTV is out of date or missing them.
17871         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17872         index zero-length arrays.
17873         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17874         (td_lookup): Make it a macro implemented in terms of...
17875         (td_mod_lookup): ... this declaration.
17876         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17877         (DB_MAIN_VARIABLE): Likewise.
17879 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17881         [BZ #18134]
17882         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17884 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17886         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17888 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17890         [BZ #18128]
17891         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17892         (atomic_add, atomic_increment_and_test)
17893         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17895 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17897         * stdlib/setenv.c (__add_to_environ):
17898         Dump core quickly if setenv (..., NULL, ...) is called.
17900 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17902         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17903         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17904         all the necessary asm magic in one place.
17905         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17906         using those.
17908 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17910         [BZ #14906]
17911         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17912         traced file mtime. Use consistent log message.
17913         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17914         (register_traced_file): Call install_watches. Always set mtime.
17915         (invalidate_cache): Iterate over all trace files. Call install_watches.
17916         (inotify_check_files): Don't inline. Handle watching parent
17917         directories and configuration file movement in and out.
17918         (handle_inotify_events): New function.
17919         (main_loop_poll): Call handle_inotify_events.
17920         (main_loop_epoll): Likewise.
17921         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17922         (struct traced_file): Use array of inotify fds. Add parent directory,
17923         and basename.
17924         (struct database_dyn): Remove unused file_mtime.
17925         (init_traced_file): New inline function.
17926         (define_traced_file): New macro.
17927         * nss/nss_db/db-init.c: Use define_traced_file.
17928         (_nss_db_init): Use init_traced_file.
17929         * nss/nss_files/files-init.c: Use define_traced_file.
17930         (_nss_files_init): Use init_traced_file.
17932 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17934         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17935         [_LIBC]: Do not include <stdlib.h>.
17936         [!_LIBC] (abort): Remove declaration.
17937         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17938         _FP_STATIC_ASSERT instead of conditionally calling abort.
17939         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17940         (_FP_EXTEND_CNAN): Likewise.
17941         (FP_TRUNC): Likewise.
17942         (__FP_CLZ): Likewise.
17943         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17945 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17947         * manual/string.texi (XPG basename): Fix prototype.
17949 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17951         [BZ #18080]
17952         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17953         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17954         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17955         (__setcontext): Likewise.
17956         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17957         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17958         Call rt_sigprocmask syscall one time to set new signal mask
17959         and retrieve the current signal mask instead of two calls.
17960         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17961         (__swapcontext): Likewise.
17962         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17963         * stdlib/tst-setcontext2.c: New file.
17965 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17967         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17969 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17971         [BZ #18093]
17972         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17973         the wrong size.
17975 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17977         [BZ #18043]
17978         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17980 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17982         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17983         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17984         Remove define.
17985         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17986         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17987         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17988         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17989         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17990         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17991         define.
17992         * nptl_db/td_symbol_list.c (td_lookup): Remove
17993         HAVE_ASM_GLOBAL_DOT_NAME code.
17994         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17995         HAVE_ASM_GLOBAL_DOT_NAME check.
17996         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17997         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17998         (DOT_LABEL): Remove define.
17999         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18000         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18001         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18002         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18003         (__TLS_GET_ADDR): Likewise.
18004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18005         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18007 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18009         [BZ #18111]
18010         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18011         (_FPU_SETCW): Initialize cw from fpsr before storing.
18012         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18013         (fesetexceptflag): Rewrite using fpu_control.h.
18014         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18016 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18018         [BZ #18110]
18019         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18020         asms.
18021         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18023 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18025         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18026         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18027         abort.
18028         (_FP_FMA): Likewise.
18029         (_FP_DIV): Likewise.
18031 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18033         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18034         with 0 in that case.
18035         * Makefile (summarize-tests): New canned sequence, factored out of
18036         commands for targets tests and xtests.  Display summary lines that
18037         don't start with PASS: or XFAIL: rather than ones that do start with
18038         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18039         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18040         do start with ERROR: or FAIL:.
18041         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18042         (except for [$(build-shared) = yes]).
18043         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18044         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18045         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18046         * nptl/Makefile: Revert 2015-03-04 changes.
18047         [$(CXX) empty] (tests-unsupported): New variable.
18048         * debug/Makefile: Likewise.
18050         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18051         gnulib file.  Replace __attribute with __attribute__ throughout.
18053 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18055         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18057 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18059         [BZ #18104]
18060         * math/auto-libm-test-in: Add another test of pow.
18061         * math/auto-libm-test-out: Regenerated.
18063 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18065         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18066         $(config-cflags-nofma).
18068 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18070         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18071         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18072         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18073         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18074         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18075         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18076         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18077         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18078         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18079         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18080         Add comment on closing #endif.
18082 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18084         * posix/wordexp.c (CHAR_IN_SET): New macro.
18085         (parse_param): Use it.
18087 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18089         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18091 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18093         [BZ #18043]
18094         * posix/wordexp.c (parse_param): Fix buffer overflow.
18095         * posix/wordexp-test.c (test_case): Add test case.
18097 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18099         [BZ #18042]
18100         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18101         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18103 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18105         [BZ #18043]
18106         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18107         (do_bz18043): Delete.
18108         (at_page_end): New.
18109         (testit): Refactor to have words at the edge of unreadable page.
18111 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18113         [BZ #16734]
18114         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18115         Cleanup read-only streams as well.
18116         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18118 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18120         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18121         <bits/libc-lockP.h>
18123 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18125         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18126         on [__KERNEL__].
18127         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18128         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18129         * soft-fp/op-common.h (_FP_DECL): Likewise.
18131 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18133         * elf/ifuncdep2.c (global): Replace
18134         __attribute__((visibility("protected"))) with
18135         asm (".protected global").
18136         * elf/ifuncmod1.c (global): Likewise.
18137         * elf/ifuncmod5.c (global): Likewise.
18139 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18141         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18142         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18144 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18146         * manual/install.texi (Configuring and compiling):
18147         Document test-wrapper-env-only.
18148         * INSTALL: Regenerated.
18150 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18152         [BZ #18043]
18153         * posix/wordexp.c (parse_param): Fix buffer overflow.
18154         * posix/wordexp-test.c (do_bz18043): Add test case.
18156 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18158         * time/tst-strptime2.c (do_test): Ensure failing tests are
18159         reported correctly.
18160         * time/tst-strptime3.c (do_test): Likewise.
18162 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18164         Fix aio_error thread-safety.
18165         * sysdeps/pthread/aio_error.c: New file
18166         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18167         synchronization.
18169 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18171         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18172         (group_number, vfprintf): Use it.
18173         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18174         (JUMP, REF): Use it.
18175         (WORK_BUFFER_SIZE): New enum constant.
18176         (process_arg, vfprintf): Use it.
18178 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18180         * manual/errno.texi (Error Messages): Complete example function
18181         by adding missing #define.
18182         (program_invocation_name): Add statement indicating GNU
18183         extension and reference which header file declares the variable.
18184         (program_invocation_short_name): Likewise.
18186 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18188         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18189         compatibility note.
18191 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18193         * Makeconfig (test-wrapper-env-only): New variable.
18194         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18195         then use that with $(test-wrapper-env-only) rather than using
18196         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18198 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18200         [BZ #18082]
18201         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18202         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18203         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18204         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18205         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18206         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18207         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18208         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18209         Likewise.
18210         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18211         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18212         Likewise.
18213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18214         Likewise.
18215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18216         Likewise.
18217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18218         Likewise.
18219         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18221         Likewise.
18222         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18223         Likewise.
18224         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18225         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18227 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18229         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18230         (ETH_ALEN): New macro.
18231         (struct ether_addr): Use it for length of ether_addr_octet.
18233         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18234         (setdb): Don't call __nss_configure_lookup for "rpc".
18235         (do_test): Don't call test_rpc.
18236         (output_rpcent, test_rpc): Functions moved ...
18237         * sunrpc/test-rpcent.c: ... to this new file.
18238         * sunrpc/Makefile (tests): Add it.
18240         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18241         __xpg_sigpause.
18242         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18243         * nptl/tst-signal6.c: Likewise.
18244         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18245         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18247         * configure.ac (libc_cv_cxx_link_ok): New check.
18248         Reset CXX to empty if it fails to link.
18249         * configure: Regenerated.
18250         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18251         bug-atexit3-lib only if $(CXX) is nonempty.
18252         * nptl/Makefile (tests): Likewise for tst-cancel24.
18253         (tests, tests-static): Likewise for tst-cancel24-static.
18254         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18255         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18256         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18257         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18259 2015-03-04  Andreas Schwab  <schwab@suse.de>
18261         [BZ #17631]
18262         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18263         for non-GCC compilers.
18264         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18265         Likewise.
18267 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18269         [BZ #17776]
18270         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18271         integer before bitwise and assembly operations.
18272         (feclearexcept): Likewise.
18273         * math/test-fenvinline.c: New file.
18274         * math/Makefile: Add test-fenvinline test.
18276 2015-03-03  Alan Modra  <amodra@gmail.com>
18278         [BZ #16512]
18279         * scripts/localplt.awk: Strip off symbol version.
18280         * NEWS: Mention bug fix.
18282 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18284         * sysdeps/pthread/timer_routines.c
18285         (timer_free_list, thread_free_list, thread_active_list): Make static.
18287 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18289         [BZ #17779]
18290         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18291         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18292         Undefine.
18293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18294         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18295         Likewise.
18296         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18297         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18298         Likewise.
18300 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18302         [BZ #18036]
18303         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18304         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18306 2015-03-02  Andreas Schwab  <schwab@suse.de>
18308         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18309         variable name.
18311 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18313         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18314         Return error status.
18316 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18318         [BZ #15969]
18319         * locale/findlocale.c (_nl_find_locale): Introduce const
18320         version of loc_name and drop unsafe type casts.
18322 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18324         * dlfcn/tststatic2.c (main): Converted to ...
18325         (do_test): ... this.
18326         (TEST_FUNCTION): New macro.
18327         Include test-skeleton.c.
18329 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18331         [BZ #17711]
18332         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18333         (tests-pie): Add vismain.
18334         (CFLAGS-vismain.c): New.
18335         * elf/vismain.c: Add comments for PIE requirement.
18337 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18339         [BZ #18046]
18340         [BZ #18047]
18341         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18342         0x1p-56L as threshold for just returning the argument.
18343         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18344         0x1p-32L as threshold for just returning the argument.
18345         * math/auto-libm-test-in: Add more tests of atanh.
18346         * math/auto-libm-test-out: Regenerated.
18347         * sysdeps/i386/fpu/libm-test-ulps: Update.
18348         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18350 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18352         * string/bcopy.c (bcopy): Call memmove for performance.
18354 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18356         * string/bzero.c (__bzero): Call memset for performance.
18358 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18360         [BZ #18068]
18361         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18362         to 00100000.
18364 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18366         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18368 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18370         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18371         (__kernel_standard): Use CSTR macro when setting exc.name.
18372         * sysdeps/ieee754/Makefile [$(subdir) = math]
18373         (CFLAGS-k_standard.c): Remove variable.
18375         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18376         setting p and q from "else if" to "else".
18377         (qzero): Likewise.
18378         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18379         (qone): Likewise.
18380         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18381         (qzerof): Likewise.
18382         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18383         (qonef): Likewise.
18384         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18385         (qzero): Likewise.
18386         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18387         (qone): Likewise.
18389         [BZ #18038]
18390         [BZ #18039]
18391         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18392         return pi/2 for arguments below 0x1p-113L.
18393         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18394         return pi/2 for arguments below 0x1p-106L.
18395         * math/auto-libm-test-in: Add more tests of acos.
18396         * math/auto-libm-test-out: Regenerated.
18398         [BZ #16351]
18399         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18400         (MO): New macro.
18401         (__ieee754_asin): Force underflow exception for results with small
18402         absolute value.
18403         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18404         (MO): New macro.
18405         (__ieee754_asinf): Force underflow exception for results with
18406         small absolute value.
18407         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18408         (__ieee754_asin): Force underflow exception for results with small
18409         absolute value.
18410         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18411         (__ieee754_asinf): Force underflow exception for results with
18412         small absolute value.
18413         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18414         (__ieee754_asinl): Force underflow exception for results with
18415         small absolute value.
18416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18417         (__ieee754_asinl): Force underflow exception for results with
18418         small absolute value.
18419         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18420         (__ieee754_asinl): Force underflow exception for results with
18421         small absolute value.
18422         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18423         Include <math.h>.
18424         * math/auto-libm-test-in: Do not mark underflow exceptions as
18425         possibly missing for bug 16351.
18426         * math/auto-libm-test-out: Regenerated.
18428         [BZ #18030]
18429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18430         of power of 2 down when low part has opposite sign.
18431         * math/libm-test.inc (logb_test_data): Add more tests.
18433 2015-02-26  Andreas Schwab  <schwab@suse.de>
18435         [BZ #18032]
18436         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18437         over collating symbol inside a bracket expression.  Minor cleanup.
18438         * posix/tst-fnmatch3.c (do_test): Add test case.
18440 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18442         [BZ #18029]
18443         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18444         Adjust exponent of power of 2 down when low part has opposite
18445         sign.
18446         * math/libm-test.inc (ilogb_test_data): Add more tests.
18448 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18450         [BZ #15969]
18451         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18452         the previous change.
18454         [BZ #15969]
18455         * locale/findlocale.c (_nl_find_locale): Retry archive search
18456         after alias expansion.
18458 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18460         * iconv/tst-iconv3.c (main): Converted to ...
18461         (do_test): ... this.
18462         (TEST_FUNCTION): New macro.
18463         Include test-skeleton.c.
18465         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18466         (convert): Make function static.
18467         (test_unalign): Likewise.  Add const to argument pointee types.
18468         (main): Replace with static function do_test.
18469         Print "Succeeded." only if RET is zero.
18470         (TEST_FUNCTION): New macro.
18471         Include test-skeleton.c.
18473         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18474         returns a null pointer.
18476 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18478         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18479         to __memcpy_ppc only for static builds.
18481 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18483         [BZ #18020]
18484         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18485         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18486         * math/auto-libm-test-in: Add more tests of asinh.
18487         * math/auto-libm-test-out: Regenerated.
18488         * sysdeps/i386/fpu/libm-test-ulps: Update.
18489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18493         [BZ #15850]
18494         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18495         and ip6_mtuinfo definitions here.
18496         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18497         in this define too.  Update comment.
18499 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18501         * elf/sprof.c (load_shobj): Tweak error message to match others.
18503 2015-02-24  Kevin Easton  <kevin@guarana.org>
18505         [BZ #16145] (partial fix)
18506         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18507         to reduce lock contention.
18509 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18511         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18512         (struct timex): Update time comment.
18513         (ADJ_SETOFFSET): Define.
18515 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18517         [BZ #18019]
18518         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18519         2**56 not 2**28 as threshold for log (2x) formula.
18520         * math/auto-libm-test-in: Add more tests of acosh.
18521         * math/auto-libm-test-out: Regenerated.
18522         * sysdeps/i386/fpu/libm-test-ulps: Update.
18523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18527         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18528         parenthesis around the buf assignment.
18529         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18531 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18533         [BZ #16783]
18534         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18535         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18536         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18537         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18538         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18539         * math/libm-test.inc (scalb_test_data): Add more tests.
18541 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18543         [BZ #17916]
18544         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18545         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18547 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18549         [BZ #17523]
18550         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18551         * io/bits/fcntl2.h (open): Use it.
18552         (openat): Likewise.
18553         * io/open.c (__libc_open): Likewise.
18554         * io/open64.c (__libc_open64): Likewise.
18555         * io/open64_2.c (__open64_2): Likewise.
18556         * io/open_2.c (__open_2): Likewise.
18557         * io/openat.c (__openat): Likewise.
18558         * io/openat64.c (__openat64): Likewise.
18559         * io/openat64_2.c (__openat64_2): Likewise.
18560         * io/openat_2.c (__openat_2): Likewise.
18561         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18562         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18563         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18564         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18565         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18566         (__open_nocancel): Likewise.
18567         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18568         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18569         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18571 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18573         [BZ #14841]
18574         * resolv/gethnamaddr.c (getanswer): Skip logging if
18575         RES_USE_DNSSEC is set.
18576         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18578 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18580         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18582 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18584         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18585         201304L, for Unicode 7.
18587 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18589         [BZ #17836]
18590         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18591         shared library.  Add gmon-start.os otherwise.
18592         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18593         $(objpfx)gmon-start.os if builing shared library.
18594         ($(objpfx)g$(static-start-installed-name)): Likewise.
18596 2015-02-23  Andreas Schwab  <schwab@suse.de>
18598         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18600 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18602         [BZ #17269]
18603         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18604         (enlarge_userbuf): Likewise.
18606 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18608         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18609         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18610         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18611         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18613 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18615         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18616         expression inside statement expression.
18618 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18620         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18621         <sysdeps/nptl/lowlevellock.h> and remove macros and
18622         functions that are now defined there.
18623         (SYS_futex): Remove.
18624         (lll_compare_and_swap): Remove.
18625         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18627 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18629         [BZ #17999]
18630         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18631         instead of scandirat.
18632         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18633         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18634         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18635         __scandirat.
18636         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18637         (__scandirat): Declare.  Use libc_hidden_proto.
18638         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18639         Remove variable.
18640         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18642 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18644         [BZ #15319]
18645         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18646         (MO): New macro.
18647         (__ieee754_atan2): For results with small absolute value, force
18648         underflow exception and remove excess range and precision from
18649         return value.
18650         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18651         (MO): New macro.
18652         (__ieee754_atan2f): For results with small absolute value, force
18653         underflow exception and remove excess range and precision from
18654         return value.
18655         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18656         (MO): New macro.
18657         (__atan): For results with small absolute value, force underflow
18658         exception and remove excess range and precision from return value.
18659         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18660         (MO): New macro.
18661         (__atanf): For results with small absolute value, force underflow
18662         exception and remove excess range and precision from return value.
18663         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18664         <math.h>.
18665         (__ieee754_atan2): Force underflow exception for results with
18666         small absolute value.
18667         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18668         <math_private.h>.
18669         (atan): Force underflow exception for results with small absolute
18670         value.
18671         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18672         (__atanf): Force underflow exception for results with small
18673         absolute value.
18674         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18675         <math.h>.
18676         (__atanl): Force underflow exception for results with small
18677         absolute value.
18678         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18679         (__atanl): Force underflow exception for results with small
18680         absolute value.
18681         * sysdeps/x86/fpu/bits/mathinline.h
18682         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18683         (__ieee754_atan2): Only define inline for long double.
18684         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18685         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18686         * math/auto-libm-test-in: Do not mark underflow exceptions as
18687         possibly missing for bug 15319.  Add more tests of atan2.
18688         * math/auto-libm-test-out: Regenerated.
18689         * math/libm-test.inc (casin_test_data): Do not mark underflow
18690         exceptions as possibly missing for bug 15319.
18691         (casinh_test_data): Likewise.
18692         * sysdeps/i386/fpu/libm-test-ulps: Update.
18694 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18696         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18697         * sysdeps/mips/bits/endian.h: Fix comments.
18699 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18701         [BZ #17996]
18702         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18703         (hdestroy_r): Likewise.
18704         (hsearch_r): Likewise.
18705         (__hcreate_r): Declare and use libc_hidden_proto.
18706         (__hdestroy_r): Likewise.
18707         (__hsearch_r): Likewise.
18708         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18709         (hcreate): Call __hcreate_r instead of hcreate_r.
18710         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18711         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18712         as weak alias of __hcreate_r.
18713         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18714         __hdestroy_r.
18715         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18716         __hsearch_r.
18717         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18718         Remove variable.
18719         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18720         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18721         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18722         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18724 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18726         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18727         arena_lock into a single arena_get.
18729 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18731         * dl-reloc.c: Inlucde libc-internal.h.
18732         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18733         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18734         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18735         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18736         (grow_heap): Likewise.
18737         * malloc/malloc.c: Include libc-internal.h.
18738         (do_check_malloc): Call powerof2.
18739         (sysmalloc): Use pagesize. Call ALIGN_UP.
18740         (systrim): Use pagesize.
18741         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18742         (__libc_valloc): Use pagesize.
18743         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18745 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18747         [BZ #17991]
18748         * include/sys/resource.h (__getrlimit64): Declare.  Use
18749         libc_hidden_proto.
18750         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18751         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18752         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18753         getrlimit64.
18754         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18755         __getrlimit64.
18756         [!getrlimit64] (getrlimit64): Define as weak alias of
18757         __getrlimit64.  Use libc_hidden_weak.
18758         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18759         using __getrlimit64 not __new_getrlimit64.
18760         (__GI_getrlimit64): Likewise.
18761         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18762         Likewise.
18763         (__GI_getrlimit64): Likewise.
18764         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18766         (getrlimit): Add __getrlimit64 alias.
18767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18768         Likewise.
18769         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18770         Remove variable.
18771         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18772         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18774 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18776         * libio/fileops.c: Add missing sys/mman.h
18777         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18779 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18781         * manual/math.texi (Errors in Math Functions): Clarify goals
18782         regarding inexact and underflow exceptions.
18784 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18786         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18787         * sysdeps/mips/memset.S: Ditto.
18789 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18791         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18793 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18795         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18796         (__v1longjmp): Remove versioned symbol.
18797         (__v1siglongjmp): Remove alias and versioned symbol.
18798         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18799         (__v2siglongjmp): Likewise.
18801 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18803         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18805 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18807         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18809 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18811         [BZ #17987]
18812         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18813         zero result does not depend on the sign resulting from
18814         subtraction.
18815         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18816         Likewise.
18817         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18818         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18819         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18820         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18821         * math/libm-test.inc (remquo_test_data): Add more tests.
18823 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18825         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18826         Problem reported by J William Piggott.
18828 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18830         [BZ #17978]
18831         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18832         products 4 * y and 2 * y where those would overflow.
18833         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18834         Likewise.
18835         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18836         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18837         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18838         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18839         * math/libm-test.inc (remquo_test_data): Add more tests.
18841         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18843         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18844         [defined _COMPILING_NEWLIB].
18845         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18846         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18848         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18849         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18851 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18853         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18854         acquired.
18856 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18858         [BZ #17792]
18859         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18860         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18861         HOST_STACK_END_ADDR): Likewise.
18863 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18865         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18866         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18867         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18869 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18871         * sysdeps/generic/c++-types.data: New file.
18872         * sysdeps/generic/ld.abilist: New file.
18873         * sysdeps/generic/libBrokenLocale.abilist: New file.
18874         * sysdeps/generic/libanl.abilist: New file.
18875         * sysdeps/generic/libc.abilist: New file.
18876         * sysdeps/generic/libcrypt.abilist: New file.
18877         * sysdeps/generic/libdl.abilist: New file.
18878         * sysdeps/generic/libm.abilist: New file.
18879         * sysdeps/generic/libpthread.abilist: New file.
18880         * sysdeps/generic/libresolv.abilist: New file.
18881         * sysdeps/generic/librt.abilist: New file.
18883 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18885         [BZ #17569]
18886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18887         Compute absolute value of x as modified by fmod, not original
18888         value of x.
18889         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18890         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18891         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18892         RUN_TEST_ffI_f1_mod8.
18893         (remquo_test_data): Add more tests.
18895 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18897         * sysdeps/init_array/pt-crti.S: New file.
18899 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18901         [BZ #17967]
18902         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18903         __builtin_fmaf instead of relying on contraction of a * b + c.
18905 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18907         [BZ #17969]
18908         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18909         node.
18911 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18913         [BZ #17964]
18914         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18915         __builtin_fma instead of relying on contraction of a * b + c.
18917 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18919         * Makeconfig (ASFLAGS): Add -Werror=undef.
18920         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18921         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18922         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18924         * Makeconfig (after-link): New variable.
18925         (+link-pie, +link-pie-tests): Use it.
18926         (+link-static, +link-static-tests): Likewise.
18927         (+link, +link-tests): Likewise.
18928         * Makerules (build-module, build-module-asneeded): Likewise.
18929         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18930         Likewise.
18931         * elf/Makefile ($(objpfx)ld.so): Likewise.
18933 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18935         [BZ #17965]
18936         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18937         both struct timeval and struct timespec.
18939 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18941         [BZ #16560]
18942         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18943         and redefine.
18944         (__ieee754_exp2l): Do not multiply small fractional parts by
18945         M_LN2l.
18946         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18947         small argument.
18948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18949         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18950         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18951         * math/auto-libm-test-in: Add more tests of exp2.
18952         * math/auto-libm-test-out: Regenerated.
18954 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18956         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18957         unaligned path.
18959 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18961         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18962         little endian.
18964 2015-02-12  Andreas Schwab  <schwab@suse.de>
18966         [BZ #15790]
18967         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18968         Filter out elision flags from value returned in kind.
18969         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18970         * nptl/tst-pthread-mutexattr.c: New file.
18972 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18974         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18975         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18976         into gnu-gnu, and update comment to refer to abi-tags.
18978 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18980         [BZ #15467]
18981         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18982         (__sincos): Set errno to EDOM for infinite argument.
18983         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18984         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18985         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18986         (__sincosl): Set errno to EDOM for infinite argument.
18987         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18988         (__sincosl): Set errno to EDOM for infinite argument.
18989         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18990         (__sincosl): Set errno to EDOM for infinite argument.
18991         * math/libm-test.inc (sincos_test_data): Test errno setting.
18993 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18995         * string/strxfrm_l.c: Remove #define STRCMP.
18996         * string/strcoll_l.c: Remove #define STRLEN.
18997         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18998         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19000 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19002         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19003         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19004         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19005         * sysdeps/mips/mips64/Makefile: ... here.
19006         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19007         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19008         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19009         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19010         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19011         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19012         * sysdeps/mips/mips64/n64/Implies: Likewise.
19014 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19016         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19017         <sys/time.h>, <string.h>, and <errno.h>.
19018         (dest_offset, dest_address, value, zero): Remove unused variables.
19019         (ldouble): Remove typedef.
19020         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19021         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19022         1).  Fix code style.
19023         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19024         (check): Function removed.
19025         (CHECK): New macro.
19026         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19027         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19028         Don't call set_sigaction_FP and remove_sigaction_FP here.
19029         (ldouble_test): Just use 'long double' as macro argument, no need for
19030         the 'ldouble' typedef.
19031         (do_test): Set up SIGFPE handler at start, using plain signal rather
19032         than sigaction.  Fix code style.
19034 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19036         [BZ #17949]
19037         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19038         jump label.
19040 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19042         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19043         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19045         * sysdeps/powerpc/configure.ac: Remove file.
19046         * sysdeps/powerpc/configure: Likewise.
19048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19049         [sysdep_routines]: Remove wordcopy-power6 object.
19050         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19051         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19052         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19053         (__memmove_ppc32): Likewise.
19054         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19055         file.
19056         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19057         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19058         Remove preprocessor.
19060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19061         [sysdep_routines]: Remove wide chars objects.
19062         [wcsmbs]: New rule for wide char objects.
19064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19065         Remove wordcopy-power6 obejct.
19066         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19067         Use local call for wordcopy and memcpy symbols.
19068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19069         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19070         implementation for loader.
19071         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19074         Remove wordcopy-power7 object.
19075         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19077         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19078         (_wordcopy_fwd_dest_aligned): Likewise.
19079         (_wordcopy_bwd_aligned): Likewise.
19080         (_wordcopy_bwd_dest_aligned): Likewise.
19082         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19083         Rewrite to call __memmove_ppc instead of include default
19084         implementation.
19086         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19087         Remove wide chars objects.
19088         [wcsmbs]: New rule for wide char objects.
19090 2015-02-09  Andreas Schwab  <schwab@suse.de>
19092         [BZ #17912]
19093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19094         in terms of __O_DIRECTORY.
19096 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19098         * time/getdate.c: Include <stdbool.h>.
19099         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19100         call PTR_MANGLE.
19101         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19102         PTR_DEMANGLE.
19104 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19106         Add ersatz _Static_assert on older C hosts
19107         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19108         pre-C11 C platform that is not known to support _Static_assert.
19110 2015-02-07  Richard Braun  <rbraun@sceen.net>
19112         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19113         sigstate.
19114         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19116 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19118         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19119         priority against unexistent AIO_PRIO_DELTA_MAX.
19120         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19121         instead of int.
19122         * misc/fchflags.c (fchflags): Likewise.
19123         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19124         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19125         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19126         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19127         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19128         Declare macros.
19129         [__USE_MISC] (chflags, fchflags): Declare functions.
19130         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19131         EINVAL when nfds is greater than FD_SETSIZE.
19132         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19133         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19134         45.
19135         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19136         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19137         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19138         MACH_RCV_TIMED_OUT.
19139         * hurd/hurd/signal.h (_hurd_self_sigstate,
19140         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19141         Explicit casts from void *.
19142         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19143         * abi-tags: Rename gnu-gnu os into gnu.
19145         [BZ #4719]
19146         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19147         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19148         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19149         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19150         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19151         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19153         [BZ #17944]
19154         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19155         duplicates ADDR->sun_path with sockaddr LEN limitation.
19156         * sysdeps/mach/hurd/connect.c: Include <string.h>
19157         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19158         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19159         * sysdeps/mach/hurd/sendto.c: Likewise.
19160         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19161         implementing it by hand.
19163 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19165         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19166         Use sfi_breg on ldr.
19167         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19168         Likewise.
19170         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19171         it's defined.
19172         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19173         Test SIGSETXID only if it's defined.
19175         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19177         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19178         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19180         * nptl/tst-align2.c: Moved ...
19181         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19182         * nptl/Makefile (tests): Remove tst-align2.
19183         * sysdeps/unix/sysv/linux/Makefile
19184         [$(subdir) = nptl] (tests): Add tst-align-clone.
19185         * nptl/tst-getpid1.c: Moved ...
19186         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19187         * nptl/tst-getpid2.c: Moved ...
19188         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19189         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19190         * sysdeps/unix/sysv/linux/Makefile
19191         [$(subdir) = nptl] (tests): ... here.
19192         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19193         * sysdeps/unix/sysv/linux/Makefile
19194         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19196         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19197         Drop trailing \n from perror argument.  Use return rather than exit.
19199         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19200         on [SA_SIGINFO].
19201         * nptl/tst-cancel21.c (do_test): Likewise.
19202         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19203         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19204         [!SA_SIGINFO]: Make it a stub test.
19206         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19207         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19209         * posix/tst-getlogin.c: Move to ...
19210         * login/tst-getlogin.c: ... here.
19211         * posix/Makefile (tests): Move tst-getlogin to ...
19212         * login/Makefile (tests): ... here.
19214         * libio/tst-atime.c (do_test): Move local variables SV and E
19215         inside [ST_NOATIME] conditional.
19217         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19219         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19221         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19222         (wait_code): New function replaces macro.
19223         Call nanosleep rather than syscall.
19225         * nptl/pt-system.c: Rewritten.  Put everything under
19226         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19227         Use IFUNC to redirect when possible.
19229         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19230         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19231         Use IFUNC to redirect when possible.
19233         * nptl/pt-fork.c: Rewritten.  Put everything under
19234         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19235         Use IFUNC to redirect when possible.
19236         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19239         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19240         unconditionally nowadays.  This included the only reference to
19241         __vdso_clock_gettime that appears outside libc proper.
19242         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19243         Remove version set (containing only __vdso_clock_gettime).
19244         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19245         Add attribute_hidden.
19246         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19247         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19248         libc_hidden_data_def.
19249         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19250         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19252         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19253         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19254         setrpcent, and getrpcport to ...
19255         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19256         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19257         getrpcbynumber_r, and getrpcent_r to ...
19258         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19259         * inet/getrpcbyname.c: Moved ...
19260         * sunrpc/getrpcbyname.c: ... here.
19261         * inet/getrpcbyname_r.c: Moved ...
19262         * sunrpc/getrpcbyname_r.c: ... here.
19263         * inet/getrpcbynumber.c: Moved ...
19264         * sunrpc/getrpcbynumber.c: ... here.
19265         * inet/getrpcbynumber_r.c: Moved ...
19266         * sunrpc/getrpcbynumber_r.c: ... here.
19267         * inet/getrpcent.c: Moved ...
19268         * sunrpc/getrpcent.c: ... here.
19269         * inet/getrpcent_r.c: Moved ...
19270         * sunrpc/getrpcent_r.c: ... here.
19271         * inet/Makefile (routines): Move those to ...
19272         * sunrpc/Makefile (routines): ... here.
19273         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19274         the $(subdirs) list.
19275         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19276         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19277         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19278         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19280         * elf/Makefile (routines): Include $(all-dl-routines), not just
19281         $(dl-routines).
19282         (rtld-routines): Likewise.  Use = rather than :=.
19283         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19284         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19285         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19286         * sysdeps/arm/Makefile: Likewise.
19287         * sysdeps/i386/Makefile: Likewise.
19288         * sysdeps/x86_64/Makefile: Likewise.
19289         * sysdeps/hppa/Makefile [$(subdir) = elf]
19290         (sysdep_routines, sysdep-rtld-routines): Don't add
19291         $(sysdep-dl-routines) to these.
19292         * sysdeps/ia64/Makefile: Likewise.
19293         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19294         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19295         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19296         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19297         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19298         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19299         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19300         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19301         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19302         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19303         these; sysdep-dl-routines alone is enough.
19305 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19307         [BZ #17932]
19308         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19309         where multiplication results in zero and third argument is finite
19310         and nonzero.
19311         * math/auto-libm-test-in: Add more tests of fma.
19312         * math/auto-libm-test-out: Regenerated.
19314         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19315         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19316         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19317         (_FP_CMP_EQ): Likewise.
19318         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19320         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19321         extra argument CHECK_NAN.  Redefine as wrapper around
19322         _FP_EXTEND_CNAN.
19324 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19326         * version.h (RELEASE): Set to "stable".
19327         (VERSION): Set to "2.21"
19328         * include/features.h (__GLIBC_MINOR__): Set to 21.
19330         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19332 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19333             Paul Eggert  <eggert@cs.ucla.edu>
19335         [BZ #16618]
19336         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19338         size in bytes. Store needed elements in wpmax. Use needed size
19339         in bytes for extend_alloca.
19341 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19343         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19344         binutls 2.25, and texinfo 5.2.
19345         * INSTALL: Regenerate.
19346         * sysdeps/nios2/configure: Regenerate.
19347         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19348         * manual/contrib.texi: Update.
19349         * po/be.po: Update.
19350         * po/bg.po: Update.
19351         * po/ca.po: Update.
19352         * po/cs.po: Update.
19353         * po/da.po: Update.
19354         * po/de.po: Update.
19355         * po/el.po: Update.
19356         * po/eo.po: Update.
19357         * po/es.po: Update.
19358         * po/fi.po: Update.
19359         * po/fr.po: Update.
19360         * po/gl.po: Update.
19361         * po/hr.po: Update.
19362         * po/hu.po: Update.
19363         * po/ia.po: Update.
19364         * po/id.po: Update.
19365         * po/it.po: Update.
19366         * po/ja.po: Update.
19367         * po/ko.po: Update.
19368         * po/lt.po: Update.
19369         * po/nb.po: Update.
19370         * po/nl.po: Update.
19371         * po/pl.po: Update.
19372         * po/pt_BR.po: Update.
19373         * po/ru.po: Update.
19374         * po/rw.po: Update.
19375         * po/sk.po: Update.
19376         * po/sl.po: Update.
19377         * po/sv.po: Update.
19378         * po/tr.po: Update.
19379         * po/uk.po: Update.
19380         * po/vi.po: Update.
19381         * po/zh_CN.po: Update.
19382         * po/zh_TW.po: Update.
19384         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19385         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19386         * sysdeps/hppa/dl-irel.h: Remove #warning.
19387         * sysdeps/hppa/entry.h: Provide prototype for
19388         __canonicalize_funcptr_for_compare and cast argument.
19389         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19390         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19391         * sysdeps/hppa/sotruss-lib.c: New file.
19392         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19393         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19394         (atomic_compare_and_exchange_bool_acq): Likewise.
19395         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19396         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19398         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19399         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19400         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19402 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19404         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19405         called function in non-PIC case.
19407 2015-01-31  David S. Miller  <davem@davemloft.net>
19409         * sysdeps/sparc/sparc32/bits/atomic.h
19410         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19411         unlock not after it.
19412         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19413         volatile register usage warnings from the compiler.
19415         * sysdeps/sparc/nptl/sem_init.c: Delete.
19416         * sysdeps/sparc/nptl/sem_post.c: Delete.
19417         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19418         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19419         * sysdeps/sparc/sparc32/sem_init.c: New file.
19420         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19421         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19422         padding explicitly initialized.
19423         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19424         padding for in-semaphore spinlock.
19425         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19426         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19427         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19428         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19429         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19430         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19431         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19432         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19433         version.
19434         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19435         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19437 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19439         [BZ #17801]
19440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19441         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19442         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19443         New.
19444         (index_AVX_Fast_Unaligned_Load): Likewise.
19445         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19446         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19447         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19448         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19449         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19450         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19451         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19452         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19453         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19455 2015-01-29  Andreas Schwab  <schwab@suse.de>
19457         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19459 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19461         [BZ #17892]
19462         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19464 2015-01-28  Martin Sebor  <msebor@redhat.com>
19466         * math/README.libm-test: Clarify. Add "How to read the test output."
19468 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19470         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19471         Define to 0.
19473 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19475         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19476         (__HAVE_64B_ATOMICS): Define to 0.
19478 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19480         [BZ #17885]
19481         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19482         value to set as new flag.
19484         [BZ #16576]
19485         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19486         and use _ARCH_PPCSQ instead.
19487         (__ieee754_sqrt): Likewise.
19488         (__ieee754_sqrtf): Likewise.
19489         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19490         _ARCH_PPCSQ is defined.
19491         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19492         fsqrt instruction.
19493         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19494         _ARCH_PPCSQ is defined.
19495         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19496         fsqrts instruction.
19497         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19499 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19501         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19502         bug (GCC BZ #64739).
19504 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19506         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19507         Mark _retval as used.
19508         (lll_futex_wake_unlock): Likewise.
19509         (lll_futex_timed_wait_requeue_pi): Likewise.
19511         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19512         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19513         register variables.
19515         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19516         libm_hidden_def.
19518         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19519         (__bswap_64): Mark as __always_inline.
19521 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19523         [BZ #15378]
19524         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19525         when none of the search directories exist.
19527 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19529         [BZ #17869]
19530         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19531         power8 in .machine directive.
19533         [BZ #17868]
19534         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19535         set dependency from opd value.
19537 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19540         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19541         architecture.
19543 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19545         [BZ #17870]
19546         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19547         with uint64_t.
19548         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19549         (uint64_t) 1.
19550         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19551         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19552         Replace 1UL with (uint64_t) 1.
19553         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19554         int with uint64_t.
19556 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19558         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19559         (if_freenameindex): Likewise.
19561         * resource/getrlimit64.c: Add missing libc_hidden_def.
19563 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19565         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19566         __label__.
19567         (_FP_FMA): Likewise.
19568         (_FP_TO_INT_ROUND): Likewise.
19569         (_FP_FROM_INT): Likewise.
19571 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19573         [BZ #16418]
19574         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19575         Make code racy and cancel safe.
19577 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19579         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19580         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19581         attribution.
19583         * pwd/tst-getpw.c: Rewrite.
19585         [BZ #17702]
19586         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19587         (modules-names): Add moddummy1 and moddummy2.
19588         ($(objpfx)tst-rec-dlopen): Define.
19589         * dlfcn/moddummy1.c: New file.
19590         * dlfcn/moddummy2.c: New file.
19591         * dlfcn/tst-rec-dlopen.c: New file.
19592         * elf/dl-cache.c (_dl_load_cache_lookup):
19593         Return char*. Copy result with alloca/strcpy/strdup.
19594         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19595         returns char*. Free cached. If not saving realname
19596         free cached.
19597         * elf/dl-open.c (dl_open_worker): Do not assert that
19598         _r_debug->r_state is RT_CONSISTENT.
19599         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19600         returns char*.
19602 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19603             Carlos O'Donell  <carlos@redhat.com>
19605         [BZ #12674]
19606         * nptl/sem_waitcommon.c: New file.
19607         * nptl/sem_wait.c: Include sem_waitcommon.c.
19608         (__sem_wait_cleanup, do_futex_wait): Remove.
19609         (__new_sem_wait): Adapt.
19610         (__new_sem_trywait): New function.
19611         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19612         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19613         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19614         (sem_timedwait): Adapt.
19615         * nptl/sem_post.c (__new_sem_post): Adapt.
19616         (futex_wake): New function.
19617         (__old_sem_post): Add release MO fence.
19618         * nptl/sem_open.c (sem_open): Adapt.
19619         * nptl/sem_init.c (__new_sem_init): Adapt.
19620         (futex_private_if_supported): New function.
19621         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19622         (__old_sem_getvalue): Add using previous code.
19623         * sysdeps/nptl/internaltypes.h: Adapt.
19624         * nptl/tst-sem13.c (do_test): Adapt.
19625         * nptl/tst-sem11.c (main): Adapt.
19626         * nptl/sem_trywait.c: Remove.
19627         * nptl/DESIGN-sem.txt: Remove.
19628         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19629         (gen-as-const-headers): Remove structsem.sym.
19630         * nptl/structsem.sym: Remove.
19631         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19632         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19633         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19634         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19635         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19636         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19637         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19638         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19639         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19640         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19641         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19642         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19643         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19644         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19645         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19646         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19647         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19648         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19649         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19650         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19651         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19652         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19654 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19656         * INSTALL: Regenerated.
19658         * po/libc.pot: Regenerated.
19660 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19661             Sandra Loosemore  <sandra@codesourcery.com>
19662             Andrew Jenner  <andrew@codesourcery.com>
19663             Joseph Myers  <joseph@codesourcery.com>
19664             Nathan Sidwell  <nathan@codesourcery.com>
19666         * NEWS: Mention new Nios II port.
19667         * sysdeps/nios2/Implies: New file.
19668         * sysdeps/nios2/Makefile: New file.
19669         * sysdeps/nios2/Subdirs: New file.
19670         * sysdeps/nios2/Versions: New file.
19671         * sysdeps/nios2/__longjmp.S: New file.
19672         * sysdeps/nios2/abort-instr.h: New file.
19673         * sysdeps/nios2/backtrace.c: New file.
19674         * sysdeps/nios2/bits/endian.h: New file.
19675         * sysdeps/nios2/bits/fenv.h: New file.
19676         * sysdeps/nios2/bits/link.h: New file.
19677         * sysdeps/nios2/bits/setjmp.h: New file.
19678         * sysdeps/nios2/bsd-_setjmp.S: New file.
19679         * sysdeps/nios2/bsd-setjmp.S: New file.
19680         * sysdeps/nios2/configure: New generated file.
19681         * sysdeps/nios2/configure.ac: New file.
19682         * sysdeps/nios2/crti.S: New file.
19683         * sysdeps/nios2/crtn.S: New file.
19684         * sysdeps/nios2/dl-init.c: New file.
19685         * sysdeps/nios2/dl-machine.h: New file.
19686         * sysdeps/nios2/dl-sysdep.h: New file.
19687         * sysdeps/nios2/dl-tls.h: New file.
19688         * sysdeps/nios2/dl-trampoline.S: New file.
19689         * sysdeps/nios2/gccframe.h: New file.
19690         * sysdeps/nios2/gmp-mparam.h: New file.
19691         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19692         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19693         * sysdeps/nios2/ldsodefs.h: New file.
19694         * sysdeps/nios2/libc-tls.c: New file.
19695         * sysdeps/nios2/libm-test-ulps: New file.
19696         * sysdeps/nios2/machine-gmon.h: New file.
19697         * sysdeps/nios2/math-tests.h: New file.
19698         * sysdeps/nios2/math_private.h: New file.
19699         * sysdeps/nios2/memusage.h: New file.
19700         * sysdeps/nios2/nptl/Makefile: New file.
19701         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19702         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19703         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19704         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19705         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19706         * sysdeps/nios2/nptl/tls.h: New file.
19707         * sysdeps/nios2/preconfigure: New file.
19708         * sysdeps/nios2/s_fma.c: New file.
19709         * sysdeps/nios2/s_fmaf.c: New file.
19710         * sysdeps/nios2/setjmp.S: New file.
19711         * sysdeps/nios2/sfp-machine.h: New file.
19712         * sysdeps/nios2/sotruss-lib.c: New file.
19713         * sysdeps/nios2/stackguard-macros.h: New file.
19714         * sysdeps/nios2/stackinfo.h: New file.
19715         * sysdeps/nios2/start.S: New file.
19716         * sysdeps/nios2/sysdep.h: New file.
19717         * sysdeps/nios2/tls-macros.h: New file.
19718         * sysdeps/nios2/tst-audit.h: New file.
19719         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19720         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19721         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19722         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19723         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19724         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19725         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19726         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19727         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19728         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19729         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19730         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19731         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19732         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19733         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19734         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19735         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19736         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19737         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19738         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19739         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19740         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19741         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19742         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19743         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19744         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19745         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19746         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19747         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19748         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19749         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19750         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19751         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19752         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19753         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19754         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19755         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19756         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19757         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19758         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19759         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19760         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19761         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19762         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19764 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19766         [BZ #17844]
19767         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19768         (getutent): Use weak_alias in non SHARED case
19769         and default_symbol_version in SHARED case.
19770         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19771         (getutent_r, pututline): Likewise.
19772         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19773         (getutid): Likewise.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19775         (getutid_r): Likewise.
19776         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19777         (getutline): Likewise.
19778         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19779         (getutline_r): Likewise.
19780         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19781         (updwtmp): Likewise.
19783 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19785         [BZ #17848]
19786         * sysdeps/s390/s390-32/memcmp.S
19787         (memcmp_g5): Rename to __memcmp_g5.
19788         * sysdeps/s390/s390-32/memcpy.S
19789         (memcpy_g5): Rename to __memcpy_g5.
19790         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19791         (memcpy_mvcle) Rename to __memcpy_mvcle.
19792         * sysdeps/s390/s390-32/memset.S
19793         (memset_g5): Rename to __memset_g5.
19794         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19795         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19796         and use prefixed functions.
19797         * sysdeps/s390/s390-32/multiarch/memcmp.S
19798         (memcmp_z196): Rename to __memcmp_z196.
19799         (memcmp_z10): Rename to __memcmp_z10.
19800         (memcmp): Set alias to __memcmp_g5.
19801         (bcmp): Set alias to __memcmp_g5.
19802         * sysdeps/s390/s390-32/multiarch/memcpy.S
19803         (memcpy_z196): Rename to __memcpy_z196.
19804         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19805         (memcpy_z10): Rename to __memcpy_z10.
19806         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19807         (memcpy): Set alias to __memcpy_g5.
19808         * sysdeps/s390/s390-32/multiarch/memset.S
19809         (memset_z196): Rename to __memset_z196.
19810         Jump to __memset_mvcle instead of memset_mvcle.
19811         (memset_z10): Rename to __memset_z10.
19812         Jump to __memset_mvcle instead of memset_mvcle.
19813         (memset_mvcle) Rename to __memset_mvcle.
19814         (memset): Set alias to __memset_g5.
19815         * sysdeps/s390/s390-64/memcmp.S
19816         (memcmp_z900): Rename to __memcmp_z900.
19817         * sysdeps/s390/s390-64/memcpy.S
19818         (memcpy_z900): Rename to __memcpy_z900.
19819         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19820         (memcpy_mvcle) Rename to __memcpy_mvcle.
19821         * sysdeps/s390/s390-64/memset.S
19822         (memset_z900): Rename to __memset_z900.
19823         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19824         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19825         and use prefixed functions.
19826         * sysdeps/s390/s390-64/multiarch/memcmp.S
19827         (memcmp_z196): Rename to __memcmp_z196.
19828         (memcmp_z10): Rename to __memcmp_z10.
19829         (memcmp): Set alias to __memcmp_z900.
19830         (bcmp): Set alias to __memcmp_z900.
19831         * sysdeps/s390/s390-64/multiarch/memcpy.S
19832         (memcpy_z196): Rename to __memcpy_z196.
19833         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19834         (memcpy_z10): Rename to __memcpy_z10.
19835         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19836         (memcpy): Set alias to __memcpy_z900.
19837         * sysdeps/s390/s390-64/multiarch/memset.S
19838         (memset_z196): Rename to __memset_z196.
19839         Jump to __memset_mvcle instead of memset_mvcle.
19840         (memset_z10): Rename to __memset_z10.
19841         Jump to __memset_mvcle instead of memset_mvcle.
19842         (memset_mvcle) Rename to __memset_mvcle.
19843         (memset): Set alias to __memset_z900.
19845 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #17748]
19848         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19849         __fesetenv instead of fesetenv.
19851 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19853         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19854         macro.
19856 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19858         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19859         regression on LE.
19861         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19862         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19864         strncmp-power8 object.
19865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19866         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19867         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19868         * NEWS: Update.
19870 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19871             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19873         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19874         trailing byte check.
19876 2015-01-13  David S. Miller  <davem@davemloft.net>
19878         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19880 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19882         * login/logout.c (logout): Use memset rather than bzero.
19883         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19884         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19885         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19886         (_gethtbyaddr): Likewise.
19887         * locale/programs/simple-hash.c (bcopy): Macro removed.
19889 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19891         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19892         Add strcmp-power8 object.
19893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19894         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19895         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19896         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19897         __strcmp_power8 implementation.
19898         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19899         * NEWS: Update.
19901         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19902         Add strncpy-power8 and stpncpy-power8 objects.
19903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19904         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19905         implementations.
19906         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19907         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19908         __stpncpy_power8 implementation.
19909         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19910         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19911         __strncpy_power8 implementation.
19912         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19913         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19914         * NEWS: Update.
19916         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19917         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19918         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19920         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19921         strncat-power8 object.
19922         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19923         __strcat_power8 implementation.
19924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19925         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19926         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19927         optimized strcat for power8.
19929         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19930         strcpy-power8 and stpcpy-power8 objects.
19931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19932         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19933         implementations.
19934         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19935         multiarch stpcpy implementation for POWER8.
19936         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19937         multiarch strcpy implementation for POWER8.
19938         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19939         __strcpy_power8 function.
19940         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19941         stpcpy for POWER8.
19942         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19943         strcpy for POWER8.
19944         * NEWS: Update.
19946 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19948         [BZ #16009]
19949         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19950         weights and rules. Use do_xfrm_cached if data fits in cache,
19951         do_xfrm otherwise.  Moved former main loop to...
19952         * (do_xfrm_cached): New function.
19953         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19954         find_idx, find_position and stack_push.
19955         * (find_idx): New function.
19956         * (find_position): Likewise.
19957         * localedata/sort-test.sh: Added test run for do_xfrm.
19958         * localedata/xfrm-test.c (main): Added command line option
19959         -nocache to run the test with strings that are too large for
19960         the STRXFRM cache.
19962 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19964         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19965         variable to lll_futex_wake call, not the value itself.
19967 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19969         [BZ #17803]
19970         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19971         twom64.  Adjust value to 0x1p-64L.
19972         (__scalblnl): Only return standard underflowing result for K <=
19973         -64 not K <= -63; adjust exponent for underflowing result by 64
19974         not 63.
19975         * math/libm-test.inc (scalbn_test_data): Add more tests.
19976         (scalbln_test_data): Likewise.
19978         [BZ #17834]
19979         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19980         0x1p63L.
19981         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19982         not HX.
19983         * math/libm-test.inc (scalbn_test_data): Add more tests.
19984         (scalbln_test_data): Likewise.
19986 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19987             Stefani Seibold  <stefani@seibold.net>
19989         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19990         (sysdep_routines): Add dl-vdso here, ...
19991         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19992         (sysdep_routines): ... not here.
19993         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19994         fallback when vDSO is not presented.
19995         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19996         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19997         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19998         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19999         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20000         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20001         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20002         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20003         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20005         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20006         fallback configurable symbol when vDSO is not available.
20007         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20008         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20009         be able to redefine fallback symbol when vDSO is not available.
20010         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20011         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20013 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20015         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20016         (TLS_INIT_TP): Add tm_capable initialization.
20017         (TLS_DEFINE_INIT_TP): Likewise.
20018         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20019         TCB.
20020         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20021         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20022         calculation.
20023         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20024         transactoion is lock elision is built and TCB tm_capable is set.
20025         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20027         (INTERNAL_SYSCALL_NCS): Likewise.
20028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20029         (INTERNAL_SYSCALL_NCS): Likewise.
20030         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20032         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20033         for powerpc.
20034         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20035         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20036         and remove it for 32 bits case.
20037         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20039         initialization.
20040         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20041         Disable lock elision with rdlocks if elision is not available.
20043         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20044         (sysdep_routines): Add lock elision objects.
20045         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20046         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20047         [pthread_mutex_t] (__elision): Add field.
20048         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20049         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20050         elision definitions for powerpc.
20051         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20052         implementation of lock elision for powerpc.
20053         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20054         implementation of timed lock elision for powerpc.
20055         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20056         implementation of trylock with lock elision for powerpc.
20057         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20058         implementaion of unlock for lock elision for powerpc.
20059         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20060         automatic enable lock elision for mutexes.
20061         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20062         transaction execution definitions for powerpc.
20063         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20064         definitions.
20065         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20066         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20067         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20068         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20069         * NEWS: Update.
20071 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20073         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20074         for #include of <shm-directory.h>.
20076 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20078         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20079         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20081 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20083         [BZ #17791]
20084         * NEWS: Mention bug fix.
20085         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20086         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20087         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20089 2015-01-09  Torvald Riegel <triegel@redhat.com>
20091         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20093 2015-01-09  Torvald Riegel <triegel@redhat.com>
20095         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20097 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20099         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20100         pointer and cast to uintptr_t.
20102 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20104         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20105         removed.
20106         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20108 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20110         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20111         of 0.
20113 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20115         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20116         <nptl/pthreadP.h> instead.
20117         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20119         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20120         already defined.
20121         [__SIGRTMIN] (init): Function removed.
20122         [__SIGRTMIN] (initialized): Variable removed.
20123         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20124         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20125         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20126         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20127         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20128         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20129         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20130         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20131         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20132         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20133         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20134         * sysdeps/nptl/allocrtsig.c: New file.
20135         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20136         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20137         * sysdeps/generic/testrtsig.h: File removed.
20139         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20140         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20142         * nptl/nptl-init.c (pthread_functions): Conditionalize
20143         .ptr__nptl_setxid initialization on [SIGSETXID].
20145         * sysdeps/nptl/sys/procfs.h: New file.
20146         * nptl_db/Makefile (headers): Add it.
20147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20149         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20150         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20151         * nptl/pthread_attr_setaffinity.c: Include it.
20152         * nptl/pthread_setattr_default_np.c: Likewise.
20153         * nptl/check-cpuset.h: New file.
20155 2015-01-08  Richard Henderson  <rth@redhat.com>
20157         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20158         (CFLAGS-tst-execstack-prog.c): Likewise.
20159         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20161 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20162             Sandra Loosemore  <sandra@codesourcery.com>
20163             Andrew Jenner  <andrew@codesourcery.com>
20164             Joseph Myers  <joseph@codesourcery.com>
20165             Nathan Sidwell  <nathan@codesourcery.com>
20167         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20168         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20169         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20170         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20171         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20172         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20173         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20174         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20175         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20176         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20177         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20178         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20179         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20180         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20181         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20182         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20183         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20185 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20187         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20188         timespec struct member in syscall macro.
20189         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20190         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20191         first timeval struct member in syscall macro.
20192         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20194 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #17748]
20197         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20198         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20199         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20200         __feupdateenv and define as weak alias of __feupdateenv.  Use
20201         libm_hidden_weak.
20202         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20203         libm_hidden_def.
20204         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20205         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20206         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20207         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20208         libm_hidden_def.
20209         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20210         __feupdateenv and define as weak alias of __feupdateenv.  Use
20211         libm_hidden_weak.
20212         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20213         libm_hidden_def.
20214         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20215         __feupdateenv and define as weak alias of __feupdateenv.  Use
20216         libm_hidden_weak.
20217         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20218         libm_hidden_def.
20219         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20220         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20221         (__feupdateenv): Likewise.
20222         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20223         __feupdateenv and define as weak alias of __feupdateenv.  Use
20224         libm_hidden_weak.
20225         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20226         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20227         libm_hidden_def.
20228         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20229         function.
20230         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20231         libm_hidden_def.
20232         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20233         __feupdateenv instead of feupdateenv.
20234         (default_libc_feupdateenv_test): Likewise.
20235         (libc_feresetround_ctx): Likewise.
20237 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20239         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20240         prototype.
20242 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20244         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20245         COLL_SYM in a couple of places to avoid uninitialized variable
20246         wanings on tilegx gcc 4.8.2.
20248 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20250         * sysdeps/aarch64/strcpy.S: New file.
20251         * sysdeps/aarch64/stpcpy.S: New file.
20252         * NEWS: Updated.
20254 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20256         * sysdeps/aarch64/strrchr.S: New file.
20257         * NEWS: Updated.
20259 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20261         [BZ #17658]
20262         * stdlib/setenv.c: Fix memory leak when setting large,
20263         duplicate string.
20265 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20267         [BZ #17273]
20268         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20269         and tabs from buffer before parsing fstab entry.
20270         * misc/tst-mntent.c (main): Add test for mount entry with
20271         trailing spaces and tabs.
20273 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20275         [BZ #17748]
20276         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20277         * math/fesetround.c (fesetround): Rename to __fesetround and
20278         define as weak alias of __fesetround.  Use libm_hidden_weak.
20279         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20280         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20281         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20282         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20283         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20284         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20285         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20286         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20287         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20288         __fesetround_inline.
20289         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20290         __fesetround_inline instead of __fesetround.
20291         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20292         __fesetround and define as weak alias of __fesetround.  Use
20293         libm_hidden_weak.  Call __fesetround_inline instead of
20294         __fesetround.
20295         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20296         __fesetround and define as weak alias of __fesetround.  Use
20297         libm_hidden_weak.
20298         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20299         Likewise.
20300         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20301         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20302         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20303         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20304         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20305         __fesetround and define as weak alias of __fesetround.  Use
20306         libm_hidden_weak.
20307         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20308         __fesetround instead of fesetround.
20309         (default_libc_feholdexcept_setround): Likewise.
20310         (libc_feholdsetround_ctx): Likewise.
20311         (libc_feholdsetround_noex_ctx): Likewise.
20313         [BZ #17748]
20314         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20315         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20316         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20317         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20318         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20319         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20320         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20321         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20322         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20323         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20324         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20325         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20326         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20327         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20328         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20329         libm_hidden_def.
20330         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20331         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20332         Likewise.
20333         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20334         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20335         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20336         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20337         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20338         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20339         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20340         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20341         __fesetenv instead of fesetenv.
20342         (libc_feresetround_noex_ctx): Likewise.
20343         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20344         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20345         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20346         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20347         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20348         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20349         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20350         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20351         (__feupdateenv): Likewise.
20352         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20353         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20354         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20355         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20357 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20359         [BZ #17806]
20360         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20361         addresses have been freed.
20363 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20365         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20366         and nservall.
20368 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20370         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20371         Clean up check_pf allocation pattern. addresses
20373 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20375         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20376         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20377         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20378         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20379         * nptl/pthread_join.c (pthread_join): Likewise.
20380         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20381         * sysdeps/posix/waitid.c (__waitid): Likewise.
20382         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20383         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20384         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20385         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20387         Likewise.
20388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20389         (__libc_pread64): Likewise.
20390         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20391         (__libc_pwrite): Likewise.
20392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20393         (__libc_pwrite64): Likewsie.
20394         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20395         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20396         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20397         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20398         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20399         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20400         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20402         Likewise.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20404         (__libc_pread64): Likewise.
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20406         Likewise.
20407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20408         (__libc_pwrite64): Likewise.
20409         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20410         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20411         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20412         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20413         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20414         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20415         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20416         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20417         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20418         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20419         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20420         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20421         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20422         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20423         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20424         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20425         Likewise.
20427 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20429         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20430         (CFLAGS-test-double.c): Likewise.
20431         (CFLAGS-test-ldouble.c): Likewise.
20432         (CPPFLAGS-test-ifloat.c): Likewise.
20433         (CPPFLAGS-test-idouble.c): Likewise.
20434         (CPPFLAGS-test-ildoubl.c): Likewise.
20435         (CFLAGS-test-test-fenv.c): Remove variable.
20436         (CFLAGS-test-misc.c): Likewise.
20438 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20440         [BZ #17797]
20441         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20442         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20443         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20444         CLOCKS_PER_SEC == 1000000.
20445         * time/clocktest.c (main): Replace %ld with %jd and cast to
20446         intmax_t.
20448 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20450         * sysdeps/generic/unwind-resume.h: New file.
20451         * sysdeps/gnu/unwind-resume.c: Include it.
20452         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20453         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20454         argument list.
20455         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20456         global rather than static.
20457         (_Unwind_Resume): Update user.
20458         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20459         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20460         rather than static.  Add __attribute__ ((cold)).
20461         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20462         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20463         * sysdeps/arm/arm-unwind-resume.S: New file.
20464         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20465         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20466         * sysdeps/arm/Makefile [$(subdir) = csu]
20467         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20468         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20469         Add rt-arm-unwind-resume.
20470         [$(subdir) = nptl]
20471         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20472         Add pt-arm-unwind-resume.
20473         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20474         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20476 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20478         [BZ #17748]
20479         * include/fenv.h (__feholdexcept): Declare.  Use
20480         libm_hidden_proto.
20481         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20482         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20483         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20484         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20485         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20486         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20487         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20488         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20489         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20490         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20491         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20492         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20493         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20494         (feholdexcept): Likewise.
20495         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20496         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20497         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20498         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20499         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20500         __feholdexcept instead of feholdexcept.
20501         (default_libc_feholdexcept_setround): Likewise.
20503 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20505         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20506         to avoid using stl/str to align destination.
20508 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20510         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20512 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20514         [BZ #17796]
20515         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20516         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20517         Define as weak alias not strong alias.
20519 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20521         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20522         bltzal with addiupc.
20523         (RTLD_START): Ditto.
20525 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20527         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20528         for __vdso_* functions in declarations.
20529         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20530         definitions.
20531         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20532         INTERNAL_VSYSCALL): Use struct return types to check for error.
20534         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20535         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20536         function with cast from llround().
20537         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20538         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20539         Define.
20541 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20543         [BZ #17793]
20544         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20545         Define as weak alias not strong alias.
20547         [BZ #17635]
20548         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20549         ...
20550         * ctype/ctype-extn.c: ... here.
20551         (__isblank_l): Move to ...
20552         * ctype/ctype-c99_l.c: ... here.  New file.
20553         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20554         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20555         Remove variable.
20556         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20557         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20558         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20559         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20560         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20562         [BZ #17777]
20563         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20564         (posix_fadvise64): Define as weak alias not strong alias.
20565         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20566         (posix_fallocate64): Likewise.
20567         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20568         Remove variable.
20569         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20570         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20571         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20572         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20573         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20575 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20577         [BZ #16191]
20578         * NEWS: Mention bug fix.
20579         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20580         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20581         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20582         (HOST_STACK_END_ADDR): Likewise.
20584 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20586         [BZ #17748]
20587         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20588         * math/fegetround.c (fegetround): Rename to __fegetround and
20589         define as weak alias of __fegetround.  Use libm_hidden_weak.
20590         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20591         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20592         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20593         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20594         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20595         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20596         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20597         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20598         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20599         Undefine after rather than before function definition; use
20600         parentheses around function name in definition.
20601         (__fegetround): Also undefine macro after function definition.
20602         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20603         __fegetround and define as weak alias of __fegetround.  Use
20604         libm_hidden_weak.  Do not undefine as macro.
20605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20606         Likewise.
20607         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20608         __fegetround and define as weak alias of __fegetround.  Use
20609         libm_hidden_weak.
20610         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20611         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20612         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20613         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20614         __fegetround and define as weak alias of __fegetround.  Use
20615         libm_hidden_weak.
20616         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20617         __fegetround instead of fegetround.
20619         [BZ #17782]
20620         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20621         Condition macro definition on [__USE_MISC].
20623         [BZ #17781]
20624         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20625         (struct sigaction): Change type of sa_flags field to int.
20627         [BZ #17780]
20628         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20629         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20630         __glibc_reserved0.
20632         * nptl/version.c (banner): Use single year in copyright notice.
20634         * NEWS: Update copyright dates.
20635         * catgets/gencat.c (print_version): Likewise.
20636         * csu/version.c (banner): Likewise.
20637         * debug/catchsegv.sh: Likewise.
20638         * debug/pcprofiledump.c (print_version): Likewise.
20639         * debug/xtrace.sh (do_version): Likewise.
20640         * elf/ldconfig.c (print_version): Likewise.
20641         * elf/ldd.bash.in: Likewise.
20642         * elf/pldd.c (print_version): Likewise.
20643         * elf/sotruss.sh: Likewise.
20644         * elf/sprof.c (print_version): Likewise.
20645         * iconv/iconv_prog.c (print_version): Likewise.
20646         * iconv/iconvconfig.c (print_version): Likewise.
20647         * locale/programs/locale.c (print_version): Likewise.
20648         * locale/programs/localedef.c (print_version): Likewise.
20649         * login/programs/pt_chown.c (print_version): Likewise.
20650         * malloc/memusage.sh (do_version): Likewise.
20651         * malloc/memusagestat.c (print_version): Likewise.
20652         * malloc/mtrace.pl: Likewise.
20653         * manual/libc.texinfo: Likewise.
20654         * nptl/version.c (banner): Likewise.
20655         * nscd/nscd.c (print_version): Likewise.
20656         * nss/getent.c (print_version): Likewise.
20657         * nss/makedb.c (print_version): Likewise.
20658         * posix/getconf.c (main): Likewise.
20659         * scripts/test-installation.pl: Likewise.
20660         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20662 2015-01-02  Will Newton  <will.newton@linaro.org>
20664         * sysdeps/arm/armv7/configure: Removed.
20665         * sysdeps/arm/armv7/configure.ac: Likewise.
20667 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20669         * All files with FSF copyright notices: Update copyright dates
20670         using scripts/update-copyrights.
20671         * intl/plural.c: Regenerated.
20672         * locale/programs/charmap-kw.h: Likewise.
20673         * locale/programs/locfile-kw.h: Likewise.
20675 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20677         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20679 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20681         [BZ #17748]
20682         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20683         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20684         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20685         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20686         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20687         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20688         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20689         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20690         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20691         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20692         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20693         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20694         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20695         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20696         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20697         libm_hidden_def.
20698         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20699         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20700         Likewise.
20701         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20702         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20704         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20705         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20706         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20707         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20708         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20709         __fegetenv instead of fegetenv.
20710         (libc_feholdsetround_noex_ctx): Likewise.
20712 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20714         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20715         (Elf_MIPS_ABIFlags_v0): New structure.
20716         (EF_MIPS_FP64): Define.
20717         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20718         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20719         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20720         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20721         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20722         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20723         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20724         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20725         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20726         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20727         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20728         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20729         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20730         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20731         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20732         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20733         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20734         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20735         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20736         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20737         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20738         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20739         field.
20740         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20741         EF_MIPS_FP64.
20742         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20743         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20744         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20745         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20746         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20747         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20748         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20749         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20750         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20751         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20752         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20753         record the current FP ABI extension.
20754         (mips-mode-switch): Define to show if kernel headers support mode
20755         switching.
20756         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20757         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20758         supported SYSV ABI version to 3.
20759         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20760         feature.
20762 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20763             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20765         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20766         path.
20767         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20769 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20771         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20772         __fegetround and redefine to call __fegetround.  Remove condition
20773         on [!__NO_MATH_INLINES].
20774         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20775         function.
20776         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20777         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20778         Remove macro.
20779         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20780         instead of <fenv_libc.h>.
20781         (__llrintl): Call fegetround instead of __fegetround.
20782         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20783         instead of <fenv_libc.h>.
20784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20785         (__lrintl): Call fegetround instead of __fegetround.
20786         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20787         instead of <fenv_libc.h>.
20788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20789         (__rintl): Call fegetround instead of __fegetround.
20791 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20793         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20794         arrays.
20796 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20798         [BZ #17775]
20799         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20800         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20801         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20803 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20805         * sysdeps/i386/tls-macros.h: Include <features.h>.
20806         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20807         (TLS_IE): Likewise.
20808         (TLS_LD): Likewise.
20809         (TLS_GD): Likewise.
20810         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20811         define for GCC >= 5.0.
20813 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20815         * math/test-fenv.c (test_single_exception, set_single_exc,
20816         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20817         feexcp_mask_test, feenable_test, fe_single_test): Add
20818         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20819         case where they are not used.
20820         * math/libm-test.inc: Likewise.
20821         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20822         unused in the absence of FP rounding/exception support.
20823         * stdio-common/tst-printf-round.c: Likewise.
20824         * stdlib/tst-strtod-round.c: Likewise.
20825         * stdlib/tst-strtod-underflow.c: Likewise.
20827 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20829         [BZ #17723]
20830         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20831         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20832         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20833         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20834         libm_hidden_weak.
20835         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20836         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20837         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20838         libm_hidden_def.
20839         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20840         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20841         libm_hidden_weak.
20842         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20843         Likewise.
20844         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20845         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20846         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20847         libm_hidden_weak.
20848         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20849         libm_hidden_def.
20850         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20851         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20852         (__feraiseexcept): Likewise.
20853         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20854         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20855         libm_hidden_weak.
20856         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20857         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20858         libm_hidden_def.
20859         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20860         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20861         Use libm_hidden_def.
20862         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20863         libm_hidden_def.
20864         (feraiseexcept): Define as weak not strong alias.  Use
20865         libm_hidden_weak.
20866         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20867         New inline function.  Factored out of ...
20868         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20869         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20870         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20871         feraiseexcept.
20872         * math/w_acos.c (__acos): Likewise.
20873         * math/w_asin.c (__asin): Likewise.
20874         * math/w_ilogb.c (__ilogb): Likewise.
20875         * math/w_j0.c (y0): Likewise.
20876         * math/w_j1.c (y1): Likewise.
20877         * math/w_jn.c (yn): Likewise.
20878         * math/w_log.c (__log): Likewise.
20879         * math/w_log10.c (__log10): Likewise.
20880         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20881         * sysdeps/aarch64/fpu/math_private.h
20882         (libc_feupdateenv_test_aarch64): Likewise.
20883         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20884         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20885         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20886         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20887         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20888         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20889         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20890         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20891         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20892         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20894 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20896         [BZ #17732]
20897         * io/test-utime.c (main): Replace %ld with %jd and cast to
20898         intmax_t.
20899         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20900         * nptl/tst-mutex5.c: Include <stdint.h>.
20901         (do_test): Replace %ld with %jd and cast to intmax_t.
20902         * posix/tst-regex.c (run_test): Likewise.
20903         (run_test_backwards): Likewise.
20904         * rt/tst-clock.c: Include <stdint.h>.
20905         (clock_test): Replace %ld with %jd and cast to intmax_t.
20906         * rt/tst-cpuclock1.c: Include <stdint.h>.
20907         (do_test): Replace %lu with %ju and cast to uintmax_t.
20908         * rt/tst-cpuclock2.c: Include <stdint.h>.
20909         (do_test): Replace %lu with %ju and cast to uintmax_t.
20910         * rt/tst-mqueue1.c: Include <stdint.h>.
20911         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20912         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20913         intmax_t.
20914         * rt/tst-mqueue4.c (do_test): Likewise.
20915         * rt/tst-timer4.c: Include <stdint.h>.
20916         (check_ts): Replace %ld with %jd and cast to intmax_t.
20917         (do_test): Likewise.
20918         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20919         and cast to intmax_t.
20920         * sysdeps/pthread/tst-timer.c (main): Likewise.
20921         * time/clocktest.c (main): Likewise.
20922         * time/tst-posixtz.c (do_test): Likewise.
20923         * timezone/tst-timezone.c (main): Likewise.
20925 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20926             H.J. Lu  <hongjiu.lu@intel.com>
20928         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20929         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20930         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20931         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20932         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20933         version if bit_Fast_Unaligned_Load is set.
20934         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20935         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20936         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20937         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20938         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20939         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20941         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20942         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20943         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20944         to 4.
20945         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20946         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20947         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20948         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20950 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20952         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20953         instead of #if to avoid a Wundef warning.
20954         * stdlib/tst-limits.c (do_test): Likewise.
20956         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20957         parallel other exception macros.
20958         (fegetenv): Convert from macro to extern inline so that it applies
20959         retroactively to inline functions already seen by the compiler.
20960         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20962         * posix/Makefile (before-compile): Use $(objpfx) for
20963         posix-conf-vars-def.h.
20965 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20967         * posix/getconf.c (main): Use size_t for type of I.
20968         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20969         NSPEC.
20971         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20972         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20973         * posix/posix-envs.def: Likewise.
20974         * sysdeps/posix/sysconf.c: Likewise.
20975         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20976         (specs): Remove array.
20977         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20978         array.
20980         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20981         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20982         (__sysconf): Use CONF_IS_* macros.
20984         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20985         ($(objpfx)posix-conf-vars-def.h): New target.
20986         * posix/posix-conf-vars.list: New file.
20987         * posix/posix-conf-vars.h: New file.
20988         * posix/confstr.c: Include posix-conf-vars.h.
20989         (confstr): Use CONF_IS_* macros.
20990         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20991         CONF_IS_* macros.
20992         * scripts/gen-posix-conf-vars.awk: New file.
20994 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20996         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20997         fegetround): Add no-op macros to avoid linknamespace issues.
20999         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21000         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21002         * sysdeps/unix/sysv/linux/tile/sysdep.h
21003         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21004         assembly-specific section to avoid a redefinition warning.
21006         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21007         long before casting to pointer to avoid a cast warning.
21009 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21011         * sysdeps/tile/tilegx/Implies: New file.
21013 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21015         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21017 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21019         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21021 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21024         not define.
21025         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21026         <kernel-features.h>.
21027         (__utimes) [__NR_utimes]: Make code unconditional.
21028         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21029         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21030         (__ASSUME_UTIMES): Do not undefine.
21031         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21032         (__ASSUME_UTIMES): Likewise.
21033         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21034         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21035         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21036         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21038 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21040         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21042 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21044         [BZ #17747]
21045         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21046         alias to weak alias for j0l, y0l.
21047         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21048         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21050         [BZ #17746]
21051         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21052         conversion.
21054 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21056         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21057         to zero if not already defined.
21059 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21061         [BZ #17724]
21062         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21063         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21064         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21065         (char *) casts added.
21066         * sysdeps/ieee754/k_standardf.c: New file.
21067         * sysdeps/ieee754/k_standardl.c: Likewise.
21068         * math/Makefile (libm-support): Remove k_standard.
21069         (libm-calls): Add k_standard.
21071 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21073         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21074         Optimize to avoid an unnecessary FPCR read.
21076 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21078         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21079         Optimize to reduce FPCR/FPSR accesses.
21081 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21083         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21084         Call libc_fetestexcept_aarch64.
21086 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21088         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21089         Call libc_fesetround_aarch64.
21091 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #17733]
21094         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21095         (__bind): Do not define as weak alias.
21096         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21097         define.
21098         (__getsockname): Do not define as weak alias.
21100 2014-12-22  Will Newton  <will.newton@linaro.org>
21102         * manual/install.texi: Document that we require bison 2.7
21103         or above.
21104         * INSTALL: Regenerate.
21105         * configure.ac: Use AC_CHECK_PROG_VER instead of
21106         AC_PATH_PROG when checking for bison and check for
21107         version 2.7 or above.
21108         * configure: Regenerate.
21110 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21112         [BZ #17745]
21113         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21114         * sysdeps/tile/ffsll.c (ffsll): To here.
21116         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21118 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21120         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21121         if not defined.
21122         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21123         definition.
21124         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21125         hidden ___tls_get_addr.
21126         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21127         hidden __tls_get_addr.
21128         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21129         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21130         Likewise.
21132 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21134         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21135         _dl_init call.
21137 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21139         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21140         from "call _dl_init@PLT".
21141         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21143 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21145         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21146         guarantees.
21148 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21150         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21152 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21154         [BZ #17744]
21155         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21156         strnlen.
21158 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21160         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21161         of multu on MIPSr6.
21162         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21163         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21164         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21165         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21166         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21168 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21170         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21171         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21172         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21173         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21174         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21175         mips32r6/mips64r6.
21176         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21178 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21180         * string/strncat.c (STRNCAT): Simplify implementation.
21182 2014-12-19  David S. Miller  <davem@davemloft.net>
21184         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21185         access the quad as both a long double and as a series of 4 words.
21187         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21188         link_map->l_info array access.
21190 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21192         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21194         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21195         * math/atest-exp2.c (TIMEOUT): Likewise.
21196         * math/atest-sincos.c (TIMEOUT): Likewise.
21198 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21200         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21201         -Wno-error with -fno-builtin-lround.
21203 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21205         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21206         Contains futex constants and functions moved over from ...
21207         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21208         <lowlevellock-futex.h>.
21209         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21210         (lll_timedwait_tid): Add comments and parentheses around macro
21211         arguments.
21213 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21216         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21217         (__lll_private_flag): Remove.
21218         (lll_futex_wait): Likewise.
21219         (lll_futex_timed_wait): Likewise.
21220         (lll_futex_wake): Likewise.
21221         (lll_futex_requeue): Likewise.
21222         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21223         (__lll_timedwait_tid): Spell out argument names.
21224         (lll_timedwait_tid): Add comments and parentheses around macro
21225         arguments.
21226         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21227         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21229 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21231         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21232         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21233         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21234         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21235         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21236         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21237         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21238         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21239         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21240         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21241         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21242         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21243         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21244         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21245         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21246         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21247         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21248         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21249         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21251 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21253         * sysdeps/x86_64/x32/Makefile: New file.
21255 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21257         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21258         1L with (mp_limb_t) 1.
21260 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21262         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21263         * nptl/libc_pthread_init.c: ... here.
21264         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21265         * nptl/register-atfork.c: ... here.
21267         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21268         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21269         Use assert_perror to check its return value.
21270         (__gai_create_helper_thread): Likewise.
21272         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21274         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21276 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21278         [BZ #17725]
21279         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21280         __profil_counter.
21281         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21282         Likewise.
21283         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21286         Likewise.
21287         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21288         (profil_counter): Likewise.
21289         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21290         (profil_counter): Likewise.
21291         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21292         Likewise.
21293         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21294         Likewise.
21295         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21296         (profil_counter): Likewise.
21297         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21298         Likewise.
21299         [!__profil_counter] (profil_counter): Define as weak alias of
21300         __profil_counter.
21301         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21302         (profil_counter): Rename to __profil_counter.
21303         [!__profil_counter] (profil_counter): Define as weak alias of
21304         __profil_counter.
21305         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21306         (profil_counter): Rename to __profil_counter.
21307         [!__profil_counter] (profil_counter): Define as weak alias of
21308         __profil_counter.
21309         * sysdeps/posix/profil.c: Update comment referring to
21310         profil_counter.
21311         (__profil): Use __profil_counter instead of profil_counter.
21312         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21313         __profil_counter.  Use __profil_counter_ushort and
21314         __profil_counter_uint in definitions.
21315         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21316         instead of profil_counter_uint and profil_counter_ushort.
21318         [BZ #17722]
21319         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21320         define as weak alias of __inet_makeaddr.
21321         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21322         as weak alias of __inet_addr.
21323         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21324         as weak alias of __inet_pton.  Use libc_hidden_weak.
21325         * include/arpa/inet.h (__inet_pton): Declare.  Use
21326         libc_hidden_proto.
21327         (inet_makeaddr): Don't use libc_hidden_proto.
21328         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21329         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21330         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21331         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21332         Remove variable.
21333         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21334         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21336 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21338         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21340 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21342         * stdio-common/bug-vfprintf-nargs.c (do_test):
21343         Cast value to intptr_t to avoid format warning
21344         for usage with PRIdPTR printing macro.
21346 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21348         * libio/tst-widetext.c (do_test):
21349         Use format type %td instead of %Zd for ptrdiff_t
21350         in order to avoid format warning.
21352 2014-12-17  Andreas Schwab  <schwab@suse.de>
21354         * nscd/mem.c (gc): Add size_t cast to match printf format.
21356 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21358         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21359         (init): Apply PTR_MANGLE to pointers before storing them.
21360         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21361         before using them.
21363 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21365         [BZ #17719]
21366         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21367         define as weak alias of __memrchr.
21368         (__memrchr): Do not define as strong alias of memrchr.
21369         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21370         Remove variable.
21371         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21372         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21373         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21375         [BZ #17717]
21376         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21377         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21378         (if_indextoname): Rename to __if_indextoname and define as weak
21379         alias of __if_indextoname.  Use libc_hidden_weak.
21380         (if_freenameindex): Rename to __if_freenameindex and define as
21381         weak alias of __if_freenameindex.
21382         (if_nameindex): Rename to __if_nameindex and define as weak alias
21383         of __if_nameindex.
21384         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21385         __if_nametoindex and define as weak alias of __if_nametoindex.
21386         Use libc_hidden_weak.
21387         (if_freenameindex): Rename to __if_freenameindex and define as
21388         weak alias of __if_freenameindex.
21389         (if_nameindex): Rename to __if_nameindex and define as weak alias
21390         of __if_nameindex.
21391         (if_indextoname): Rename to __if_indextoname and define as weak
21392         alias of __if_indextoname.  Use libc_hidden_weak.
21393         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21394         __if_nametoindex and define as weak alias of __if_nametoindex.
21395         Use libc_hidden_weak.
21396         (if_freenameindex): Rename to __if_freenameindex and define as
21397         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21398         (if_nameindex_netlink): Use __if_freenameindex instead of
21399         if_freenameindex.
21400         (if_nameindex): Rename to __if_nameindex and define as weak alias
21401         of __if_nameindex.  Use libc_hidden_weak.
21402         (if_indextoname): Rename to __if_indextoname and define as weak
21403         alias of __if_indextoname.  Use libc_hidden_weak.
21404         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21405         libc_hidden_proto.
21406         [!_ISOMAC] (__if_freenameindex): Likewise.
21407         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21408         if_nametoindex.
21409         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21410         variable.
21411         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21412         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21413         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21414         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21415         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21416         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21417         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21419         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21420         Remove variable.
21421         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21422         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21424 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21426         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21427         subscript above bounds'
21429         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21430         bounds.
21432 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21434         * libio/tst-fopenloc.c: Use test-skeleton.c.
21436         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21437         (entry): Rename to ITEM.
21438         (do_test, comp): Adjust.
21440         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21442 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21444         * string/tester.c: Include <libc-internal.h>.
21445         (test_memset): Ignore -Wmemset-transposed-args.
21447 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21449         * misc/tst-mntent2.c (do_test): Fix warning.
21451 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21453         * elf/tst-unique4lib.cc(a): Mark as used.
21455 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21457         [BZ #17630]
21458         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21459         names.
21461 2014-12-16  Allan McRae  <allan@archlinux.org>
21463         * stdio-common/Makefile (tests): Re-add bug26.
21465 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21467         [BZ #17657]
21468         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21469         static array.
21471 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21473         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21474         (__lll_lock_wait): Likewise.
21475         (__lll_timedlock_wait): Likewise.
21476         (__lll_timedwait_tid): Likewise.
21477         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21478         (__lll_robust_timedlock_wait): Likewise.
21479         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21480         (lll_cond_trylock): Likewise.
21481         (__lll_lock): Likewise.
21482         (__lll_robust_lock): Likewise.
21483         (__lll_cond_lock): Likewise.
21484         (lll_robust_cond_lock): Likewise.
21485         (__lll_timedlock): Likewise.
21486         (__lll_robust_timedlock): Likewise.
21487         (__lll_unlock): Likewise.
21488         (__lll_robust_unlock): Likewise.
21489         (lll_wait_tid): Likewise.
21490         (lll_timedwait_tid): Likewise.
21492 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21494         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21496 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21498         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21500 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21502         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21503         * stdio-common/tst-sprintf.c: Likewise.
21505 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21507         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21509 2014-12-15  Jeff Law  <law@redhat.com>
21511         [BZ #16617]
21512         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21513         on the heap.  (CVE-2012-3406)
21514         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21515         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21516         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21518 2014-12-15  Will Newton  <will.newton@linaro.org>
21520         * manual/install.texi: Bump required version of texinfo
21521         to 4.7 from 4.5.
21522         * INSTALL: Regenerated.
21523         * configure.ac: Check for makeinfo version 4.7 and above.
21524         * configure: Regenerated.
21526 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21528         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21529         PREFIX, string constant to insert between directory and name.
21530         * sysdeps/posix/shm_open.c: Update caller.
21531         * sysdeps/posix/shm_unlink.c: Likewise.
21532         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21533         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21534         (SEM_SHM_PREFIX): New macro.
21535         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21536         [$(have-thread-library) = no].
21537         * nptl/Makefile (libpthread-routines): Add shm-directory.
21538         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21539         * sysdeps/nptl/shm-directory.h: New file.
21540         * sysdeps/posix/shm-directory.c
21541         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21542         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21543         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21544         INTERNAL_SYSCALL.
21545         (__where_is_shmfs): Function removed.
21546         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21547         Variables removed.
21548         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21549         Use SHM_GET_NAME.
21550         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21552         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21553         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21554         unconditional for use inside libpthread.
21555         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21557 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21559         * nptl/pthread_getaffinity.c: New file.
21560         * nptl/pthread_setaffinity.c: New file.
21561         * nptl/pthread_getname.c: New file.
21562         * nptl/pthread_setname.c: New file.
21564         * nptl/pthread_create.c (START_THREAD_DEFN)
21565         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21567 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21568             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21570         * resolv/res_send.c (send_vc): Disable warning resplen may
21571         be used uninitialized.
21573 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21575         * nptl/tst-mutex6.c
21576         (ATTR_NULL): New define checks ATTR against NULL.
21577         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21578         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21580 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21582         [BZ #17581]
21583         * malloc/hooks.c
21584         (mem2mem_check): Revert my previous change.
21585         (malloc_check_get_size): Revert my previous change.
21586         (mem2chunk_check): Revert my previous change.
21588 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21590         * sysdeps/posix/shm-directory.c: New file.
21591         * sysdeps/posix/shm-directory.h: New file.
21592         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21593         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21594         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21595         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21596         Transmute EPERM to EACCES.
21597         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21598         from ...
21599         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21600         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21602 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21604         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21605         pointer and cast to uintptr_t.
21606         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21608         Add cast to avoid warning.
21609         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21611 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21613         * nptl/semaphore.h: Move to ...
21614         * sysdeps/pthread/semaphore.h: ... here.
21615         * Makefile (installed-headers): Change nptl/semaphore.h to
21616         sysdeps/pthread/semaphore.h.
21618 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21620         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21621         generated error format strings.
21623         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21624         -Wformat-extra-args warnings for scanf formats.
21625         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21626         test of zero-length format (duh).
21627         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21628         corner-case scanf format test.
21629         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21630         generated fprintf format string.
21631         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21632         corner-case sprintf format tests.
21633         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21634         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21635         -Wformat-extra-args warnings throughout.
21636         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21637         (CFLAGS-scanf4.c): Likewise.
21638         (CFLAGS-scanf7.c): Likewise.
21639         (CFLAGS-tst-sprintf.c): Likewise.
21640         (CFLAGS-tst-printf.c): Likewise.
21641         (CFLAGS-tst-printfsz.c): Likewise.
21643 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21645         * include/cpio.h: New file.
21646         * include/fmtmsg.h: Likewise.
21648         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21649         corresponding format argument to size_t.
21650         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21651         arguments.
21652         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21653         corresponding format argument to size_t.
21654         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21655         arguments.
21656         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21657         corresponding format argument to size_t.
21658         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21659         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21660         (CFLAGS-tst-mbswcs2.c): Likewise.
21661         (CFLAGS-tst-mbswcs3.c): Likewise.
21662         (CFLAGS-tst-mbswcs4.c): Likewise.
21663         (CFLAGS-tst-mbswcs5.c): Likewise.
21664         (CFLAGS-tst-trans.c): Likewise.
21666 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21668         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21669         rather than assuming they won't contain any '%'s.
21671 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21673         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21674         inhibit_loop_to_libcall to avoid recursive calls.
21675         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21676         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21678 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21680         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21681         prototype.
21683 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21685         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21686         integer value instead of boolean.
21688 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21690         * malloc/malloc.c: Fix powerof2 check.
21692 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21694         * locale/programs/locfile.h (maybe_swap_uint32):
21695         Remove inline and add unused attribute.
21697 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21699         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21700         Truncating assembler expression to a .long expression.
21702 2014-12-11  Andreas Schwab  <schwab@suse.de>
21704         * elf/rtld.c (struct map_args): Constify str member.
21705         (do_preload): Constify fname argument.
21707 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21709         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21710         constants definition.
21712 2014-12-11  Andreas Schwab  <schwab@suse.de>
21714         [BZ #16657]
21715         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21716         FORCE_ELISION instead of DO_ELISION.
21717         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21718         Remove.
21719         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21720         Likewise.
21722         * iconvdata/gconv-modules: Remove duplicate entry.
21724 2014-12-11  Will Newton  <will.newton@linaro.org>
21726         Merge gettext 0.19.3 into intl/.
21728         This involves a number of cosmetic changes to comments
21729         and ANSI function definitions and prototypes throughout
21730         all the files. The gettext copyright header is used but
21731         with the date ranges taken from the glibc copy.
21733         * NEWS: Add gettext merge to 2.21.
21734         * intl/bindtextdom.c: Switch to gettext copyright.
21735         Use ANSI definitions and prototypes.
21736         Use gl_* locking primitives rather than __libc_* ones.
21737         Use __builtin_expect rather than __glibc_likely/unlikely.
21738         * intl/dcgettext.c: Switch to gettext copyright.
21739         Use ANSI definitions and prototypes.
21740         * intl/dcigettext.c: Switch to gettext copyright.
21741         Use ANSI definitions and prototypes.
21742         (INTDIV0_RAISES_SIGFPE): New define.
21743         Use gl_* locking primitives rather than __libc_* ones.
21744         Include eval-plural.h instead of plural-eval.c.
21745         Use __builtin_expect rather than __glibc_likely/unlikely.
21746         * intl/dcngettext.c: Switch to gettext copyright.
21747         Use ANSI definitions and prototypes.
21748         * intl/dgettext.c: Likewise.
21749         * intl/dngettext.c: Likewise.
21750         * intl/plural-eval.c: Renamed to...
21751         * intl/eval-plural.h: ...this.
21752         * intl/explodename.c: Switch to gettext copyright.
21753         Use ANSI definitions and prototypes.
21754         (_nl_explode_name): Use strchr instead of __rawmemchr.
21755         * intl/finddomain.c: Switch to gettext copyright.
21756         Use ANSI definitions and prototypes.
21757         Use gl_* locking primitives rather than __libc_* ones.
21758         (_nl_find_domain): Use malloc rather than alloca for
21759         allocation of temporary locale name.
21760         * intl/gettext.c: Switch to gettext copyright.
21761         Use ANSI definitions and prototypes.
21762         * intl/gettextP.h: Switch to gettext copyright.
21763         Use ANSI definitions and prototypes.
21764         Use gl_* locking primitives rather than __libc_* ones.
21765         * intl/gmo.h: Switch to gettext copyright.
21766         (struct sysdep_string): Move struct segment_pair outside of
21767         struct definition.
21768         * intl/hash-string.c: Use ANSI definitions and prototypes.
21769         * intl/hash-string.h: Switch to gettext copyright.
21770         Use ANSI definitions and prototypes.
21771         * intl/l10nflist.c: Switch to gettext copyright.
21772         Use ANSI definitions and prototypes.
21773         (_nl_normalize_codeset): Avoid integer overflow.
21774         * intl/loadinfo.h: Switch to gettext copyright.
21775         Use ANSI definitions and prototypes.
21776         (LIBINTL_DLL_EXPORTED): New define.
21777         (PATH_SEPARATOR): New define.
21778         * intl/loadmsgcat.c: Switch to gettext copyright.
21779         * intl/localealias.c: Switch to gettext copyright.
21780         Use ANSI definitions and prototypes.
21781         (_nl_expand_alias): Use PATH_SEPARATOR.
21782         * intl/ngettext.c: Switch to gettext copyright.
21783         Use ANSI definitions and prototypes.
21784         * intl/plural-exp.c: Likewise.
21785         * intl/plural-exp.h: Switch to gettext copyright.
21786         Use ANSI definitions and prototypes.
21787         (struct expression): Move definition of enum operator outside
21788         of struct definition.
21789         * intl/plural.c: Regenerate.
21790         * intl/plural.y: Switch to gettext copyright.
21791         Use ANSI definitions and prototypes.
21792         Port to bison 3.0.
21793         * intl/textdomain.c: Switch to gettext copyright.
21794         Use ANSI definitions and prototypes.
21795         Use gl_* locking primitives rather than __libc_* ones.
21797 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21799         * debug/warning-nop.c: Add used atrribute.
21801 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21803         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21805         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21806         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21807         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21809 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21812         [BZ #17634]
21813         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21814         Undefine after defining function.  Define as weak alias of
21815         __wcschr.  Use libc_hidden_weak.
21816         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21817         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21818         (libc_hidden_def): Also define __GI___wcschr alias.
21819         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21820         __wcschr and define as weak alias of __wcschr.
21821         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21822         __wcschr.
21823         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21824         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21825         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21826         libc_hidden_weak.  Do not use libc_hidden_def.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21828         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21829         __GI___wcschr alias.
21830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21831         [IS_IN (libc)] (wcschr): Define as macro expanding to
21832         __redirect_wcschr.
21833         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21834         [IS_IN (libc)] (__wcschr_power6): Likewise.
21835         [IS_IN (libc)] (__wcschr_power7): Likewise.
21836         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21837         instead of wcschr.
21838         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21839         __libc_wcschr.
21840         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21841         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21842         __wcschr and define as weak alias of __wcschr.  Use
21843         libc_hidden_builtin_def.
21844         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21845         as weak alias of __wcschr.  Use libc_hidden_weak.
21846         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21847         wcschr.
21848         * time/era.c (_nl_init_era_entries): Likewise.
21849         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21850         variable.
21851         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21852         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21854 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21856         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21857         format for long int variable.
21859 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21861         [BZ #10672]
21862         * manual/search.texi: (Array Sort Function): Remove claim how to make
21863         qsort stable.
21865 2014-12-10  Andreas Schwab  <schwab@suse.de>
21867         [BZ #12847]
21868         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21869         user-controlled locks.
21871 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21873         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21874         register.
21876 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21878         * configure.ac (--disable-werror): New configure option.
21879         (enable_werror): New AC_SUBST.
21880         * configure: Regenerated.
21881         * config.make.in (enable-werror): New variable.
21882         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21883         -Wno-error=undef.
21884         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21885         * manual/install.texi (Configuring and compiling): Document
21886         --disable-werror.
21887         * INSTALL: Regenerated.
21888         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21889         (CFLAGS-tst-chk2.c): Likewise.
21890         (CFLAGS-tst-chk3.c): Likewise.
21891         (CFLAGS-tst-chk4.cc): Likewise.
21892         (CFLAGS-tst-chk5.cc): Likewise.
21893         (CFLAGS-tst-chk6.cc): Likewise.
21894         (CFLAGS-tst-lfschk1.c): Likewise.
21895         (CFLAGS-tst-lfschk2.c): Likewise.
21896         (CFLAGS-tst-lfschk3.c): Likewise.
21897         (CFLAGS-tst-lfschk4.cc): Likewise.
21898         (CFLAGS-tst-lfschk5.cc): Likewise.
21899         (CFLAGS-tst-lfschk6.cc): Likewise.
21901         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21902         (main): Disable -Wdeprecated-declarations around calls to
21903         register_printf_function.
21905         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21906         (do_test): Disable -Wdiv-by-zero around some calls to
21907         fwrite_unlocked and fread_unlocked.
21909         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21910         (DIAG_POP_NEEDS_COMMENT): Likewise.
21911         (_DIAG_STR1): Likewise.
21912         (_DIAG_STR): Likewise.
21913         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21914         * stdio-common/bug21.c: Include <libc-internal.h>.
21915         (do_test): Disable -Wformat around call to sscanf.
21916         * stdio-common/scanf14.c: Include <libc-internal.h>.
21917         (main): Disable -Wformat around some calls to scanf functions.
21919 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21921         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21923 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21925         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21926         stack variable alignment.
21928 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21930         [BZ #17682]
21931         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21932         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21933         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21934         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21935         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21936         __getrlimit instead of getrlimit.
21937         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21938         __gettimeofday instead of gettimeofday.
21939         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21940         Likewise.
21941         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21942         Likewise.
21943         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21944         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21945         Remove variable.
21946         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21947         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21949 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21951         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21952         for wide-character tests.
21954 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21956         * io/openat64.c: #include <libc-internal.h>
21957         (__openat64): Prototypify.  Use ignore_value on MODE.
21958         * io/openat.c: Likewise.
21959         * misc/reboot.c: #include <libc-internal.h>
21960         (reboot): Prototypify.  Use ignore_value on HOWTO.
21961         * misc/ptrace.c: #include <libc-internal.h>
21962         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21964 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21966         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21967         XPG4, UNIX98 and XOPEN2K.
21968         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21969         Remove variable.
21970         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21972 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21974         * libio/fileops.c: Use ISO C style for function definitions.
21975         * libio/iofopen.c: Likewise.
21976         * libio/wfileops.c: Likewise.
21978         [BZ #17653]
21979         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21980         offset on EOF.
21981         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21982         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21983         (fgets_func): Function pointer to fgets and fgetws.
21984         (do_ftell_test): Add test to verify ftell value after read
21985         EOF.
21986         (do_test): Set fgets_func.
21988         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21989         O_TRUNC flag for w and w+ modes.
21990         (do_rewind_test): Likewise.
21991         (do_ftell_test): Likewise.
21992         (do_write_test): Likewise.
21994         [BZ #17647]
21995         * libio/fileops.c (do_ftell): Seek only when there are
21996         unflushed writes.
21997         * libio/wfileops.c (do_ftell_wide): Likewise.
21998         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21999         test case.
22000         (do_one_test): Call it.
22002 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22004         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22005         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22006         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22007         Remove variable.
22008         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22009         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22010         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22012 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22014         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22015         Remove variable.
22016         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22018         [BZ #17668]
22019         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22020         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22021         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22022         __freeifaddrs.  Use libc_hidden_weak.
22023         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22024         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22025         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22026         __freeifaddrs.  Use libc_hidden_weak.
22027         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22028         __getifaddrs and define as weak alias of __getifaddrs.  Use
22029         libc_hidden_weak.
22030         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22031         __freeifaddrs.  Use libc_hidden_weak.
22032         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22033         Remove variable.
22034         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22035         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22037 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22039         [BZ #17601]
22040         * sysdeps/mips/start.S (__start): Use indirect jump to call
22041         __libc_start_main.
22043 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22045         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22047         * nptl/tst-mutex1.c: Include <stdbool.h>.
22048         [!ATTR] (ATTR_NULL): New macro.
22049         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22050         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22051         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22053         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22054         to char *.
22056         [BZ #17665]
22057         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22058         Change conditional to [__USE_MISC].
22060         [BZ #17664]
22061         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22062         fgets_unlocked.
22063         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22064         __fgets_unlocked.
22065         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22066         fgets_unlocked.
22067         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22068         Remove variable.
22069         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22070         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22071         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22072         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22073         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22074         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22075         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22076         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22077         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22079         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22081 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22083         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22084         Remove strpbrk objects.
22085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22086         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22087         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22088         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22089         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22090         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22093         Remove strcspn objects.
22094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22095         (__libc_ifunc_impl_list): Remove strcspn implementation.
22096         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22097         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22098         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22099         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22101         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22102         Remove strspn objetcs.
22103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22104         (__libc_ifunc_impl_list): Remove strspn implementation.
22105         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22106         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22107         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22108         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22110 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22112         [BZ #17581]
22113         * malloc/hooks.c
22114         (mem2mem_check): Add a terminator to the chain of checking blocks.
22115         (malloc_check_get_size): Use it here.
22116         (mem2chunk_check): Ditto.
22118 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22120         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22121         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22123 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22125         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22127         * nptl/nptl-init.c: Include libc-internal.h.
22128         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22130         * elf/ldconfig.c (search_dir): Expand comment.
22132 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22134         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22135         variable.
22136         (linknamespace-symlist-stdlibs-tests): Likewise.
22137         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22138         instead of $(objpfx)symlist-stdlibs.
22139         (linknamespace-libs-isoc): New variable.
22140         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22141         (linknamespace-libs-ISO): New variable.
22142         (linknamespace-libs-ISO99): Likewise.
22143         (linknamespace-libs-ISO11): Likewise.
22144         (linknamespace-libs-XPG3): Likewise.
22145         (linknamespace-libs-XPG4): Likewise.
22146         (linknamespace-libs-POSIX): Likewise.
22147         (linknamespace-libs-UNIX98): Likewise.
22148         (linknamespace-libs-XOPEN2K): Likewise.
22149         (linknamespace-libs-POSIX2008): Likewise.
22150         (linknamespace-libs-XOPEN2K8): Likewise.
22151         ($(objpfx)symlist-stdlibs): Replace by
22152         $(linknamespace-symlist-stdlibs-tests).  Use
22153         $(linknamespace-libs-$*) as set of libraries.
22154         ($(linknamespace-header-tests)): Update dependencies.  Use
22155         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22156         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22157         * conform/linknamespace.pl: Remove comment about considering
22158         definitions of symbols from irrelevant libraries.
22160 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22162         [BZ #13862]
22163         * elf/dl-tls.c: Include <atomic.h>.
22164         (oom): Remove #ifdef SHARED/#endif.
22165         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22166         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22167         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22168         big enough.
22169         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22170         * nptl/Makefile (tests): Add tst-stack4.
22171         (modules-names): Add tst-stack4mod.
22172         ($(objpfx)tst-stack4): New.
22173         (tst-stack4mod.sos): Likewise.
22174         ($(objpfx)tst-stack4.out): Likewise.
22175         ($(tst-stack4mod.sos)): Likewise.
22176         (clean): Likewise.
22177         * nptl/tst-stack4.c: New file.
22178         * nptl/tst-stack4mod.c: Likewise.
22180 2014-11-27  J. Brown  <jb999@gmx.de>
22182         * sysdeps/x86/bits/string.h: Add recent CPUs.
22184 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22186         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22187         sigblock.
22189         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22190         feof.
22192         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22193         variable.
22195 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22197         * nscd/connections.c: Include libc-internal.h because of macro
22198         usage ignore_value.
22200 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22202         * string/bits/string3.h (__warn_memset_zero_len): Don't
22203         declare for gcc newer than 5.0.
22204         (memset): Don't test for zero-length __LEN for gcc newer than
22205         5.0.
22207 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22209         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22210         size_t for %zu format.
22212         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22213         difference, not %ju.
22215 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22217         * include/libc-internal.h (ignore_value): New macro.
22218         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22219         with ignore_value.
22221         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22222         definition.
22224         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22225         pthread_cleanup_push to void *.
22227         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22228         Undefine.
22230         [BZ #16619]
22231         [BZ #16740]
22232         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22233         instead of 1L << 52.
22235         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22236         * libio/bug-rewind2.c (do_test): Likewise.
22238         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22239         * debug/test-strcpy_chk-ifunc.c: Likewise.
22240         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22241         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22242         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22243         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22244         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22245         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22246         * Rules [$(multi-arch) = no] (tests): Do not filter out
22247         $(tests-ifunc).
22248         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22249         * debug/Makefile (tests-ifunc): Remove variable.
22250         (tests): Do not add $(tests-ifunc).
22251         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22252         (tests): Do not add $(tests-ifunc).
22253         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22254         [TEST_IFUNC]: Remove conditionals.
22255         * string/test-string.h (TEST_IFUNC): Remove macro.
22256         [TEST_IFUNC]: Remove conditionals.
22258         * string/test-strchr.c [!WIDE] (L): New macro.
22259         [WIDE] (L): Likewise.
22260         (check1): Use CHAR instead of char.  Use L on string and character
22261         constants.
22263 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22265         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22266         tests.
22267         * sysdeps/powerpc/bits/atomic.h
22268         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22269         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22270         (atomic_exchange_and_add_acq): Likewise.
22271         (atomic_exchange_and_add_rel): Likewise.
22272         * sysdeps/powerpc/powerpc32/bits/atomic.h
22273         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22274         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22275         * sysdeps/powerpc/powerpc64/bits/atomic.h
22276         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22277         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22279 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22281         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22282         Change synchronization of __sched_fifo_min_prio and
22283         __sched_fifo_max_prio.
22284         * nptl/pthread_mutexattr_getprioceiling.c
22285         (pthread_mutexattr_getprioceiling): Likewise.
22286         * nptl/pthread_mutexattr_setprioceiling.c
22287         (pthread_mutexattr_setprioceiling): Likewise.
22288         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22289         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22290         Likewise.
22292 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22294         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22295         void.
22297 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22299         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22300         third argument const.
22302 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22304         fnmatch: work around GCC compiler warning bug with uninit var
22305         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22306         This works around a bug with x86-64 GCC 4.9.2 and earlier
22307         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22308         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22309         used uninitialized in this function [-Wmaybe-uninitialized]".
22311 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22313         * posix/bug-regex31.c (main): Return RES not 0.
22315 2014-11-25  Anton Blanchard <anton@samba.org>
22317         * sysdeps/powerpc/bits/atomic.h
22318         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22320 2014-11-24  Sterling Augustine  <saugustine@google.com>
22322         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22324 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22326         [BZ #17608]
22327         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22329 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22331         [BZ #17633]
22332         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22333         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22334         variable.
22335         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22336         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22338 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22340         * string/strncpy.c (strncpy): Improve performance by using memset.
22342 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22344         * string/strcpy.c (strcpy):
22345         Improve performance by using strlen and memcpy.
22347 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22349         * string/strcoll_l.c (get_next_seq): __always_inline.
22350         * string/strcoll_l.c (do_compare): __always_inline.
22352 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22355         defined.
22356         * include/mqueue.h: Likewise.
22357         * include/stdlib.h: Likewise.
22359         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22360         (get_null_defines): Adjust.
22361         * sunrpc/Makefile: Adjust comment.
22362         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22363         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22364         (CFLAGS-interp.c): Likewise.
22365         (CFLAGS-ldconfig.c): Likewise.
22366         (CPPFLAGS-.os): Likewise.
22367         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22368         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22369         * extra-modules.mk (extra-modules.mk): Likewise.
22370         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22371         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22372         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22373         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22374         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22375         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22376         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22377         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22378         * iconvdata/Makefile (CPPFLAGS): Likewise.
22379         (cpp-srcs-left): Add libof for all iconvdata routines.
22380         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22381         * include/assert.h: Likewise.
22382         * include/ctype.h: Likewise.
22383         * include/errno.h: Likewise.
22384         * include/libc-symbols.h: Likewise.
22385         * include/math.h: Likewise.
22386         * include/netdb.h: Likewise.
22387         * include/resolv.h: Likewise.
22388         * include/stdio.h: Likewise.
22389         * include/stdlib.h: Likewise.
22390         * include/string.h: Likewise.
22391         * include/sys/stat.h: Likewise.
22392         * include/wctype.h: Likewise.
22393         * intl/l10nflist.c: Likewise.
22394         * libidn/idn-stub.c: Likewise.
22395         * libio/libioP.h: Likewise.
22396         * nptl/libc_multiple_threads.c: Likewise.
22397         * nptl/pthreadP.h: Likewise.
22398         * posix/regex_internal.h: Likewise.
22399         * resolv/res_hconf.c: Likewise.
22400         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22401         * sysdeps/arm/memmove.S: Likewise.
22402         * sysdeps/arm/sysdep.h: Likewise.
22403         * sysdeps/generic/_itoa.h: Likewise.
22404         * sysdeps/generic/symbol-hacks.h: Likewise.
22405         * sysdeps/gnu/errlist.awk: Likewise.
22406         * sysdeps/gnu/errlist.c: Likewise.
22407         * sysdeps/i386/i586/memcpy.S: Likewise.
22408         * sysdeps/i386/i586/memset.S: Likewise.
22409         * sysdeps/i386/i686/memcpy.S: Likewise.
22410         * sysdeps/i386/i686/memmove.S: Likewise.
22411         * sysdeps/i386/i686/mempcpy.S: Likewise.
22412         * sysdeps/i386/i686/memset.S: Likewise.
22413         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22414         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22415         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22416         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22417         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22418         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22419         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22420         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22421         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22422         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22423         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22424         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22425         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22426         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22427         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22428         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22429         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22430         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22431         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22432         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22433         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22434         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22435         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22436         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22437         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22438         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22439         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22440         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22441         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22442         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22443         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22444         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22445         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22446         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22447         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22448         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22449         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22450         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22451         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22452         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22453         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22454         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22455         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22456         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22457         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22458         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22459         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22460         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22461         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22462         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22463         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22464         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22465         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22466         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22467         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22468         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22469         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22470         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22471         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22472         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22474         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22475         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22476         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22477         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22478         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22479         * sysdeps/posix/closedir.c: Likewise.
22480         * sysdeps/posix/opendir.c: Likewise.
22481         * sysdeps/posix/readdir.c: Likewise.
22482         * sysdeps/posix/rewinddir.c: Likewise.
22483         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22484         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22485         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22486         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22487         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22488         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22489         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22490         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22491         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22492         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22494         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22495         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22496         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22497         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22498         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22500         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22501         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22503         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22504         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22505         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22506         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22507         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22508         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22509         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22511         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22518         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22519         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22520         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22523         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22524         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22525         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22526         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22527         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22528         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22529         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22530         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22531         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22532         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22533         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22534         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22536         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22537         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22540         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22541         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22542         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22543         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22544         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22545         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22546         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22547         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22548         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22549         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22550         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22551         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22553         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22554         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22555         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22556         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22557         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22558         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22559         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22560         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22561         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22562         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22563         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22564         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22565         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22567         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22569         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22570         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22571         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22572         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22573         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22574         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22575         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22576         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22577         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22578         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22579         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22581         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22582         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22583         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22584         * sysdeps/unix/alpha/sysdep.S: Likewise.
22585         * sysdeps/unix/alpha/sysdep.h: Likewise.
22586         * sysdeps/unix/make-syscalls.sh: Likewise.
22587         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22589         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22590         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22591         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22592         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22593         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22594         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22595         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22596         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22597         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22598         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22599         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22600         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22601         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22602         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22603         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22604         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22605         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22606         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22607         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22608         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22609         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22610         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22611         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22612         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22613         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22616         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22617         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22621         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22625         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22626         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22628         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22629         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22630         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22631         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22634         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22636         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22637         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22638         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22639         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22640         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22642         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22643         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22645         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22646         * sysdeps/x86_64/memcpy.S: Likewise.
22647         * sysdeps/x86_64/memmove.c: Likewise.
22648         * sysdeps/x86_64/memset.S: Likewise.
22649         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22650         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22651         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22652         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22653         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22654         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22655         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22656         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22657         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22658         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22659         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22660         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22661         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22662         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22663         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22664         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22665         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22666         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22667         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22668         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22669         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22670         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22671         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22673         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22674         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22675         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22676         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22677         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22678         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22679         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22680         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22681         * sysdeps/x86_64/strcmp.S: Likewise.
22683         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22685         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22686         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22687         * elf/rtld-Rules: Likewise.
22688         * elf/setup-vdso.h: Likewise.
22689         * include/assert.h: Likewise.
22690         * include/bits/stdlib-float.h: Likewise.
22691         * include/errno.h: Likewise.
22692         * include/sys/stat.h: Likewise.
22693         * include/unistd.h: Likewise.
22694         * sysdeps/aarch64/setjmp.S: Likewise.
22695         * sysdeps/alpha/setjmp.S: Likewise.
22696         * sysdeps/arm/__longjmp.S: Likewise.
22697         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22698         * sysdeps/arm/setjmp.S: Likewise.
22699         * sysdeps/arm/sysdep.h: Likewise.
22700         * sysdeps/generic/_itoa.h: Likewise.
22701         * sysdeps/generic/dl-sysdep.h: Likewise.
22702         * sysdeps/generic/ldsodefs.h: Likewise.
22703         * sysdeps/i386/dl-tls.h: Likewise.
22704         * sysdeps/i386/setjmp.S: Likewise.
22705         * sysdeps/m68k/setjmp.c: Likewise.
22706         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22707         * sysdeps/mach/hurd/opendir.c: Likewise.
22708         * sysdeps/posix/getcwd.c: Likewise.
22709         * sysdeps/posix/opendir.c: Likewise.
22710         * sysdeps/posix/profil.c: Likewise.
22711         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22712         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22713         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22714         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22715         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22716         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22717         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22718         * sysdeps/s390/dl-tls.h: Likewise.
22719         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22720         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22721         * sysdeps/sh/sh3/setjmp.S: Likewise.
22722         * sysdeps/sh/sh4/setjmp.S: Likewise.
22723         * sysdeps/unix/alpha/sysdep.h: Likewise.
22724         * sysdeps/unix/arm/sysdep.S: Likewise.
22725         * sysdeps/unix/i386/sysdep.S: Likewise.
22726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22727         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22728         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22732         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22733         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22734         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22735         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22736         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22737         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22738         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22741         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22742         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22744         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22745         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22746         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22749         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22750         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22753         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22754         * sysdeps/x86_64/setjmp.S: Likewise.
22756         * include/math.h: Use IS_IN instead of IS_IN_libm.
22757         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22758         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22759         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22760         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22762         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22763         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22764         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22765         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22766         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22767         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22768         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22769         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22770         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22771         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22772         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22773         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22774         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22775         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22776         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22777         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22778         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22779         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22780         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22781         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22782         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22783         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22784         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22785         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22786         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22787         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22788         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22789         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22791         Likewise.
22792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22793         Likewise.
22794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22795         Likewise.
22796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22797         Likewise.
22798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22799         Likewise.
22800         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22801         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22802         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22803         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22804         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22805         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22811         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22812         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22813         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22814         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22815         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22816         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22817         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22818         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22819         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22820         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22821         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22823         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22824         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22826         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22828         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22829         * nptl/pthreadP.h: Likewise.
22830         * nptl_db/structs.def: Likewise.
22831         * sysdeps/arm/sysdep.h: Likewise.
22832         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22833         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22834         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22835         * sysdeps/unix/alpha/sysdep.h: Likewise.
22836         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22838         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22839         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22840         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22841         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22842         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22843         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22844         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22845         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22846         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22847         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22848         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22849         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22853         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22854         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22855         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22856         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22857         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22858         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22859         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22860         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22861         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22863         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22864         * nptl/pthreadP.h: Likewise.
22865         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22866         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22867         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22868         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22869         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22870         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22871         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22872         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22873         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22874         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22875         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22876         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22878         Likewise.
22879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22880         Likewise.
22881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22883         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22884         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22885         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22886         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22887         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22888         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22890         * dlfcn/dladdr.c: Use IS_IN.
22891         * dlfcn/dladdr1.c: Likewise.
22892         * dlfcn/dlclose.c: Likewise.
22893         * dlfcn/dlerror.c: Likewise.
22894         * dlfcn/dlinfo.c: Likewise.
22895         * dlfcn/dlmopen.c: Likewise.
22896         * dlfcn/dlopen.c: Likewise.
22897         * dlfcn/dlsym.c: Likewise.
22898         * dlfcn/dlvsym.c: Likewise.
22900         * include/ifaddrs.h: Use IS_IN.
22901         * inet/check_pf.c: Likewise.
22902         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22903         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22905         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22906         IS_IN_ldconfig.
22907         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22908         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22910         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22911         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22912         IS_IN (libc).
22914         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22916         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22917         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22918         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22919         * include/libc-symbols.h (IS_IN_LIB): New macro.
22920         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22921         * include/netdb.h: Likewise.
22922         * include/stap-probe.h: Remove all uses of IN_LIB.
22924         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22925         instead of IN_MODULE.
22926         * include/libc-symbols.h (IN_MODULE): Define using
22927         MODULE_NAME.
22928         (PASTE_NAME, PASTE_NAME1): New macros.
22929         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22930         of IN_LIB.
22931         (STAP_PROBE_ASM): Likewise.
22933 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22935         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22936         __mach_init in dlopened libc.
22938 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22940         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22941         * sysdeps/arm/preconfigure: Regenerate.
22943 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22945         * nptl/pthread_create.c (__pthread_create_2_1): Set
22946         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22947         when copying values from IATTR into PD.
22949 2014-11-21  Will Newton  <will.newton@linaro.org>
22950             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22952         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22953         Refactor inline-asm.  Also add comment.
22955         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22956         ElfW macro instead of hardcoded Elf64 types.
22957         (la_aarch64_gnu_pltenter): Likewise.
22958         * sysdeps/aarch64/dl-machine.h
22959         (elf_machine_runtime_setup): Use ElfW(Addr).
22961         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22962         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22963         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22964         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22965         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22966         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22967         (R_AARCH64_TLS_DTPMOD): This.
22968         (R_AARCH64_TLS_DTPREL64): Rename to ...
22969         (R_AARCH64_TLS_DTPREL): This.
22970         (R_AARCH64_TLS_TPREL64): Rename to ...
22971         (R_AARCH64_TLS_TPREL): This.
22972         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22973         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22974         R_AARCH64_TLS_TPREL64.
22975         (elf_machine_rela): Likewise.
22977 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22979         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22980         by setting it to 0.  64b atomics are not supported currently.
22982 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22984         [BZ #16469]
22985         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22986         search domain names.
22988 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22990         [BZ #16469]
22991         * NEWS: Update.
22992         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22993         trailing dot.
22994         * posix/tst-getaddrinfo5.c: New.
22995         * posix/Makefile (tests): Add it.
22997 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22999         [BZ #14498]
23000         * NEWS: Fixed.
23001         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23002         after parsing line but before break_if_match.
23003         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23004         if there is a protocol mismatch.
23006 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23008         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23009         because the potential race is on the user-supplied stream.
23011 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23013         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23014         string literal if not passed a buffer.
23015         * manual/job.texi (ctermid): Update reasoning, note deviation
23016         from posix, suggest mtasurace when not passed a buffer, for
23017         future non-preliminary safety notes.
23019 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23021         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23022         of not passing it a buffer.
23023         Reported by Peng Haitao.
23025 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23027         * manual/Makefile ($(objpfx)stamp-summary): Require
23028         check-safety.sh to pass.
23029         * manual/check-safety.sh: Wish for verification that every
23030         @deftypefn and @deftypefun is followed by a @safety remark.
23032 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23034         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23036         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23037         PTHREAD_CANCEL_ASYNCHRONOUS.
23038         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23039         send SIGCANCEL.
23041         * nptl/default-sched.h: New file.
23042         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23043         * nptl/pthread_create.c: Include it.
23044         (__pthread_create_2_1): Use collect_default_sched instead of making
23045         Linux syscalls here directly.
23047 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23049         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23050         __pthread_once): Use C11 atomics.
23052 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23054         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23056 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23058         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23059         atomic_thread_fence_acquire, atomic_thread_fence_release,
23060         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23061         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23062         atomic_compare_exchange_weak_relaxed,
23063         atomic_compare_exchange_weak_acquire,
23064         atomic_compare_exchange_weak_release,
23065         atomic_exchange_acquire, atomic_exchange_release,
23066         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23067         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23068         atomic_fetch_and_acquire,
23069         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23071 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23073         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23074         USE_ATOMIC_COMPILER_BUILTINS): Define.
23075         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23077         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23079         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23081         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23083         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23085         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23086         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23087         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23088         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23089         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23090         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23091         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23092         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23093         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23094         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23095         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23096         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23097         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23099         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23101         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23102         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23103         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23104         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23105         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23106         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23107         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23108         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23109         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23110         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23111         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23113         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23116 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23118         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23119         the sched_priority value here.  It was already checked when the user
23120         called pthread_attr_setschedparam.
23122         * nptl/tst-bad-schedattr.c: New file.
23123         * nptl/Makefile (tests): Add it.
23125 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23126             Florian Weimer  <fweimer@redhat.com>
23127             Joseph Myers  <joseph@codesourcery.com>
23128             Adam Conrad  <adconrad@0c3.net>
23129             Andreas Schwab  <schwab@suse.de>
23130             Brooks  <bmoses@google.com>
23132         [BZ #17625]
23133         * wordexp-test.c (__dso_handle): Add prototype.
23134         (__register_atfork): Likewise.
23135         (__app_register_atfork): New function.
23136         (registered_forks): New global.
23137         (register_fork): New function.
23138         (test_case): Add 3 new tests for WRDE_CMDSUB.
23139         (main): Call __app_register_atfork.
23140         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23141         fork count is non-zero fail the test.
23142         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23143         is set.
23144         (parse_dollars): Remove check for WRDE_NOCMD.
23145         (parse_dquote): Likewise.
23147 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23149         * Makeconfig (built-modules): List non-library modules to be
23150         built.
23151         (module-cppflags): Include libc-modules.h for
23152         everything except shlib-versions.v.i.
23153         (CPPFLAGS): Use it.
23154         (before-compile): Add libc-modules.h.
23155         ($(common-objpfx)libc-modules.h,
23156         $(common-objpfx)libc-modules.stmp): New targets.
23157         (common-generated): Add libc-modules.h and libc-modules.stmp.
23158         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23159         * include/libc-symbols.h: Don't include libc-modules.h.
23160         * include/libc-modules.h: Remove file.
23161         * scripts/gen-libc-modules.awk: New script to generate
23162         libc-modules.h.
23163         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23164         Depend on libc-modules.stmp.
23166         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23168         * Makeconfig (in-module): Get value of libof set for the
23169         translation unit.
23170         (CPPFLAGS): Use $(in-module).
23171         * Makerules: Don't suffix routine names for nonlib.
23172         * include/libc-modules.h: New file.
23173         * include/libc-symbols.h: Include libc-modules.h
23174         (IS_IN): New macro to replace IS_IN_* macros.
23175         * elf/Makefile: Set libof-* for each routine.
23176         * elf/rtld-Rules: Likewise.
23177         * extra-modules.mk: Likewise.
23178         * iconv/Makefile: Likewise.
23179         * iconvdata/Makefile: Likewise.
23180         * locale/Makefile: Likewise.
23181         * malloc/Makefile: Likewise.
23182         * nss/Makefile: Likewise.
23183         * sysdeps/gnu/Makefile: Likewise.
23184         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23185         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23186         * sysdeps/s390/s390-64/Makefile: Likewise.
23187         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23188         CPPFLAGS for nscd instead of nonlib.
23190 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23192         * nptl/createthread.c: New file.
23194         * nptl/createthread.c: Moved ...
23195         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23197         * nptl/createthread.c: Add proper top-line comment.
23198         (do_clone): Folded into ...
23199         (create_thread): ... here.  Take new arguments STOPPED_START and
23200         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23201         increment __nptl_threads, do event-reporting logic, do
23202         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23203         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23204         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23205         just send SIGCANCEL.
23206         * nptl/pthread_create.c: Forward-declare create_thread before
23207         including createthread.c.
23208         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23209         declaration, and new macro START_THREAD_SELF to replace argument.
23210         Remove return statement.
23211         (report_thread_creation): New function.
23212         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23213         synchronization logic, and __nptl_nthreads increment here, around
23214         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23215         PD->parent_cancelhandling here, before create_thread.  When
23216         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23217         __deallocate_stack, and ENOMEM translation here.
23219 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23221         [BZ #17616]
23222         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23223         (mptwo): Rename to __mptwo.
23224         (__inv): Use __mptwo instead of mptwo.
23225         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23226         (mptwo): Rename to __mptwo.
23227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23228         of mpone and __mptwo instead of mptwo.
23229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23230         instead of mpone.
23231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23232         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23233         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23234         of mpone and __mptwo instead of mptwo.
23235         (__mpranred): Use __mpone instead of mpone.
23236         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23237         variable.
23238         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23239         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23240         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23241         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23242         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23243         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23244         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23245         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23246         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23247         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23248         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23249         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23250         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23251         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23252         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23253         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23254         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23255         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23256         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23258 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23260         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23261         replace BSD Handler xref with BSD Signal Handling.
23263 2014-11-17  Richard Henderson  <rth@redhat.com>
23265         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23266         (_FP_PACK_RAW_2): Remove.
23267         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23268         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23269         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23270         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23271         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23272         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23273         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23274         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23275         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23276         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23277         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23278         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23279         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23280         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23281         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23282         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23284 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23286         * signal/signal.h [__USE_MISC]
23287         (struct sigvec): Remove type.
23288         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23289         (sigvec): Remove declaration.
23290         * sysdeps/posix/sigvec.c: Moved ...
23291         * signal/sigvec.c: ... here, replacing old file.
23292         (struct sigvec): New type, copied from old signal.h definition.
23293         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23294         (__sigvec): Convert definition to prototype.
23295         (sigvec): Replace weak_alias with compat_symbol.
23296         * signal/Versions (libc: GLIBC_2.21): New version set.
23297         * include/signal.h: Remove __sigvec declaration.
23298         * sysdeps/unix/bsd/sigvec.c: Remove file.
23299         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23300         * manual/signal.texi (BSD Handler): Remove subsection.
23301         Move siginterrupt up to ...
23302         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23303         (Blocking in BSD): Fold subsection into its parent.
23304         * NEWS: Mention sigvec removal.
23306 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23308         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23309         (DLA_FMS): Make definition conditional only on [__FMA4__].
23310         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23311         definition.
23313         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23314         Make definition conditional only on [PROF].
23315         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23316         definition.
23317         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23318         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23320         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23321         !__GNUC__].
23322         * include/signal.h (__sigpause): Move declaration above call to
23323         libc_hidden_proto.
23324         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23325         variable.
23326         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23327         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23329 2014-11-14  David S. Miller  <davem@davemloft.net>
23331         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23332         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23334 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23336         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23337         * configure: Regenerated.
23338         * manual/install.texi (Tools for Compilation): Document a
23339         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23340         compiler verified to work.
23341         * INSTALL: Regenerated.
23343         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23344         redeclare with asm name.
23345         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23346         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23347         including <string.h>.
23348         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23349         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23350         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23351         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23352         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23354         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23356 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23358         * stdlib/strtol.c (__strtol): Use prototype definition.
23360         [BZ #17594]
23361         * stdlib/strtol.c (SYM__): New macro.
23362         (SYM__1): Likewise.
23363         (__strtol): Likewise.
23364         (strtol): Rename to __strtol and define as weak alias of
23365         __strtol.  Use libc_hidden_weak.
23367 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23369         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23370         Use numbered labels in inline assembly.
23372 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23374         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23375         Add setjmp LIBC_PROBE.
23376         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23377         Likewise.
23378         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23379         Add longjmp, longjmp_target LIBC_PROBE.
23380         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23381         Likewise.
23383 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23386         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23387         to get rid of unused variable warning.
23389 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23391         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23392         Check for unwind_backtrace ==  NULL only in SHARED case.
23393         (__backchain_backtrace): Compile only in SHARED case.
23394         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23395         Likewise.
23396         (__backchain_backtrace): Declare as static.
23398 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23400         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23401         (__libc_multiple_threads_ptr): Variable moved ...
23402         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23404 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23406         * conform/GlibcConform.pm: New file.
23407         * conform/conformtest.pl: Use GlibcConform module.
23408         * conform/linknamespace.pl: New file.
23409         * conform/list-header-symbols.pl: Likewise.
23410         * conform/Makefile (linknamespace-symlists-base): New variable.
23411         (linknamespace-symlists-tests): Likewise.
23412         (linknamespace-header-base): Likewise.
23413         (linknamespace-header-tests): Likewise.
23414         (tests-special): Add new tests.
23415         ($(linknamespace-symlists-tests)): New rule.
23416         (linknamespace-libs): New variable.
23417         ($(objpfx)symlist-stdlibs): New rule.
23418         ($(linknamespace-header-tests)): Likewise.
23419         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23420         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23421         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23422         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23423         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23424         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23425         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23426         (test-xfail-ISO/math.h/linknamespace): Likewise.
23427         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23428         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23429         (test-xfail-ISO/time.h/linknamespace): Likewise.
23430         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23431         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23432         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23433         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23434         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23435         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23436         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23437         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23438         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23439         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23440         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23441         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23442         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23443         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23444         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23445         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23446         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23447         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23448         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23449         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23450         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23451         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23452         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23453         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23454         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23455         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23456         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23457         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23458         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23459         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23460         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23461         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23462         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23463         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23464         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23465         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23466         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23467         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23468         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23469         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23470         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23471         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23472         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23473         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23474         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23475         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23476         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23477         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23478         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23479         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23480         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23481         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23482         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23483         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23484         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23485         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23486         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23487         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23488         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23489         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23490         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23491         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23492         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23493         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23494         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23495         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23496         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23497         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23498         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23499         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23500         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23501         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23502         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23503         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23504         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23505         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23506         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23507         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23508         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23509         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23510         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23511         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23512         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23513         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23514         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23515         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23516         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23517         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23518         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23519         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23520         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23521         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23522         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23523         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23524         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23525         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23526         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23527         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23528         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23529         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23530         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23531         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23532         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23533         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23534         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23535         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23536         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23537         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23538         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23539         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23540         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23541         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23542         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23543         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23544         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23545         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23546         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23547         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23548         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23549         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23550         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23551         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23552         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23553         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23554         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23555         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23556         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23557         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23558         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23559         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23560         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23561         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23562         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23563         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23564         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23565         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23566         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23567         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23568         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23569         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23570         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23571         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23572         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23573         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23574         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23575         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23576         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23577         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23578         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23579         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23581         [BZ #17589]
23582         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23583         of fgets_unlocked.
23585         [BZ #17585]
23586         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23587         (memmem): Rename to __memmem and define as weak alias of
23588         __memmem.  Use libc_hidden_weak.
23589         (__memmem): Use libc_hidden_def.
23590         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23591         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23592         memmem.
23594         [BZ #17582]
23595         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23596         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23597         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23598         and define as weak alias of __fgets_unlocked.  Use
23599         libc_hidden_weak.
23600         (__fgets_unlocked): Use libc_hidden_def.
23601         * include/stdio.h (__fgets_unlocked): Declare.  Use
23602         libc_hidden_proto.
23603         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23604         __fgets_unlocked instead of fgets_unlocked.
23605         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23606         (GET_NPROCS_CONF_PARSER): Likewise.
23607         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23608         (GET_NPROCS_CONF_PARSER): Likewise.
23610         [BZ #17574]
23611         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23612         weak alias of __wmemset.  Use libc_hidden_weak.
23613         (__wmemset): Use libc_hidden_def.
23614         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23615         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23616         of wmemset.
23618         [BZ #17573]
23619         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23620         with asm name __mempcpy.
23621         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23623         [BZ #17572]
23624         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23625         and define as weak alias of __rawmemchr.
23626         (__rawmemchr): Do not define as strong alias of rawmemchr.
23628         [BZ #17571]
23629         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23630         alias of __qsort_r.
23631         (qsort): Call __qsort_r instead of qsort_r.
23632         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23633         (__qsort_r): Declare.  Call libc_hidden_proto.
23634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23635         instead of qsort_r.
23636         * nscd/gai.c (__qsort_r): Define to qsort_r.
23637         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23638         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23639         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23641         [BZ #17570]
23642         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23643         define as weak alias of __malloc_info.
23645         [BZ #17584]
23646         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23647         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23648         (__rewinddir): Use libc_hidden_def.
23649         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23650         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23651         (__rewinddir): Use libc_hidden_def.
23652         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23653         weak alias of __rewinddir.  Don't use libc_hidden_def.
23654         (__rewinddir): Use libc_hidden_def.
23655         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23656         (__rewinddir): Use libc_hidden_proto.
23657         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23658         rewinddir.
23659         (__getcwd): Use __rewinddir instead of rewinddir.
23661         [BZ #17583]
23662         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23663         alias of __fileno.  Use libc_hidden_weak.
23664         (__fileno): Use libc_hidden_def.
23665         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23666         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23667         alias of __ftello.
23668         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23669         __ftello.
23670         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23671         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23672         libc_hidden_def.
23673         (fread_unlocked): Don't use libc_hidden_ver.
23674         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23675         and define as weak alias of __fread_unlocked.  Don't use
23676         libc_hidden_def.
23677         (__fread_unlocked): Use libc_hidden_def.
23678         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23679         (ftello): Don't use libc_hidden_proto.
23680         (__ftello): Declare.  Use libc_hidden_proto.
23681         (fread_unlocked): Don't use libc_hidden_proto.
23682         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23683         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23684         and __ftello instead of fileno, fread_unlocked and ftello.
23686 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23688         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23689         GOT12.
23690         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23691         Likewise.
23692         (_dl_start_user): Likewise.
23693         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23695 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23696             Siddhesh Poyarekar  <siddhesh@redhat.com>
23698         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23699         Move argv and envp down instead of moving argc up.
23700         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23702 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23704         [BZ #17506]
23705         * test-skeleton.c (main): Return successful if one of
23706         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23707         * string/tst-strcoll-overflow.c: Define expected status.
23709 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23711         [BZ #17475]
23712         * locale/iso-639.def: Define Bhili and Tulu language codes.
23714 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23716         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23718 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23720         [BZ #17555]
23721         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23723 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23725         * configure.ac: Updated check of minimal required version to
23726         2.22.
23727         * manual/install.texi (Tools for Compilation): Updated version
23728         number.
23729         * configure: Regenerated.
23730         * INSTALL: Likewise.
23732 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23734         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23735         __tls_get_addr.
23737 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23739         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23740         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23741         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23742         libc_hidden_weak.
23743         (waitpid): Define as alias of __waitpid.
23744         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23745         __waitpid.
23746         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23747         libc_hidden_weak.
23748         (waitpid): Define as alias of __waitpid.
23749         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23750         __libc_waitpid alias.
23751         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23752         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23753         Likewise.
23754         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23755         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23756         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23757         alias.
23758         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23759         __waitpid.
23760         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23761         libc_hidden_weak.
23762         (waitpid): Define as alias of __waitpid.
23764 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23766         * manual/llio.texi: Add comment that write safety has been
23767         fixed in Linux.
23769         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23770         (localplt-build-dso): Add elf/ld.so.
23771         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23772         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23773         and free for ld.so.
23774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23775         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23777         Likewise.
23778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23779         Likewise.
23780         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23781         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23782         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23783         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23784         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23785         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23786         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23787         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23788         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23789         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23790         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23792 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23794         [BZ #14132]
23795         * include/libc-symbols.h (INTUSE): Remove macro.
23796         (INTDEF): Likewise.
23797         (INTVARDEF): Likewise.
23798         (_INTVARDEF): Likewise.
23799         (INTDEF2): Likewise.
23800         (INTVARDEF2): Likewise.
23801         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23802         rtld_hidden_def instead of INTVARDEF.
23803         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23804         (_dl_starting_up_internal): Remove declaration.
23805         (_dl_starting_up): Use rtld_hidden_proto.
23806         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23807         declaration.
23808         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23809         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23810         _dl_starting_up.
23811         * elf/dl-writev.h (_dl_writev): Likewise.
23812         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23813         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23814         _dl_starting_up_internal.
23816 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23818         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23819         test-skeleton.c.
23821 2014-11-05  Will Newton  <will.newton@linaro.org>
23823         * benchtests/Makefile: (bench-malloc): Add malloc thread
23824         scalability benchmark.
23825         * benchtests/bench-malloc-threads.c: New file.
23827 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23829         * sysdeps/aarch64/strchrnul.S: New file.
23831 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23833         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23834         definition.
23835         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23836         Likwise.
23837         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23838         Likewise.
23839         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23840         Likewise.
23841         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23842         Likewise.
23843         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23844         Likewise.
23846 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23848         * catgets/test-gencat.c: Use test-skeleton.c.
23849         * catgets/tst-catgets.c: Likewise.
23850         * csu/tst-empty.c: Likewise.
23851         * elf/tst-audit2.c: Likewise.
23852         * elf/tst-global1.c: Likewise.
23853         * elf/tst-pathopt.c: Likewise.
23854         * elf/tst-piemod1.c: Likewise.
23855         * elf/tst-tls10.c: Likewise.
23856         * elf/tst-tls11.c: Likewise.
23857         * elf/tst-tls12.c: Likewise.
23858         * gnulib/tst-gcc.c: Likewise.
23859         * iconvdata/tst-e2big.c: Likewise.
23860         * iconvdata/tst-loading.c: Likewise.
23861         * iconv/tst-iconv1.c: Likewise.
23862         * iconv/tst-iconv2.c: Likewise.
23863         * inet/test-inet6_opt.c: Likewise.
23864         * inet/tst-gethnm.c: Likewise.
23865         * inet/tst-network.c: Likewise.
23866         * inet/tst-ntoa.c: Likewise.
23867         * intl/tst-codeset.c: Likewise.
23868         * intl/tst-gettext2.c: Likewise.
23869         * intl/tst-gettext3.c: Likewise.
23870         * intl/tst-ngettext.c: Likewise.
23871         * intl/tst-translit.c: Likewise.
23872         * io/test-stat.c: Likewise.
23873         * libio/test-fmemopen.c: Likewise.
23874         * libio/tst-freopen.c: Likewise.
23875         * libio/tst-sscanf.c: Likewise.
23876         * libio/tst-ungetwc1.c: Likewise.
23877         * libio/tst-ungetwc2.c: Likewise.
23878         * libio/tst-widetext.c: Likewise.
23879         * localedata/tst-ctype.c: Likewise.
23880         * localedata/tst-digits.c: Likewise.
23881         * localedata/tst-leaks.c: Likewise.
23882         * localedata/tst-mbswcs1.c: Likewise.
23883         * localedata/tst-mbswcs2.c: Likewise.
23884         * localedata/tst-mbswcs3.c: Likewise.
23885         * localedata/tst-mbswcs4.c: Likewise.
23886         * localedata/tst-mbswcs5.c: Likewise.
23887         * localedata/tst-setlocale.c: Likewise.
23888         * localedata/tst-trans.c: Likewise.
23889         * localedata/tst-wctype.c: Likewise.
23890         * localedata/tst-xlocale1.c: Likewise.
23891         * login/tst-grantpt.c: Likewise.
23892         * malloc/tst-calloc.c: Likewise.
23893         * malloc/tst-malloc.c: Likewise.
23894         * malloc/tst-mallocstate.c: Likewise.
23895         * malloc/tst-mcheck.c: Likewise.
23896         * malloc/tst-mtrace.c: Likewise.
23897         * malloc/tst-obstack.c: Likewise.
23898         * math/atest-exp2.c: Likewise.
23899         * math/atest-exp.c: Likewise.
23900         * math/atest-sincos.c: Likewise.
23901         * math/test-matherr.c: Likewise.
23902         * math/test-misc.c: Likewise.
23903         * math/test-powl.c: Likewise.
23904         * math/tst-definitions.c: Likewise.
23905         * misc/tst-dirname.c: Likewise.
23906         * misc/tst-efgcvt.c: Likewise.
23907         * misc/tst-fdset.c: Likewise.
23908         * misc/tst-hsearch.c: Likewise.
23909         * misc/tst-mntent2.c: Likewise.
23910         * nptl/tst-sem7.c: Likewise.
23911         * nptl/tst-sem8.c: Likewise.
23912         * nptl/tst-sem9.c: Likewise.
23913         * nss/test-netdb.c: Likewise.
23914         * posix/tst-fnmatch.c: Likewise.
23915         * posix/tst-getlogin.c: Likewise.
23916         * posix/tst-gnuglob.c: Likewise.
23917         * posix/tst-mmap.c: Likewise.
23918         * pwd/tst-getpw.c: Likewise.
23919         * resolv/tst-inet_ntop.c: Likewise.
23920         * rt/tst-timer.c: Likewise.
23921         * stdio-common/test-fseek.c: Likewise.
23922         * stdio-common/test-popen.c: Likewise.
23923         * stdio-common/test-vfprintf.c: Likewise.
23924         * stdio-common/tst-cookie.c: Likewise.
23925         * stdio-common/tst-fileno.c: Likewise.
23926         * stdio-common/tst-gets.c: Likewise.
23927         * stdio-common/tst-obprintf.c: Likewise.
23928         * stdio-common/tst-perror.c: Likewise.
23929         * stdio-common/tst-sprintf2.c: Likewise.
23930         * stdio-common/tst-sprintf3.c: Likewise.
23931         * stdio-common/tst-sprintf.c: Likewise.
23932         * stdio-common/tst-swprintf.c: Likewise.
23933         * stdio-common/tst-tmpnam.c: Likewise.
23934         * stdio-common/tst-unbputc.c: Likewise.
23935         * stdio-common/tst-wc-printf.c: Likewise.
23936         * stdlib/tst-environ.c: Likewise.
23937         * stdlib/tst-fmtmsg.c: Likewise.
23938         * stdlib/tst-limits.c: Likewise.
23939         * stdlib/tst-rand48-2.c: Likewise.
23940         * stdlib/tst-rand48.c: Likewise.
23941         * stdlib/tst-random2.c: Likewise.
23942         * stdlib/tst-random.c: Likewise.
23943         * stdlib/tst-strtol.c: Likewise.
23944         * stdlib/tst-strtoll.c: Likewise.
23945         * stdlib/tst-tls-atexit.c: Likewise.
23946         * stdlib/tst-xpg-basename.c: Likewise.
23947         * string/test-ffs.c: Likewise.
23948         * string/tst-bswap.c: Likewise.
23949         * string/tst-inlcall.c: Likewise.
23950         * string/tst-strtok.c: Likewise.
23951         * string/tst-strxfrm.c: Likewise.
23952         * sysdeps/x86_64/tst-audit10.c: Likewise.
23953         * sysdeps/x86_64/tst-audit3.c: Likewise.
23954         * sysdeps/x86_64/tst-audit4.c: Likewise.
23955         * sysdeps/x86_64/tst-audit5.c: Likewise.
23956         * time/tst-ftime_l.c: Likewise.
23957         * time/tst-getdate.c: Likewise.
23958         * time/tst-mktime3.c: Likewise.
23959         * time/tst-mktime.c: Likewise.
23960         * time/tst-posixtz.c: Likewise.
23961         * time/tst-strptime2.c: Likewise.
23962         * time/tst-strptime3.c: Likewise.
23963         * wcsmbs/tst-btowc.c: Likewise.
23964         * wcsmbs/tst-mbrtowc.c: Likewise.
23965         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23966         * wcsmbs/tst-wchar-h.c: Likewise.
23967         * wcsmbs/tst-wcpncpy.c: Likewise.
23968         * wcsmbs/tst-wcrtomb.c: Likewise.
23969         * wcsmbs/tst-wcsnlen.c: Likewise.
23970         * wcsmbs/tst-wcstof.c: Likewise.
23972 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23974         [BZ #14132]
23975         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23976         INTDEF.
23977         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23978         declaration.
23979         (_dl_mcount): Use rtld_hidden_proto.
23980         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23981         _dl_mcount.
23982         * elf/rtld.c (_rtld_global_ro): Likewise.
23984         [BZ #14132]
23985         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23986         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23987         of _dl_init_internal.
23988         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23989         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23990         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23991         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23992         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23993         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23994         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23995         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23996         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23997         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23998         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23999         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24000         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24001         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24002         * sysdeps/tile/dl-start.S (_start): Likewise.
24003         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24004         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24006         [BZ #14132]
24007         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24008         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24009         (rtld_progname): Make macro definition unconditional.
24010         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24011         INTDEF.
24012         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24013         (dl_main): Likewise.
24014         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24015         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24016         instead of _dl_argv_internal.
24017         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24018         __GI__dl_argv instead of INTUSE(_dl_argv).
24019         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24020         __GI__dl_argv instead of _dl_argv_internal.
24022         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24023         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24024         macro.
24025         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24026         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24027         New macro.
24028         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24029         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24030         macro.
24031         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24032         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24034 2014-11-04  Andreas Schwab  <schwab@suse.de>
24036         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24038 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24040         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24041         mtvsrd instruction in binary form.
24043 2014-11-03  Andreas Schwab  <schwab@suse.de>
24045         [BZ #17522]
24046         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24047         for less than MB_LEN_MAX use a local buffer of that size.
24048         * libio/tst-fputws.c: New file.
24049         * libio/Makefile (tests): Add tst-fputws.
24051 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24053         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24054         the size of the fpu_fr.fpu_dregs[] array.
24056 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24058         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24059         (__nanosleep): Do not define as alias.
24060         (nanosleep): Define as alias of __nanosleep.
24061         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24062         __libc_nanosleep name.
24064 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24066         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24067         install.texi in comment.
24069 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24071         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24072         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24073         ... add here and use lwsync or sync ...
24074         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24075         ... and add here using lwsync.
24077 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24079         * elf/dl-machine-reject-phdr.h: New file.
24080         * elf/dl-load.c: #include that.
24081         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24082         if that returned true.
24084 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24086         [BZ #17496]
24087         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24088         gen-as-const-headers chunk.  Add a big scare comment after the last
24089         safe place to touch before-compile.
24091 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24093         * manual/install.texi (Tools for Compilation): Update autoconf
24094         version requirements.
24095         * INSTALL: Regenerated.
24097         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24098         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24099         (__libc_pselect): Likewise.
24101         [BZ #14138]
24102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24107 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24109         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24110         correct barrier instruction.
24111         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24112         Likewise.
24113         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24114         Likewise.
24116 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24118         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24119         after defining inlines.  Instead, just use parens to defeat macro
24120         expansion of __isctype in its declaration.
24122 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24124         * include/sys/uio.h (__libc_readv): Remove declaration.
24125         (__libc_writev): Likewise.
24126         * misc/readv.c (__libc_readv): Rename to __readv.
24127         (__readv): Do not define as alias.
24128         (readv): Define as alias of __readv.
24129         * misc/writev.c (__libc_writev): Rename to __writev.
24130         (__writev): Do not define as alias.
24131         (writev): Define as alias of __writev.
24132         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24133         (__readv): Do not define as alias.
24134         (readv): Define unconditionally as alias of __readv.
24135         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24136         (__writev): Do not define as alias.
24137         (writev): Define unconditionally as alias of __writev.
24138         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24139         name.
24140         (writev): Do not define __libc_writev name.
24142 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24144         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24145         (convert_charseq): New function, broken out of ...
24146         (use_from_charmap): ... here.  Call it.
24147         (use_to_charmap): Use convert_charseq and free instead of duplicating
24148         its code with a variable-length stack struct.
24150 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24152         * include/fcntl.h (__libc_creat): Remove declaration.
24153         * io/creat.c (__libc_creat): Rename to creat.
24154         (creat): Do not define as alias.
24155         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24156         of creat instead of __libc_creat.
24157         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24158         to creat.
24159         (creat): Do not define as alias.
24160         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24161         __libc_creat.
24162         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24163         __libc_creat name.
24164         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24165         Likewise.
24167 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24169         * manual/llio.texi: Add comments discussing why write() may be
24170         considered MT-unsafe on Linux.
24172 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24174         * dl-load.c (local_strdup): Remove.
24175         (expand_dynamic_string_token): Use __strdup.
24176         (decompose_rpath): Likewise.
24177         (_dl_map_object): Likewise.
24179 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24181         [BZ #14132]
24182         * sysdeps/generic/unwind-dw2-fde.c
24183         (__register_frame_info_bases_internal): Do not declare.
24184         (__register_frame_info_table_bases_internal): Likewise.
24185         (__deregister_frame_info_bases_internal): Likewise.
24186         (__register_frame_info_bases): Declare and use hidden_proto before
24187         definition.  Use hidden_def instead of INTDEF.
24188         (__register_frame_info_table_bases): Likewise.
24189         (__deregister_frame_info_bases): Likewise.
24190         (__register_frame_info): Do not use INTUSE.
24191         (__register_frame): Likewise.
24192         (__register_frame_info_table): Likewise.
24193         (__register_frame_table): Likewise.
24194         (__deregister_frame_info): Likewise.
24195         (__deregister_frame): Likewise.
24197 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24199         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24200         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24201         not undefine.
24202         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24203         Likewise.
24204         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24205         Likewise.
24207 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24209         [BZ #14138]
24210         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24211         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24212         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24213         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24214         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24215         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24217         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24218         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24219         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24220         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24221         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24222         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24223         syscall.
24224         (setfsuid): Likewise.
24225         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24226         (setfsuid): Likewise.
24227         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24228         (setfsuid): Likewise.
24229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24230         Likewise.
24231         (setfsuid): Likewise.
24232         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24233         (setfsuid): Likewise.
24234         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24235         Likewise.
24236         (setfsuid): Likewise.
24238 2014-10-27  Andreas Schwab  <schwab@suse.de>
24240         [BZ #17501]
24241         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24242         check for Slow_SSE4_2 feature bit.
24243         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24244         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24245         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24246         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24248 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24250         * configure.ac: Validate compiler version with a empirical test of
24251         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24252         $CC -v output.
24253         * configure: Regenerated.
24255         * inet/htons.c (htons): Prototypify.
24256         * inet/htonl.c (htonl): Likewise.
24258 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24260         * string/strncat.c (strncat): Improve performance by using strlen.
24262 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24264         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24266 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24268         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24269         Call libc_fetestexcept_aarch64.
24271 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24273         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24274         Call libc_feholdexcept_aarch64.
24276 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24278         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24279         Call get_rounding_mode.
24281 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24283         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24284         Simplify logic.
24286 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24288         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24289         Simplify logic.
24291 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24293         [BZ #14138]
24294         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24295         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24296         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24297         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24298         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24299         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24300         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24301         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24302         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24303         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24304         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24305         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24307         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24308         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24309         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24310         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24311         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24312         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24313         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24314         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24315         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24316         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24317         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24318         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24319         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24320         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24321         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24322         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24323         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24324         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24325         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24326         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24327         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24328         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24329         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24330         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24331         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24332         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24333         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24334         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24335         syscall.
24336         (geteuid): Likewise.
24337         (getgid): Likewise.
24338         (getuid): Likewise.
24339         (getresgid): Likewise.
24340         (getresuid): Likewise.
24341         (getgroups): Likewise.
24342         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24343         (geteuid): Likewise.
24344         (getgid): Likewise.
24345         (getuid): Likewise.
24346         (getresgid): Likewise.
24347         (getresuid): Likewise.
24348         (getgroups): Likewise.
24349         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24350         (geteuid): Likewise.
24351         (getgid): Likewise.
24352         (getuid): Likewise.
24353         (getresgid): Likewise.
24354         (getresuid): Likewise.
24355         (getgroups): Likewise.
24356         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24357         Likewise.
24358         (geteuid): Likewise.
24359         (getgid): Likewise.
24360         (getuid): Likewise.
24361         (getresgid): Likewise.
24362         (getresuid): Likewise.
24363         (getgroups): Likewise.
24364         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24365         (geteuid): Likewise.
24366         (getgid): Likewise.
24367         (getuid): Likewise.
24368         (getresgid): Likewise.
24369         (getresuid): Likewise.
24370         (getgroups): Likewise.
24371         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24372         Likewise.
24373         (geteuid): Likewise.
24374         (getgid): Likewise.
24375         (getuid): Likewise.
24376         (getgroups): Likewise.
24378         [BZ #14138]
24379         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24380         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24381         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24382         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24384         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24385         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24386         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24387         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24388         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24389         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24390         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24391         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24392         __chown.
24393         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24394         (lchown): Likewise.
24395         (fchown): Likewise.
24396         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24397         Likewise.
24398         (lchown): Likewise.
24399         (fchown): Likewise.
24400         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24401         (lchown): Likewise.
24402         (fchown): Likewise.
24403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24404         Likewise.
24405         (lchown): Likewise.
24406         (fchown): Likewise.
24408 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24410         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24411         Simplify logic.
24413 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24415         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24416         Cleanup logic.
24418 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24420         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24421         Remove unused include.
24423 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24425         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24426         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24427         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24428         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24430 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24431             Helge Deller <deller@gmx.de>
24433         [BZ #17508]
24434         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24435         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24436         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24438 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #14132]
24441         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24442         Remove macro definition.
24443         (__ashrdi3_v_glibc20): Likewise.
24444         (__lshrdi3_v_glibc20): Likewise.
24445         (__cmpdi2_v_glibc20): Likewise.
24446         (__ucmpdi2_v_glibc20): Likewise.
24447         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24448         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24449         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24450         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24451         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24452         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24454 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24456         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24457         old GNU extension [0] syntax.
24458         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24459         alloca rather than an array member with variable length.
24460         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24461         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24462         (parse_opt): ... here.  Likewise use alloca there.
24463         Validate the -i argument before checking for rootness.
24464         (send_shutdown): New function, broken out of ...
24465         (parse_opt): ... here.
24467 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24469         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24470         macro to get at the _rt_local_ro field.
24471         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24472         ([PIC] case) or _dl_hwcap ([!PIC] case).
24473         * sysdeps/arm/setjmp.S: Likewise.
24475         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24476         * sysdeps/arm/configure.ac: New check to define it.
24477         * sysdeps/arm/configure: Regenerated.
24478         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24479         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24480         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24481         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24482         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24483         Use move/movt pair instead of a load.
24484         (LDST_GLOBAL): Macro removed.
24485         (LDR_GLOBAL): New macro replaces it.
24486         (LDR_HIDDEN): New macro.
24487         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24488         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24490         * setjmp/tst-setjmp-static.c: New file.
24491         * setjmp/Makefile (tests): Add it.
24492         (tests-static): New variable.
24494 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24496         [BZ #17485]
24497         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24499 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24501         [BZ #14132]
24502         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24504 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24506         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24508 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24510         * io/fts.c (dirent_not_directory): New function.
24511         (fts_build): Call it.
24513 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24515         * nptl/version.c (__nptl_main): Use normal __write rather than
24516         INTERNAL_SYSCALL.
24517         (banner): Update copyright years.
24519         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24520         gettimeofday.
24521         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24522         * nptl/pthread_cond_timedwait.c: Likewise.
24523         * nptl/pthread_mutex_timedlock.c: Likewise.
24524         * nptl/sem_timedwait.c: Likewise.
24526         * sysdeps/nptl/bits/libc-lock.h
24527         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24528         (__libc_lock_init_recursive): Return void, not 0.
24529         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24530         (__libc_rwlock_init): Likewise.
24531         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24533 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24535         [BZ #15215]
24536         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24537         (__pthread_once_slow): ... here.
24538         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24539         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24541 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24543         [BZ #15215]
24544         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24545         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24546         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24547         * nptl/pthread_once.c (__pthread_once): Likewise.
24548         Update comments.
24550 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24552         [BZ #14138]
24553         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24554         name.
24555         (writev): Use __libc_writev as strong name.
24556         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24557         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24559 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24561         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24563         * sysdeps/i386/nptl/tls.h
24564         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24565         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24566         New macros.
24567         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24568         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24569         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24570         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24571         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24572         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24574         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24575         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24576         on [__NR_futex].
24577         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24578         broken out of ...
24579         (__pthread_mutex_init): ... here.  Call it.
24580         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24581         Conditionalize PI cases on [__NR_futex].
24582         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24583         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24584         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24586         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24587         conditional on [SIGSETXID].
24588         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24589         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24590         is defined.  Likewise for SIGSETXID.
24591         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24592         Conditionalize definitions on [SIGSETXID].
24593         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24594         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24595         unblocking on [SIGCANCEL].
24597         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24598         [__NR_set_robust_list].
24600 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24602         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24603         (do_compare): Likewise.
24605 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24607         [BZ #15884]
24608         * string/strcoll_l.c: Don't include stdio.h.
24609         (coll_seq): Remove members idxarr and rulearr.
24610         (get_next_seq_cached): Remove function.
24611         (get_next_seq): Likewise.
24612         (get_next_seq_nocache): Rename to get_next_seq.
24613         (do_compare): Remove function.
24614         (do_compare_nocache): Rename to do_compare.
24615         (STRCOLL): Remove weight and rules cache.
24617 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24619         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24620         * sysdeps/arm/sfp-machine.h: ... to here.
24621         * sysdeps/arm/Implies: Remove arm/soft-fp.
24623 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24625         * conform/data/sys/utsname.h-data (*_t): Allow.
24626         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24627         [POSIX] (WEXITED): Do not expect constant.
24628         [POSIX] (WSTOPPED): Likewise.
24629         [POSIX] (WNOHANG): Likewise.
24630         [POSIX] (WNOWAIT): Likewise.
24631         [POSIX] (siginfo_t): Do not expect type or elements.
24632         [POSIX] (pid_t): Do not expect type.
24633         [POSIX] (signal.h): Do not allow header.
24634         [POSIX] (sys/resource.h): Likewise.
24635         [POSIX] (si_*): Do not allow pattern.
24636         [POSIX] (W*): Likewise.
24637         [POSIX] (P_*): Likewise.
24638         [POSIX] (BUS_*): Likewise.
24639         [POSIX] (CLD_*): Likewise.
24640         [POSIX] (FPE_*): Likewise.
24641         [POSIX] (ILL_*): Likewise.
24642         [POSIX] (POLL_*): Likewise.
24643         [POSIX] (SEGV_*): Likewise.
24644         [POSIX] (SI_*): Likewise.
24645         [POSIX] (TRAP_*): Likewise.
24646         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24647         variable.
24649 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24651         [BZ #12926]
24652         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24653         infinite loop when __recvmsg returns 0.
24655 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24657         * CANCEL-FCT-WAIVE: Remove file.
24658         * CANCEL-FILE-WAIVE: Likewise.
24660         [BZ #14132]
24661         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24662         instead of INTVARDEF.
24663         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24664         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24665         rtld_hidden_data_def instead of INTVARDEF.
24666         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24667         * elf/dl-deps.c (expand_dst): Likewise.
24668         * elf/dl-load.c (_dl_dst_count): Likewise.
24669         (_dl_dst_substitute): Likewise.
24670         (decompose_rpath): Likewise.
24671         (_dl_init_paths): Likewise.
24672         (open_path): Likewise.
24673         (_dl_map_object): Likewise.
24674         * elf/rtld.c (dl_main): Likewise.
24675         (process_dl_audit): Likewise.
24676         (process_envvars): Likewise.
24677         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24678         Remove declaration.
24679         (__libc_enable_secure): Use rtld_hidden_proto.
24681 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24683         * elf/dl-load.c
24684         (add_path): New function broken out of _dl_rtld_di_serinfo.
24685         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24687 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24689         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24690         parentheses around macro arguments.
24691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24692         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24694         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24695         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24696         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24697         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24698         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24699         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24700         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24702         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24703         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24704         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24705         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24706         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24707         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24708         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24709         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24710         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24711         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24715         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24719         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24720         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24721         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24722         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24723         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24724         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24725         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24726         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24727         Likewise.
24728         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24729         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24731         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24732         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24733         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24735         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24736         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24737         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24738         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24739         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24740         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24742         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24743         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24745         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24746         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24747         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24748         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24749         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24750         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24751         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24752         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24753         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24754         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24755         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24756         (_FP_FRAC_SRS_1): Likewise.
24757         (_FP_FRAC_CLZ_1): Likewise.
24758         (_FP_MUL_MEAT_1_imm): Likewise.
24759         (_FP_MUL_MEAT_1_wide): Likewise.
24760         (_FP_MUL_MEAT_1_hard): Likewise.
24761         (_FP_SQRT_MEAT_1): Likewise.
24762         (_FP_FRAC_ASSEMBLE_1): Likewise.
24763         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24764         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24765         (__FP_CLZ_2): Likewise.
24766         (_FP_MUL_MEAT_2_wide): Likewise.
24767         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24768         (_FP_MUL_MEAT_2_gmp): Likewise.
24769         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24770         (_FP_SQRT_MEAT_2): Likewise.
24771         (_FP_FRAC_ASSEMBLE_2): Likewise.
24772         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24773         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24774         (_FP_FRAC_CLZ_4): Likewise.
24775         (_FP_MUL_MEAT_4_wide): Likewise.
24776         (_FP_MUL_MEAT_4_gmp): Likewise.
24777         (_FP_SQRT_MEAT_4): Likewise.
24778         (_FP_FRAC_ASSEMBLE_4): Likewise.
24779         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24780         * soft-fp/op-common.h (_FP_CMP): Likewise.
24781         (_FP_CMP_EQ): Likewise.
24782         (_FP_CMP_UNORD): Likewise.
24783         (_FP_TO_INT): Likewise.
24784         (_FP_FROM_INT): Likewise.
24785         [!__FP_CLZ] (__FP_CLZ): Likewise.
24786         (_FP_DIV_HELP_imm): Likewise.
24787         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24788         Likewise.
24789         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24790         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24794         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24795         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24798         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24800         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24801         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24802         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24803         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24804         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24805         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24806         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24807         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24809         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24812         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24817         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24818         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24820         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24821         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24823         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24824         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24825         (FP_UNPACK_RAW_SP): Likewise.
24826         (FP_PACK_RAW_S): Likewise.
24827         (FP_PACK_RAW_SP): Likewise.
24828         (FP_UNPACK_S): Likewise.
24829         (FP_UNPACK_SP): Likewise.
24830         (FP_UNPACK_SEMIRAW_S): Likewise.
24831         (FP_UNPACK_SEMIRAW_SP): Likewise.
24832         (FP_PACK_S): Likewise.
24833         (FP_PACK_SP): Likewise.
24834         (FP_PACK_SEMIRAW_S): Likewise.
24835         (FP_PACK_SEMIRAW_SP): Likewise.
24836         (_FP_SQRT_MEAT_S): Likewise.
24837         (FP_CMP_S): Likewise.
24838         (FP_CMP_EQ_S): Likewise.
24839         (FP_CMP_UNORD_S): Likewise.
24840         (FP_TO_INT_S): Likewise.
24841         (FP_FROM_INT_S): Likewise.
24843         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24845         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24846         (FP_EX_INVALID_IMZ): Likewise.
24847         (FP_EX_INVALID_IMZ_FMA): Likewise.
24848         (FP_EX_INVALID_ISI): Likewise.
24849         (FP_EX_INVALID_ZDZ): Likewise.
24850         (FP_EX_INVALID_IDI): Likewise.
24851         (FP_EX_INVALID_SQRT): Likewise.
24852         (FP_EX_INVALID_CVI): Likewise.
24853         (FP_EX_INVALID_VC): Likewise.
24854         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24855         "invalid" exceptions.
24856         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24857         (_FP_ADD_INTERNAL): Likewise.
24858         (_FP_MUL): Likewise.
24859         (_FP_FMA): Likewise.
24860         (_FP_DIV): Likewise.
24861         (_FP_CMP_CHECK_NAN): Likewise.
24862         (_FP_SQRT): Likewise.
24863         (_FP_TO_INT): Likewise.
24864         (FP_EXTEND): Likewise.
24866 2014-10-09  Allan McRae  <allan@archlinux.org>
24868         * po/fr.po: Update French translation from translation project.
24870 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24872         [BZ #14132]
24873         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24874         of INTDEF.
24875         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24876         (__cxa_atexit): Use libc_hidden_proto.
24877         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24879         [BZ #14132]
24880         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24881         declaration.
24882         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24883         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24884         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24885         [!_ISOMAC] (__iswctype_internal): Likewise.
24886         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24887         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24888         alias.
24889         (fcntl): Remove __fcntl_internal alias.
24890         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24891         __connect_internal alias.
24892         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24893         Likewise.
24895         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24896         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24897         FP_DENORM_ZERO.
24898         (_FP_CHECK_FLUSH_ZERO): New macro.
24899         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24900         (_FP_CMP): Likewise.
24901         (_FP_CMP_EQ): Likewise.
24902         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24903         FP_DENORM_ZERO.
24904         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24905         (FP_TRUNC): Likewise.
24907         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24908         treated as invalid conversion, not as normal exponent.
24910         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24911         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24912         (_FP_CMP_EQ): Likewise.
24913         (_FP_CMP_UNORD): Likewise.
24914         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24915         (FP_CMP_EQ_D): Likewise.
24916         (FP_CMP_UNORD_D): Likewise.
24917         * soft-fp/extended.h (FP_CMP_E): Likewise.
24918         (FP_CMP_EQ_E): Likewise.
24919         (FP_CMP_UNORD_E): Likewise.
24920         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24921         (FP_CMP_EQ_Q): Likewise.
24922         (FP_CMP_UNORD_Q): Likewise.
24923         * soft-fp/single.h (FP_CMP_S): Likewise.
24924         (FP_CMP_EQ_S): Likewise.
24925         (FP_CMP_UNORD_S): Likewise.
24926         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24927         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24928         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24929         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24930         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24931         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24932         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24933         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24934         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24935         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24936         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24937         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24938         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24939         to FP_CMP_Q.
24940         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24941         FP_CMP_Q.
24942         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24943         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24944         FP_CMP_EQ_Q.
24945         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24946         FP_CMP_Q.
24947         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24948         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24949         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24950         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24951         FP_CMP_EQ_Q.
24952         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24953         FP_CMP_Q.
24954         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24955         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24956         FP_CMP_EQ_Q.
24957         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24958         FP_CMP_Q.
24959         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24960         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24961         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24962         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24963         FP_CMP_EQ_Q.
24965         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24966         a subnormal result, set the underflow exception if trapping on
24967         underflow is enabled.
24968         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24969         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24970         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24971         redefine to 0.
24972         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24973         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24974         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24975         * soft-fp/extendxftf2.c (__extendxftf2): Use
24976         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24978         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24979         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24980         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24981         FP_HANDLE_EXCEPTIONS.
24982         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24983         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24984         FP_HANDLE_EXCEPTIONS.
24985         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24986         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24987         FP_HANDLE_EXCEPTIONS.
24988         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24989         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24990         FP_HANDLE_EXCEPTIONS.
24992 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24994         [BZ #14132]
24995         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24996         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24997         use INTUSE.
24998         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24999         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25000         Remove alias.
25001         (__adjtimex): Define using libc_hidden_ver.
25002         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25003         Remove declaration.
25004         (ntp_gettime): Call __adjtimex directly.
25005         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25006         Remove declaration.
25007         (ntp_gettimex): Call __adjtimex directly.
25008         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25009         __adjtimex_internal alias.
25011 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25013         [BZ #17460]
25014         * nscd/nscd.c (more_help): Rewrite list of tables collection
25015         using xstrdup and asprintf.
25017         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25019 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25020             Roland McGrath  <roland@hack.frob.com>
25022         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25023         (do_lookup_unique): ... local function 'enter' here; update callers.
25025 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25027         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25028         compat_symbol calls on [SHARED].
25029         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25030         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25031         Remove.
25032         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25033         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25034         (oldsetrlimit): Remove.
25035         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25037         (lchown): New syscall entry.
25038         (oldsetrlimit): Remove.
25039         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25041         (oldsetrlimit): Remove.
25042         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25044         [BZ #14138]
25045         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25046         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25047         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25048         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25049         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25050         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25051         (fchown): Likewise.
25052         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25053         (fchown): Likewise.
25054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25055         Likewise.
25057 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25059         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25060         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25061         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25062         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25063         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25064         Likewise.
25065         (__old_sem_post): Likewise.
25067 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25069         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25070         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25071         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25072         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25073         Use INLINE_VSYSCALL macro.
25074         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25075         __vdso_clock_gettime.
25076         * sysdeps/unix/sysv/linux/tile/init-first.c
25077         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25078         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25079         __vdso_clock_gettime.
25081         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25082         to set up frame more cleanly.
25084         * sysdeps/tile/memcmp.c: New file.
25086         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25088         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25089         * sysdeps/tile/tilegx/strcasestr.c: New file.
25090         * sysdeps/tile/tilegx/strnlen.c: New file.
25091         * sysdeps/tile/tilegx/strstr.c: New file.
25093         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25095 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25097         * nptl/tst-setuid3.c: Write errors to stdout.
25099 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25101         * elf/dl-deps.c
25102         (preload): New functions broken out of _dl_map_object_deps.
25103         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25105 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25107         [BZ #14138]
25108         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25109         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25111 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25113         * sysdeps/mips/strcmp.S: New.
25115 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25117         [BZ #14138]
25118         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25119         (linkat): Likewise.
25120         (mkdirat): Likewise.
25121         (readlinkat): Likewise.
25122         (renameat): Likewise.
25123         (symlinkat): Likewise.
25124         (unlinkat): Likewise.
25125         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25126         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25127         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25128         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25129         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25130         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25131         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25133 2014-09-30  Will Newton  <will.newton@linaro.org>
25135         * math/math.h: Define long double math functions if
25136         _LIBC_TEST is defined.
25137         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25139         * localedata/Makefile: Move assignment to tests-special
25140         into an ifdef testing run-built-tests.
25141         * timezone/Makefile: Likewise.
25143 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25145         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25146         with $(BASH) not $(SHELL).
25148 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25149             Matthew LeGendre  <legendre1@llnl.gov>
25151         [BZ #17411]
25152         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25153         l_reloc_result.
25155 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25157         * stdio-common/printf_fp.c
25158         (hack_digit): New function, broken out of ...
25159         (__printf_fp): ... local function here.  Update call sites.
25160         hack_digit now takes an additional parameter that is a pointer
25161         to a struct of the referenced locals.  Those locals moved inside
25162         the struct and references updated.
25164 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25166         * aclocal.m4: Require autoconf 2.69.
25167         * configure: Regenerated.
25168         * sysdeps/aarch64/configure: Likewise.
25169         * sysdeps/alpha/configure: Likewise.
25170         * sysdeps/arm/armv7/configure: Likewise.
25171         * sysdeps/arm/configure: Likewise.
25172         * sysdeps/ia64/configure: Likewise.
25173         * sysdeps/mach/configure: Likewise.
25174         * sysdeps/mips/configure: Likewise.
25175         * sysdeps/s390/configure: Likewise.
25176         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25179         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25180         file.
25181         * sysdeps/ia64/configure.ac: Likewise.
25183 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25186         specify symbol version for ld.so.  Do not include entry for
25187         libpthread.
25188         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25189         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25190         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25192         [BZ #14171]
25193         * Makeconfig [$(build-shared) = yes]
25194         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25195         makefiles.
25196         [$(build-shared) = yes && $(soversions.mk-done) = t]
25197         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25198         [$(build-shared) = yes && $(soversions.mk-done) = t]
25199         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25200         to Makerules.
25201         [$(build-shared) = yes && $(soversions.mk-done) = t]
25202         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25203         here.
25204         [$(build-shared) = yes && $(soversions.mk-done) = t]
25205         (common-generated): Don't append gnu/lib-names.h and
25206         gnu/lib-names.stmp here.
25207         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25208         (lib-names-h-abi): New variable.
25209         [$(build-shared) = yes && $(soversions.mk-done) = t]
25210         (lib-names-stmp-abi): Likewise.
25211         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25212         abi-variants] (before-compile): Append
25213         $(common-objpfx)$(lib-names-h-abi).
25214         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25215         abi-variants] (common-generated): Append gnu/lib-names.h.
25216         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25217         abi-variants] (install-others-nosubdir): Depend on
25218         $(inst_includedir)/$(lib-names-h-abi).
25219         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25220         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25221         [$(build-shared) = yes && $(soversions.mk-done) = t]
25222         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25223         [$(build-shared) = yes && $(soversions.mk-done) = t]
25224         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25225         [$(build-shared) = yes && $(soversions.mk-done) = t]
25226         (common-generated): Append $(lib-names-h-abi) and
25227         $(lib-names-stmp-abi).
25228         * scripts/lib-names.awk: Do not handle multi being set.
25229         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25230         Remove variable.
25231         (abi-lp64_be-ld-soname): Likewise.
25232         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25233         Likewise.
25234         (abi-hard-ld-soname): Likewise.
25235         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25236         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25237         Remove variable.
25238         (abi-o32_hard-ld-soname): Likewise.
25239         (abi-o32_soft_2008-ld-soname): Likewise.
25240         (abi-o32_hard_2008-ld-soname): Likewise.
25241         (abi-n32_soft-ld-soname): Likewise.
25242         (abi-n32_hard-ld-soname): Likewise.
25243         (abi-n32_soft_2008-ld-soname): Likewise.
25244         (abi-n32_hard_2008-ld-soname): Likewise.
25245         (abi-n64_soft-ld-soname): Likewise.
25246         (abi-n64_hard-ld-soname): Likewise.
25247         (abi-n64_soft_2008-ld-soname): Likewise.
25248         (abi-n64_hard_2008-ld-soname): Likewise.
25249         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25250         Likewise.
25251         (abi-64-v2-ld-soname): Likewise.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25253         ld.so entries.
25254         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25255         variable.
25256         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25257         entry.
25258         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25259         variable.
25260         (abi-64-ld-soname): Likewise.
25261         (abi-x32-ld-soname): Likewise.
25262         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25263         entry.
25264         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25266 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25268         [BZ #14138]
25269         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25270         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25271         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25272         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25273         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25274         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25275         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25276         syscall entry for GLIBC_2.2 symbol version.
25277         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25278         Likewise.
25279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25280         (setrlimit): Likewise.
25281         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25282         Likewise.
25284 2014-09-23  Will Newton  <will.newton@linaro.org>
25286         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25287         _LINUX_ARM_SYSDEP_H include guard too.
25288         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25289         define.
25291 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25293         * sysdeps/unix/sysv/linux/eventfd.c:
25294         Make first argument unsigned.
25295         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25296         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25298 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25300         [BZ #16852]
25301         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25302         * socket/sys/socket.h: Likewise.
25303         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25305 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25307         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25309 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25311         * time/tst-ftime.c: New test.
25312         * time/Makefile (tests): Add tst-ftime.
25314 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25316         * soft-fp/extended.h: Fix comment formatting.
25317         * soft-fp/op-1.h: Likewise.
25318         * soft-fp/op-2.h: Likewise.
25319         * soft-fp/op-4.h: Likewise.
25320         * soft-fp/op-8.h: Likewise.
25321         * soft-fp/op-common.h: Likewise.
25322         * soft-fp/soft-fp.h: Likewise.
25324         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25326 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25328         [BZ #6652]
25329         * Makeconfig (soversions-default-setname): Remove variable.
25330         ($(common-objpfx)soversions.i): Don't pass default_setname to
25331         soversions.awk.
25332         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25333         oldest_abi to abi-versions.awk.
25334         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25335         * config.make.in (oldest-abi): Remove variable.
25336         * configure.ac (--enable-oldest-abi): Remove configure option.
25337         * configure: Regenerated.
25338         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25339         text.
25340         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25341         * scripts/soversions.awk: Do not handle default_setname variable.
25342         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25343         variable.
25344         * sysdeps/mach/hurd/configure: Regenerated.
25345         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25346         variable.
25347         * sysdeps/unix/sysv/linux/configure: Regenerated.
25349 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25351         * elf/Makefile (CFLAGS-interp.c): Remove.
25352         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25353         path string.
25354         * elf/interp.c: Include generated runtime-linker.h
25356         * Makerules (lib%.so): Don't include $(+interp) in
25357         prerequisites.
25358         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25359         * dlfcn/eval.c: Remove file.
25361         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25362         macros.
25364         [BZ #17266]
25365         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25366         4.2 and newer.
25368         [BZ #17370]
25369         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25371 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25372             Jakub Jelinek  <jakub@redhat.com>
25374         [BZ #17266]
25375         * libio/stdio.h: Check definition of __fortify_function
25376         instead of __extern_always_inline to include bits/stdio2.h.
25377         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25378         check if __extern_always_inline is defined.
25379         [__USE_MISC || __USE_XOPEN]: Likewise.
25380         [__USE_ISOC99] Likewise.
25381         * misc/sys/cdefs.h (__fortify_function): Define only if
25382         __extern_always_inline is defined.
25383         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25384         __extern_always_inline and __extern_inline only for g++-4.3
25385         and newer or a compatible gcc.
25387 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25389         [BZ #17371]
25390         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25391         last change to handle zero prefix length.
25393 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25395         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25396         _SC_REGEX_VERSION.
25398         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25399         _POSIX_RAW_SOCKETS.
25401 2014-09-13  Allan McRae  <allan@archlinux.org>
25403         * po/ru.po: Update Russian translation from translation project.
25405 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25407         * locale/programs/locale.c (show_locale_vars): Inline local function
25408         into its sole call site.  Clean up some style nits.
25409         (print_item): New function, broken out of ...
25410         (show_info): ... local function here.  Clean up style nits.
25412         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25413         out of ...
25414         (set_class_defaults): ... local function set_default here.
25415         Define set_default as a macro locally to pass constant parameters.
25416         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25417         rather than a shared local.
25419         * stdlib/rpmatch.c (try): New function, broken out of ...
25420         (rpmatch): ... local function here.  Also, prototypify definition.
25422 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25424         * scripts/soversions.awk: Do not handle configuration names.
25425         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25426         vendor and os variables to soversions.awk.
25427         * configure.ac: Do not modify gnu-* host_os.
25428         * configure: Regenerated
25429         * shlib-versions: Remove first column with configuration names.
25430         * nptl/shlib-versions: Likewise.
25431         * nptl_db/shlib-versions: Likewise.
25432         * sysdeps/hppa/shlib-versions: Likewise.
25433         * sysdeps/m68k/shlib-versions: Likewise.
25434         * sysdeps/mach/hurd/shlib-versions: Likewise.
25435         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25436         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25437         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25438         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25439         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25440         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25441         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25442         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25444         Likewise.
25445         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25446         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25447         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25448         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25449         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25450         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25451         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25452         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25455         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25457         Regenerated.
25458         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25460         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25462         * shlib-versions: Remove OS-specific entries.  Moved to files in
25463         sysdeps.
25464         * sysdeps/mach/hurd/shlib-versions: New file.
25465         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25467         * nptl/shlib-versions: Remove architecture-specific entries.
25468         Moved to files in sysdeps.
25469         * shlib-versions: Likewise.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25471         file.
25472         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25473         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25474         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25475         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25477         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25478         (UDP_NO_CHECK6_RX): Likewise.
25480 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * sysdeps/posix/sysconf.c (__sysconf): Spell
25483         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25485 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25487         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25488         loading.
25489         * iconv/Versions (__gconv_transliterate): Export for use from
25490         gconv modules.
25491         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25492         (struct __gconv_trans_data, __gconv_trans_fct,
25493         __gconv_trans_context_fct, __gconv_trans_query_fct,
25494         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25495         definitions.
25496         (struct __gconv_step_data): Remove __trans member.
25497         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25498         longer hidden.  Remove unused trans_data argument.
25499         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25500         (__gconv_translit_find): Remove declaration.
25501         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25502         prototype.
25503         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25504         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25505         trans_data argument.  Add hidden definition.
25506         (__gconv_translit_find): Remove.
25507         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25508         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25509         * iconv/skeleton.c: Remove transliteration initialization.
25510         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25511         __gconv_step_data initialization.
25512         * libio/iofwide.c (__libio_translit_): Remove.
25513         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25514         * wcsmbs/btowc.c (__btowc): Likewise.
25515         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25516         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25517         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25518         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25519         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25520         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25521         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25522         * wcsmbs/wctob.c (wctob): Likewise.
25524 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25526         [BZ #16194]
25527         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25528         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25529         register usage.
25530         * sysdeps/x86/Makefile: Adjust.
25532 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25533             Roland McGrath  <roland@hack.frob.com>
25535         * locale/weight.h: Add include guard.
25536         (findidx): Make static rather than auto; take new parameters
25537         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25538         * locale/weightwc.h: Likewise.
25539         * posix/fnmatch_loop.c
25540         (FCT): Change type of EXTRA from int32_t to wint_t.
25541         Don't include either header inside the function.
25542         Call FINDIDX rather than findidx, and pass new arguments.
25543         #undef FINDIDX at the end of the file.
25544         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25545         FINDIDX before including fnmatch_loop.c for the non-wide version.
25546         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25547         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25548         for the wide version.
25549         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25550         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25551         Pass new arguments to findidx.
25552         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25553         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25554         Don't #include it inside the function.  Pass new arguments to findidx.
25555         * posix/regex_internal.h
25556         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25557         (re_string_elem_size_at): Don't #include it inside the function.
25558         Pass new arguments to findidx.
25559         * string/strcoll_l.c: #include WEIGHT_H at top level.
25560         (get_next_seq): Don't #include it inside the function.
25561         Pass new arguments to findidx.
25562         (get_next_seq_nocache): Likewise.
25563         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25564         (STRXFRM): Don't #include it inside the function.
25565         Pass new arguments to findidx.
25567 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25569         [BZ #17344]
25570         * malloc/malloc.c (unlink): Turn asserts into a call to
25571         malloc_printerr.
25573 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25575         [BZ #17370]
25576         * libio/wfileops (do_ftell_wide): Free OUT.
25578 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25580         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25582 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25584         [BZ #17363]
25585         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25586         group if the current group is empty.
25588 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25590         * benchtests/bench-memset.c (test_main): Add more test from size
25591         from 32 to 512 bytes.
25592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25593         Add POWER8 memset object.
25594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25595         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25596         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25597         implementation.
25598         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25599         Likewise.
25600         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25601         multiarch POWER8 memset optimization.
25602         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25603         POWER8 memset optimization.
25605         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25606         Remove bzero multiarch objects.
25607         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25608         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25609         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25610         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25611         Remove define.
25612         [__bzero]: Redefine to specific name.
25613         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25614         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25615         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25616         define.
25617         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25618         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25620 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25622         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25623         warnings into errors.
25625         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25626         __cxa_thread_atexit_impl prototype.
25628 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25630         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25631         Fix capitalization of error message.
25633 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25635         * sysdeps/mips/preconfigure: Modify ABI tests.
25637 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25639         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25641 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25642             Carlos O'Donell  <carlos@systemhalted.org>
25644         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25645         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25646         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25647         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25648         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25649         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25650         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25651         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25652         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25653         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25654         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25655         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25656         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25657         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25658         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25659         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25660         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25661         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25662         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25663         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25664         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25665         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25666         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25667         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25668         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25669         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25670         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25671         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25672         Deconditionalize the code that was previously under [RESET_PID].
25673         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25674         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25675         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25676         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25677         include sysdep.h.
25679 2014-09-08  Allan McRae  <allan@archlinux.org>
25681         * version.h (RELEASE): Set to "development".
25682         (VERSION): Set to "2.20.90"
25684 2014-09-07  Allan McRae  <allan@archlinux.org
25686         * version.h (RELEASE): Set to "stable".
25687         (VERSION): Set to "2.20"
25688         * include/features.h (__GLIBC_MINOR__): Set to 20.
25690         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25691         Liebler.
25693         * po/ko.po: Update Korean translation from translation project.
25695 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25697         [BZ #17354]
25698         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25699         macro for handling signed relocations.
25701 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25703         [BZ #17325]
25704         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25705         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25706         assert.
25707         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25708         * iconvdata/ibm935.c (BODY): Likewise.
25709         * iconvdata/ibm937.c (BODY): Likewise.
25710         * iconvdata/ibm939.c (BODY): Likewise.
25711         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25712         assert.
25713         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25714         script.
25715         * iconvdata/run-iconv-test.sh: New test loop for checking for
25716         decoder crashers.
25718 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25721         libm_hidden_ver.
25723 2014-09-01  Allan McRae  <allan@archlinux.org>
25725         * po/eo.po: Update Esperanto translation from translation project.
25727         * po/ca.po: Update Catalan translation from translation project.
25729 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25731         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25732         __proc_dostop call.
25734 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25736         [BZ #17319]
25737         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25738         to call set_thread_area instead of hand written asm.
25739         (__NR_set_thread_area): Removed define.
25740         (TLS_FLAG_WRITABLE): Likewise.
25741         (__ASSUME_SET_THREAD_AREA): Remove check.
25742         (TLS_EBX_ARG): Remove define.
25743         (TLS_LOAD_EBX): Likewise.
25745 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25747         Simplify atomicity of socket creation in bind.
25749         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25750         looking up the name after linking the file.
25752 2014-08-27  Allan McRae  <allan@archlinux.org>
25754         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25756 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25758         [BZ #17187]
25759         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25760         trans_compare, open_translit, __gconv_translit_find):
25761         Remove module loading code.
25763 2014-08-26  Allan McRae  <allan@archlinux.org>
25765         * po/vi.po: Update Vietnamese translation from translation project.
25767         * po/uk.po: Update Ukrainian translation from translation project.
25769         * po/fr.po: Update French translation from translation project.
25771         * po/ru.po: Update Russian translation from translation project.
25773         * po/pl.po: Update Polish translation from translation project.
25775         * po/cs.po: Update Czech translation from translation project.
25777         * po/de.po: Update German translation from translation project.
25779         * po/bg.po: Update Bulgarian translation from translation project.
25781         * po/sv.po: Update Sweedish translation from translation project.
25783         * po/nl.po: Update Dutch translation from translation project.
25785         * po/es.po: Update Spanish translation from translation project.
25787 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25791         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25792         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25793         (CPPFLAGS-iconvconfig): Likewise.
25794         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25796         * include/libc-symbols.h: Remove unnecessary check for
25797         NOT_IN_libc.
25798         * nptl/pthreadP.h: Likewise.
25799         * sysdeps/aarch64/setjmp.S: Likewise.
25800         * sysdeps/alpha/setjmp.S: Likewise.
25801         * sysdeps/arm/sysdep.h: Likewise.
25802         * sysdeps/i386/setjmp.S: Likewise.
25803         * sysdeps/m68k/setjmp.c: Likewise.
25804         * sysdeps/posix/getcwd.c: Likewise.
25805         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25806         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25807         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25808         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25809         * sysdeps/sh/sh3/setjmp.S: Likewise.
25810         * sysdeps/sh/sh4/setjmp.S: Likewise.
25811         * sysdeps/unix/alpha/sysdep.h: Likewise.
25812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25813         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25814         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25815         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25820         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25822         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25823         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25825         * sysdeps/x86_64/setjmp.S: Likewise.
25827 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25829         [BZ #17263]
25830         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25831         <stdint.h>.
25832         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25833         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25835 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25837         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25839         [BZ #17262]
25840         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25841         and __x86_64__ when disabling x87 inline functions.
25843 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25845         [BZ #17259]
25846         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25847         asm statement with __cpuid_count.
25849 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25851         * configure.ac: Change __ehdr_start code to dereference the struct.
25852         Run readelf on the output to look for relocations.
25853         * configure: Regenerated.
25855 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25857         [BZ #17261]
25858         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25859         value to 0.
25860         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25862 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25864         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25866 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25868         [BZ #16892]
25869         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25870         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25872 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25874         * malloc/malloc.c: Fix typo in comment.
25876 2014-08-09  Allan McRae  <allan@archlinux.org>
25878         * Regenerate libc.po.
25880 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25882         * intl/tst-gettext2.sh: Check every lang file for creation.
25884 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25886         * sysdeps/aarch64/fpu/math_private.h
25887         (libc_feholdsetround_noex_aarch64_ctx): New function.
25889 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25891         * sysdeps/arm/armv6/strcpy.S (strcpy):
25892         Fix performance issue in misaligned cases.
25894 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25896         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25897         Move definition from termios.h.
25898         (struct termio): Likewise.
25899         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25900         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25901         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25902         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25903         Likewise.
25904         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25905         Move definition to ioctl-types.h
25906         (struct termio): Likewise.
25907         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25908         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25909         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25910         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25911         Likewise.
25913 2014-08-05  Richard Henderson  <rth@redhat.com>
25915         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25916         exceptions.
25917         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25918         Add fraiseexcpt.
25919         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25920         Use __feraiseexcept.
25921         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25922         Protect libm symbols with IS_IN_libm.
25924         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25926 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25928         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25930 2014-08-04  Will Newton  <will.newton@linaro.org>
25932         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25933         file.
25935 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25937         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25938         variants for each function.
25940 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25942         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25943         appended ...
25944         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25945         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25946         appended ...
25947         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25948         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25949         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25950         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25951         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25952         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25953         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25954         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25955         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25956         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25957         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25958         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25959         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25960         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25961         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25962         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25963         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25964         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25965         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25966         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25967         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25968         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25969         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25970         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25971         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25972         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25973         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25974         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25975         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25977         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25978         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25979         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25980         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25981         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25982         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25983         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25984         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25985         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25986         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25987         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25988         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25989         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25991         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25992         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25993         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25994         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25995         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25996         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25997         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25998         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25999         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26000         Update #include.
26001         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26002         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26004 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26006         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26007         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26008         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26009         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26010         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26011         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26013 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26015         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26016         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26017         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26018         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26020 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26022         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26023         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26024         (__libc_vfork): Define function under this name.
26025         (__vfork): Define as an alias.
26026         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26027         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26029 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26031         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26032         that was previously under [RESET_PID].
26033         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26035 2014-08-04  Andreas Schwab  <schwab@suse.de>
26037         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26039 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26041         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26042         (main): Likewise.
26044 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26046         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26048 2014-08-01  Richard Henderon  <rth@redhat.com>
26050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26051         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26052         typo in exact zero test.
26053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26054         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26055         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26057 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26059         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26060         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26061         * sysdeps/arm/sysdep.h: ... here.
26062         [!__ASSEMBLER__]: Include <stdint.h>.
26064 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26066         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26067         (HAVE_WCTYPE_H): Likewise.
26068         (HAVE_ISWCTYPE): Likewise.
26069         (ENABLE_NLS): Likewise.
26070         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26071         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26073         * posix/regex_internal.c: Check if DEBUG is defined and is
26074         set.
26076         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26077         (HAVE_MBSRTOWCS): Likewise.
26078         * posix/fnmatch.c: Include string.h unconditionally.
26080 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26082         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26083         reversal.
26085 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26087         * sysdeps/generic/safe-fatal.h: New file.
26088         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26089         * nptl/forward.c: Include it.
26090         (__pthread_unwind): Use __safe_fatal as default action, rather
26091         than a bogus use of INTERNAL_SYSCALL that could never work.
26093         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26094         * configure.ac (libc_cv_builtin_trap): New test.
26095         * configure: Regenerated.
26096         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26097         (ABORT_INSTRUCTION): Define using __builtin_trap.
26099         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26100         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26101         * sysdeps/nptl/nptl-signals.h: New file.
26102         * nptl/pthreadP.h: Include <nptl-signals.h>.
26104 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26106         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26107         (ONE_DIRECTION): Define.
26108         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26109         (ONE_DIRECTION): Define.
26110         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26111         (ONE_DIRECTION): Define.
26113 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26115         * sysdeps/s390/Makefile: Delete file.
26116         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26117         * sysdeps/s390/__longjmp.c: Delete file.
26118         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26119         Remove fields __flags and __reserved.
26120         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26121         and add versioning.
26122         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26123         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26124         * sysdeps/s390/rtld-setjmp.S: Likewise.
26125         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26126         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26127         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26128         * sysdeps/s390/s390-32/setjmp.S: ... here.
26129         Add versioning.
26130         (__sigsetjmp): Remove setting __flags field.
26131         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26132         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26133         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26134         * sysdeps/s390/s390-64/setjmp.S: ... here.
26135         Add versioning.
26136         (__sigsetjmp): Remove setting __flags field.
26137         * sysdeps/s390/setjmp.S: Delete file.
26138         * sysdeps/s390/sigjmp.c: Likewise.
26139         * sysdeps/s390/v1-longjmp.c: Likewise.
26140         * sysdeps/s390/v1-setjmp.h: Likewise.
26141         * sysdeps/s390/v1-sigjmp.c: Likewise.
26142         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26143         Remove v1-longjmp_chk.
26144         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26145         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26146         Include debug/longjmp_chk.c and add versioning.
26147         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26148         Include nptl/pt-longjmp.c and add versioning.
26149         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26150         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26151         Include __longjmp.c.
26152         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26153         Move to ...
26154         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26155         (__getcontext): Remove setting __flags field.
26156         Add versioning.
26157         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26158         Don't restore upper high grps.
26159         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26160         Likewise.
26161         (__swapcontext): Remove setting uc_flags field.
26162         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26163         Delete file.
26164         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26165         Include __longjmp.c.
26166         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26167         Move to ...
26168         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26169         (__getcontext): Remove setting __flags field.
26170         Add versioning.
26171         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26172         (__swapcontext): Remove setting uc_flags field.
26173         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26174         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26175         Remove fields uc_high_gprs and __reserved.
26176         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26177         New file with reverted content.
26178         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26179         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26180         Regenerated.
26181         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26182         Regenerated.
26184 2014-07-31  Andreas Schwab  <schwab@suse.de>
26186         * config.h.in (HAVE_IFUNC): Define to 0.
26187         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26188         definedness.
26190 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26193         memmove-avx-unaligned, memcpy-avx-unaligned and
26194         mempcpy-avx-unaligned.
26195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26196         Add tests for AVX memcpy functions.
26197         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26198         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26199         memcpy_chk.
26200         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26201         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26202         memmove_chk.
26203         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26204         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26205         mempcpy_chk.
26206         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26207         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26208         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26210 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26212         [BZ #17213]
26213         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26214         powerpc64le.
26216 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26218         [BZ #16839]
26219         * manual/llio.texi: Add section about open file description locks.
26220         * manual/examples/ofdlocks.c: Example of open file description
26221         lock usage.
26222         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26223         F_OFD_SETLK, and F_OFD_SETLKW.
26225 2014-07-23  Allan McRae  <allan@archlinux.org>
26227         * po/es.po: Update Spanish translation from translation project.
26229 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26231         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26233 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26235         [BZ #17078]
26236         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26237         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26238         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26240 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26242         [BZ #17088]
26243         * math/fesetenv.c (__fesetenv)
26244         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26245         * math/feupdateenv.c (__feupdateenv)
26246         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26248         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26249         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26250         (__ASSUME_SOCKETCALL): Do not define.
26252         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26253         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26254         (__ASSUME_SOCKETCALL): Do not define.
26255         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26256         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26257         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26258         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26259         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26260         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26262         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26264         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26265         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26266         (__ASSUME_SOCKETCALL): Do not define.
26267         (__ASSUME_IPC64): Define unconditionally.
26268         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26269         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26270         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26271         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26272         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26273         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26274         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26275         Likewise.
26277         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26278         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26279         (__ASSUME_SOCKETCALL): Do not define.
26280         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26281         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26282         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26283         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26284         (__ASSUME_REQUEUE_PI): Define unconditionally.
26285         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26286         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26287         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26288         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26289         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26290         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26292         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26293         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26294         (__ASSUME_SOCKETCALL): Do not define.
26295         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26296         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26297         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26298         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26299         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26300         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26302         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26303         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26304         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26305         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26307         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26309         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26310         (__ASSUME_GETCPU_SYSCALL): Likewise.
26312         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26313         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26314         cases for individual architectures.
26315         * sysdeps/gnu/configure: Regenerated.
26316         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26317         LIBC_SLIBDIR_RTLDDIR.
26318         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26319         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26320         LIBC_SLIBDIR_RTLDDIR.
26321         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26323         LIBC_SLIBDIR_RTLDDIR.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26325         Regenerated.
26326         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26327         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26328         file.
26329         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26330         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26331         file.
26332         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26333         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26334         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26335         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26337         * sysdeps/aarch64/shlib-versions: Move to ...
26338         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26339         * sysdeps/alpha/shlib-versions: Move to ...
26340         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26341         * sysdeps/arm/shlib-versions: Move to ...
26342         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26343         * sysdeps/hppa/shlib-versions: Move all contents except for
26344         libgcc_s entry to ...
26345         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26346         entry from ...
26347         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26348         * sysdeps/ia64/shlib-versions: Move to ...
26349         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26350         entry from ...
26351         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26352         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26353         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26354         * sysdeps/microblaze/shlib-versions: Move to ...
26355         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26356         * sysdeps/mips/shlib-versions: Move to ...
26357         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26358         entry from ...
26359         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26360         * sysdeps/tile/shlib-versions: Move to ...
26361         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26362         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26363         from ...
26364         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26365         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26366         entry from ...
26367         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26369 2014-07-17  Will Newton  <will.newton@linaro.org>
26371         * sysdeps/arm/bits/atomic.h
26372         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26373         (__arch_compare_and_exchange_bool_16_int): Likewise.
26374         (__arch_compare_and_exchange_bool_64_int): Likewise.
26376         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26377         into an #else block.
26379 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26381         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26382         just Linux configurations.  Test empirically that the compiler sets
26383         __ARM_EABI__, rather than using the tuple to decide.
26384         * sysdeps/arm/preconfigure: Regenerated.
26385         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26386         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26387         contents appended ...
26388         * sysdeps/arm/configure.ac: ... here.
26389         * sysdeps/arm/configure: Regenerated.
26391 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26393         * nptl/pthread_kill.c: New file.
26394         * nptl/pthread_sigmask.c: New file.
26395         * nptl/pthread_sigqueue.c: New file.
26397         * sysdeps/nptl/lowlevellock.h: New file.
26398         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26399         * sysdeps/nptl/lowlevellock-futex.h: New file.
26401         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26402         Remove dead declarations.
26404 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26406         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26407         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26408         config-cflags-avx2.
26409         * sysdeps/x86_64/configure.ac: Likewise.
26410         * sysdeps/i386/configure: Regenerated.
26411         * sysdeps/x86_64/configure: Likewise.
26412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26413         memset-avx2 only if config-cflags-avx2 is yes.
26414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26415         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26416         defined.
26417         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26418         only if HAVE_AVX2_SUPPORT is defined.
26419         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26421 2014-07-14  Alan Modra  <amodra@gmail.com>
26423         [BZ #17153]
26424         * elf/elf.h (DT_PPC64_NUM): Correct value.
26425         * NEWS: Add to fixed bug list.
26427 2014-07-13  Jim Meyering  <meyering@fb.com>
26429         [BZ 17150]
26430         regex: don't deref NULL upon heap allocation failure
26431         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26432         failure in one more place.
26433         To trigger the segfault, configure grep -with-included-regex,
26434         build it, and run these commands:
26435         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26437 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26439         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26441 2014-07-11  Richard Henderson  <rth@redhat.com>
26443         * sysdeps/aarch64/libm-test-ulps: Update.
26445 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26447         [BZ #17135]
26448         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26449         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26450         (__nptl_setxid): Initialize error member.  Call
26451         __nptl_setxid_error.
26452         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26453         * nptl/descr.h (struct xid_command): Add error member.
26454         * nptl/tst-setuid3.c: New file.
26455         * nptl/Makefile (tests): Add it.
26457 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26459         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26460         New define.
26461         (__lll_trylock): Use __lll_base_trylock.
26462         (__lll_cond_trylock): Likewise.
26464 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26466         * nptl/pthread_create.c (start_thread): Use atomic_or and
26467         lll_futex_wake directly rather than lll_robust_dead.
26468         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26469         (lll_robust_dead): Macro removed.
26470         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26471         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26472         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26473         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26474         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26475         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26476         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26477         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26478         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26479         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26480         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26481         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26482         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26483         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26484         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26486         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26487         Use atomic_compare_and_exchange_val_acq directly rather than
26488         lll_robust_trylock.
26489         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26490         (__lll_robust_trylock, lll_robust_trylock): Removed.
26491         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26492         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26493         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26494         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26495         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26496         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26497         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26498         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26499         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26500         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26501         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26503         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26506 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26508         * manual/locale.texi (Locale Names): New section documenting
26509         locale name syntax.  Adjust menu and node chaining accordingly.
26510         (Choosing Locale): Reference Locale Names, Locale Categories.
26511         Mention setting LC_ALL=C.  Reflect that name syntax is now
26512         documented.
26513         (Locale Categories): New section title.  Reference Locale Names.
26514         LC_ALL is an environment variable, but not a category.
26515         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26516         description, now in Locale Name.  Reference that section.  Locale
26517         name syntax is now documented.
26519 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26521         [BZ #17137]
26522         * locale/findlocale.c (name_present, valid_locale_name): New
26523         functions.
26524         (_nl_find_locale): Use the loc_name variable to store name
26525         candidates.  Call name_present and valid_locale_name to check and
26526         validate locale names.  Return an error if the locale is invalid.
26528 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26530         * locale/setlocale.c (setlocale): Use strdup for allocating
26531         composite name copy.
26533 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26535         Sync up with gnulib.
26536         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26537         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26538         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26539         and _GL_ARG_NONNULL.
26540         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26541         [!_LIBC]: Include code for Windows and Cygwin.
26542         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26543         Include prototype for int strerror_r.
26544         [!_LIBC] (is_open): New function.
26545         (flush_stdout): New function.
26546         (print_errno_message): Use it.
26547         (error): Likewise.
26548         (error_at_line): Likewise.
26549         (error_tail) Add function attribute macros.  Use
26550         __builtin_expect.
26552         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26554         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26556         * io/ftw.c: Include sys/param.h unconditionally.
26558         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26560         [BZ #17125]
26561         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26562         libc_freeres_ptr.
26563         (freecache): New function to free CACHE on exit.
26565         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26566         initialization.
26568 2014-07-09  David S. Miller  <davem@davemloft.net>
26570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26572         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26573         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26574         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26575         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26576         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26577         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26578         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26579         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26580         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26581         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26582         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26583         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26584         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26586 2014-07-09  Andreas Schwab  <schwab@suse.de>
26588         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26589         output.
26590         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26591         (do_test): Likewise.
26593         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26595 2014-07-09  Will Newton  <will.newton@linaro.org>
26597         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26598         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26599         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26600         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26601         * sysdeps/hppa/start.S (_start): Likewise.
26603 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26605         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26607         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26608         defined.
26610 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26612         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26613         after checking that it is non-NULL.
26615         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26617 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26619         * sysdeps/powerpc/memmove.c: Remove file.
26620         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26621         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26622         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26623         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26624         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26625         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26626         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26627         string memmove instead of removed powerpc one.
26629         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26630         [weak_alias]: Fix compiler warning due trailing data.
26631         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26632         [weak_alias]: Likewise.
26633         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26634         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26637         (__libc_ifunc_impl_list): Add memmove functions.
26639 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26642         Remove code.
26643         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26644         Likewise.
26645         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26646         Likewise.
26647         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26648         Likewise.
26649         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26650         Likewise.
26651         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26652         Likewise.
26653         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26654         Likewise.
26655         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26656         Likewise.
26657         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26658         Likewise.
26659         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26660         Likewise.
26661         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26662         Likewise.
26663         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26664         Likewise.
26665         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26666         Likewise.
26667         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26668         Likewise.
26669         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26670         Likewise.
26671         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26672         Likewise.
26673         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26674         Likewise.
26676 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26678         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26679         to avoid alignment traps in non-cacheable memory.
26680         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26683         multiarch objects.
26684         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26685         file: multiarch power7 memmove.
26686         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26687         multiarch default memmove.
26688         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26689         multiarch memove for powerpc32/power4.
26691         * string/bcopy.c: Use full path to include memmove.c.
26692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26693         multiarch objects.
26694         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26695         bcopy for powerpc64.
26696         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26697         bcopy for powerpc64.
26698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26699         and memmove implementations.
26700         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26701         optimized multiarch memmove for POWER7/powerpc64.
26702         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26703         default multiarch memmove for powerpc64.
26704         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26705         multiarch for powerpc64.
26706         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26707         for POWER7/powerpc64.
26708         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26709         memmove for POWER7/powerpc64.
26711         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26712         glibc default one.
26714         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26715         __ELF_NATIVE_CLASS equal to 64.
26717 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26719         * sysdeps/nptl/lowlevellock.h: File removed.
26721         * NEWS: NPTL is no longer an add-on!
26722         * nptl/internaltypes.h: Moved ...
26723         * sysdeps/nptl/internaltypes.h: ... here.
26724         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26725         * sysdeps/nptl/fork.c: Likewise.
26726         * sysdeps/nptl/gai_misc.h: Likewise.
26727         * sysdeps/nptl/librt-cancellation.c: Likewise.
26728         * sysdeps/nptl/jmp-unwind.c: Likewise.
26729         * sysdeps/nptl/setxid.h: Likewise.
26730         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26731         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26732         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26733         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26734         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26735         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26736         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26737         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26738         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26739         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26740         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26741         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26742         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26743         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26744         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26745         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26746         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26747         * nptl/Makeconfig: Moved ...
26748         * sysdeps/nptl/Makeconfig: ... here.
26749         * nptl/configure: File removed.
26750         * nptl/ANNOUNCE: File removed.
26751         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26752         * sysdeps/unix/sysv/linux/configure: Regenerated.
26754         * nptl/Makefile (routines): Add libc_pthread_init,
26755         libc_multiple_threads, register-atfork and unregister-atfork.
26756         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26757         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26758         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26759         pthread-pi-defines.sym, structsem.sym.
26760         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26761         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26762         [$(subdir) = nptl] (tests): Add tst-setgetname.
26763         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26764         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26765         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26766         [!LIBC_SIGACTION]: Remove aliases.
26767         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26768         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26769         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26770         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26771         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26772         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26773         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26774         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26775         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26776         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26777         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26778         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26779         __libc_allocate_rtsig_private.
26780         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26781         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26782         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26783         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26784         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26785         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26786         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26787         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26788         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26789         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26790         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26791         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26792         * nptl/internaltypes.h: ... here.
26793         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26794         * sysdeps/nptl/jmp-unwind.c: ... here.
26795         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26796         * nptl/libc-lowlevellock.c: ... here.
26797         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26798         * nptl/libc_multiple_threads.c: ... here.
26799         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26800         * nptl/libc_pthread_init.c: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26802         * nptl/lowlevelbarrier.sym: ... here.
26803         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26804         * nptl/lowlevelcond.sym: ... here.
26805         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26806         * nptl/lowlevellock.c: ... here.
26807         * nptl/lowlevellock.h: Moved ...
26808         * sysdeps/nptl/lowlevellock.h: ... here.
26809         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26810         * nptl/lowlevelrobustlock.c: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26812         * nptl/lowlevelrobustlock.sym: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26814         * nptl/lowlevelrwlock.sym: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26816         * nptl/pt-fork.c: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26818         * nptl/pthread-pi-defines.sym: ... here.
26819         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26820         * nptl/pthread_attr_getaffinity.c: ... here.
26821         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26822         * nptl/pthread_attr_setaffinity.c: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26824         * nptl/pthread_mutex_cond_lock.c: ... here.
26825         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26826         Update #include.
26827         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26828         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26829         * nptl/pthread_once.c: ... here, replacing old file.
26830         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26831         * nptl/pthread_yield.c: ... here.
26832         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26833         * nptl/register-atfork.c: ... here.
26834         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26835         * nptl/sem_post.c: ... here.
26836         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26837         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26838         * nptl/sem_timedwait.c: ... here.
26839         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26840         * nptl/sem_trywait.c: ... here.
26841         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26842         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26843         * nptl/sem_wait.c: ... here.
26844         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26845         * nptl/structsem.sym: ... here.
26846         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26847         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26848         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26849         * nptl/unregister-atfork.c: ... here.
26850         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26851         * nptl/unwindbuf.sym: ... here.
26852         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26853         * sysdeps/nptl/fork.c: ... here.
26854         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26855         * sysdeps/nptl/fork.h: ... here.
26856         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26857         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26858         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26859         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26860         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26861         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26862         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26863         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26864         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26865         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26866         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26867         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26868         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26869         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26870         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26871         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26872         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26873         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26874         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26876         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26877         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26878         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26879         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26880         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26881         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26882         * sysdeps/unix/sysv/linux/raise.c: ... here.
26883         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26884         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26885         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26886         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26887         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26888         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26889         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26890         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26891         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26892         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26893         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26894         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26895         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26896         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26897         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26899 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26901         * sysdeps/generic/memcopy.h: Add comment for
26902         MEMCPY_OK_FOR_FWD_MEMMOVE.
26904 2014-07-04  Will Newton  <will.newton@linaro.org>
26906         * string/memchr.c: Merge from gnulib.
26907         [_LIBC]: Remove conditionals.
26908         (__ptr_t): Remove define.
26909         (LONG_MAX_32_BITS): Likewise.
26910         (LONG_MAX): Likewise.
26911         (MEMCHR): Use ANSI prototype and optimize algorithm.
26913         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26915 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26917         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26918         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26920         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26921         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26922         in a bare environment with no <stdlib.h> installed.
26923         * sysdeps/nptl/configure: Regenerated.
26925         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26927         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26928         AC_EGREP_CPP for kernel header checks, so they only succeed if
26929         including <linux/version.h> actually works right.
26930         * sysdeps/unix/sysv/linux/configure: Regenerated.
26932         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26933         value so it's not diagnosed as unused.
26935         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26936         thing) with "ifeq ($(subdir),rt)".
26938 2014-07-03  Richard Henderson  <rth@redhat.com>
26940         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26941         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26942         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26944         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26945         (math_force_eval): New.
26947         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26948         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26950         * sysdeps/alpha/fpu/s_round.c: Remove file.
26951         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26953         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26954         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26955         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26956         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26957         (_dl_start, print_statistics): Likewise.
26958         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26959         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26961         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26962         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26963         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26964         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26965         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26966         (HP_SMALL_TIMING_AVAIL): Define.
26967         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26969         (HP_SMALL_TIMING_AVAIL): Define.
26970         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26971         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26973         * sysdeps/aarch64/hp-timing.h: New file.
26975         * sysdeps/generic/hp-timing.h: Remove dead comment.
26976         * sysdeps/generic/hp-timing-common.h: New file.
26977         * sysdeps/alpha/hp-timing.h: Include it.
26978         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26979         * sysdeps/i386/i686/hp-timing.h: Likewise.
26980         * sysdeps/ia64/hp-timing.h: Likewise.
26981         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26982         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26983         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26984         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26985         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26986         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26987         (hp_timing_t): New.
26989         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26990         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26991         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26992         * elf/rtld.c (_dl_start_final): Likewise.
26993         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26994         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26995         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26996         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26997         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26998         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26999         (HP_TIMING_DIFF_INIT): Remove.
27000         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27001         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27002         (HP_TIMING_DIFF_INIT): Remove.
27003         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27004         * sysdeps/i386/i686/hp-timing.c: Remove file.
27005         * sysdeps/x86_64/hp-timing.c: Remove file.
27006         * sysdeps/ia64/hp-timing.c: Remove file.
27007         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27008         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27009         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27010         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27012         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27013         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27014         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27015         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27016         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27017         (HP_TIMING_ACCUM): Remove.
27018         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27019         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27020         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27022         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27023         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27024         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27025         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27026         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27027         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27028         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27029         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27031         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27033 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27035         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27037 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27039         Sync up with gettext.
27040         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27041         [_MSC_VER]: Include malloc.h
27042         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27043         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27044         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27045         TEMP_FAILURE_RETRY.  Cast return of alloca.
27046         [!_LIBC] Call gl_rwlock_init.
27047         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27049 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27051         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27052         before checking its value.
27054 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27056         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27058         * debug/memcpy_chk.c: Don't include pagecopy.h.
27059         * debug/mempcpy_chk.c: Likewise.
27060         * string/memcpy.c: Likewise.
27061         * string/memmove.c: Likewise.
27062         * sysdeps/powerpc/memmove.c: Likewise.
27063         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27064         definition of PAGE_COPY_FWD_MAYBE here...
27065         * sysdeps/generic/pagecopy.h: ... from here.
27066         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27068 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27069             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27071         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27073         optimizations.
27074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27075         (__libc_ifunc_impl_list): Likewise.
27076         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27077         multiarch strcat for PPC64.
27078         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27079         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27081 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27083         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27085 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27087         * intl/loadmsgcat.c: Remove declaration of
27088         get_sysdep_segment_value.
27089         (get_sysdep_segment_value): Use ISO C style.
27090         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27091         semicolon.  Fix typo and formatting in comment.
27092         (_nl_unload_domain): Use ISO C style.
27094         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27096 2014-07-02  Will Newton  <will.newton@linaro.org>
27098         * malloc/obstack.c: Merge from gnulib master.
27099         [HAVE_CONFIG_H]: Remove conditional code.
27100         [!_LIBC]: Include config.h.
27101         [!ELIDE_CODE]: Don't include inttypes.h, include
27102         stdint.h unconditionally.
27103         (print_and_abort): Mark as _Noreturn.
27104         (_obstack_allocated_p): Mark as __attribute_pure__.
27105         (obstack_free): Rename to __obstack_free.
27106         [!__attribute__]: Remove conditional code.
27107         * malloc/obstack.h: Merge from gnulib master.
27108         [__cplusplus]: Move conditional down.
27109         [!__attribute_pure__]: Define __attribute_pure__ here
27110         if it is not already defined.
27111         (_obstack_memory_used): Mark as __attribute_pure__.
27112         [!__obstack_free]: Define as obstack_free.
27113         [__GNUC__]: Remove check for ancient NeXT gcc.
27115 2014-07-02  Will Newton  <will.newton@linaro.org>
27116             Paul Eggert  <eggert@cs.ucla.edu>
27118         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27120 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27122         * resolv/gethnamaddr.c: Add comment warning that the file is
27123         not maintained.
27125 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27127         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27128         entries.
27130         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27131         entry for aio_cancel and aio_cancel64.
27132         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27133         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27134         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27135         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27136         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27137         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27138         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27139         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27140         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27141         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27142         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27143         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27144         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27146 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27148         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27149         * nptl/pthread_mutex_lock.c: Likewise.
27150         * nptl/pthread_mutex_timedlock.c: Likewise.
27151         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27153 2014-07-01  Richard henderson  <rth@redhat.com>
27155         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27156         (__isnan, __isnanl): Remove.
27157         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27159         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27161 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27163         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27165 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27167         * resolv/nss_dns/dns-host.c (getanswer_r)
27168         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27170 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27172         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27173         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27174         undefine.
27175         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27176         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27178 2014-07-01  Roland McGrath <roland@hack.frob.com>
27180         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27181         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27183         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27184         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27186         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27187         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27188         ... here.
27189         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27190         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27192         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27193         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27194         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27195         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27197         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27198         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27199         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27200         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27201         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27202         Moved ...
27203         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27204         ... here.
27205         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27206         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27207         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27208         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27209         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27210         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27211         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27212         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27213         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27214         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27215         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27216         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27217         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27218         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27219         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27220         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27221         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27222         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27224         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27225         ... here.
27226         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27227         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27228         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27229         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27230         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27231         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27232         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27233         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27235 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27237         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27238         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27239         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27240         Add sysdep.
27242 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27246 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27248         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27249         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27251         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27253         * sysdeps/arm/libm-test-ulps: Regenerated.
27255 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27256             Roland McGrath <roland@hack.frob.com>
27258         * test-skeleton.c (signal_handler): Kill the whole process group
27259         before killing the child individually.
27260         (main): Report any failure on `setpgid'.
27262 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27264         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27265         from _TLS_H to _ARM_NPTL_TLS_H.
27266         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27267         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27269 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27271         [BZ #16539]
27272         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27273         (__expm1l): Return argument unchanged when small but not
27274         subnormal.
27276         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27277         include macro name.
27278         (_FP_UNPACK_RAW_1_P): Likewise.
27279         (_FP_PACK_RAW_1): Likewise.
27280         (_FP_PACK_RAW_1_P): Likewise.
27281         (_FP_MUL_MEAT_1_wide): Likewise.
27282         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27283         (_FP_MUL_MEAT_1_hard): Likewise.
27284         (_FP_DIV_MEAT_1_imm): Likewise.
27285         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27286         (_FP_DIV_MEAT_1_udiv): Likewise.
27287         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27288         (_FP_UNPACK_RAW_2): Likewise.
27289         (_FP_UNPACK_RAW_2_P): Likewise.
27290         (_FP_PACK_RAW_2): Likewise.
27291         (_FP_PACK_RAW_2_P): Likewise.
27292         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27293         (_FP_MUL_MEAT_2_wide): Likewise.
27294         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27295         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27296         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27297         (_FP_MUL_MEAT_2_gmp): Likewise.
27298         (_FP_DIV_MEAT_2_udiv): Likewise.
27299         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27300         (_FP_FRAC_SRL_4): Likewise.
27301         (_FP_FRAC_SRST_4): Likewise.
27302         (_FP_FRAC_SRS_4): Likewise.
27303         (_FP_UNPACK_RAW_4): Likewise.
27304         (_FP_UNPACK_RAW_4_P): Likewise.
27305         (_FP_PACK_RAW_4): Likewise.
27306         (_FP_PACK_RAW_4_P): Likewise.
27307         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27308         (_FP_MUL_MEAT_4_wide): Likewise.
27309         (_FP_MUL_MEAT_4_gmp): Likewise.
27310         (umul_ppppmnnn): Likewise.
27311         (_FP_DIV_MEAT_4_udiv): Likewise.
27312         (__FP_FRAC_ADD_4): Likewise.
27313         (__FP_FRAC_SUB_3): Likewise.
27314         (__FP_FRAC_SUB_4): Likewise.
27315         (__FP_FRAC_DEC_3): Likewise.
27316         (__FP_FRAC_DEC_4): Likewise.
27317         (__FP_FRAC_ADDI_4): Likewise.
27318         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27319         (_FP_FRAC_SRL_8): Likewise.
27320         (_FP_FRAC_SRS_8): Likewise.
27322         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27323         include macro name.
27324         (FP_UNPACK_RAW_EP): Likewise.
27325         (FP_PACK_RAW_E): Likewise.
27326         (FP_PACK_RAW_EP): Likewise.
27327         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27328         (_FP_ISSIGNAN): Likewise.
27329         (_FP_ADD_INTERNAL): Likewise.
27330         (_FP_FMA): Likewise.
27331         (_FP_CMP): Likewise.
27332         (_FP_SQRT): Likewise.
27333         (_FP_TO_INT): Likewise.
27334         (_FP_FROM_INT): Likewise.
27335         (FP_EXTEND): Likewise.
27336         (_FP_DIV_MEAT_N_loop): Likewise.
27338 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27340         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27341         throughout.
27343 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27345         [BZ #17097]
27346         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27347         result with correct sign in case of exponents that produce
27348         overflow except for X very close to 1.
27350 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27352         mktime: merge #if/#ifdef usage from glibc
27353         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27354         as that works with both Glibc's and Gnulib's style.
27355         See thread starting at Siddhesh Poyarekar's bug report at:
27356         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27358 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27360         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27361         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27362         * sysdeps/tile/tilegx/memmove.c: Remove file.
27364 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27366         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27367         abi-name definition.
27368         * scripts/soversions.awk: Do not handle or generate ABI lines.
27369         * shlib-versions: Remove ABI entries.
27370         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27371         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27373 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27375         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27376         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27377         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27378         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27380         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27382         Moved ...
27383         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27384         ... here.
27385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27390         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27392         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27393         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27394         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27396         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27398         Moved ...
27399         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27401         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27403         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27405         Moved ...
27406         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27407         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27408         Moved ...
27409         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27411         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27412         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27413         Moved ...
27414         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27416         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27418         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27420         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27422         Moved ...
27423         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27425         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27426         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27427         Moved ...
27428         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27430         Moved ...
27431         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27433         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27435         Moved ...
27436         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27437         ... here.
27438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27439         Identical file removed.
27440         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27441         Moved ...
27442         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27444         Identical file removed.
27445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27448         Moved ...
27449         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27451         Identical file removed.
27452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27453         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27454         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27455         Identical file removed.
27456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27457         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27458         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27459         Identical file removed.
27460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27461         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27462         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27463         Identical file removed.
27464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27465         Moved ...
27466         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27468         Identical file removed.
27469         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27470         Moved ...
27471         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27473         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27475         Identical file removed.
27476         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27477         Moved ...
27478         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27479         ... here.
27480         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27481         Identical file removed.
27482         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27483         Moved ...
27484         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27485         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27486         Identical file removed.
27487         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27488         Moved ...
27489         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27490         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27491         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27492         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27495         Moved ...
27496         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27497         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27498         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27500         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27501         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27502         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27503         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27504         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27506 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27508         [BZ #17092]
27509         * nscd/nscd.c (monitor_child): Return exit status of child
27510         instead of return value from wait syscall.
27512 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27514         * configure.ac (libc_commonpagesize): Remove variable.
27515         (libc_relro_required): Likewise.
27516         (libc_cv_z_relro): Remove configure test.
27517         * configure: Regenerated.
27518         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27519         variable.
27520         (libc_relro_required): Likewise.
27521         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27522         (libc_relro_required): Likewise.
27523         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27524         (libc_relro_required): Likewise.
27525         * sysdeps/arm/preconfigure: Regenerated.
27526         * sysdeps/ia64/preconfigure: Remove file.
27527         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27528         variable.
27529         (libc_relro_required): Likewise.
27531         [BZ #16561]
27532         [BZ #16562]
27533         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27534         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27535         recompute overflowing results in original rounding mode.
27536         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27537         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27538         recompute overflowing results in original rounding mode.
27539         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27540         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27541         recompute overflowing results in original rounding mode.
27542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27543         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27544         recompute overflowing results in original rounding mode.
27545         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27546         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27547         recompute overflowing results in original rounding mode.
27548         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27549         (libc_feholdsetround_ctx): New macro.
27550         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27551         * sysdeps/i386/fpu/libm-test-ulps: Update.
27552         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27554 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27556         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27557         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27558         corresponding .cpsetup call.
27560 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27562         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27563         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27564         * sysdeps/arm/Makefile [$(subdir) = csu]
27565         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27566         (static-only-routines): Add aeabi_read_tp here.
27567         (shared-only-routines): Add libc-aeabi_read_tp here.
27568         (CFLAGS-libc-start.c): Add -fexceptions here.
27569         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27570         (sysdep_routines, static-only-routines, shared-only-routines):
27571         Don't add to these here.
27572         (CFLAGS-libc-start.c): Likewise.
27574         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27575         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27576         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27577         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27578         * sysdeps/arm/Makefile [$(subdir) = rt]
27579         (librt-sysdep_routines, librt-shared-only-routines):
27580         Append rt-aeabi_unwind_cpp_pr1 here.
27581         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27582         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27583         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27584         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27585         Append nptl-aeabi_unwind_cpp_pr1 here.
27586         (tests): Filter out tst-cleanupx4 here.
27587         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27588         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27589         Don't do those here.
27591 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27593         * scripts/list-sources.sh: Do not handle ports specially.
27595 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27597         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27598         * sysdeps/arm/feupdateenv.c: Likewise.
27600         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27602 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27604         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27605         trailing whitespace removed.
27606         * scripts/config.guess: Update to version 2014-03-23.
27607         * scripts/config.sub: Update to version 2014-05-01
27608         * scripts/install-sh: Update to version 2013-12-25.23.
27609         * scripts/move-if-change: Update from gnulib.
27611 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27613         * debug/memmove_chk.c: Remove pagecopy.h include.
27615 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27617         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27618         identical to gnulib mktime.
27620 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27622         * configure.ac: Do not test for machine being rs6000.  Do not test
27623         for powerpc*-*soft.
27624         * configure: Regenerated.
27626         [BZ #11505]
27627         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27628         test.
27629         * configure: Regenerated.
27630         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27631         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27632         Remove configure test.
27633         * sysdeps/arm/configure: Regenerated.
27634         * sysdeps/nptl/configure.ac: Do not check
27635         libc_cv_asm_cfi_directives.
27636         * sysdeps/nptl/configure: Regenerated.
27637         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27638         * sysdeps/x86_64/nptl/configure: Remove generated file.
27639         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27640         unconditional.
27641         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27643 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27645         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27646         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27647         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27648         it is defined.
27650         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27651         instead of whether it is defined.
27652         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27653         * sysdeps/hppa/dl-machine.h: Likewise.
27654         * sysdeps/ia64/dl-machine.h: Likewise.
27655         * sysdeps/m68k/dl-machine.h: Likewise.
27656         * sysdeps/microblaze/dl-machine.h: Likewise.
27657         * sysdeps/mips/dl-machine.: Likewise.
27658         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27659         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27660         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27661         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27662         * sysdeps/sh/dl-machine.h: Likewise.
27663         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27664         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27665         * sysdeps/tile/dl-machine.h: Likewise.
27666         * sysdeps/x86_64/dl-machine.h: Likewise.
27668         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27669         code.
27670         (verify_persistent_db): Likewise.
27672 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27675         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27677         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27679         Moved ...
27680         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27681         ... here.
27682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27683         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27685         Identical file removed.
27686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27687         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27689         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27691         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27693         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27695         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27697         Moved ...
27698         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27700         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27702         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27704         Moved ...
27705         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27707         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27709         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27711         Identical file removed.
27712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27713         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27715         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27717         Moved ...
27718         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27719         ... here.
27720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27721         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27723         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27725         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27727         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27729         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27731         Moved ...
27732         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27734         Moved ...
27735         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27737         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27739         Moved ...
27740         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27742         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27744         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27745         folded into ...
27746         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27747         * sysdeps/unix/sysv/linux/s390/Versions
27748         (libpthread: GLIBC_2.19): New version set.
27749         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27750         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27751         (librt: GLIBC_2.3.3): New version set.
27752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27753         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27754         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27755         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27756         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27757         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27758         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27759         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27760         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27761         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27762         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27763         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27764         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27765         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27766         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27767         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27768         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27769         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27770         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27772         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27774         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27775         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27776         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27777         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27778         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27779         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27780         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27781         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27782         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27783         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27785         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27788         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27790         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27791         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27792         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27794         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27796         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27798         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27799         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27800         (__libc_vfork): Define the function under this name.
27801         [!NOT_IN_libc] (__vfork): Make this an alias.
27802         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27803         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27804         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27805         (__libc_vfork): Define the function under this name.
27806         [!NOT_IN_libc] (__vfork): Make this an alias.
27807         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27808         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27809         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27811         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27812         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27814         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27815         code that was previously under [RESET_PID].
27816         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27817         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27818         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27820         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27821         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27822         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27823         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27824         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27825         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27826         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27827         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27828         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27829         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27830         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27831         Moved ...
27832         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27833         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27834         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27835         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27836         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27837         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27838         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27839         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27840         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27841         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27842         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27843         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27844         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27845         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27846         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27847         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27848         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27849         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27850         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27851         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27852         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27853         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27854         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27855         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27856         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27857         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27858         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27859         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27860         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27862 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27864         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27865         that was previously under [RESET_PID].
27866         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27868 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27870         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27871         not undefine and redefine.
27872         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27873         [O_CLOEXEC]: Make code unconditional.
27874         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27875         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27876         <kernel-features.h>.
27877         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27878         conditional variable definition.
27879         (shm_open) [O_CLOEXEC]: Make code unconditional.
27880         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27881         code.
27883         * configure.ac (USE_REGPARMS): Don't define here.
27884         * configure: Regenerated.
27885         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27886         * sysdeps/i386/configure: Regenerated.
27888         * nptl/createthread.c: Don't include kernel-features.h.
27889         * nptl/pthread_cancel.c: Likewise.
27890         * nptl/pthread_condattr_setclock.c: Likewise.
27891         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27892         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27893         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27894         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27895         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27896         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27897         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27900         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27901         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27902         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27903         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27904         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27905         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27906         * nscd/gai.c: Likewise.
27907         * nss/nss_db/db-open.c: Likewise.
27908         * sysdeps/generic/ldsodefs.h: Likewise.
27909         * sysdeps/sh/nptl/tls.h: Likewise.
27910         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27911         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27912         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27913         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27914         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27915         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27916         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27917         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27918         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27919         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27920         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27921         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27922         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27923         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27924         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27925         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27926         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27927         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27928         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27929         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27932         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27933         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27937         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27938         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27939         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27940         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27941         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27942         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27943         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27944         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27945         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27946         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27947         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27948         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27949         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27950         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27951         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27952         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27953         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27954         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27955         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27956         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27957         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27958         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27959         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27960         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27961         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27962         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27963         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27964         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27965         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27966         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27967         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27990         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27991         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27992         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27993         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27994         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27995         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27996         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27997         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27998         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27999         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28000         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28001         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28002         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28003         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28004         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28005         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28006         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28007         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28008         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28009         * sysdeps/unix/sysv/linux/system.c: Likewise.
28010         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28011         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28012         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28013         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28014         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28015         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28016         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28018         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28019         * configure: Regenerated.
28020         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28022         * configure.ac (base_machine): Do not set specially for particular
28023         machines here.
28024         * configure: Regenerated.
28025         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28026         settings from configure.ac.
28027         * sysdeps/i386/preconfigure: New file.
28028         * sysdeps/s390/preconfigure: Likewise.
28029         * sysdeps/sh/preconfigure: Likewise.
28030         * sysdeps/sparc/preconfigure: Likewise.
28032 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28034         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28035         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28036         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28037         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28038         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28039         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28040         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28041         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28042         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28043         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28044         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28045         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28046         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28047         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28048         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28049         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28051         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28052         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28054         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28055         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28056         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28057         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28058         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28059         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28060         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28061         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28062         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28063         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28064         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28065         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28066         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28067         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28068         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28069         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28070         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28071         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28072         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28073         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28075         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28077         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28078         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28079         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28080         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28081         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28082         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28083         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28085         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28086         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28087         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28089         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28090         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28091         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28094         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28098         Moved ...
28099         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28100         ... here.
28101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28102         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28104         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28106         Moved ...
28107         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28109         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28111         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28113         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28115         Moved ...
28116         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28118         Moved ...
28119         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28121         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28123         Moved ...
28124         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28126         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28128         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28130         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28132         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28134         Moved ...
28135         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28136         ... here.
28137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28138         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28139         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28140         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28142         Moved ...
28143         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28145         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28147         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28149         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28151         Moved ...
28152         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28154         Moved ...
28155         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28157         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28159         Moved ...
28160         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28162         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28164         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28166 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28168         * timezone/checktab.awk: Update from tzcode 2014e.
28169         * timezone/private.h: Likewise.
28170         * timezone/tzfile.h: Likewise.
28171         * timezone/zdump.c: Likewise.
28172         * timezone/zic.c: Likewise.
28174         * sysdeps/unix/sysv/linux/kernel-features.h
28175         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28176         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28177         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28178         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28179         Remove conditional code.
28181 2014-06-25  Will Newton  <will.newton@linaro.org>
28183         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28184         (_dl_arm_cap_flags): Add HWCAP2 values.
28185         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28186         (_DL_HWCAP_COUNT): Increase to 37.
28187         (_DL_HWCAP_LAST): New define.
28188         (_DL_HWCAP2_LAST): New define.
28189         (_dl_procinfo): Add support for printing
28190         AT_HWCAP2 entries.
28191         (_dl_string_hwcap): Use _dl_hwcap_string.
28193 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28197 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28199         * README: Do not mention ports directory.
28201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28202         Remove macro.
28203         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28204         <kernel-features.h>.
28205         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28206         conditional variable definition.
28207         (__futimes): Update comment.
28208         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28209         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28211         [BZ #16560]
28212         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28213         arguments close to 0.
28214         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28215         Likewise.
28216         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28217         Likewise.
28218         * math/auto-libm-test-in: Add more tests of exp10.
28219         * math/auto-libm-test-out: Regenerated.
28220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28222         * sysdeps/unix/sysv/linux/kernel-features.h
28223         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28224         * sysdeps/unix/sysv/linux/readv.c: Do not include
28225         <kernel-features.h>.
28226         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28227         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28228         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28229         unconditional.
28230         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28231         conditional code.
28232         * sysdeps/unix/sysv/linux/writev.c: Do not include
28233         <kernel-features.h>.
28234         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28235         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28236         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28237         unconditional.
28238         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28239         conditional code.
28241 2014-06-25  Will Newton  <will.newton@linaro.org>
28243         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28244         comment changes throughout the file.  Remove checks
28245         for HAVE_*_H definitions that are not required.
28246         (__gen_tempname): Call abort if an unknown kind value is
28247         passed.
28249 2014-06-25  Andreas Schwab  <schwab@suse.de>
28251         [BZ #17086]
28252         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28253         scalbln, scalblnf, scalblnl in libc.
28255 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28257         [BZ #17086]
28258         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28259         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28260         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28262 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28264         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28265         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28266         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28267         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28268         Update #include.
28269         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28270         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28271         Update #include.
28272         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28273         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28274         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28275         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28276         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28277         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28278         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28279         * sysdeps/x86/bits/semaphore.h: ... here.
28280         * sysdeps/x86/nptl/elide.h: Moved ...
28281         * sysdeps/x86/elide.h: ... here.
28282         * sysdeps/x86_64/nptl/Implies: File removed.
28283         * sysdeps/i386/nptl/Implies: File removed.
28285 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28287         [BZ #16539]
28288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28289         return the argument for normal arguments with exponent below -64.
28290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28291         Likewise.
28292         * math/auto-libm-test-in: Add another test of expm1.
28293         * math/auto-libm-test-out: Regenerated.
28295         [BZ #16287]
28296         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28297         calling __erfcl for arguments at least 16.
28298         * math/auto-libm-test-in: Add more tests of erf.
28299         * math/auto-libm-test-out: Regenerated.
28301         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28302         individual architectures.
28303         * sysdeps/unix/sysv/linux/configure: Regenerated.
28304         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28305         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28306         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28307         (ldd_rewrite_script): Define variable.
28308         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28310         file.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28312         generated file.
28313         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28314         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28315         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28316         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28317         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28318         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28319         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28320         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28322 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28324         [BZ #17084]
28325         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28326         Rename member __data.d to __data.__elision_data.
28328 2014-06-24  Wilco  <wdijkstr@arm.com>
28330         * NEWS: Add 16918 to fixed bug list.
28332 2014-06-24  Wilco  <wdijkstr@arm.com>
28334         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28336 2014-06-24  Wilco  <wdijkstr@arm.com>
28338         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28339         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28340         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28341         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28342         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28343         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28344         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28345         Use _FPU_MASK_RM.
28347 2014-06-24  Wilco  <wdijkstr@arm.com>
28349         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28351 2014-06-24  Wilco  <wdijkstr@arm.com>
28353         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28354         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28355         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28356         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28358 2014-06-24  Wilco  <wdijkstr@arm.com>
28360         [BZ #16918]
28361         * sysdeps/arm/feupdateenv.c (feupdateenv):
28362         Rewrite to reduce FPSCR accesses and fix return value.
28364 2014-06-24  Wilco  <wdijkstr@arm.com>
28366         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28367         Optimize to avoid unnecessary FPSCR writes.
28368         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28369         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28370         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28371         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28373 2014-06-24  Wilco  <wdijkstr@arm.com>
28375         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28376         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28377         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28378         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28379         Call libc_fetestexcept_vfp.
28380         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28381         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28382         __SOFTFP__ ifdef so that they can be built for softfp.
28384 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28386         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28387         argument type signed char.
28389         * Makerules (check-abi): Dump diff of symlist if the test
28390         fails.
28392 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28394         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28395         using abort.
28397         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28398         Remove unused variable ST.
28400 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28402         [BZ #16354]
28403         [BZ #17061]
28404         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28405         small arguments before calling __expm1.
28406         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28407         small arguments before calling __expm1f.
28408         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28409         small arguments before calling __expm1l.
28410         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28411         Likewise.
28412         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28413         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28414         spurious underflow for some cosh tests.
28415         * math/auto-libm-test-out: Regenerated.
28416         * sysdeps/i386/fpu/libm-test-ulps: Update.
28418         [BZ #17050]
28419         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28420         (__ieee754_y1): Set errno if return value overflows.
28421         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28422         (__ieee754_y1f): Set errno if return value overflows.
28423         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28424         (__ieee754_y1l): Set errno if return value overflows.
28425         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28426         (__ieee754_y1l): Set errno if return value overflows.
28427         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28428         * math/auto-libm-test-out: Regenerated.
28430         * math/gen-auto-libm-tests.c: Document use of
28431         ignore-zero-inf-sign.
28432         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28433         (input_flags): Add ignore-zero-inf-sign.
28434         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28435         * math/gen-libm-test.pl (generate_testfile): Handle
28436         ignore-zero-inf-sign.
28437         * math/auto-libm-test-in: Mark some cpow tests with
28438         ignore-zero-inf-sign and some with xfail-rounding.
28439         * math/auto-libm-test-out: Regenerated.
28440         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28441         * sysdeps/i386/fpu/libm-test-ulps: Update.
28442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28444         [BZ #16315]
28445         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28446         overflowing or underflowing operations take place with sign of
28447         result.
28448         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28449         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28450         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28451         (__ieee754_pow): Recompute overflowing and underflowing results in
28452         original rounding mode.
28453         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28454         (__powl_helper): Allow negative argument X and scale negated value
28455         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28456         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28457         overflowing or underflowing operations take place with sign of
28458         result.
28459         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28460         Include <math.h>.
28461         * math/auto-libm-test-in: Add more tests of pow.
28462         * math/auto-libm-test-out: Regenerated.
28463         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28464         (pow_tonearest_test_data): Remove.
28465         (pow_test_tonearest): Likewise.
28466         (pow_towardzero_test_data): Likewise.
28467         (pow_test_towardzero): Likewise.
28468         (pow_downward_test_data): Likewise.
28469         (pow_test_downward): Likewise.
28470         (pow_upward_test_data): Likewise.
28471         (pow_test_upward): Likewise.
28472         (main): Don't call removed functions.
28473         * sysdeps/i386/fpu/libm-test-ulps: Update.
28474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28476 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28479         Moved ...
28480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28482         Moved ...
28483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28485         Moved ...
28486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28488         Moved ...
28489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28491         File removed.
28492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28493         File removed.
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28495         File removed.
28496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28497         File removed.
28498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28499         File removed.
28500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28501         File removed.
28502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28503         File removed.
28504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28505         File removed.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28507         File removed.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28509         File removed.
28510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28511         File removed.
28512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28513         File removed.
28514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28515         Moved ...
28516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28518         Moved ...
28519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28520         ... here.
28521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28522         Moved ...
28523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28525         Moved ...
28526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28528         Moved ...
28529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28531         Moved ...
28532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28534         Moved ...
28535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28537         Moved ...
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28540         Moved ...
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28544         ... here.
28545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28546         Moved ...
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28549         Moved ...
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28551         ... here.
28552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28553         Moved ...
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28555         ... here.
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28557         Moved ...
28558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28559         ... here.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28561         Moved ...
28562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28564         Moved ...
28565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28569         Moved ...
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28571         ... here.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28573         Moved ...
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28575         ... here.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28577         Moved ...
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28580         Moved ...
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28583         Moved ...
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28586         Moved ...
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28589         Moved ...
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28591         ... here.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28593         Moved ...
28594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28596         Moved ...
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28599         Moved ...
28600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28602         Moved ...
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28607         Moved ...
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28610         Moved ...
28611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28613         Moved ...
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28615         ... here.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28619         ... here.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28621         Moved ...
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28623         ... here.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28625         Moved ...
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28628         Moved ...
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28631         Moved ...
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28634         Moved ...
28635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28636         ... here.
28637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28638         Moved ...
28639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28640         ... here.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28642         Moved ...
28643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28644         ... here.
28645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28646         Moved ...
28647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28649         Moved ...
28650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28652 2014-06-23  Will Newton  <will.newton@linaro.org>
28653             Wilco  <wdijkstr@arm.com>
28655         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28656         implementation.  Include get-rounding-mode.h.
28657         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28658         [!libc_feholdsetround_noex_ctx]: Define
28659         libc_feholdsetround_noex_ctx.
28660         [!libc_feholdsetround_noexf_ctx]: Define
28661         libc_feholdsetround_noexf_ctx.
28662         [!libc_feholdsetround_noexl_ctx]: Define
28663         libc_feholdsetround_noexl_ctx.
28664         (libc_feholdsetround_ctx): New function.
28665         (libc_feresetround_ctx): New function.
28666         (libc_feholdsetround_noex_ctx): New function.
28667         (libc_feresetround_noex_ctx): New function.
28669 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28671         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28672         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28673         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28674         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28675         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28676         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28678         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28679         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28680         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28681         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28682         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28683         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28684         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28685         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28687         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28689         Moved ...
28690         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28691         ... here.
28692         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28693         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28694         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28695         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28696         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28697         Moved ...
28698         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28699         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28700         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28701         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28702         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28703         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28704         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28705         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28706         Moved ...
28707         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28708         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28709         Moved ...
28710         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28714         Moved ...
28715         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28716         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28717         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28718         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28719         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28720         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28721         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28722         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28723         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28724         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28725         Moved ...
28726         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28727         ... here.
28728         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28729         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28730         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28731         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28732         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28733         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28734         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28735         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28736         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28737         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28738         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28739         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28740         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28741         Moved ...
28742         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28743         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28744         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28745         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28746         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28747         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28748         Moved ...
28749         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28750         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28751         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28752         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28753         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28755         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28756         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28757         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28758         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28759         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28760         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28761         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28762         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28764         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28765         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28766         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28767         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28768         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28769         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28770         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28778         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28780         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28781         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28784 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28786         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28787         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28788         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28789         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28790         (IPV6_PMTUDISC_INTERFACE): Likewise.
28791         (IPV6_PMTUDISC_OMIT): Likewise.
28793 2014-06-23  Andreas Schwab  <schwab@suse.de>
28795         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28796         Remove unused errout label.
28798 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28800         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28801         macro: hardware supports Vector Crypto instructions.
28803 2014-06-23  Will Newton  <will.newton@linaro.org>
28805         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28806         rather than __builtin_expect.
28808         * elf/dl-lookup.c (undefined_msg): Remove variable.
28809         (_dl_lookup_symbol_x): Replace undefined_msg with string
28810         literal.
28812         * elf/dl-lookup.c (do_lookup_unique): New function.
28813         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28814         to a separate function.
28816 2014-06-23  Andreas Schwab  <schwab@suse.de>
28818         [BZ #17079]
28819         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28820         before reading the next line.
28822 2014-06-23  Will Newton  <will.newton@linaro.org>
28824         * test-skeleton.c (signal_handler): Use printf and %m
28825         rather than perror.  Use printf rather than fprintf to
28826         stderr.  Use puts rather than fputs to stderr.
28827         (main): Likewise.
28829 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28831         * nscd/nscd.c (thread_info_t): Remove typedef.
28832         (thread_info): Remove variable.
28834 2014-06-21  Allan McRae  <allan@archlinux.org>
28836         * NEWS: Mention CVE-2014-4043.
28838 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28840         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28841         * nptl/smp.h: ... here.
28843         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28845         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28846         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28847         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28848         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28850         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28851         * nptl/stack-aliasing.h: New file.
28852         * sysdeps/i386/i686/stack-aliasing.h: New file.
28853         * sysdeps/i386/i686/nptl/Makefile: File removed.
28854         * sysdeps/x86_64/stack-aliasing.h: New file.
28855         * sysdeps/x86_64/nptl/Makefile
28856         (CFLAGS-pthread_create.c): Variable removed.
28858         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28859         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28860         old file.
28861         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28862         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28863         old file.
28865 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28867         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28868         (__ASSUME_SIGFRAME_V2): Remove macro.
28869         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28870         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28871         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28872         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28873         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28874         Declare as function.  Remove conditional macro definitions.
28875         (__default_rt_sa_restorer): Likewise.
28876         (__default_sa_restorer_v1): Remove declaration.
28877         (__default_sa_restorer_v2): Likewise.
28878         (__default_rt_sa_restorer_v1): Likewise.
28879         (__default_rt_sa_restorer_v2): Likewise.
28880         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28881         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28882         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28884 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28886         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28887         (libpthread-routines): Add sysdep.
28888         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28889         * sysdeps/unix/sysv/linux/sparc/Versions
28890         (libpthread: GLIBC_2.3.3): New version set.
28891         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28892         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28893         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28894         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28895         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28896         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28897         Moved ...
28898         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28899         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28900         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28901         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28902         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28903         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28904         * sysdeps/sparc/nptl/sem_init.c: ... here.
28905         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28906         * sysdeps/sparc/nptl/sem_post.c: ... here.
28907         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28908         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28909         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28910         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28912         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28913         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28914         (libpthread-routines): Add cpu_relax.
28915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28916         File removed.
28917         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28918         (librt: GLIBC_2.3.3): New version set.
28919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28920         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28921         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28922         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28925         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28927         Moved ...
28928         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28930         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28932         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28934         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28936         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28938         Moved ...
28939         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28940         Update #include.
28941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28942         Moved ...
28943         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28944         Update #include.
28945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28946         Moved ...
28947         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28948         Update #include.
28949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28950         Moved ...
28951         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28952         Update #include.
28953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28954         Moved ...
28955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28956         Update #include.
28957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28958         Moved ...
28959         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28960         Update #include.
28961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28962         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28968         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28970         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28972         Moved ...
28973         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28974         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28975         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28977         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28979 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28981         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28982         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28983         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28984         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28985         * nscd/nscd.c: Likewise.
28986         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28987         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28988         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28989         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28991         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28992         <kernel-features.h>.
28993         (init_mq_netlink): Remove conditional have_sock_cloexec
28994         definitions.  Remove code conditional on have_sock_cloexec < 0.
28995         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28996         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28997         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28998         <kernel-features.h>.
28999         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29000         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29002 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29005         Add tests for memset_chk and memset.
29007         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29008         with AVX2_Usable.
29010 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29012         [BZ #16046]
29013         * elf/tst-dl-iter-static.c: New file.
29014         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29016         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29017         error.
29019 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29021         * sysdeps/unix/sysv/linux/kernel-features.h
29022         (__ASSUME_F_GETOWN_EX): Remove macro.
29023         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29024         <kernel-features.h>.
29025         (miss_F_GETOWN_EX): Remove variable or macro.
29026         (do_fcntl): Do not check miss_F_GETOWN_EX.
29027         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29029         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29030         Remove macro.
29031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29032         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29033         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29035         * sysdeps/unix/sysv/linux/kernel-features.h
29036         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29037         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29038         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29039         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29041 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29043         [BZ #17075]
29044         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29045         Fix calculation of the symbol's value.
29046         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29047         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29048         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29049         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29050         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29051         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29052         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29053         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29054         (modules-names): Add `tst-armtlsdescmod',
29055         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29056         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29057         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29058         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29059         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29060         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29061         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29062         ($(objpfx)tst-armtlsdescloc): New dependency.
29063         ($(objpfx)tst-armtlsdescextnow): Likewise.
29064         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29065         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29066         TLS scheme support.
29067         * sysdeps/arm/configure: Regenerate.
29069 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29071         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29072         (__atfct_seterrno_2): Likewise.
29073         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29074         <kernel-features.h>.
29075         (__ASSUME_ATFCTS): Do not undefine and redefine.
29076         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29077         (__have_atfcts): Remove conditional definition.
29078         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29079         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29080         unreachable if [__ASSUME_ATFCTS].
29081         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29082         not undefine and redefine.
29083         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29084         <kernel-features.h>.
29085         (faccessat) [__NR_faccessat]: Make code unconditional.
29086         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29087         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29088         <kernel-features.h>.
29089         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29090         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29091         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29092         <kernel-features.h>.
29093         (fchownat) [__NR_fchownat]: Make code unconditional.
29094         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29095         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29096         <kernel-features.h>.
29097         (futimesat) [__NR_futimesat]: Make code unconditional.
29098         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29099         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29100         <kernel-features.h>.
29101         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29102         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29103         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29104         <kernel-features.h>.
29105         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29106         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29107         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29108         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29109         <kernel-features.h>.
29110         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29111         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29112         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29113         <kernel-features.h>.
29114         (linkat) [__NR_linkat]: Make code unconditional.
29115         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29116         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29117         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29118         <kernel-features.h>.
29119         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29120         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29121         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29122         <kernel-features.h>.
29123         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29124         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29125         * sysdeps/unix/sysv/linux/openat.c: Do not include
29126         <kernel-features.h>.
29127         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29128         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29129         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29130         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29131         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29132         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29133         <kernel-features.h>.
29134         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29135         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29136         result of INLINE_SYSCALL directly, not via int variable.
29137         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29138         <kernel-features.h>.
29139         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29140         (renameat) [__NR_renameat]: Make code unconditional.
29141         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29142         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29143         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29144         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29145         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29146         (__ASSUME_ATFCTS): Do not undefine and redefine.
29147         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29148         <kernel-features.h>.
29149         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29150         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29151         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29152         <kernel-features.h>.
29153         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29154         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29155         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29156         (__ASSUME_ATFCTS): Do not undefine and redefine.
29157         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29158         <kernel-features.h>.
29159         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29160         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29161         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29162         <kernel-features.h>.
29163         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29164         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29166 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29168         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29170 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29172         [BZ #17069]
29173         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29174         constructed tree before returning error.
29175         * posix/bug-regexp36.c: Expand test case.
29177 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29179         [BZ #6803]
29180         * math/libm-test.inc (scalbln_test_date):
29181         Add errno expectations.
29182         * math/w_scalblnf.c: New File.
29183         Add wrapper which checks for setting errno to ERANGE.
29184         Add weak_alias for corresponding scalbln function.
29185         * math/w_scalbln.c: Likewise.
29186         * math/w_scalblnl.c: Likewise.
29187         * math/Makefile (libm-calls): Add w_scalbln.
29188         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29189         Remove weak_alias for corresponding scalbln function.
29190         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29193         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29194         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29195         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29196         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29197         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29198         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29199         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29200         Remove long_double_symbol for scalblnl function in libm, libc.
29201         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29202         Add wrapper which checks for setting errno to ERANGE.
29203         Add long_double_symbol for scalblnl function in libm, libc.
29204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29205         Remove long_double_symbol for scalblnl in libm.
29206         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29207         Add wrapper which checks for setting errno to ERANGE.
29208         Add long_double_symbol for scalblnl function in libm.
29209         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29210         Do not use wrapper because of own implementation.
29212 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29214         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29215         3 bytes for __pad1 for x32.
29216         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29218 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29219             H.J. Lu  <hongjiu.lu@intel.com>
29221         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29222         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29223         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29224         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29225         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29227 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29229         [BZ #17069]
29230         * posix/regcomp.c (parse_expression): Deallocate partially
29231         constructed tree before returning error.
29232         * posix/Makefile.c (tests): Add bug-regex36.
29233         (generated): Add bug-regex36.mtrace.
29234         (tests-special): Add $(objpfx)bug-regex36-mem.out
29235         (bug-regex36-ENV): New variable.
29236         ($(objpfx)bug-regex36-mem.out): New rule.
29237         * posix/bug-regex36.c: New file.
29239 2014-06-19  Will Newton  <will.newton@linaro.org>
29241         * malloc/malloc.c (systrim): If extra is zero then return
29242         early.
29244 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29246         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29248 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29250         * sysdeps/aarch64/strchr.S: New file.
29252 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29254         [BZ #17022]
29255         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29256         from arguments -2 or below.
29257         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29258         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29260 2014-06-18  Andreas Schwab  <schwab@suse.de>
29262         [BZ #17062]
29263         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29264         of a bracket expr not to run off the end of the string.
29265         * posix/Makefile (tests): Add tst-fnmatch3.
29266         * posix/tst-fnmatch3.c: New file.
29268 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29270         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29271         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29272         [$(cross-compiling) = no]: Likewise.
29273         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29274         [$(cross-compiling) = no]: Likewise.
29276 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29278         [BZ #17031]
29279         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29280         double, adjusted for any remainder from the high double.
29281         * math/libm-test.inc (nearbyint): Add tests.
29282         (rint): Likewise.
29284 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29286         * nptl/sysdeps/powerpc/Makefile: Moved ...
29287         * sysdeps/powerpc/nptl/Makefile: ... here.
29288         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29289         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29290         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29291         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29292         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29293         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29294         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29295         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29296         * nptl/sysdeps/powerpc/tls.h: Moved ...
29297         * sysdeps/powerpc/nptl/tls.h: ... here.
29299 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29301         [BZ #16681]
29302         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29303         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29304         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29305         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29306         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29307         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29308         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29309         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29310         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29312 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29314         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29316 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29318         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29319         defined operator.
29321         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29322         $TIMEOUTFACTOR.
29324 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29326         [BZ #17058]
29327         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29328         non-executed part of the test.
29330 2014-06-16  Andreas Schwab  <schwab@suse.de>
29332         * string/bits/string2.h (strdup, strndup): Update feature guard.
29334 2014-06-14  David S. Miller  <davem@davemloft.net>
29336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29338 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29340         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29341         that was previously under [RESET_PID].
29342         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29344         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29345         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29346         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29347         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29348         (__libc_vfork): New strong alias.
29349         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29351 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29353         * sysdeps/generic/elide.h: New file.
29355 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29357         * Makefile (installed-headers): Adjust path of pthread.h header.
29359 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29361         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29362         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29363         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29364         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29366         * nptl/sysdeps/s390/Makefile: Moved ...
29367         * sysdeps/s390/nptl/Makefile: ... here.
29368         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29369         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29370         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29371         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29372         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29373         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29374         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29375         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29376         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29377         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29378         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29379         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29380         * nptl/sysdeps/s390/tls.h: Moved ...
29381         * sysdeps/s390/nptl/tls.h: ... here.
29383         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29384         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29386 2014-06-13  David S. Miller  <davem@davemloft.net>
29388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29391         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29395         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29396         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29397         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29398         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29399         Remove RESET_PID cpp guards.
29400         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29401         Remove RESET_PID cpp guards.
29402         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29404 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29406         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29407         __sp to uintptr_t.
29409 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29411         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29413         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29414         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29415         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29416         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29417         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29419         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29420         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29421         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29422         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29423         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29424         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29425         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29426         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29427         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29428         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29430         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29432         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29433         (pthread_rwlock_rdlock): Add elision.
29434         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29435         (pthread_rwlock_wrlock): Add elision.
29436         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29437         (pthread_rwlock_trywrlock): Add elision.
29438         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29439         (pthread_rwlock_tryrdlock): Add elision.
29440         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29441         (pthread_rwlock_tryrdlock): Add elision unlock.
29442         * nptl/sysdeps/pthread/pthread.h:
29443         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29444         (PTHREAD_RWLOCK_INITIALIZER,
29445         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29446         Handle new elision field.
29447         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29448         * sysdeps/arm/nptl/bits/pthreadtypes.h
29449         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29450         * sysdeps/sh/nptl/bits/pthreadtypes.h
29451         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29452         * sysdeps/tile/nptl/bits/pthreadtypes.h
29453         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29454         * sysdeps/a/nptl/bits/pthreadtypes.h
29455         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29456         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29457         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29458         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29459         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29460         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29461         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29462         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29463         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29464         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29465         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29466         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29467         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29468         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29470         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29471         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29472         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29473         (elision_init): Set try_xbegin to zero when no RTM.
29474         * sysdeps/x86/nptl/bits/pthreadtypes.h
29475         (pthread_rwlock_t): Change __pad1 to __rwelision.
29476         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29478 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29480         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29481         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29482         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29483         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29485 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29487         [BZ #16996]
29488         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29489         that the cached result has been set before returning it.
29491 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29493         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29494         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29495         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29496         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29497         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29498         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29500         * nptl/sysdeps/sparc/Makefile: Moved ...
29501         * sysdeps/sparc/nptl/Makefile: ... here.
29502         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29503         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29504         * nptl/sysdeps/sparc/tls.h: Moved ...
29505         * sysdeps/sparc/nptl/tls.h: ... here.
29506         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29507         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29508         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29509         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29510         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29511         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29512         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29513         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29514         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29515         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29516         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29517         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29518         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29519         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29520         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29521         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29522         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29523         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29524         Update #include.
29525         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29527         Update #include.
29528         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29529         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29530         Update #include.
29531         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29532         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29533         Update #include.
29535         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29537         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29538         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29540         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29541         (struct list_links): Type removed.
29542         (struct thread_node, struct timer_node): Replace struct list_links
29543         with struct list_head.
29544         (list_unlink_ip): Likewise.
29545         * sysdeps/pthread/timer_routines.c
29546         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29547         (list_append, list_insbefore): Likewise.
29548         (list_init): Function removed.
29549         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29550         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29551         * sysdeps/pthread/Makefile: ... here, new file.
29553         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29554         * sysdeps/nptl/Implies: ... here.
29555         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29556         * nptl/sysdeps/pthread/list.h: Moved ...
29557         * include/list.h: ... here.
29558         * nptl/sysdeps/pthread/createthread.c: Moved ...
29559         * nptl/createthread.c: ... here.
29560         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29561         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29562         * nptl/pt-longjmp.c: ... here.
29563         * nptl/sysdeps/pthread/Makefile: Moved ...
29564         * sysdeps/nptl/Makefile: ... here.
29565         * nptl/sysdeps/pthread/Subdirs: Moved ...
29566         * sysdeps/nptl/Subdirs: ... here.
29567         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29568         * sysdeps/nptl/aio_misc.h: ... here.
29569         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29570         * sysdeps/nptl/bits/libc-lock.h: ... here.
29571         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29572         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29573         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29574         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29575         * nptl/sysdeps/pthread/configure: Moved ...
29576         * sysdeps/nptl/configure: ... here.
29577         * nptl/sysdeps/pthread/configure.ac: Moved ...
29578         * sysdeps/nptl/configure.ac: ... here.
29579         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29580         * sysdeps/nptl/gai_misc.h: ... here.
29581         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29582         * sysdeps/nptl/librt-cancellation.c: ... here.
29583         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29584         * sysdeps/nptl/malloc-machine.h: ... here.
29585         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29586         * sysdeps/nptl/pthread-functions.h: ... here.
29587         * nptl/sysdeps/pthread/pthread.h: Moved ...
29588         * sysdeps/nptl/pthread.h: ... here.
29589         * nptl/sysdeps/pthread/setxid.h: Moved ...
29590         * sysdeps/nptl/setxid.h: ... here.
29591         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29592         * sysdeps/nptl/sigfillset.c: ... here.
29593         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29594         * sysdeps/nptl/tcb-offsets.h: ... here.
29595         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29596         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29597         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29598         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29599         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29600         * sysdeps/pthread/allocalim.h: ... here.
29601         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29602         * sysdeps/pthread/bits/sigthread.h: ... here.
29603         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29604         * sysdeps/pthread/flockfile.c: ... here.
29605         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29606         * sysdeps/pthread/ftrylockfile.c: ... here.
29607         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29608         * sysdeps/pthread/funlockfile.c: ... here.
29609         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29610         * sysdeps/pthread/posix-timer.h: ... here.
29611         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29612         * sysdeps/pthread/timer_create.c: ... here.
29613         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29614         * sysdeps/pthread/timer_delete.c: ... here.
29615         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29616         * sysdeps/pthread/timer_getoverr.c: ... here.
29617         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29618         * sysdeps/pthread/timer_gettime.c: ... here.
29619         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29620         * sysdeps/pthread/timer_routines.c: ... here.
29621         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29622         * sysdeps/pthread/timer_settime.c: ... here.
29623         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29624         * sysdeps/pthread/tst-timer.c: ... here.
29625         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29626         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29628         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29629         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29631         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29632         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29633         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29634         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29635         Update #include target.
29636         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29637         * sysdeps/i386/i686/nptl/Makefile: ... here.
29638         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29639         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29640         Update #include target.
29641         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29642         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29643         * nptl/sysdeps/i386/Makefile: Moved ...
29644         * sysdeps/i386/nptl/Makefile: ... here.
29645         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29646         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29647         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29648         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29649         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29650         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29651         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29652         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29653         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29654         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29655         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29656         * nptl/sysdeps/i386/tls.h: Moved ...
29657         * sysdeps/i386/nptl/tls.h: ... here.
29659         * sysdeps/sh/Makefile [$(subdir) = csu]
29660         (gen-as-const-headers): Add tcb-offsets.sym.
29661         * nptl/sysdeps/sh/Makefile: File removed.
29662         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29663         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29664         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29665         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29666         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29667         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29668         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29669         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29670         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29671         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29672         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29673         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29674         * nptl/sysdeps/sh/tls.h: Moved ...
29675         * sysdeps/sh/nptl/tls.h: ... here.
29676         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29677         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29678         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29679         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29680         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29681         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29682         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29683         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29684         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29685         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29686         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29687         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29688         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29689         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29690         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29691         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29692         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29693         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29694         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29695         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29696         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29697         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29698         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29699         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29700         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29701         Moved ...
29702         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29703         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29704         Moved ...
29705         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29706         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29707         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29708         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29709         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29710         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29711         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29712         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29713         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29714         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29715         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29716         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29717         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29718         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29719         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29720         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29721         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29722         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29723         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29725 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29727         * posix/spawn_faction_addopen.c: Include string.h.
29729 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29731         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29732         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29733         * nptl/sysdeps/x86_64/Makefile: Moved ...
29734         * sysdeps/x86_64/nptl/Makefile: ... here.
29735         * nptl/sysdeps/x86_64/configure: Moved ...
29736         * sysdeps/x86_64/nptl/configure: ... here.
29737         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29738         * sysdeps/x86_64/nptl/configure.ac: ... here.
29739         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29740         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29741         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29742         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29743         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29744         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29745         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29746         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29747         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29748         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29749         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29750         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29751         * nptl/sysdeps/x86_64/tls.h: Moved ...
29752         * sysdeps/x86_64/nptl/tls.h: ... here.
29753         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29754         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29755         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29756         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29758         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29760 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29764 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29766         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29767         type.
29768         [POSIX] (off_t): Likewise.
29769         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29770         [POSIX] (S_ISBLK): Require macro.
29771         [POSIX] (S_ISCHR): Likewise.
29772         [POSIX] (S_ISDIR): Likewise.
29773         [POSIX] (S_ISFIFO): Likewise.
29774         [POSIX] (S_ISREG): Likewise.
29775         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29776         optional-macro.
29777         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29778         type.
29779         [POSIX] (time_t): Likewise.
29780         [POSIX] (timer_t): Likewise.
29782 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29784         [BZ #17048]
29785         * posix/spawn_int.h (struct __spawn_action): Make the path string
29786         non-const to support deallocation.
29787         * posix/spawn_faction_addopen.c
29788         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29789         * posix/spawn_faction_destroy.c
29790         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29791         path in all spawn_do_open actions.
29792         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29793         posix_spawn_file_actions_addopen.
29795 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29797         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29798         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29799         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29800         conditional code always true.
29801         (__libc_vfork): New alias.
29803 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29805         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29806         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29808         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29810         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29811         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29813         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29814         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29816         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29817         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29819 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29821         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29822         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29823         multiarch strcmp for PPC64.
29824         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29825         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29826         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29827         multiarch optimizations.
29828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29829         (__libc_ifunc_impl_list): Likewise.
29831 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29833         * benchtests/scripts/validate_benchout.py: New script.
29834         * benchtests/Makefile (bench-func): Call it.
29835         * benchtests/scripts/benchout.schema.json: New file.
29837 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29839         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29840         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29841         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29842         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29843         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29844         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29845         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29846         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29847         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29848         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29849         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29850         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29851         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29852         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29853         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29854         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29856         Moved ...
29857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29858         ... here.
29859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29860         Moved ...
29861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29863         Moved ...
29864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29865         ... here.
29866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29867         Moved ...
29868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29869         ... here.
29870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29871         Moved ...
29872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29874         Moved ...
29875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29876         ... here.
29877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29878         Moved ...
29879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29880         ... here.
29881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29882         Moved ...
29883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29885         Moved ...
29886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29887         ... here.
29888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29889         Moved ...
29890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29891         ... here.
29892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29893         Moved ...
29894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29895         ... here.
29896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29897         Moved ...
29898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29900         Moved ...
29901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29902         ... here.
29903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29904         Moved ...
29905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29906         ... here.
29907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29908         Moved ...
29909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29910         ... here.
29911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29912         Moved ...
29913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29915         Moved ...
29916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29917         ... here.
29918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29919         Moved ...
29920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29921         ... here.
29922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29923         Moved ...
29924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29928         ... here.
29929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29930         Moved ...
29931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29933         Moved ...
29934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29936         Moved ...
29937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29938         ... here.
29939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29940         Moved ...
29941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29942         ... here.
29943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29944         Moved ...
29945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29946         ... here.
29947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29948         Moved ...
29949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29951         Moved ...
29952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29953         ... here.
29954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29955         Moved ...
29956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29957         ... here.
29958         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29959         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29960         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29961         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29962         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29963         Moved ...
29964         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29965         ... here.
29966         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29967         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29968         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29969         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29970         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29971         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29972         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29973         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29974         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29975         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29976         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29977         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29978         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29979         Moved ...
29980         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29981         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29982         Moved ...
29983         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29984         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29985         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29986         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29987         Moved ...
29988         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29989         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29990         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29991         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29992         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29993         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29994         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29996 2014-06-10  Wilco  <wdijkstr@arm.com>
29998         * math/test-fenv-return.c: New file.
29999         * math/Makefile: Add new test test-fenv-return.
30001 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30003         [BZ #17042]
30004         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30005         when x - 1 is zero.
30006         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30007         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30008         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30009         0.0L for an argument of 1.0L.
30010         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30011         Likewise.
30012         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30013         value when x - 1 is zero.
30014         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30015         * sysdeps/i386/fpu/libm-test-ulps: Update.
30016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30018 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30020         [BZ #15119]
30021         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30023 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30025         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30026         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30028 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30030         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30031         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30033         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30034         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30036         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30037         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30039         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30040         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30042         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30043         if not already defined.
30044         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30045         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30046         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30047         (TLS_INIT_TP): Use it.
30048         (TLS_DEFINE_INIT_TP): New macro.
30049         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30051 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30053         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30054         constant.
30055         [POSIX] (IXANY): Likewise.
30056         [POSIX] (OLCUC): Likewise.
30057         [POSIX || POSIX2008] (CBAUD): Do not allow.
30058         [POSIX || POSIX2008] (DEFECHO): Likewise.
30059         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30060         [POSIX || POSIX2008] (ECHOKE): Likewise.
30061         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30062         [POSIX || POSIX2008] (EXTA): Likewise.
30063         [POSIX || POSIX2008] (EXTB): Likewise.
30064         [POSIX || POSIX2008] (FLUSHO): Likewise.
30065         [POSIX || POSIX2008] (LOBLK): Likewise.
30066         [POSIX || POSIX2008] (PENDIN): Likewise.
30067         [POSIX || POSIX2008] (SWTCH): Likewise.
30068         [POSIX || POSIX2008] (VDISCARD): Likewise.
30069         [POSIX || POSIX2008] (VDSUSP): Likewise.
30070         [POSIX || POSIX2008] (VLNEXT): Likewise.
30071         [POSIX || POSIX2008] (VREPRINT): Likewise.
30072         [POSIX || POSIX2008] (VSTATUS): Likewise.
30073         [POSIX || POSIX2008] (VWERASE): Likewise.
30074         (B*): Change to B[0123456789]*.
30075         * conform/data/time.h-data [POSIX || UNIX98]
30076         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30077         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30078         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30079         [POSIX] (tm_*): Do not allow.
30081 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30083         * Makefile (install): Don't set LANGUAGE.
30084         * Makefile.in (install): Likewise.
30085         * assert/Makefile (test-assert-ENV): Remove variable.
30086         (test-assert-perr-ENV): Likewise.
30087         * elf/Makefile (neededtest4-ENV): Likewise.
30088         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30089         [$(cross-compiling) = no]: Don't set LANGUAGE.
30090         * io/ftwtest-sh (LANG): Remove variable.
30091         * libio/Makefile (tst-widetext-ENV): Likewise.
30092         * manual/install.texi (Running make install): Don't refer to
30093         environment settings for make install.
30094         * INSTALL: Regenerated.
30095         * nptl/tst-tls6.sh: Don't set LANG.
30096         * posix/globtest.sh (LANG): Remove variable.
30097         * string/Makefile (tester-ENV): Likewise.
30098         (inl-tester-ENV): Likewise.
30099         (noinl-tester-ENV): Likewise.
30100         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30101         [$(cross-compiling) = no]: Don't set LANGUAGE.
30102         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30103         without explicit environment settings.
30105 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30107         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30108         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30109         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30110         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30112 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30114         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30115         other files in the crypt directory.
30116         * crypt/crypt.c: Remove duplicate includes.
30117         * crypt/crypt-entry.c: Likewise.
30118         * crypt/crypt_util.c: Likewise.
30120 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30122         * Makeconfig (run-program-env): New variable.
30123         (run-program-prefix-before-env): Likewise.
30124         (run-program-prefix-after-env): Likewise.
30125         (run-program-prefix): Define in terms of new variables.
30126         (built-program-cmd-before-env): New variable.
30127         (built-program-cmd-after-env): Likewise.
30128         (built-program-cmd): Define in terms of new variables.
30129         (test-program-prefix-before-env): New variable.
30130         (test-program-prefix-after-env): Likewise.
30131         (test-program-prefix): Define in terms of new variables.
30132         (test-program-cmd-before-env): New variable.
30133         (test-program-cmd-after-env): Likewise.
30134         (test-program-cmd): Define in terms of new variables.
30135         * Rules (make-test-out): Use $(run-program-env).
30136         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30137         (help): Do not mention environment variables.  Mention
30138         --timeoutfactor option.
30139         (timeoutfactor): New variable.
30140         (blacklist_exports): Remove function.
30141         (exports): Remove variable.
30142         (command): Do not include ${exports}.
30143         * manual/install.texi (Configuring and compiling): Do not mention
30144         test wrappers preserving environment variables.  Mention that last
30145         assignment to a variable must take precedence.
30146         * INSTALL: Regenerated.
30147         * benchtests/Makefile (run-bench): Use $(run-program-env).
30148         * catgets/Makefile ($(objpfx)test1.cat): Use
30149         $(built-program-cmd-before-env), $(run-program-env) and
30150         $(built-program-cmd-after-env).
30151         ($(objpfx)test2.cat): Do not specify environment variables
30152         explicitly.
30153         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30154         $(run-program-env) and $(built-program-cmd-after-env).
30155         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30156         $(run-program-env) and $(test-program-cmd-after-env).
30157         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30158         explicitly.
30159         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30160         run_program_env and test_program_cmd_after_env arguments.
30161         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30162         * elf/tst-pathopt.sh: Use run_program_env argument.
30163         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30164         $(test-wrapper-env) and $(run-program-env).
30165         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30166         run_program_env arguments.
30167         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30168         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30169         $(test-program-prefix-before-env), $(run-program-env) and
30170         $(test-program-prefix-after-env).
30171         ($(objpfx)tst-gettext2.out): Likewise.
30172         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30173         run_program_env and test_program_prefix_after_env arguments.
30174         * intl/tst-gettext2.sh: Likewise.
30175         * intl/tst-gettext4.sh: Do not set environment variables
30176         explicitly.
30177         * intl/tst-gettext6.sh: Likewise.
30178         * intl/tst-translit.sh: Likewise.
30179         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30180         $(test-program-prefix-before-env), $(run-program-env) and
30181         $(test-program-prefix-after-env).
30182         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30183         run_program_env and test_program_prefix_after_env arguments.
30184         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30185         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30186         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30187         explicitly with each use of ${test_wrapper_env}.
30188         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30189         $(test-program-prefix-before-env), $(run-program-env) and
30190         $(test-program-prefix-after-env).
30191         * posix/tst-getconf.sh: Do not set environment variables
30192         explicitly.
30193         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30194         run_program_env and test_program_prefix_after_env arguments.
30195         * stdio-common/tst-printf.sh: Do not set environment variables
30196         explicitly.
30197         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30198         $(test-program-prefix-before-env), $(run-program-env) and
30199         $(test-program-prefix-after-env).
30200         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30201         run_program_env and test_program_prefix_after_env arguments.
30202         Split $test calls into $test_pre and $test.
30203         * timezone/Makefile (build-testdata): Use
30204         $(built-program-cmd-before-env), $(run-program-env) and
30205         $(built-program-cmd-after-env).
30207 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30209         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30210         strlen for non SHARED builds.
30212 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30214         * nptl/allocatestack.c (check_list): Inlined function...
30215         (__reclaim_stacks): ... here.
30217 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30219         [BZ #15698]
30220         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30221         memory overrun.
30223 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30225         * Rules (make-test-out): Include
30226         LOCPATH=$(common-objpfx)localedata in default environment.
30227         * debug/Makefile (tst-chk1-ENV): Remove variable.
30228         (tst-chk2-ENV): Likewise.
30229         (tst-chk3-ENV): Likewise.
30230         (tst-chk4-ENV): Likewise.
30231         (tst-chk5-ENV): Likewise.
30232         (tst-chk6-ENV): Likewise.
30233         (tst-lfschk1-ENV): Likewise.
30234         (tst-lfschk2-ENV): Likewise.
30235         (tst-lfschk3-ENV): Likewise.
30236         (tst-lfschk4-ENV): Likewise.
30237         (tst-lfschk5-ENV): Likewise.
30238         (tst-lfschk6-ENV): Likewise.
30239         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30240         (tst-iconv7-ENV): Likewise.
30241         * intl/Makefile (LOCPATH-ENV): Likewise.
30242         (tst-codeset-ENV): Likewise.
30243         (tst-gettext3-ENV): Likewise.
30244         (tst-gettext5-ENV): Likewise.
30245         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30246         (tst-fopenloc-ENV): Likewise.
30247         (tst-fgetws-ENV): Remove variable.
30248         (tst-ungetwc1-ENV): Likewise.
30249         (tst-ungetwc2-ENV): Likewise.
30250         (bug-ungetwc2-ENV): Likewise.
30251         (tst-swscanf-ENV): Likewise.
30252         (bug-ftell-ENV): Likewise.
30253         (tst-fgetwc-ENV): Likewise.
30254         (tst-fseek-ENV): Likewise.
30255         (tst-ftell-partial-wide-ENV): Likewise.
30256         (tst-ftell-active-handler-ENV): Likewise.
30257         (tst-ftell-append-ENV): Likewise.
30258         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30259         (tst-regexloc-ENV): Likewise.
30260         (bug-regex1-ENV): Likewise.
30261         (tst-regex-ENV): Likewise.
30262         (tst-regex2-ENV): Likewise.
30263         (bug-regex5-ENV): Likewise.
30264         (bug-regex6-ENV): Likewise.
30265         (bug-regex17-ENV): Likewise.
30266         (bug-regex18-ENV): Likewise.
30267         (bug-regex19-ENV): Likewise.
30268         (bug-regex20-ENV): Likewise.
30269         (bug-regex22-ENV): Likewise.
30270         (bug-regex23-ENV): Likewise.
30271         (bug-regex25-ENV): Likewise.
30272         (bug-regex26-ENV): Likewise.
30273         (bug-regex30-ENV): Likewise.
30274         (bug-regex32-ENV): Likewise.
30275         (bug-regex33-ENV): Likewise.
30276         (bug-regex34-ENV): Likewise.
30277         (bug-regex35-ENV): Likewise.
30278         (tst-rxspencer-ENV): Likewise.
30279         (tst-rxspencer-no-utf8-ENV): Likewise.
30280         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30281         (tst-sscanf-ENV): Likewise.
30282         (tst-swprintf-ENV): Likewise.
30283         (tst-swscanf-ENV): Likewise.
30284         (test-vfprintf-ENV): Likewise.
30285         (scanf13-ENV): Likewise.
30286         (bug14-ENV): Likewise.
30287         (tst-grouping-ENV): Likewise.
30288         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30289         (tst-strtod3-ENV): Likewise.
30290         (tst-strtod4-ENV): Likewise.
30291         (tst-strtod5-ENV): Likewise.
30292         (testmb2-ENV): Likewise./
30293         * string/Makefile (tst-strxfrm-ENV): Likewise.
30294         (tst-strxfrm2-ENV): Likewise.
30295         (bug-strcoll1-ENV): Likewise.
30296         (test-strcasecmp-ENV): Likewise.
30297         (test-strncasecmp-ENV): Likewise.
30298         * time/Makefile (tst-strptime-ENV): Likewise.
30299         (tst-ftime_l-ENV): Likewise.
30300         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30301         (tst-mbrtowc-ENV): Likewise.
30302         (tst-wcrtomb-ENV): Likewise.
30303         (tst-mbrtowc2-ENV): Likewise.
30304         (tst-c16c32-1-ENV): Likewise.
30305         (tst-mbsnrtowcs-ENV): Likewise.
30307 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30309         * manual/resource.texi (How to get information about the memory
30310         subsystem?): Fix typo.
30311         Reported by Peon de la Parra Ivan <peon@keba.com>
30313 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30315         [BZ #16882]
30316         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30317         (pthread_spin_lock): Branch out of spin loop to proper location.
30318         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30319         (pthread_spin_lock): Likewise.
30321         * nptl/tst-spin4.c: New test.
30322         * nptl/Makefile (tests): Add tst-spin4.
30324 2014-06-03  Andreas Schwab  <schwab@suse.de>
30326         [BZ #15946]
30327         * resolv/res_send.c (send_dg): Reload file descriptor after
30328         calling reopen.
30330 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30332         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30334 2014-06-03  Richard Henderson  <rth@redhat.com>
30336         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30337         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30338         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30339         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30340         in the SAVE_PID block.
30341         (__libc_vfork): New alias.
30342         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30344         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30345         child in registers, not on the stack.  Remove RESET_PID conditionals.
30346         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30348 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30350         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30352 2014-06-03  Wilco  <wdijkstr@arm.com>
30354         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30355         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30356         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30357         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30358         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30359         Likewise.
30361 2014-06-03  Wilco  <wdijkstr@arm.com>
30363         * sysdeps/aarch64/fpu/math_private.h
30364         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30365         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30366         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30367         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30368         Fix declarations.
30370 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30372         * crypt/crypt-private.h: Include ufc-crypt.h.
30373         (__b64_from_24bit): Declare extern.
30374         * crypt/crypt_util.c(__b64_from_24bit): New function.
30375         (b64t): New static const variable.
30376         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30377         (b64t): Remove variable.
30378         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30379         * crypt/sha256-crypt.c: Include crypt-private.h.
30380         (b64t): Remove variable.
30381         (__sha256_crypt_r): Remove b64_from_24bit and replace
30382         with __b64_from_24bit.
30383         * crypt/sha512-crypt.c: Likewise.
30385 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30387         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30388         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30389         Label the code __libc_vfork rather than __vfork.
30390         [!NOT_IN_libc] (vfork): Define as weak alias.
30391         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30392         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30393         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30395 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30397         * malloc/malloc.c (malloc_info): Fix format specifier for
30398         n_mmaps.
30400 2014-06-02  Wilco  <wdijkstr@arm.com>
30402         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30403         FPCR write.
30405 2014-06-02  Wilco  <wdijkstr@arm.com>
30407         [BZ #17009]
30408         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30409         Rewrite to reduce FPCR/FPSR accesses.
30411 2014-06-01  David S. Miller  <davem@davemloft.net>
30413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30415 2014-05-31  David S. Miller  <davem@davemloft.net>
30417         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30418         to occur in round to nearest mode when |x| >= 2.0
30420 2014-05-30  Richard Henderson  <rth@twiddle.net>
30422         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30423         (PSEUDO_RET_NOERRNO): Remove.
30424         (ret): Don't redefine.
30425         (ret_NOERRNO): Define in terms of ret.
30426         (ret_ERRVAL): Likewise.
30428         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30429         use of PSEUDO_RET; perform the error check directly.
30431 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30433         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30434         with __int128_t.
30436 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30438         * malloc/malloc (malloc_info): Fix formatting.
30440 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30441             Roland McGrath  <roland@hack.frob.com>
30443         * malloc/malloc (malloc_info): Also print mmapped statistics.
30445 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30447         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30448         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30450 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30452         * malloc/malloc.c (malloc_info): Inline mi_arena.
30454 2014-05-29  Richard Henderson  <rth@twiddle.net>
30456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30457         Remove comma before expanding ASM_ARGS_##nr.
30458         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30459         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30460         of ASM_ARGS_##nr.
30461         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30462         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30463         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30464         (ASM_ARGS_1): Add leading comma.
30466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30467         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30468         to __errno_location.
30469         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30470         Remove the expected plt for __errno_location.
30472         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30473         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30474         call to __read_tp.
30476         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30477         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30478         it and break it down.
30479         (DOCARGS_0, DOCARGS_1): Do nothing.
30480         (DOCARGS_2): Update to store into the new stack frame.
30481         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30482         (UNDOCARGS_1): Update to restore from the new stack frame.
30483         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30484         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30487         (SINGLE_THREAD_P): New parameter for result regno.
30488         (PSEUDO): Update to match; use cbz instead of beq.
30490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30491         Use ENTRY to define the _nocancel entry point.  Share the syscall
30492         and syscall error check paths with the cancel path.
30493         (PSEUDO_END): New.
30495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30496         whitespace; tabs before and after asm mnemonics.
30498 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30500         [BZ #15132]
30501         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30502         Call fstat64 or stat64 internally, depending on arguments passed.
30503         Replace stat buffer argument with file descriptor argument.
30504         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30505         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30506         Pass fd to __internal_statvfs instead of calling fstat64.
30507         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30508         Pass fd to __internal_statvfs64 instead of calling fstat64.
30509         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30510         Pass -1 to __internal_statvfs instead of calling stat64.
30511         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30512         Pass -1 to __internal_statvfs64 instead of calling stat64.
30514 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30516         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30517         that was previously under [RESET_PID].
30518         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30520         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30521         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30523 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30525         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30527         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30528         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30530 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30532         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30534 2014-05-27  Andreas Schwab  <schwab@suse.de>
30536         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30537         TLS_INIT_TP macro.
30538         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30539         * elf/rtld.c (init_tls, dl_main): Likewise.
30540         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30541         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30542         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30543         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30544         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30545         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30546         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30547         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30548         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30549         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30550         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30551         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30552         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30553         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30554         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30555         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30556         * sysdeps/generic/tls.h: Update description.
30558 2014-05-27  Will Newton  <will.newton@linaro.org>
30560         [BZ #16990]
30561         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30562         and restore r2 rather than just restoring.
30564 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30566         [BZ #16724]
30567         * libio/tst-ftell-append.c: New test case.
30568         * libio/Makefile (tests): Add test case.
30569         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30570         append mode.
30571         * libio/wfileops.c (do_ftell_wide): Likewise.
30573 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30577         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30578         ...
30579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30581         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30582         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30583         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30584         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30585         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30586         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30588         Moved ...
30589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30591         Moved ...
30592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30593         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30594         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30595         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30596         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30598         ...
30599         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30601         Moved ...
30602         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30603         here.
30604         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30605         ...
30606         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30607         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30608         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30611         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30612         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30613         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30615         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30616         merge into ...
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30619         ...
30620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30621         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30622         ...
30623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30625         Moved ...
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30627         here.
30628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30629         Moved ...
30630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30632         Moved ...
30633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30636         conditional [RESET_PID].
30637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30639         removed.
30640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30641         removed.
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30644         <tcb-offsets.h>.
30645         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30646         (__libc_vfork): New strong alias.
30647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30648         removed.
30649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30650         Removed.
30652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30653         <tcb-offsets.h>.
30654         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30655         (__libc_vfork): New strong alias.
30656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30657         removed.
30658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30659         removed.
30661 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30663         * malloc/malloc.c (mi_arena): New function.
30664         (malloc_info): Remove nested function mi_arena. Call non-nosted
30665         function mi_arena.
30667 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30670         by insrwi.
30671         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30672         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30673         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30674         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30675         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30676         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30677         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30679 2014-05-26  Andreas Schwab  <schwab@suse.de>
30681         [BZ #16984]
30682         * locale/programs/repertoire.c (repertoire_read): Add slash
30683         between I18NPATH element and file name.
30684         * locale/programs/locfile.c (locfile_read): Likewise.
30686 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30688         * nptl/pthread_mutexattr_settype.c
30689         (__pthread_mutexattr_settype):
30690         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30692 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30694         * nptl/tst-mutex5 (do_test):
30695         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30697 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30699         * benchtests/README: Document 'init' directive.
30700         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30701         BENCH_INIT.
30702         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30703         (parse_file): Recognize 'init' directive.
30705 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30707         [BZ #16796]
30708         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30709         alignment of struct pthread.
30711 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30713         [BZ #16878]
30714         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30715         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30716         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30717         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30719 2014-05-25  Richard Henderson  <rth@twiddle.net>
30721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30722         (SINGLE_THREAD_P_PIC): Remove.
30723         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30724         (SINGLE_THREAD_P_PIC): Remove.
30726         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30727         branch to syscall error ...
30728         (PSEUDO): ... here.
30729         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30730         from __local_syscall_error to .Lsyscall_error.
30731         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30732         (SYSCALL_ERROR): Update label name.
30734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30735         Do not use DOARGS/UNDOARGS.
30736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30737         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30738         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30739         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30740         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30742         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30743         block comment.
30745         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30746         define if !NOT_IN_libc.
30747         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30748         define with non-default symbol versions.
30750 2014-05-23  Richard Henderson  <rth@twiddle.net>
30752         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30753         (vfork, __vfork): Define via compat_symbol.
30755         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30756         [!HAVE_IFUNC] (vfork_compat): Remove.
30757         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30759 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30761         [BZ #16978]
30762         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30763         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30764         variable.
30766 2014-05-23  Richard Henderson  <rth@twiddle.net>
30768         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30769         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30770         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30771         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30773         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30774         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30775         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30776         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30777         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30778         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30779         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30780         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30781         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30782         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30783         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30784         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30785         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30786         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30787         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30788         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30789         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30790         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30791         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30792         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30793         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30794         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30795         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30796         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30797         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30798         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30799         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30800         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30801         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30802         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30803         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30804         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30805         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30806         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30807         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30808         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30809         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30812         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30813         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30814         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30815         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30816         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30817         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30818         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30819         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30820         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30821         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30822         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30823         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30824         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30825         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30826         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30827         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30828         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30830         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30831         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30832         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30833         before exiting on error.
30834         (__libc_vfork): New strong alias.
30835         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30836         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30838         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30839         that was previously under [RESET_PID].
30840         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30842         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30844 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30846         [BZ #16977]
30847         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30848         value when x - 1 is zero.
30849         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30850         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30851         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30852         0.0L for an argument of 1.0L.
30853         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30854         Likewise.
30855         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30856         value when x - 1 is zero.
30857         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30858         * sysdeps/i386/fpu/libm-test-ulps: Update.
30859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30861 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30863         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30864         alphasort and versionsort.
30866 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30868         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30869         macro.
30870         [copysignf]: Likewise.
30872 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30874         * crypt/md5-crypt.c: Fix formatting.
30876 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30878         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30879         (b64_from_24bit): New function.
30881 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30883         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30884         libc_hidden_builtin_def to ifunc.
30885         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30886         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30888 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30890         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30891         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30893 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30895         * nscd/Depend (linuxthreads): Remove.
30896         (nptl): Add.
30897         * resolv/Depend (linuxthreads): Remove.
30898         * rt/Depend (linuxthreads): Remove.
30900         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30901         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30902         $(common-objpfx)elf/.
30903         (link-libc-before-gnulib): Likewise.
30904         (elfobjdir): Remove variable.
30905         * Makefile (install): Use $(elf-objpfx) instead of
30906         $(common-objpfx)elf/.
30907         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30908         $(elfobjdir)/.
30909         (link-libc-deps): Likewise.
30910         ($(common-objpfx)libc.so): Likewise.
30911         ($(common-objpfx)linkobj/libc.so): Likewise.
30912         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30913         instead of $(common-objpfx)elf/.
30914         (symbolic-link-list): Likewise.
30915         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30916         [$(cross-compiling) = no]: Likewise.
30917         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30918         $(elfobjdir)/.
30919         (static-gnulib-arch): Likewise.
30920         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30921         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30922         $(common-objpfx)elf/.
30924 2014-05-21  Richard Henderson  <rth@redhat.com>
30926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30927         (SINGLE_THREAD_P): Use the correct width load.  Fold
30928         into the ldr offset.
30930         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30931         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30933 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30935         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30936         (libgcc_s_resume): Use __attribute_used__.
30937         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30938         Likewise.
30940 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30942         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30943         optimization when used with float constants.
30945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30947 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30949         [BZ #16915]
30950         * locale/nl_langinfo_l.c: Make direct reference to every
30951         _nl_current_CATEGORY symbol.
30952         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30953         (tests-static): Add tst-langinfo-static.
30954         (tests-special): Add tst-langinfo-static.out.
30955         ($(objpfx)tst-langinfo.out): Redirect output.
30956         ($(objpfx)tst-langinfo-static.out): New.
30957         * localedata/tst-langinfo.sh: Send output to stdout.
30958         * localedata/tst-langinfo-static.c: New file.
30960         [BZ #16965]
30961         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30962         when the shift amount is modulo the limb size.
30964 2014-05-20  Richard Henderson  <rth@redhat.com>
30966         [BZ #16967]
30967         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30968         Change type of sa_flags from unsigned int to int.
30970         [BZ #16966]
30971         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30973         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30975 2014-05-20  Will Newton  <will.newton@linaro.org>
30977         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30978         Test the return value of the system call in the nocancel case.
30980 2014-05-20  Will Newton  <will.newton@linaro.org>
30981             Yvan Roux  <yvan.roux@linaro.org>
30983         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30984         #include of asm/ptrace.h.
30985         (PTRACE_GET_THREAD_AREA): Remove #undef.
30986         (PTRACE_GETHBPREGS): Likewise.
30987         (PTRACE_SETHBPREGS): Likewise.
30988         (struct user_regs_struct): New structure.
30989         (struct user_fpsimd_struct): New structure.
30990         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30991         #include of asm/ptrace.h and second #include of sys/user.h.
30992         (PTRACE_GET_THREAD_AREA): Remove #undef.
30993         (PTRACE_GETHBPREGS): Likewise.
30994         (PTRACE_SETHBPREGS): Likewise.
30995         (ELF_NGREG): Use new struct user_regs_struct.
30996         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30998 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31003 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31005         [BZ #16958]
31006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31007         membar to avoid block loads/stores to overlap previous stores.
31009 2014-05-17  Richard Henderson  <rth@redhat.com>
31011         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31012         Create the __##syscall_name##_nocancel entry point.
31013         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31014         Remove; let the sysdep-cancel.h code create it.
31016 2014-05-17  David S. Miller  <davem@davemloft.net>
31018         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31019         Protect with __USE_GNU.
31020         (TIOCSET_TEMPT): Likewise.
31021         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31022         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31023         these are already provided in bits/ioctl-types.h
31025 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31027         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31028         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31030         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31031         Use wait4 regardless of [__NR_waitpid].
31033 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31035         PR libgcc/60166
31036         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31037         (_FP_NANSIGN_Q): Set the quiet bit.
31039 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31041         * benchtests/Makefile
31042         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31043         not $(common-objpfx)math/libm.so.
31044         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31045         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31046         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31047         $(common-objpfx)dlfcn/libdl.so.
31048         ($(objpfx)tst-audit8): Depend on $(libm), not
31049         $(common-objpfx)math/libm.so.
31050         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31051         not $(common-objpfx)dlfcn/libdl.so.
31052         * math/Makefile
31053         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31054         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31055         [$(build-shared) = yes].
31056         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31057         $(common-objpfx)nptl/libpthread.so.
31058         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31059         $(common-objpfx)math/libm.so$(libm.so-version) or
31060         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31061         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31062         $(common-objpfx)dlfcn/libdl.so.
31063         * setjmp/Makefile (link-libm): Remove variable.
31064         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31065         * stdio-common/Makefile (link-libm): Remove variable.
31066         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31067         * stdlib/Makefile (link-libm): Remove variable.
31068         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31069         ($(objpfx)tst-strtod-round): Likewise.
31070         ($(objpfx)tst-tininess): Likewise.
31071         ($(objpfx)tst-strtod-underflow): Likewise.
31072         ($(objpfx)tst-strtod6): Likewise.
31073         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31074         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31075         $(common-objpfx)dlfcn/libdl.so.
31077 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31079         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31080         BSD terminal modes definitions.
31082 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31084         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31085         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31087         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31088         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31089         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31090         Don't do #include_next.
31091         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31092         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31093         Don't do #include_next.
31094         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31095         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31096         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31097         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31099 2014-05-16  Allan McRae  <allan@archlinux.org>
31101         * po/sv.po: Update Swedish translation from translation project.
31103         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31104         in sed expression.
31106 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31108         [BZ #16917]
31109         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31110         errno if the TIOCGPTN ioctl fails with an error different than
31111         EINVAL.
31112         * login/tst-ptsname.c: New file.
31113         * login/Makefile (tests): Add tst-ptsname.
31115         [BZ #16943]
31116         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31117         and prlimit64.
31119 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31121         [BZ #16849]
31122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31123         herrno to return EAI_AGAIN.
31125 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31127         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31128         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31129         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31130         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31131         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31132         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31133         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31134         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31135         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31136         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31138         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31139         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31140         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31141         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31142         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31143         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31144         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31146         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31147         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31148         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31149         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31150         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31156         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31158         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31165         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31167         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31169         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31171         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31175         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31187         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31191         Moved ...
31192         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31194         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31196         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31198         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31200         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31202         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31204         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31206         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31210         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31211         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31212         Moved ...
31213         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31215         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31217         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31218         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31219         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31220         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31221         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31222         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31223         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31224         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31225         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31226         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31227         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31228         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31229         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31230         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31231         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31232         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31233         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31234         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31235         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31236         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31237         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31238         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31239         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31240         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31241         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31242         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31243         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31244         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31245         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31246         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31247         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31249         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31250         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31252         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31253         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31254         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31255         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31256         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31257         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31258         Moved ...
31259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31260         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31261         Moved ...
31262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31263         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31264         Moved ...
31265         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31266         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31267         Moved ...
31268         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31269         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31270         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31271         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31272         Moved ...
31273         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31274         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31275         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31277         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31278         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31279         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31281         Moved ...
31282         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31283         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31284         Moved ...
31285         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31286         ... here.
31287         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31288         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31289         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31290         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31291         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31292         Moved ...
31293         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31294         ... here.
31295         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31296         Moved ...
31297         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31299         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31300         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31301         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31302         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31303         Moved ...
31304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31305         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31306         Moved ...
31307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31308         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31309         Moved ...
31310         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31312         Moved ...
31313         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31314         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31315         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31316         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31317         Moved ...
31318         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31320         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31322         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31324         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31326         Moved ...
31327         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31328         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31329         Moved ...
31330         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31331         ... here.
31332         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31333         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31335         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31337         Moved ...
31338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31339         ... here.
31340         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31341         Moved ...
31342         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31343         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31344         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31345         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31346         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31348         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31349         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31350         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31351         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31352         Moved ...
31353         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31354         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31355         Moved ...
31356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31358         Moved ...
31359         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31361         Moved ...
31362         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31363         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31364         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31365         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31366         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31368         Moved ...
31369         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31370         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31371         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31372         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31373         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31375         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31377         Moved ...
31378         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31379         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31380         Moved ...
31381         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31382         ... here.
31383         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31384         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31385         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31386         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31388         Moved ...
31389         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31390         ... here.
31391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31395         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31397         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31398         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31399         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31401         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31402         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31403         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31405         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31406         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31408         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31409         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31411         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31412         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31413         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31415         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31416         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31417         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31418         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31419         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31421         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31422         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31424         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31425         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31427         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31428         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31429         Moved ...
31430         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31431         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31432         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31434         Moved ...
31435         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31439         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31441         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31442         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31443         Moved ...
31444         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31446         Moved ...
31447         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31448         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31449         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31450         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31451         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31453         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31455         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31457         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31458         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31459         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31461         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31463         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31465         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31466         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31467         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31468         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31469         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31471         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31472         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31474         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31475         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31476         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31477         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31478         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31479         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31480         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31482         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31485         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31486         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31488         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31490         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31491         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31492         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31493         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31494         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31495         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31496         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31497         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31498         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31500         Update #include.
31501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31502         Likewise.
31503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31504         Likewise.
31505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31506         Likewise.
31507         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31508         Likewise.
31509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31510         Likewise.
31511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31512         Likewise.
31513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31514         Likewise.
31515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31516         Likewise.
31517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31518         Likewise.
31519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31522         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31523         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31524         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31525         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31526         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31527         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31528         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31529         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31530         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31531         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31532         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31533         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31535         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31536         that was previously under [RESET_PID].
31537         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31538         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31539         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31541         * sysdeps/i386/nptl/Implies: New file.
31542         * sysdeps/x86_64/nptl/Implies: New file.
31543         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31544         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31545         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31546         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31548         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31549         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31550         (__libc_vfork): New strong alias.
31551         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31552         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31554         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31555         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31556         (__libc_vfork): New strong alias.
31557         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31558         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31560         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31561         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31562         (__libc_vfork): New strong alias.
31563         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31564         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31565         * nptl/pt-vfork.c: New file.
31566         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31567         (libpthread: GLIBC_2.20): New version set (empty).
31569 2014-05-14  Will Newton  <will.newton@linaro.org>
31571         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31572         rather than #if.
31574 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31576         [BZ #16564]
31577         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31578         arguments with exponent 65 or above.
31579         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31580         arguments 0x1p113L or above.
31581         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31582         to arguments 0x1p107L or above.
31583         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31584         positive arguments with exponent 65 or above.
31585         * math/auto-libm-test-in: Add more tests of log1p.
31586         * math/auto-libm-test-out: Regenerated.
31588         [BZ #16928]
31589         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31590         non-finite arguments is +0.
31591         * math/s_cacosf.c (__cacosf): Likewise.
31592         * math/s_cacosl.c (__cacosl): Likewise.
31593         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31594         * sysdeps/i386/fpu/libm-test-ulps: Update.
31595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31597         [BZ #16927]
31598         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31599         value.
31600         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31601         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31602         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31603         for explicit high bit of mantissa when testing for argument equal
31604         to 1.
31605         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31606         * sysdeps/i386/fpu/libm-test-ulps: Update.
31607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31609         [BZ #16516]
31610         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31611         (__erf): Scale by 16 instead of 8 in potentially underflowing
31612         case.  Ensure exception if result actually underflows.
31613         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31614         (__erff): Scale by 16 instead of 8 in potentially underflowing
31615         case.  Ensure exception if result actually underflows.
31616         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31617         (efx8): Remove variable.
31618         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31619         case.  Ensure exception if result actually underflows.
31620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31621         (efx8): Remove variable.
31622         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31623         case.  Ensure exception if result actually underflows.
31624         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31625         (efx8): Remove variable.
31626         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31627         case.  Ensure exception if result actually underflows.
31628         * math/auto-libm-test-in: Add more tests of erf.
31629         * math/auto-libm-test-out: Regenerated.
31631 2014-05-14  Andreas Schwab  <schwab@suse.de>
31633         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31634         Remove code conditionalized on USE___THREAD.
31636         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31637         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31638         not definedness.
31640 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31643         Define unconditionally.
31644         (__ASSUME_O_CLOEXEC): Likewise.
31645         (__ASSUME_SOCK_CLOEXEC): Likewise.
31646         (__ASSUME_IN_NONBLOCK): Likewise.
31647         (__ASSUME_PIPE2): Likewise.
31648         (__ASSUME_EVENTFD2): Likewise.
31649         (__ASSUME_SIGNALFD4): Likewise.
31650         (__ASSUME_DUP3): Likewise.
31651         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31652         (__ASSUME_DUP3): Do not define.
31653         (__ASSUME_EVENTFD2): Likewise.
31654         (__ASSUME_IN_NONBLOCK): Likewise.
31655         (__ASSUME_O_CLOEXEC): Likewise.
31656         (__ASSUME_PIPE2): Likewise.
31657         (__ASSUME_SIGNALFD4): Likewise.
31658         (__ASSUME_SOCK_CLOEXEC): Likewise.
31659         (__ASSUME_UTIMES): Undefine.
31660         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31661         (__ASSUME_UTIMES): Do not define.
31662         (__ASSUME_O_CLOEXEC): Likewise.
31663         (__ASSUME_SOCK_CLOEXEC): Likewise.
31664         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31665         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31666         0x020621].
31667         (__ASSUME_PIPE2): Likewise.
31668         (__ASSUME_EVENTFD2): Likewise.
31669         (__ASSUME_SIGNALFD4): Likewise.
31670         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31671         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31672         Do not define.
31673         (__ASSUME_EVENTFD2): Likewise.
31674         (__ASSUME_SIGNALFD4): Likewise.
31675         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31676         (__ASSUME_32BITUIDS): Likewise.
31677         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31678         (__ASSUME_IPC64): Likewise.
31679         (__ASSUME_ST_INO_64_BIT): Likewise.
31680         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31681         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31682         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31683         (__ASSUME_UTIMES): Do not define.
31684         (__ASSUME_PSELECT): Likewise.
31685         (__ASSUME_PPOLL): Likewise.
31686         (__ASSUME_O_CLOEXEC): Likewise.
31687         (__ASSUME_SOCK_CLOEXEC): Likewise.
31688         (__ASSUME_IN_NONBLOCK): Likewise.
31689         (__ASSUME_PIPE2): Likewise.
31690         (__ASSUME_EVENTFD2): Likewise.
31691         (__ASSUME_SIGNALFD4): Likewise.
31692         (__ASSUME_DUP3): Likewise.
31693         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31694         (__ASSUME_UTIMES): Likewise.
31695         (__ASSUME_O_CLOEXEC): Likewise.
31696         (__ASSUME_SOCK_CLOEXEC): Likewise.
31697         (__ASSUME_IN_NONBLOCK): Likewise.
31698         (__ASSUME_PIPE2): Likewise.
31699         (__ASSUME_EVENTFD2): Likewise.
31700         (__ASSUME_SIGNALFD4): Likewise.
31701         (__ASSUME_DUP3): Likewise.
31702         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31703         (__ASSUME_UTIMES): Likewise.
31704         (__ASSUME_O_CLOEXEC): Likewise.
31705         (__ASSUME_SOCK_CLOEXEC): Likewise.
31706         (__ASSUME_IN_NONBLOCK): Likewise.
31707         (__ASSUME_PIPE2): Likewise.
31708         (__ASSUME_EVENTFD2): Likewise.
31709         (__ASSUME_SIGNALFD4): Likewise.
31710         (__ASSUME_DUP3): Likewise.
31711         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31712         Likewise.
31713         (__ASSUME_UTIMES): Likewise.
31714         (__ASSUME_EVENTFD2): Likewise.
31715         (__ASSUME_SIGNALFD4): Likewise.
31716         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31717         (__ASSUME_O_CLOEXEC): Likewise.
31718         (__ASSUME_SOCK_CLOEXEC): Likewise.
31719         (__ASSUME_IN_NONBLOCK): Likewise.
31720         (__ASSUME_PIPE2): Likewise.
31721         (__ASSUME_EVENTFD2): Likewise.
31722         (__ASSUME_SIGNALFD4): Likewise.
31723         (__ASSUME_DUP3): Likewise.
31724         (__ASSUME_UTIMES): Undefine.
31726         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31727         feclearexcept.  Remove symbol versioning code.
31728         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31729         symbol versioning code.
31730         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31731         symbol versioning code.
31732         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31733         feupdateenv.  Remove symbol versioning code.
31734         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31735         fegetexceptflag.  Remove symbol versioning code.
31736         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31737         fesetexceptflag.  Remove symbol versioning code.
31738         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31739         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31740         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31741         (__posix_fadvise64_l32): Remove prototype.
31742         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31743         code.
31745 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31747         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31748         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31749         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31750         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31752 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31754         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31755         current working directory
31757 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31759         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31760         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31761         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31762         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31763         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31764         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31765         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31766         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31767         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31768         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31769         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31770         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31771         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31772         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31773         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31774         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31775         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31776         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31777         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31778         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31779         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31780         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31782         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31783         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31784         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31785         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31786         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31787         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31788         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31789         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31790         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31791         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31792         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31793         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31794         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31795         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31796         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31797         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31798         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31799         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31800         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31802         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31803         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31805         * sysdeps/unix/sysv/linux/arm/Makefile
31806         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31807         Add rt-aeabi_unwind_cpp_pr1.
31808         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31809         Add nptl-aeabi_unwind_cpp_pr1.
31810         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31811         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31812         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31813         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31814         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31815         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31817         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31818         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31819         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31820         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31822         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31823         Deconditionalize the code that was previously under [RESET_PID].
31824         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31826         * sysdeps/generic/exit-thread.h: New file.
31827         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31828         * include/unistd.h (__exit_thread): Remove declaration.
31829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31830         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31831         * csu/libc-start.c: Include <exit-thread.h>.
31832         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31833         * nptl/pthread_create.c: Include <exit-thread.h>.
31834         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31835         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31836         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31837         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31838         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31839         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31840         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31841         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31842         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31843         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31844         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31845         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31846         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31847         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31848         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31849         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31850         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31852 2014-05-13  Andreas Schwab  <schwab@suse.de>
31854         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31856 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31858         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31859         (__ASSUME_UTIMES): Do not condition on kernel version.
31860         (__ASSUME_PSELECT): Define unconditionally.
31861         (__ASSUME_PPOLL): Likewise.
31862         (__ASSUME_ATFCTS): Likewise.
31863         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31864         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31865         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31866         (__ASSUME_UTIMENSAT): Define unconditionally.
31867         (__ASSUME_PRIVATE_FUTEX): Likewise.
31868         (__ASSUME_FALLOCATE): Likewise.
31869         (__ASSUME_O_CLOEXEC): Likewise.
31870         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31871         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31872         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31873         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31874         (__ASSUME_IN_NONBLOCK): Likewise.
31875         (__ASSUME_PIPE2): Likewise.
31876         (__ASSUME_EVENTFD2): Likewise.
31877         (__ASSUME_SIGNALFD4): Likewise.
31878         (__ASSUME_DUP3): Likewise.
31879         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31880         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31881         (__ASSUME_AT_RANDOM): Likewise.
31882         (__ASSUME_PREADV): Likewise.
31883         (__ASSUME_PWRITEV): Likewise.
31884         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31885         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31886         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31887         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31888         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31889         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31890         (__ASSUME_O_CLOEXEC): Define unconditionally.
31891         (__ASSUME_PSELECT): Do not undefine conditionally.
31892         (__ASSUME_PPOLL): Likewise.
31893         (__ASSUME_ATFCTS): Likewise.
31894         (__ASSUME_SET_ROBUST_LIST): Likewise.
31895         (__ASSUME_UTIMENSAT): Likewise.
31896         (__ASSUME_FDATASYNC): Define unconditionally.
31897         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31898         (__ASSUME_SIGFRAME_V2): Likewise.
31899         )__ASSUME_EVENTFD2): Likewise.
31900         (__ASSUME_SIGNALFD4): Likewise.
31901         (__ASSUME_PSELECT): Do not undefine conditionally.
31902         (__ASSUME_PPOLL): Likewise.
31903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31904         (__ASSUME_PSELECT): Define unconditionally.
31905         (__ASSUME_PPOLL): Likewise.
31906         (__ASSUME_O_CLOEXEC): Likewise.
31907         (__ASSUME_SOCK_CLOEXEC): Likewise.
31908         (__ASSUME_IN_NONBLOCK): Likewise.
31909         (__ASSUME_PIPE2): Likewise.
31910         (__ASSUME_EVENTFD2): Likewise.
31911         (__ASSUME_SIGNALFD4): Likewise.
31912         (__ASSUME_DUP3): Likewise.
31913         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31914         (__ASSUME_O_CLOEXEC): Likewise.
31915         (__ASSUME_SOCK_CLOEXEC): Likewise.
31916         (__ASSUME_IN_NONBLOCK): Likewise.
31917         (__ASSUME_PIPE2): Likewise.
31918         (__ASSUME_EVENTFD2): Likewise.
31919         (__ASSUME_SIGNALFD4): Likewise.
31920         (__ASSUME_DUP3): Likewise.
31921         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31922         (__ASSUME_EVENTFD2): Likewise.
31923         (__ASSUME_SIGNALFD4): Likewise.
31924         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31926 2014-05-12  Andreas Schwab  <schwab@suse.de>
31928         [BZ #16932]
31929         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31930         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31931         than maximum RPC packet size.
31932         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31933         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31934         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31935         (_nss_nis_getservbyport_r): Likewise.
31937 2014-05-12  Will Newton  <will.newton@linaro.org>
31939         * malloc/Makefile (tests): Add tst-mallopt.
31940         * malloc/tst-mallopt.c: New file.
31942 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31944         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31945         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31947 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31949         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31950         (tst-tlsmod6.so): Likewise.
31952 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31954         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31956 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31958         [BZ #16064]
31959         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31960         and <dl-procinfo.h>.
31961         (__fegetenv): Save SSE state in envp->__eip if supported.
31962         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31963         envp->__eip if supported.
31964         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31965         and <dl-procinfo.h>.
31966         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31967         __data_offset and __data_selector in environment to 0.  Set SSE
31968         state if supported.
31969         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31970         test-fenv-sse.
31971         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31972         -mfpmath=sse.
31973         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31975 2014-05-09  Will Newton  <will.newton@linaro.org>
31977         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31978         and libc_relro_required for ARM.
31979         * sysdeps/arm/preconfigure: Regenerate.
31981 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31982             Stefan Liebler  <stli@linux.vnet.ibm.com>
31984         * config.make.in (enable-lock-elision): New Makefile variable.
31985         * configure.ac: Likewise.
31986         * configure: Regenerate.
31987         * sysdeps/s390/configure.ac:
31988         Add check for gcc transactions support.
31989         * sysdeps/s390/configure: Regenerate.
31990         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31991         Build elision files if enabled.
31992         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31993         Add lock elision support for s390.
31994         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31995         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31996         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31997         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31998         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31999         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32000         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32001         Likewise.
32002         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32003         Likewise.
32004         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32005         Likewise.
32006         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32007         Likewise.
32008         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32009         (__lll_timedlock_elision, __lll_lock_elision)
32010         (__lll_unlock_elision, __lll_trylock_elision)
32011         (lll_timedlock_elision, lll_lock_elision)
32012         (lll_unlock_elision, lll_trylock_elision): Add.
32013         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32014         (pthread_mutex_t): Add lock elision support for s390.
32016 2014-05-14  Wilco  <wdijkstr@arm.com>
32018         * sysdeps/arm/fclrexcpt.c: Cleanup.
32019         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32020         * sysdeps/arm/feenablxcpt.c: Cleanup.
32021         * sysdeps/arm/fegetenv.c: Cleanup.
32022         * sysdeps/arm/fegetexcept.c: Cleanup.
32023         * sysdeps/arm/fegetround.c: Cleanup.
32024         * sysdeps/arm/feholdexcpt.c: Cleanup.
32025         * sysdeps/arm/fesetenv.c: Cleanup.
32026         * sysdeps/arm/fesetround.c: Cleanup.
32027         * sysdeps/arm/feupdateenv.c: Cleanup.
32028         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32029         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32030         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32031         * sysdeps/arm/ftestexcept.c: Cleanup.
32032         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32033         * sysdeps/arm/setfpucw.c: Cleanup.
32035 2014-05-09  Will Newton  <will.newton@linaro.org>
32037         * sysdeps/arm/armv7/strcmp.S: New file.
32038         * NEWS: Mention addition of ARMv7 optimized strcmp.
32040 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32042         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32043         look for %.ac rather than %.in.
32045         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32046         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32047         * sysdeps/mach/hurd/configure: Regenerated.
32048         * sysdeps/unix/sysv/linux/configure: Regenerated.
32050         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32052 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32054         [BZ# 16922]
32055         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32056         (LONG_SUB): Ditto.
32057         (PTR_SUB): Ditto.
32059 2014-05-07  Andreas Schwab  <schwab@suse.de>
32061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32062         when skipping over non-matching result from nscd.
32064 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32066         [BZ #16876]
32067         * nptl/sockperf.c (client): Check socket return value.
32069         [BZ #16877]
32070         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32071         nscd security class.
32073 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32075         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32076         * sysdeps/arm/unwind.h: ... here.
32078 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32080         [BZ# 16916]
32081         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32082         Define.
32084 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32086         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32087         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32088         multiarch strncpy for PPC64.
32089         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32090         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32092         multiarch optimizations.
32093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32094         (__libc_ifunc_impl_list): Likewise.
32095         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32096         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32097         multiarch stpncpy for PPC64.
32098         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32099         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32101 2014-05-06  Andreas Schwab  <schwab@suse.de>
32103         [BZ #16912]
32104         * gmon/mcount.c (_MCOUNT_DECL): Use
32105         atomic_compare_and_exchange_bool_acq instead of
32106         catomic_compare_and_exchange_bool_acq.
32108 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32110         * elf/Makefile (others, install-bin): Remove pldd.
32111         (pldd-modules): Variable removed.
32112         ($(objpfx)pldd): Target removed.
32113         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32114         (others, install-bin): Append pldd here.
32115         ($(objpfx)pldd): New target.
32117         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32118         to 0, so the first #if test emitted later doesn't see it undefined.
32119         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32120         * sysdeps/gnu/errlist.c: Regenerated.
32122 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32125         [libc_hidden_builtin_def]: Define to empty value.
32126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32127         [libc_hidden_builtin_def]: Likewise.
32128         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32129         [libc_hidden_builtin_def]: Likewise.
32130         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32131         [libc_hidden_builtin_def]: Likewise.
32132         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32133         __redirect_memcpy and define ifunc as default hidden symbol.
32134         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32135         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32137 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32139         * locale/iso-4217.def: Reintroduce XDR currency.
32141 2014-05-04  Allan McRae  <allan@archlinux.org>
32143         * po/eo.po: Update Esperanto translation from translation project.
32145 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32147         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32148         and FEATURE_INDEX_MAX to 1.
32149         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32151 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32153         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32154         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32155         * iconvdata/big5.c (ONE_DIRECTION): Define.
32156         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32157         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32158         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32159         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32160         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32161         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32162         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32163         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32164         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32165         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32166         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32167         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32168         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32169         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32170         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32171         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32172         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32173         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32174         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32175         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32176         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32177         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32178         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32179         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32180         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32181         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32182         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32183         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32184         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32185         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32186         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32187         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32188         * iconvdata/johab.c (ONE_DIRECTION): Define.
32189         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32190         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32191         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32192         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32193         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32194         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32195         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32196         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32197         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32198         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32200 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32202         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32203         (_IO_JUMPS_OFFSET): Define to 0.
32205         * nptl/sysdeps/pthread/bits/libc-lock.h
32206         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32207         (__libc_lock_define_initialized_recursive): Always define using
32208         initializer.  Modern compilers treat uninitialized (implicit zero) and
32209         explicit zero initializers the same (i.e. put the datum in bss).
32211 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32213         * nscd/nscd-client.h: Include <string.h>.
32215 2014-05-01  David S. Miller  <davem@davemloft.net>
32217         [BZ #16885]
32218         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32219         multiple zero bytes exist at the end of a string.
32220         Reported by Aurelien Jarno <aurelien@aurel32.net>
32222         * string/test-strcmp.c (check): Add explicit test for situations where
32223         there are multiple zero bytes after the first.
32225 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32227         [BZ #16890]
32228         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32229         when compiling wprintf.
32230         * stdio-common/tstdiomisc.c (t3): New function.
32231         (main): Call it.
32233 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32235         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32236         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32237         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32238         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32240 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32242         * stdlib/longlong.h: Updated from GCC.
32244 2014-05-01  Will Newton  <will.newton@linaro.org>
32245             Bernard Ogden  <bernie.ogden@linaro.org>
32247         * NEWS: Update fixed bug list.
32249         [BZ #15119]
32250         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32252 2014-04-30  David S. Miller  <davem@davemloft.net>
32254         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32255         (libc_feholdexcept_setround_sparc_ctx): New function.
32256         (libc_fesetenv_sparc_ctx): Likewise.
32257         (libc_feupdateenv_sparc_ctx): Likewise.
32258         (libc_feholdsetround_sparc_ctx): Likewise.
32259         (libc_feholdexcept_setround_ctx): Define.
32260         (libc_feholdexcept_setroundf_ctx): Likewise.
32261         (libc_feholdexcept_setroundl_ctx): Likewise.
32262         (libc_fesetenv_ctx): Likewise.
32263         (libc_fesetenvf_ctx): Likewise.
32264         (libc_fesetenvl_ctx): Likewise.
32265         (libc_feupdateenv_ctx): Likewise.
32266         (libc_feupdateenvf_ctx): Likewise.
32267         (libc_feupdateenvl_ctx): Likewise.
32268         (libc_feresetround_ctx): Likewise.
32269         (libc_feresetroundf_ctx): Likewise.
32270         (libc_feresetroundl_ctx): Likewise.
32271         (libc_feholdsetround_ctx): Likewise.
32272         (libc_feholdsetroundf_ctx): Likewise.
32273         (libc_feholdsetroundl_ctx): Likewise.
32275         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32276         with __USE_GNU instead of XOPEN cpp guards.
32278         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32279         0.
32281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32282         with XOPEN cpp guards.
32284 2014-04-30  Julian Brown  <julian@codesourcery.com>
32286         [BZ #16888]
32287         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32288         handling.
32290 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32292         [BZ #9894]
32293         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32294         Change to 2.6.32.
32295         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32296         * sysdeps/unix/sysv/linux/configure: Regenerated.
32297         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32298         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32299         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32300         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32301         * README: Update reference to required Linux kernel version.
32302         * manual/install.texi (Linux): Update reference to required Linux
32303         kernel headers version.
32304         * INSTALL: Regenerated.
32306         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32307         header inclusion.
32308         [POSIX] (limits.h): Likewise.
32309         [POSIX] (math.h): Likewise.
32310         [POSIX] (sys/wait.h): Likewise.
32311         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32312         function.
32313         [POSIX] (stddef.h): Do not allow header inclusion.
32315 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32317         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32319 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32321         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32322         Return immediately after lll_futex_wake.
32324 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         [BZ #16791]
32327         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32328         structure.
32329         (datahead_init_pos): Call datahead_init_common early.
32330         (datahead_init_neg): Likewise.
32332         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32333         datahead_init_neg): New functions.
32334         * nscd/aicache.c (addhstaiX): Use them.
32335         * nscd/grpcache.c (cache_addgr): Likewise.
32336         * nscd/hstcache.c (cache_addhst): Likewise.
32337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32338         * nscd/netgroupcache.c (do_notfound): Likewise.
32339         (addgetnetgrentX): Likewise.
32340         (addinnetgrX): Likewise.
32341         * nscd/pwdcache.c (cache_addpw): Likewise.
32342         * nscd/servicescache.c (cache_addserv): Likewise.
32344 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32345             Atsushi Onoe  <atsushi@onoe.org>
32347         [BZ #14308]
32348         [BZ #12994]
32349         [BZ #13651]
32350         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32351         one response is valid.
32352         * resolv/res_send.c (send_dg): Check for validity of other
32353         response if the current response is a referral.
32355 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32357         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32359 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32361         [BZ #16823]
32362         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32363         Always divide by positive zero when computing -Inf result.
32364         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32365         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32367 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32369         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32370         FPSCR if value do not change.
32371         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32372         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32373         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32374         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32375         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32376         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32377         function.
32379 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32381         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32382         * sysdeps/unix/sysv/linux/hppa: Move directory from
32383         ports/systeps/unix/sysv/linux/hppa.
32384         * README: Update listing for hppa-*-linux-gnu.
32386 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32388         [BZ #16754]
32389         * manual/stdio.texi (Hook functions): Fix types of stream hook
32390         functions.
32391         [BZ #16854]
32392         * socket/sys/socket.h: Fix typo in comment.
32394 2014-04-28  Wilco  <wdijkstr@arm.com>
32396         * sysdeps/arm/fenv_private.h: New file.
32397         * sysdeps/arm/math_private.h: New file.
32398         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32400 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32402         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32403         with __int128_t.
32404         (La_x86_64_retval): Likewise.
32406 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32408         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32409         fpsr if value didn't change.
32410         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32411         to fpcr if value didn't change.
32412         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32413         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32414         fpsr or fpcr if value didn't change.
32415         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32416         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32417         fpcr if value didn't change.
32418         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32419         to fpsr if value didn't change.
32421 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32423         * nptl/tst-sem3.c: Use test-skeleton.c
32424         (main): Rename to do_test.  Use return instead of
32425         exit.
32426         * nptl/tst-sem4.c: Use test-skeleton.c
32427         (main): Rename to do_test.
32429 2014-04-22  David S. Miller  <davem@davemloft.net>
32431         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32432         (struct sigaction): New struct member __glibc_reserved0, change
32433         type of sa_flags to int.
32435 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32437         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32438         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32440 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32442         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32443         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32445 2014-04-22  Will Newton  <will.newton@linaro.org>
32446             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32448         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32449         (__longjmp): Add longjmp and longjmp_target SystemTap
32450         probes.
32451         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32452         (__sigsetjmp): Add setjmp SystemTap probe.
32454 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32456         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32457         match manual order.
32459 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32461         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32463         * sysdeps/powerpc/fpu/fenv_private.h
32464         (libc_feholdexcept_setroundl_ctx): Define to
32465         libc_feholdexcept_setround_ppc_ctx.
32466         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32467         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32468         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32469         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32471 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32473         * sysdeps/aarch64/math-tests.h: New file.
32475 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32477         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32478         New.
32479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32480         Check and set bit_AVX2_Usable.
32481         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32482         macro.
32483         (bit_AVX2): Likewise.
32484         (index_AVX2_Usable): Likewise.
32485         (CPUID_AVX2): Likewise.
32486         (HAS_AVX2): Likewise.
32488 2014-04-17  Will Newton  <will.newton@linaro.org>
32490         * manual/setjmp.texi (System V contexts): Add note that
32491         calling setcontext on a context created by a call to a
32492         signal handler is undefined.  Update text to note that
32493         setcontext from a signal handler is possible but not
32494         recommended.
32496         [BZ #16629]
32497         * stdlib/tst-setcontext.c: Include signal.h.
32498         (main): Check that the signal stack before and
32499         after swapcontext is the same.
32501         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32502         Re-implement to restore registers in user code and avoid
32503         rt_sigreturn system call.
32505 2014-04-17  Wilco  <wdijkstr@arm.com>
32507         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32508         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32509         * math/test-fenv.c: Skip exception trap tests on targets which only
32510         support non-stop mode.
32512 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32513             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32515         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32516         (libc_feholdsetround_aarch64_ctx)
32517         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32518         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32519         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32520         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32521         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32522         (libc_feresetround_noexl_ctx): Define.
32524 2014-04-16  Richard Henderson  <rth@redhat.com>
32526         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32528         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32529         unwind tables.
32531         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32532         const from the non-libc, non-ldso copy.
32534         * sysdeps/alpha/libm-test-ulps: Regenerate.
32536 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32537             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32539         * sysdeps/aarch64/fpu/math_private.h: New file.
32541 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32543         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32545 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32547         [BZ #16275]
32548         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32549         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32551         Intel MPX bound registers before _dl_profile_fixup.
32552         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32553         registers after _dl_profile_fixup.  Save and restore bound
32554         registers bnd0/bnd1 when calling _dl_call_pltexit.
32555         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32556         (LR_BND_OFFSET): Likewise.
32557         (LRV_BND0_OFFSET): Likewise.
32558         (LRV_BND1_OFFSET): Likewise.
32560 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32562         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32563         to...
32564         * sysdeps/mach/hurd/i386/tls.h: ... here.
32565         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32566         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32567         fields.
32569 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32571         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32573 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32575         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32577 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32579         [BZ #14770]
32580         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32581         * sysdeps/s390/configure: Regenerate.
32583         [BZ #16824]
32584         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32585         Set round-to-nearest internally to reduce error accumulation.
32587 2014-04-16  Alan Modra  <amodra@gmail.com>
32589         [BZ #16740]
32590         [BZ #16619]
32591         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32592         * math/libm-test.inc (frexp_test_data): Add tests.
32593         * NEWS: Update fixed bug list.
32595 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32597         * benchtests/Makefile: Depend on libraries in build directory.
32598         (bench-math): Separate out math tests.
32599         (bench-pthread): Separate out pthread tests.
32600         (bench): Include math and pthread tests.
32602 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32604         [BZ #16831]
32605         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32606         _dl_debug_initialize.
32608         * configure.ac: Remove SELinux header check.
32609         * configure: Regenerate.
32610         * nscd/selinux.c (perms): Array of const char* to permission names.
32611         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32612         default policy. Call string_to_security_class and string_to_av_perm to
32613         translate strings. Enforce default policy and call avs_has_perm with
32614         results of translated strings.
32616 2014-04-13  David S. Miller  <davem@davemloft.net>
32618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32620 2014-04-12  Allan McRae  <allan@archlinux.org>
32622         [BZ #16838]
32623         * manual/string.texi (Collation Functions): Fix qsort argument
32624         order in example.
32625         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32627 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32629         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32630         Make the test a no-op if there are no exceptions defined.
32632 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32634         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32635         enable-hardcoded-path-in-tests
32637 2014-04-11  Will Newton  <will.newton@linaro.org>
32639         * benchtests/Makefile (extra-objs): Add json-lib.o.
32640         (bench-func): Tidy up JSON output.
32641         * benchtests/bench-skeleton.c: Include json-lib.h.
32642         (main): Use JSON library functions to do output of
32643         benchmark results.
32644         * benchtests/bench-timing-type.c (main): Output the
32645         timing type simply, leaving formatting to the user.
32646         * benchtests/json-lib.c: New file.
32647         * benchtests/json-lib.h: Likewise.
32649 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32651         [BZ #15215]
32652         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32653         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32654         memory barriers.  Add comments.
32655         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32656         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32657         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32658         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32659         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32660         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32662 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32664         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32665         * sysdeps/s390/s390-64/configure.ac: ... this ...
32666         * sysdeps/s390/configure.ac: ... to here.
32667         * sysdeps/s390/s390-32/configure: Delete file.
32668         * sysdeps/s390/s390-64/configure: Delete file.
32669         * sysdeps/s390/configure: Regenerate.
32671 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32673         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32675 2014-04-11  Will Newton  <will.newton@linaro.org>
32677         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32678         to zero if it is not defined elsewhere.  (mtrim): Test
32679         the value of MALLOC_DEBUG with #if rather than #ifdef.
32681 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32683         * benchtests/pthread_once-inputs: New file.
32684         * benchtests/pthread_once-source.c: New file.
32685         * benchtests/README: Update documentation.
32687 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32688             H.J. Lu  <hongjiu.lu@intel.com>
32690         [BZ #16275]
32691         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32692         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32693         * sysdeps/x86_64/configure: Regenerated.
32694         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32695         macro.
32696         (REGISTER_SAVE_RAX): Likewise.
32697         (REGISTER_SAVE_RCX): Likewise.
32698         (REGISTER_SAVE_RDX): Likewise.
32699         (REGISTER_SAVE_RSI): Likewise.
32700         (REGISTER_SAVE_RDI): Likewise.
32701         (REGISTER_SAVE_R8): Likewise.
32702         (REGISTER_SAVE_R9): Likewise.
32703         (REGISTER_SAVE_BND0): Likewise.
32704         (REGISTER_SAVE_BND1): Likewise.
32705         (REGISTER_SAVE_BND2): Likewise.
32706         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32707         bound registers when calling _dl_fixup.
32709 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32711         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32712         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32713         of its definition.
32714         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32715         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32716         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32717         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32718         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32719         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32720         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32722 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32724         [BZ #15514]
32725         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32726         pathconf(_PC_NAME_MAX).
32728 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32730         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32731         Remove macro usage.
32732         (__PTHREAD_SPINS): Move definition to ...
32733         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32734         (__PTHREAD_SPINS): ... here.
32735         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32736         (__PTHREAD_SPIN): Likewise.
32737         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32738         (__PTHREAD_SPIN): Likewise.
32739         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32740         (__PTHREAD_SPIN): Likewise.
32741         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32742         (__PTHREAD_SPIN): Likewise.
32743         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32744         (__PTHREAD_SPIN): Likewise.
32745         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32746         (__PTHREAD_SPIN): Likewise.
32747         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32748         (__PTHREAD_SPIN): Likewise.
32749         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32750         (__PTHREAD_SPIN): Likewise.
32751         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32752         (__PTHREAD_SPIN): Likewise.
32753         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32754         (__PTHREAD_SPIN): Likewise.
32755         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32756         (__PTHREAD_SPIN): Likewise.
32757         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32758         (__PTHREAD_SPIN): Likewise.
32760         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32761         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32762         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32763         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32764         imply folder.
32765         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32766         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32767         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32768         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32769         correct imply path.
32770         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32771         strlen symbol for non multi-arch builds.
32772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32773         missing hidden_def and weak_alias.
32775 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32777         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32779 2014-04-07  Will Newton  <will.newton@linaro.org>
32781         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32782         and contents.  [!_LIBC] Remove #ifndef and contents.
32783         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32784         * string/memccpy.c (__memccpy): Use ANSI prototype.
32785         * string/memfrob.c (memfrob): Likewise.
32786         * string/strcoll.c (STRCOLL): Likewise.
32787         * string/strlen.c (strlen): Likewise.
32788         * string/strtok.c (STRTOK): Likewise.
32789         * string/strcat.c: Remove unused #include of memcopy.h.
32790         (strcat): Use ANSI prototype.
32791         * string/strchr.c: Remove unused #include of memcopy.h.
32792         (strchr): Use ANSI prototype.
32793         * string/strcmp.c: Remove unused #include of memcopy.h.
32794         (strcmp): Use ANSI prototype.
32795         * string/strcpy.c: Remove unused #include of memcopy.h.
32796         (strcpy): Use ANSI prototype.
32798 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32800         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32801         * config.make.in (config-extra-cppflags): Set it from
32802         libc_extra_cppflags.
32803         * configure.ac (libc_extra_cflags): Make it accumulate over
32804         configure fragments.
32805         (libc_extra_cppflags): New flag.
32806         * configure. Regenerate.
32807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32808         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32809         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32812         [BZ #16815]
32813         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32814         result for FE_DOWNWARD rounding mode.
32815         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32816         Likewise.
32817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32819 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32821         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32822         in function argument name.
32824 2014-04-03  David Svoboda  <svoboda@cert.org>
32826         [BZ #5666]
32827         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32828         explicitly.
32830 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32832         * elf/dl-unmap-segments.h: New file.
32833         * sysdeps/generic/ldsodefs.h
32834         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32835         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32836         * elf/dl-fptr.c: Likewise.
32837         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32838         * sysdeps/aarch64/tlsdesc.c: Likewise.
32839         * sysdeps/arm/tlsdesc.c: Likewise.
32840         * sysdeps/i386/tlsdesc.c: Likewise.
32841         * sysdeps/tile/dl-runtime.c: Likewise.
32842         * sysdeps/x86_64/tlsdesc.c: Likewise.
32843         * elf/dl-load.h: New file.
32844         * elf/dl-load.c: Include it.
32845         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32846         Macros moved to dl-load.h.
32847         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32848         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32849         Use _dl_unmap_segments in place of __munmap.
32850         Break out segment-mapping loop into ...
32851         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32853 2014-04-03  Will Newton  <will.newton@linaro.org>
32855         * elf/dl-lookup.c (do_lookup_x): Remove comment
32856         referring to nested function and move variable
32857         declarations down to before first use.
32859 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32861         [BZ #16799]
32862         [BZ #16800]
32863         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32864         with 0 numerator.
32865         * math/s_catanf.c (__catanf): Likewise.
32866         * math/s_catanh.c (__catanh): Likewise.
32867         * math/s_catanhf.c (__catanhf): Likewise.
32868         * math/s_catanhl.c (__catanhl): Likewise.
32869         * math/s_catanl.c (__catanl): Likewise.
32870         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32871         by positive zero when computing -Inf result.
32872         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32873         (catanh_test): Likewise.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877         [BZ #16789]
32878         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32879         instead of using underflowing value in computing result.
32880         * math/s_clog10.c (__clog10): Likewise.
32881         * math/s_clog10f.c (__clog10f): Likewise.
32882         * math/s_clog10l.c (__clog10l): Likewise.
32883         * math/s_clogf.c (__clogf): Likewise.
32884         * math/s_clogl.c (__clogl): Likewise.
32885         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32886         (clog10_test): Likewise.
32887         * sysdeps/i386/fpu/libm-test-ulps: Update.
32888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890 2014-04-02  Alan Modra  <amodra@gmail.com>
32892         [BZ #16739]
32893         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32894         output when value is near a power of two.  Use int64_t for lx and
32895         remove casts.  Use decimal rather than hex exponent constants.
32896         Don't use long double multiplication when double will suffice.
32897         * math/libm-test.inc (nextafter_test_data): Add tests.
32898         * NEWS: Add 16739 and 16786 to bug list.
32900         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32902         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32904 2014-04-01  Will Newton  <will.newton@linaro.org>
32906         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32907         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32909 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32911         [BZ #13347]
32912         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32913         * nptl/tst-setuid2.c: New file.
32914         * nptl/Makefile (xtests): Add tst-setuid2.
32916 2014-04-01  Alan Modra  <amodra@gmail.com>
32918         [BZ #16786]
32919         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32921 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32923         [BZ #6803]
32924         [BZ #6804]
32925         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32926         set errno as appropriate.
32927         * math/w_scalbf.c (__scalbf): Likewise.
32928         * math/w_scalbl.c (__scalbl): Likewise.
32929         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32930         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32931         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32932         Add more NaN tests.
32934         [BZ #16349]
32935         * math/w_atan2.c: Include <errno.h>.
32936         (__atan2): Set errno for result underflowing to zero.
32937         * math/w_atan2f.c: Include <errno.h>.
32938         (__atan2f): Set errno for result underflowing to zero.
32939         * math/w_atan2l.c: Include <errno.h>.
32940         (__atan2l): Set errno for result underflowing to zero.
32941         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32942         tests.
32943         * math/auto-libm-test-out: Regenerated.
32945 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32947         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32948         Encode instruction correctly in little endian.
32949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32950         Likewise.
32951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32952         Likewise.
32953         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32954         Likewise.
32955         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32956         Likewise.
32958 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32960         [BZ #9894]
32961         * sysdeps/unix/sysv/linux/kernel-features.h
32962         [__sparc__ && !__arch64__ && !__sparc_v9__]
32963         (__ASSUME_SET_ROBUST_LIST): Do not define.
32964         [__sparc__ && !__arch64__ && !__sparc_v9__]
32965         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32966         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32967         Likewise.
32968         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32969         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32970         (__ASSUME_REQUEUE_PI): Likewise.
32971         (__ASSUME_SET_ROBUST_LIST): Likewise.
32972         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32973         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32974         Undefine.
32975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32976         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32977         Likewise.
32978         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32979         Likewise.
32980         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32981         Likewise.
32982         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32983         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32984         Undefine.
32985         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32986         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32987         Likewise.
32989         [BZ #16648]
32990         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32991         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32992         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32994 2014-03-31  Will Newton  <will.newton@linaro.org>
32996         * benchtests/Makefile (bench): Add ffs and ffsll to list
32997         of tests.
32998         * benchtests/ffs-inputs: New file.
32999         * benchtests/ffsll-inputs: Likewise.
33001 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33003         [BZ #16770]
33004         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33005         too large before casting to int.
33006         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33007         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33008         * math/libm-test.inc (scalb_test_data): Add more tests.
33010 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33012         * benchtests/Makefile (DETAILED_OPT): New make option.
33013         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33014         set.
33015         * benchtests/bench-skeleton.c: Include stdbool.h.
33016         (main): Store and print timings per input.
33017         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33018         member to each argument value.
33019         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33020         (_print_arg_data): Initialize per-input timing to 0.
33022         * benchtests/Makefile (timing-type): New binary.
33023         (bench-clean): Also remove bench-timing-type.
33024         (bench): New target for timing-type.
33025         (bench-func): Print output in JSON format.
33026         * benchtests/bench-skeleton.c (main): Print output in JSON
33027         format.
33028         * benchtests/bench-timing-type.c: New file.
33029         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33030         (TIMING_PRINT_STATS): Remove.
33031         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33032         name separately.
33034         * benchtests/bench-modf.c: Remove.
33035         * benchtests/modf-inputs: New inputs file.
33037 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33039         [BZ #16362]
33040         * math/s_clog10.c (M_PI_LOG10E): New macro.
33041         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33042         imaginary parts are 0.
33043         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33044         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33045         imaginary parts are 0.
33046         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33047         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33048         imaginary parts are 0.
33049         * math/libm-test.inc (clog10_test_data): Update expected results
33050         for when real and imaginary parts are 0.
33052 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33054         * elf/dl-load.c: Finish conversion of __builtin_expect into
33055         __glibc_{un}likely.
33057 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33059         [BZ #16348]
33060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33061         1+x for argument with exponent below -67.
33062         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33063         Likewise.
33064         * math/auto-libm-test-in: Add more tests of exp.
33065         * math/auto-libm-test-out: Regenerated.
33067 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33069         [BZ #16759]
33070         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33071         (nscd_getnetgrent): Use it.
33073         [BZ #16760]
33074         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33075         of stpcpy.
33077 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33079         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33080         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33081         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33082         (lll_robust_unlock): Remove out of line section. Use cfi
33083         intrinsics.
33084         (LLL_STUB_UNWIND_INFO*): Remove.
33085         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33086         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33087         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33088         (lll_robust_unlock): Remove out of line section. Use cfi
33089         intrinsics.
33090         (LLL_STUB_UNWIND_INFO*): Remove.
33092 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33094         [BZ #16758]
33095         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33096         blank values.
33098 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33100         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33102 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33104         [BZ #16198]
33105         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33106         fnstenv.
33107         * math/test-fenv-preserve.c: New file.
33108         * math/Makefile (tests): Add test-fenv-preserve.
33110 2014-03-26  Will Newton <will.newton@linaro.org>
33112         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33114 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33116         * scripts/versionlist.awk: Partition the version sets and emit all
33117         GLIBC_* (sorted) before all others (sorted).
33119 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33121         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33122         GLIBC_2.2.5 version.
33124 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33126         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33127         calls.
33129         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33130         previous change.
33132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33134 2014-03-25  Andreas Schwab  <schwab@suse.de>
33136         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33137         label to be used after in6ailist is initialized.
33139 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33141         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33142         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33144 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33146         [BZ #16357]
33147         [BZ #16599]
33148         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33149         min_plus_half.
33150         (fp_formats): Update initializers.
33151         (init_fp_formats): Initialize new field.
33152         (output_for_one_input_case): Allow underflow for results up to
33153         min_plus_half.
33154         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33155         * math/auto-libm-test-in: Don't mark some underflows from asin and
33156         atanh as spurious.
33157         * math/auto-libm-test-out: Regenerated.
33158         * sysdeps/i386/fpu/libm-test-ulps: Update.
33159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33161 2014-03-25  Andreas Schwab  <schwab@suse.de>
33163         * libio/Makefile (tst-ftell-partial-wide-ENV)
33164         (tst-ftell-active-handler-ENV): Define.
33166 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33168         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33170 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33172         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33174 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33176         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33177         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33178         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33180 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33182         [BZ #16634]
33183         * elf/dl-load.c (open_verify): Add mode parameter.
33184         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33185         (open_path): Change from boolean 'secure' to complete flag 'mode'
33186         (_dl_map_object): Adjust.
33187         * elf/Makefile (tests): Add tst-dlopen-aout.
33188         * elf/tst-dlopen-aout.c: New test.
33190 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33192         [BZ #16714]
33193         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33194         (struct stat): Rename member pad0 to __glibc_reserved0.
33196         [BZ #16712]
33197         * sysdeps/s390/s390-32/bits/wordsize.h
33198         (__WORDSIZE32_SIZE_ULONG): New define.
33199         * sysdeps/s390/s390-64/bits/wordsize.h
33200         (__WORDSIZE32_SIZE_ULONG): Likewise.
33201         * sysdeps/generic/stdint.h (SIZE_MAX):
33202         Define as UL if __WORDSIZE32_SIZE_ULONG.
33204         [BZ #16713]
33205         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33206         (__glibc_reserved0): New variable.
33207         (sa_flags): Change type to int.
33209         * posix/Makefile (before-compile): Use += before-compile instead
33210         of a :=.
33212         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33213         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33215 2014-03-20  Andreas Schwab  <schwab@suse.de>
33217         [BZ #16743]
33218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33219         non-matching result from nscd.
33221 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33223         * scripts/bench.py: Moved to ...
33224         * benchtests/scripts/bench.py: ... here.
33225         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33227 2014-03-24  Andreas Schwab  <schwab@suse.de>
33229         [BZ #16002]
33230         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33231         alloca_account and account alloca use for struct in6ailist.
33233 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33235         [BZ #16284]
33236         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33237         rounding mode to recompute results that overflow to infinity or
33238         underflow to zero.
33239         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33240         bug 16284.
33241         * math/auto-libm-test-out: Regenerated.
33242         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33243         (ccosh_test): Likewise.
33244         (csin_test_data): Use plus_oflow.
33245         (csin_test): Use ALL_RM_TEST.
33246         (csinh_test_data): Use plus_oflow.
33247         (csinh_test): Use ALL_RM_TEST.
33248         * sysdeps/i386/fpu/libm-test-ulps: Update.
33249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33251 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33253         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33254         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33255         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33257         [BZ #16731]
33258         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33259         when x - 1 is zero.
33260         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33261         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33262         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33263         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33264         argument is 1.
33265         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33266         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33267         zero.
33268         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33269         * sysdeps/i386/fpu/libm-test-ulps: Update.
33270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33272 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33274         * scripts/bench.pl: Remove file.
33275         * scripts/bench.py: New benchmark script.
33276         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33277         * benchtests/README: Mention python dependency.
33278         * scripts/pylintrc: New file.
33279         * scripts/pylint: New file.
33281         * bits/mathdef.h: Use #ifdef instead of #if.
33282         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33283         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33284         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33285         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33286         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33287         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33289 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33290             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33292         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33294         and strpbrk-ppc64 objects.
33295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33296         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33297         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33298         multiarch strpbrk for POWER7.
33299         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33300         multiarch strpbrk for PPC64.
33301         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33302         ifunc selector.
33303         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33304         strpbrk for POWER7.
33306 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33308         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33309         (atan_test): Likewise.
33310         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33311         (atanh_test): Use ALL_RM_TEST.
33312         (atan2_test_data): Likewise.
33313         (cabs_test): Likewise.
33314         (cacosh_test): Likewise.
33315         (carg_test): Likewise.
33316         (casin_test): Likewise.
33317         (casinh_test): Likewise.
33318         (cbrt_test): Likewise.
33319         (csqrt_test): Likewise.
33320         (erf_test): Likewise.
33321         (erfc_test): Likewise.
33322         (pow10_test): Likewise.
33323         (exp2_test): Likewise.
33324         (hypot_test): Likewise.
33325         (j0_test): Likewise.
33326         (j1_test): Likewise.
33327         (lgamma_test): Likewise.
33328         (gamma_test): Likewise.
33329         (sincos_test): Likewise.
33330         (tanh_test): Likewise.
33331         (y0_test): Likewise.
33332         (y1_test): Likewise.
33333         * sysdeps/i386/fpu/libm-test-ulps: Update.
33334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33336 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33338         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33340         and strcspn-ppc64 objects.
33341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33342         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33343         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33344         multiarch strcspn for POWER7.
33345         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33346         multiarch strcspn for PPC64.
33347         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33348         ifunc selector.
33349         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33350         strcspn for POWER7.
33352 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33354         * math/gen-libm-test.pl (generate_testfile): Expect only function
33355         name as argument to AUTO_TESTS_* and pass results for all rounding
33356         modes to parse_args.
33357         (parse_auto_input): Separate inputs of automatic tests from
33358         outputs before storing in %auto_tests.
33359         * math/libm-test.inc (acos_test_data): Update call to
33360         AUTO_TESTS_f_f.
33361         (acos_test): Use ALL_RM_TEST.
33362         (acos_tonearest_test_data): Remove.
33363         (acos_test_tonearest): Likewise.
33364         (acos_towardzero_test_data): Likewise.
33365         (acos_test_towardzero): Likewise.
33366         (acos_downward_test_data): Likewise.
33367         (acos_test_downward): Likewise.
33368         (acos_upward_test_data): Likewise.
33369         (acos_test_upward): Likewise.
33370         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33371         (asin_test_data): Likewise.
33372         (asin_test): Use ALL_RM_TEST.
33373         (asin_tonearest_test_data): Remove.
33374         (asin_test_tonearest): Likewise.
33375         (asin_towardzero_test_data): Likewise.
33376         (asin_test_towardzero): Likewise.
33377         (asin_downward_test_data): Likewise.
33378         (asin_test_downward): Likewise.
33379         (asin_upward_test_data): Likewise.
33380         (asin_test_upward): Likewise.
33381         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33382         (atan_test_data): Likewise.
33383         (atanh_test_data): Likewise.
33384         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33385         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33386         (carg_test_data): Likewise.
33387         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33388         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33389         (ccosh_test_data): Likewise.
33390         (cexp_test_data): Likewise.
33391         (clog_test_data): Likewise.
33392         (clog10_test_data): Likewise.
33393         (cos_test_data): Update call to AUTO_TESTS_f_f.
33394         (cos_test): Use ALL_RM_TEST.
33395         (cos_tonearest_test_data): Remove.
33396         (cos_test_tonearest): Likewise.
33397         (cos_towardzero_test_data): Likewise.
33398         (cos_test_towardzero): Likewise.
33399         (cos_downward_test_data): Likewise.
33400         (cos_test_downward): Likewise.
33401         (cos_upward_test_data): Likewise.
33402         (cos_test_upward): Likewise.
33403         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33404         (cosh_test): Use ALL_RM_TEST.
33405         (cosh_tonearest_test_data): Remove.
33406         (cosh_test_tonearest): Likewise.
33407         (cosh_towardzero_test_data): Likewise.
33408         (cosh_test_towardzero): Likewise.
33409         (cosh_downward_test_data): Likewise.
33410         (cosh_test_downward): Likewise.
33411         (cosh_upward_test_data): Likewise.
33412         (cosh_test_upward): Likewise.
33413         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33414         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33415         (ctan_test_data): Likewise.
33416         (ctan_test): Use ALL_RM_TEST.
33417         (ctan_tonearest_test_data): Remove.
33418         (ctan_test_tonearest): Likewise.
33419         (ctan_towardzero_test_data): Likewise.
33420         (ctan_test_towardzero): Likewise.
33421         (ctan_downward_test_data): Likewise.
33422         (ctan_test_downward): Likewise.
33423         (ctan_upward_test_data): Likewise.
33424         (ctan_test_upward): Likewise.
33425         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33426         (ctanh_test): Use ALL_RM_TEST.
33427         (ctanh_tonearest_test_data): Remove.
33428         (ctanh_test_tonearest): Likewise.
33429         (ctanh_towardzero_test_data): Likewise.
33430         (ctanh_test_towardzero): Likewise.
33431         (ctanh_downward_test_data): Likewise.
33432         (ctanh_test_downward): Likewise.
33433         (ctanh_upward_test_data): Likewise.
33434         (ctanh_test_upward): Likewise.
33435         (erf_test_data): Update call to AUTO_TESTS_f_f.
33436         (erfc_test_data): Likewise.
33437         (exp_test_data): Likewise.
33438         (exp_test): Use ALL_RM_TEST.
33439         (exp_tonearest_test_data): Remove.
33440         (exp_test_tonearest): Likewise.
33441         (exp_towardzero_test_data): Likewise.
33442         (exp_test_towardzero): Likewise.
33443         (exp_downward_test_data): Likewise.
33444         (exp_test_downward): Likewise.
33445         (exp_upward_test_data): Likewise.
33446         (exp_test_upward): Likewise.
33447         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33448         (exp10_test): Use ALL_RM_TEST.
33449         (exp10_tonearest_test_data): Remove.
33450         (exp10_test_tonearest): Likewise.
33451         (exp10_towardzero_test_data): Likewise.
33452         (exp10_test_towardzero): Likewise.
33453         (exp10_downward_test_data): Likewise.
33454         (exp10_test_downward): Likewise.
33455         (exp10_upward_test_data): Likewise.
33456         (exp10_test_upward): Likewise.
33457         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33458         (expm1_test_data): Likewise.
33459         (expm1_test): Use ALL_RM_TEST.
33460         (expm1_tonearest_test_data): Remove.
33461         (expm1_test_tonearest): Likewise.
33462         (expm1_towardzero_test_data): Likewise.
33463         (expm1_test_towardzero): Likewise.
33464         (expm1_downward_test_data): Likewise.
33465         (expm1_test_downward): Likewise.
33466         (expm1_upward_test_data): Likewise.
33467         (expm1_test_upward): Likewise.
33468         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33469         (fma_test): Use ALL_RM_TEST.
33470         (fma_towardzero_test_data): Remove.
33471         (fma_test_towardzero): Likewise.
33472         (fma_downward_test_data): Likewise.
33473         (fma_test_downward): Likewise.
33474         (fma_upward_test_data): Likewise.
33475         (fma_test_upward): Likewise.
33476         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33477         (j0_test_data): Update call to AUTO_TESTS_f_f.
33478         (j1_test_data): Likewise.
33479         (jn_test_data): Update call to AUTO_TESTS_if_f.
33480         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33481         (log_test_data): Update call to AUTO_TESTS_f_f.
33482         (log10_test_data): Likewise.
33483         (log1p_test_data): Likewise.
33484         (log2_test_data): Likewise.
33485         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33486         (pow_tonearest_test_data): Likewise.
33487         (sin_test_data): Update call to AUTO_TESTS_f_f.
33488         (sin_test): Use ALL_RM_TEST.
33489         (sin_tonearest_test_data): Remove.
33490         (sin_test_tonearest): Likewise.
33491         (sin_towardzero_test_data): Likewise.
33492         (sin_test_towardzero): Likewise.
33493         (sin_downward_test_data): Likewise.
33494         (sin_test_downward): Likewise.
33495         (sin_upward_test_data): Likewise.
33496         (sin_test_upward): Likewise.
33497         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33498         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33499         (sinh_test): Use ALL_RM_TEST.
33500         (sinh_tonearest_test_data): Remove.
33501         (sinh_test_tonearest): Likewise.
33502         (sinh_towardzero_test_data): Likewise.
33503         (sinh_test_towardzero): Likewise.
33504         (sinh_downward_test_data): Likewise.
33505         (sinh_test_downward): Likewise.
33506         (sinh_upward_test_data): Likewise.
33507         (sinh_test_upward): Likewise.
33508         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33509         (sqrt_test): Use ALL_RM_TEST.
33510         (sqrt_tonearest_test_data): Remove.
33511         (sqrt_test_tonearest): Likewise.
33512         (sqrt_towardzero_test_data): Likewise.
33513         (sqrt_test_towardzero): Likewise.
33514         (sqrt_downward_test_data): Likewise.
33515         (sqrt_test_downward): Likewise.
33516         (sqrt_upward_test_data): Likewise.
33517         (sqrt_test_upward): Likewise.
33518         (tan_test_data): Update call to AUTO_TESTS_f_f.
33519         (tan_test): Use ALL_RM_TEST.
33520         (tan_tonearest_test_data): Remove.
33521         (tan_test_tonearest): Likewise.
33522         (tan_towardzero_test_data): Likewise.
33523         (tan_test_towardzero): Likewise.
33524         (tan_downward_test_data): Likewise.
33525         (tan_test_downward): Likewise.
33526         (tan_upward_test_data): Likewise.
33527         (tan_test_upward): Likewise.
33528         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33529         (tgamma_test_data): Likewise.
33530         (y0_test_data): Likewise.
33531         (y1_test_data): Likewise.
33532         (yn_test_data): Update call to AUTO_TESTS_if_f.
33533         (main): Do not call removed functions.
33535 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33537         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33538         (ldexp_test_data): Remove.
33539         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33540         scalbn_test_data.
33541         (scalb_test): Use ALL_RM_TEST.
33543 2014-03-19  Andreas Schwab  <schwab@suse.de>
33545         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33547 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33549         [BZ #16649]
33550         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33551         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33552         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33554         (__ASSUME_PREADV): Undefine.
33555         (__ASSUME_PWRITEV): Likewise.
33557 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33559         * bits/mman-linux.h: Add comment about non-Linux use.
33560         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33561         bits/mman-linux.h resting place.
33563         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33564         * bits/mman-linux.h: ... here.
33566 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33568         * conform/conformtest.pl: Add standard definition when calling C
33569         preprocessor on data files.
33570         (checknamespace): Remove unused variable.
33572 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33574         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33575         minus_oflow, plus_uflow and minus_uflow in expected results.
33576         * math/libm-test.inc (scalbn_test_data): Add more tests of
33577         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33578         minus_uflow.
33579         (scalbn_test): Use ALL_RM_TEST.
33580         (scalbln_test_data): Add more tests of negative arguments.  Use
33581         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33582         (scalbln_test): Use ALL_RM_TEST.
33584 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33586         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33588 2014-03-18  Will Newton  <will.newton@linaro.org>
33590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33591         inaccurate comment.
33593 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33595         * Makerules [!subdir] (check-abi): Exit with error status if a
33596         test failed.
33598 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33600         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33601         for rint.  Include results for all rounding modes.
33602         (nearbyint_test): Use ALL_RM_TEST.
33603         (rint_test_data): Include all tests used for nearbyint.
33605 2014-03-17  Will Newton  <will.newton@linaro.org>
33607         * nptl/sysdeps/pthread/pthread.h: Revert previous
33608         change.
33610         * sysdeps/generic/ldsodefs.h: Revert previous
33611         change.
33613         * libio/genops.c: Revert previous change.
33614         * libio/libioP.h: Likewise.
33615         * stdio-common/vfprintf.c: Likewise.
33617         * sysdeps/generic/math_private.h: Revert previous
33618         change.
33620         * sysdeps/generic/math_private.h: Check whether
33621         HAVE_RM_CTX is defined with #ifdef rather
33622         than #if.
33624         * argp/argp-fmtstream.h: Check whether
33625         __STRICT_ANSI__ is defined with #ifdef rather
33626         than #if.
33627         * argp/argp.h: Likewise.
33629         * libio/genops.c: Check whether
33630         _IO_JUMPS_OFFSET is defined with #ifdef rather
33631         than #if.
33632         * libio/libioP.h: Likewise.
33633         * stdio-common/vfprintf.c: Likewise.
33635         * sysdeps/generic/ldsodefs.h: Check whether
33636         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33637         than #if.
33639         * nptl/sysdeps/pthread/pthread.h: Check
33640         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33641         its value.
33643 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33645         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33646         setting O_APPEND.
33647         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33648         test case.
33650         [BZ #16680]
33651         * libio/fileops.c (_IO_file_open): Seek to end of file but
33652         don't cache the offset.
33653         (get_file_offset): Remove function.
33654         (do_ftell): Use cached offset when available.
33655         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33656         don't cache the offset.
33657         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33658         case.
33659         (do_one_test): Call it.
33660         (do_ftell_test): Fix up expected old offset for a+ mode.
33661         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33662         available.
33664         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33665         up test status with function return status.
33666         (do_write_test): Likewise.
33667         (do_append_test): Likewise.
33669         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33670         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33671         Remove.
33673 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33675         * math/gen-libm-test.pl (parse_args): Handle results specified for
33676         each rounding mode separately.
33677         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33678         tests and results from lrint_tonearest_test_data,
33679         lrint_towardzero_test_data, lrint_downward_test_data and
33680         lrint_upward_test_data.
33681         (lrint_test): Use ALL_RM_TEST.
33682         (lrint_tonearest_test_data): Remove.
33683         (lrint_test_tonearest): Likewise.
33684         (lrint_towardzero_test_data): Likewise.
33685         (lrint_test_towardzero): Likewise.
33686         (lrint_downward_test_data): Likewise.
33687         (lrint_test_downward): Likewise.
33688         (lrint_upward_test_data): Likewise.
33689         (lrint_test_upward): Likewise.
33690         (llrint_test_data): Merge in per-rounding-mode tests and results
33691         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33692         llrint_downward_test_data and llrint_upward_test_data.
33693         (llrint_test): Use ALL_RM_TEST.
33694         (llrint_tonearest_test_data): Remove.
33695         (llrint_test_tonearest): Likewise.
33696         (llrint_towardzero_test_data): Likewise.
33697         (llrint_test_towardzero): Likewise.
33698         (llrint_downward_test_data): Likewise.
33699         (llrint_test_downward): Likewise.
33700         (llrint_upward_test_data): Likewise.
33701         (llrint_test_upward): Likewise.
33702         (rint_test_data): Merge in per-rounding-mode tests and results
33703         from rint_tonearest_test_data, rint_towardzero_test_data,
33704         rint_downward_test_data and rint_upward_test_data.  Add
33705         per-rounding-mode results for tests not in those arrays.
33706         (rint_test): Use ALL_RM_TEST.
33707         (rint_tonearest_test_data): Remove.
33708         (rint_test_tonearest): Likewise.
33709         (rint_towardzero_test_data): Likewise.
33710         (rint_test_towardzero): Likewise.
33711         (rint_downward_test_data): Likewise.
33712         (rint_test_downward): Likewise.
33713         (rint_upward_test_data): Likewise.
33714         (rint_test_upward): Likewise.
33715         (main): Don't call removed functions.
33717 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33719         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33720         "Compiled on ..." crapola.  It is anti-useful.
33722 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33724         * scripts/evaluate-test.sh: Handle fourth argument to determine
33725         whether test run should stop on failure.
33726         * Makeconfig (stop-on-test-failure): New variable.
33727         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33728         $(stop-on-test-failure).
33729         * Makefile (tests): Give a summary of results from testing and
33730         exit with failure status if they include an ERROR or FAIL.
33731         (xtests): Likewise.
33732         * manual/install.texi (Configuring and compiling): Mention
33733         stop-on-test-failure=y.
33734         * INSTALL: Regenerated.
33736 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33738         * scripts/versionlist.awk: New file.
33739         * Makerules [$(build-shared) = yes]
33740         (postclean-generated): Add Versions.def, not Versions.def.v and
33741         Versions.def.v.i.
33742         ($(common-objpfx)Versions.def.v.i): Target removed.
33743         ($(common-objpfx)Versions.def): New target.
33744         ($(common-objpfx)Versions.all): Depend on that rather that
33745         $(common-objpfx)Versions.def.v.
33746         * Versions.def: File removed.
33748         * Makeconfig (+gccwarn): Add -Wundef.
33749         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33750         a dl-sysdep.h breaking its contract.
33751         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33752         * include/stackinfo.h: New file.
33753         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33754         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33755         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33756         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33757         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33758         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33759         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33760         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33761         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33762         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33763         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33764         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33765         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33766         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33767         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33769 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33771         [BZ #16707]
33772         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33773         implementation.
33774         * math/libm-test.inc (round_test_data): Add more tests.
33776         [BZ #16706]
33777         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33778         implementation.
33779         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33781         [BZ #16701]
33782         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33783         implementation.
33784         * math/libm-test.inc (ceil_test_data): Add more tests.
33786         * math/libm-test.inc (trunc_test_data): Add more tests related to
33787         BZ#16414.
33789 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33791         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33792         with #if rather than #ifdef.
33793         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33795 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33797         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33798         first.  Disable AVX-512 GCC support if assembler doesn't support
33799         it.
33800         * sysdeps/x86_64/configure: Regenerated.
33802 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33804         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33805         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33806         (__old_pthread_attr_setstack): Likewise.
33807         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33808         [!_STACK_GROWS_DOWN]: Likewise.
33810 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33812         * config.make.in (have-bash2): Delete.
33813         * configure.ac (libc_cv_have_bash2): Delete.
33814         * configure: Regenerate.
33815         * elf/Makefile (common-ldd-rewrite): Rename to ...
33816         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33817         (sh-ldd-rewrite): Delete.
33818         (bash-ldd-rewrite): Delete.
33819         (have-bash2): Delete checks.
33820         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33821         ldd-rewrite.
33823         * config.make.in (have-ksh): Delete.
33824         (KSH): Delete.
33825         * configure.ac (libc_cv_have_ksh): Delete.
33826         * configure: Regenerate.
33828         * elf/Makefile: Delete $(have-ksh) check.
33829         ($(objpfx)sotruss): Change KSH to BASH.
33830         * elf/sotruss.ksh: Rename to ...
33831         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33832         function style to match POSIX.  Drop ksh vim mode setting.
33834         * manual/time.texi (Specifying the Time Zone with TZ): Change
33835         Tuesday to Thursday.
33837         * debug/tst-longjmp_chk2.c: Update header comment.
33838         (stackoverflow_handler): Add comment.  Call assert on pass value.
33840 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33842         [BZ #16194]
33843         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33844         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33845         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33846         (La_x86_64_vector): Add zmm.
33847         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33848         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33849         ($(objpfx)tst-audit10): New target.
33850         ($(objpfx)tst-audit10.out): Likewise.
33851         (tst-audit10-ENV): New.
33852         (AVX512-CFLAGS): Likewise.
33853         (CFLAGS-tst-audit10.c): Likewise.
33854         (CFLAGS-tst-auditmod10a.c): Likewise.
33855         (CFLAGS-tst-auditmod10b.c): Likewise.
33856         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33857         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33858         * sysdeps/x86_64/configure: Regenerated.
33859         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33860         AVX-512 zmm register support.
33861         (_dl_x86_64_save_sse): Likewise.
33862         (_dl_x86_64_restore_sse): Likewise.
33863         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33864         size vector registers.
33865         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33866         (ZMM_SIZE): Likewise.
33867         * sysdeps/x86_64/tst-audit10.c: New file.
33868         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33869         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33871 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33873         * configure.ac (HAVE_EHDR_START): New check.
33874         * configure: Regenerated.
33875         * config.h.in (HAVE_EHDR_START): New #undef.
33876         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33877         assuming the lowest-addressed segment maps the start of the file.
33879 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33881         * INSTALL: Regenerated.
33883 2014-03-13  Will Newton  <will.newton@linaro.org>
33885         * manual/setjmp.texi (System V contexts): Improve
33886         clarity and grammar of documentation.
33888 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33890         [BZ #16381]
33891         * elf/Makefile (tests): Add tst-pie2.
33892         (tests-pie): Add tst-pie2.
33893         * elf/tst-pie2.c: New file.
33894         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33895         for ET_EXEC.
33896         * elf/rtld.c (map_doit): Load executable as lt_executable.
33897         (dl_main): Likewise.
33899 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33901         [BZ #16642]
33902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33903         (__ASSUME_PSELECT): Undefine.
33905 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33907         [BZ #16689]
33908         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33909         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33910         static build.
33911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33912         selector for static builds.
33914 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33916         [BZ #16695]
33917         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33918         key in the buffer.
33920 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33922         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33923         IFUNC selector for static builds.
33925 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33927         * sysdeps/mips/math_private.h [__mips_hard_float]
33928         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33929         libc_feresetround_mips_ctx.
33930         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33931         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33932         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33934         [BZ #16677]
33935         * math/s_nextafter.c (__nextafter): Do not return value from
33936         overflowing computation.
33937         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33938         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33940         Likewise.
33941         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33942         Likewise.
33943         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33944         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33946 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33948         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33949         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33950         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33951         the new mov targetting sp.
33953 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33955         [BZ #16683]
33956         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33957         Define it for static builds as well.
33958         (NO_BZERO_IMPL): Likewise.
33960 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33962         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33963         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33964         multiarch strspn for PPC64.
33965         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33966         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33968         (__libc_ifunc_impl_list): Likewise.
33969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33970         multiarch optimizations
33971         * string/strspn.c (strspn): Using macro to redefine symbol name.
33973 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33974             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33976         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33977         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33978         multiarch strncat for PPC64.
33979         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33980         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33982         (__libc_ifunc_impl_list): Likewise.
33983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33984         multiarch optimizations
33986 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33988         [BZ #16639]
33989         * nscd/nscd.service: Make service type forking.
33991 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33993         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33994         sign in non default rounding modes.
33995         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33997 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33999         * math/libm-test.inc (ALL_RM_TEST): New macro.
34000         (ceil_test): Use ALL_RM_TEST.
34001         (cimag_test): Likewise.
34002         (conj_test): Likewise.
34003         (copysign_test): Likewise.
34004         (cproj_test): Likewise.
34005         (creal_test): Likewise.
34006         (fabs_test): Likewise.
34007         (floor_test): Likewise.
34008         (fmax_test): Likewise.
34009         (fmin_test): Likewise.
34010         (fmod_test): Likewise.
34011         (fpclassify_test): Likewise.
34012         (frexp_test): Likewise.
34013         (ilogb_test): Likewise.
34014         (isfinite_test): Likewise.
34015         (finite_test): Likewise.
34016         (isgreater_test): Likewise.
34017         (isgreaterequal_test): Likewise.
34018         (isinf_test): Likewise.
34019         (isless_test): Likewise.
34020         (islessequal_test): Likewise.
34021         (islessgreater_test): Likewise.
34022         (isnan_test): Likewise.
34023         (isnormal_test): Likewise.
34024         (issignaling_test): Likewise.
34025         (isunordered_test): Likewise.
34026         (logb_test): Likewise.
34027         (logb_downward_test_data): Remove.
34028         (logb_test_downward): Likewise.
34029         (lround_test): Use ALL_RM_TEST.
34030         (llround_test): Likewise.
34031         (modf_test): Likewise.
34032         (nexttoward_test): Likewise.
34033         (remainder_test): Likewise.
34034         (drem_test): Likewise.
34035         (remainder_tonearest_test_data): Likewise.
34036         (remainder_test_tonearest): Likewise.
34037         (drem_test_tonearest): Likewise.
34038         (remainder_towardzero_test_data): Likewise.
34039         (remainder_test_towardzero): Likewise.
34040         (drem_test_towardzero): Likewise.
34041         (remainder_downward_test_data): Likewise.
34042         (remainder_test_downward): Likewise.
34043         (drem_test_downward): Likewise.
34044         (remainder_upward_test_data): Likewise.
34045         (remainder_test_upward): Likewise.
34046         (drem_test_upward): Likewise.
34047         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34048         (round_test): Use ALL_RM_TEST.
34049         (signbit_test): Likewise.
34050         (trunc_test): Likewise.
34051         (significand_test): Likewise.
34052         (main): Don't call removed functions.
34054 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34056         [BZ #16674]
34057         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34058         || __USE_XOPEN2K8].
34059         (ILL_ILLOPN): Likewise.
34060         (ILL_ILLADR): Likewise.
34061         (ILL_ILLTRP): Likewise.
34062         (ILL_PRVOPC): Likewise.
34063         (ILL_PRVREG): Likewise.
34064         (ILL_COPROC): Likewise.
34065         (ILL_BADSTK): Likewise.
34066         (FPE_INTDIV): Likewise.
34067         (FPE_INTOVF): Likewise.
34068         (FPE_FLTDIV): Likewise.
34069         (FPE_FLTOVF): Likewise.
34070         (FPE_FLTUND): Likewise.
34071         (FPE_FLTRES): Likewise.
34072         (FPE_FLTINV): Likewise.
34073         (FPE_FLTSUB): Likewise.
34074         (SEGV_MAPERR): Likewise.
34075         (SEGV_ACCERR): Likewise.
34076         (BUS_ADRALN): Likewise.
34077         (BUS_ADRERR): Likewise.
34078         (BUS_OBJERR): Likewise.
34079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34080         (TRAP_TRACE): Likewise.
34081         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34082         __USE_XOPEN2K8].
34083         (CLD_KILLED): Likewise.
34084         (CLD_DUMPED): Likewise.
34085         (CLD_TRAPPED): Likewise.
34086         (CLD_STOPPED): Likewise.
34087         (CLD_CONTINUED): Likewise.
34088         (POLL_IN): Likewise.
34089         (POLL_OUT): Likewise.
34090         (POLL_MSG): Likewise.
34091         (POLL_ERR): Likewise.
34092         (POLL_PRI): Likewise.
34093         (POLL_HUP): Likewise.
34094         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34095         Likewise.
34096         (ILL_ILLOPN): Likewise.
34097         (ILL_ILLADR): Likewise.
34098         (ILL_ILLTRP): Likewise.
34099         (ILL_PRVOPC): Likewise.
34100         (ILL_PRVREG): Likewise.
34101         (ILL_COPROC): Likewise.
34102         (ILL_BADSTK): Likewise.
34103         (FPE_INTDIV): Likewise.
34104         (FPE_INTOVF): Likewise.
34105         (FPE_FLTDIV): Likewise.
34106         (FPE_FLTOVF): Likewise.
34107         (FPE_FLTUND): Likewise.
34108         (FPE_FLTRES): Likewise.
34109         (FPE_FLTINV): Likewise.
34110         (FPE_FLTSUB): Likewise.
34111         (SEGV_MAPERR): Likewise.
34112         (SEGV_ACCERR): Likewise.
34113         (BUS_ADRALN): Likewise.
34114         (BUS_ADRERR): Likewise.
34115         (BUS_OBJERR): Likewise.
34116         (BUS_MCEERR_AR): Likewise.
34117         (BUS_MCEERR_AO): Likewise.
34118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34119         (TRAP_TRACE): Likewise.
34120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34121         __USE_XOPEN2K8].
34122         (CLD_KILLED): Likewise.
34123         (CLD_DUMPED): Likewise.
34124         (CLD_TRAPPED): Likewise.
34125         (CLD_STOPPED): Likewise.
34126         (CLD_CONTINUED): Likewise.
34127         (POLL_IN): Likewise.
34128         (POLL_OUT): Likewise.
34129         (POLL_MSG): Likewise.
34130         (POLL_ERR): Likewise.
34131         (POLL_PRI): Likewise.
34132         (POLL_HUP): Likewise.
34133         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34134         (ILL_ILLOPN): Likewise.
34135         (ILL_ILLADR): Likewise.
34136         (ILL_ILLTRP): Likewise.
34137         (ILL_PRVOPC): Likewise.
34138         (ILL_PRVREG): Likewise.
34139         (ILL_COPROC): Likewise.
34140         (ILL_BADSTK): Likewise.
34141         (FPE_INTDIV): Likewise.
34142         (FPE_INTOVF): Likewise.
34143         (FPE_FLTDIV): Likewise.
34144         (FPE_FLTOVF): Likewise.
34145         (FPE_FLTUND): Likewise.
34146         (FPE_FLTRES): Likewise.
34147         (FPE_FLTINV): Likewise.
34148         (FPE_FLTSUB): Likewise.
34149         (SEGV_MAPERR): Likewise.
34150         (SEGV_ACCERR): Likewise.
34151         (BUS_ADRALN): Likewise.
34152         (BUS_ADRERR): Likewise.
34153         (BUS_OBJERR): Likewise.
34154         (BUS_MCEERR_AR): Likewise.
34155         (BUS_MCEERR_AO): Likewise.
34156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34157         (TRAP_TRACE): Likewise.
34158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34159         __USE_XOPEN2K8].
34160         (CLD_KILLED): Likewise.
34161         (CLD_DUMPED): Likewise.
34162         (CLD_TRAPPED): Likewise.
34163         (CLD_STOPPED): Likewise.
34164         (CLD_CONTINUED): Likewise.
34165         (POLL_IN): Likewise.
34166         (POLL_OUT): Likewise.
34167         (POLL_MSG): Likewise.
34168         (POLL_ERR): Likewise.
34169         (POLL_PRI): Likewise.
34170         (POLL_HUP): Likewise.
34171         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34172         Likewise.
34173         (ILL_ILLOPN): Likewise.
34174         (ILL_ILLADR): Likewise.
34175         (ILL_ILLTRP): Likewise.
34176         (ILL_PRVOPC): Likewise.
34177         (ILL_PRVREG): Likewise.
34178         (ILL_COPROC): Likewise.
34179         (ILL_BADSTK): Likewise.
34180         (ILL_BADIADDR): Likewise.
34181         (ILL_BREAK): Likewise.
34182         (FPE_INTDIV): Likewise.
34183         (FPE_INTOVF): Likewise.
34184         (FPE_FLTDIV): Likewise.
34185         (FPE_FLTOVF): Likewise.
34186         (FPE_FLTUND): Likewise.
34187         (FPE_FLTRES): Likewise.
34188         (FPE_FLTINV): Likewise.
34189         (FPE_FLTSUB): Likewise.
34190         (FPE_DECOVF): Likewise.
34191         (FPE_DECDIV): Likewise.
34192         (FPE_DECERR): Likewise.
34193         (FPE_INVASC): Likewise.
34194         (FPE_INVDEC): Likewise.
34195         (SEGV_MAPERR): Likewise.
34196         (SEGV_ACCERR): Likewise.
34197         (SEGV_PSTKOVF): Likewise.
34198         (BUS_ADRALN): Likewise.
34199         (BUS_ADRERR): Likewise.
34200         (BUS_OBJERR): Likewise.
34201         (BUS_MCEERR_AR): Likewise.
34202         (BUS_MCEERR_AO): Likewise.
34203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34204         (TRAP_TRACE): Likewise.
34205         (TRAP_BRANCH): Likewise.
34206         (TRAP_HWBKPT): Likewise.
34207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34208         __USE_XOPEN2K8].
34209         (CLD_KILLED): Likewise.
34210         (CLD_DUMPED): Likewise.
34211         (CLD_TRAPPED): Likewise.
34212         (CLD_STOPPED): Likewise.
34213         (CLD_CONTINUED): Likewise.
34214         (POLL_IN): Likewise.
34215         (POLL_OUT): Likewise.
34216         (POLL_MSG): Likewise.
34217         (POLL_ERR): Likewise.
34218         (POLL_PRI): Likewise.
34219         (POLL_HUP): Likewise.
34220         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34221         (ILL_ILLOPN): Likewise.
34222         (ILL_ILLADR): Likewise.
34223         (ILL_ILLTRP): Likewise.
34224         (ILL_PRVOPC): Likewise.
34225         (ILL_PRVREG): Likewise.
34226         (ILL_COPROC): Likewise.
34227         (ILL_BADSTK): Likewise.
34228         (FPE_INTDIV): Likewise.
34229         (FPE_INTOVF): Likewise.
34230         (FPE_FLTDIV): Likewise.
34231         (FPE_FLTOVF): Likewise.
34232         (FPE_FLTUND): Likewise.
34233         (FPE_FLTRES): Likewise.
34234         (FPE_FLTINV): Likewise.
34235         (FPE_FLTSUB): Likewise.
34236         (SEGV_MAPERR): Likewise.
34237         (SEGV_ACCERR): Likewise.
34238         (BUS_ADRALN): Likewise.
34239         (BUS_ADRERR): Likewise.
34240         (BUS_OBJERR): Likewise.
34241         (BUS_MCEERR_AR): Likewise.
34242         (BUS_MCEERR_AO): Likewise.
34243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34244         (TRAP_TRACE): Likewise.
34245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34246         __USE_XOPEN2K8].
34247         (CLD_KILLED): Likewise.
34248         (CLD_DUMPED): Likewise.
34249         (CLD_TRAPPED): Likewise.
34250         (CLD_STOPPED): Likewise.
34251         (CLD_CONTINUED): Likewise.
34252         (POLL_IN): Likewise.
34253         (POLL_OUT): Likewise.
34254         (POLL_MSG): Likewise.
34255         (POLL_ERR): Likewise.
34256         (POLL_PRI): Likewise.
34257         (POLL_HUP): Likewise.
34258         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34259         (ILL_ILLOPN): Likewise.
34260         (ILL_ILLADR): Likewise.
34261         (ILL_ILLTRP): Likewise.
34262         (ILL_PRVOPC): Likewise.
34263         (ILL_PRVREG): Likewise.
34264         (ILL_COPROC): Likewise.
34265         (ILL_BADSTK): Likewise.
34266         (FPE_INTDIV): Likewise.
34267         (FPE_INTOVF): Likewise.
34268         (FPE_FLTDIV): Likewise.
34269         (FPE_FLTOVF): Likewise.
34270         (FPE_FLTUND): Likewise.
34271         (FPE_FLTRES): Likewise.
34272         (FPE_FLTINV): Likewise.
34273         (FPE_FLTSUB): Likewise.
34274         (SEGV_MAPERR): Likewise.
34275         (SEGV_ACCERR): Likewise.
34276         (BUS_ADRALN): Likewise.
34277         (BUS_ADRERR): Likewise.
34278         (BUS_OBJERR): Likewise.
34279         (BUS_MCEERR_AR): Likewise.
34280         (BUS_MCEERR_AO): Likewise.
34281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34282         (TRAP_TRACE): Likewise.
34283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34284         __USE_XOPEN2K8].
34285         (CLD_KILLED): Likewise.
34286         (CLD_DUMPED): Likewise.
34287         (CLD_TRAPPED): Likewise.
34288         (CLD_STOPPED): Likewise.
34289         (CLD_CONTINUED): Likewise.
34290         (POLL_IN): Likewise.
34291         (POLL_OUT): Likewise.
34292         (POLL_MSG): Likewise.
34293         (POLL_ERR): Likewise.
34294         (POLL_PRI): Likewise.
34295         (POLL_HUP): Likewise.
34296         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34297         (ILL_ILLOPN): Likewise.
34298         (ILL_ILLADR): Likewise.
34299         (ILL_ILLTRP): Likewise.
34300         (ILL_PRVOPC): Likewise.
34301         (ILL_PRVREG): Likewise.
34302         (ILL_COPROC): Likewise.
34303         (ILL_BADSTK): Likewise.
34304         (FPE_INTDIV): Likewise.
34305         (FPE_INTOVF): Likewise.
34306         (FPE_FLTDIV): Likewise.
34307         (FPE_FLTOVF): Likewise.
34308         (FPE_FLTUND): Likewise.
34309         (FPE_FLTRES): Likewise.
34310         (FPE_FLTINV): Likewise.
34311         (FPE_FLTSUB): Likewise.
34312         (SEGV_MAPERR): Likewise.
34313         (SEGV_ACCERR): Likewise.
34314         (BUS_ADRALN): Likewise.
34315         (BUS_ADRERR): Likewise.
34316         (BUS_OBJERR): Likewise.
34317         (BUS_MCEERR_AR): Likewise.
34318         (BUS_MCEERR_AO): Likewise.
34319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34320         (TRAP_TRACE): Likewise.
34321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34322         __USE_XOPEN2K8].
34323         (CLD_KILLED): Likewise.
34324         (CLD_DUMPED): Likewise.
34325         (CLD_TRAPPED): Likewise.
34326         (CLD_STOPPED): Likewise.
34327         (CLD_CONTINUED): Likewise.
34328         (POLL_IN): Likewise.
34329         (POLL_OUT): Likewise.
34330         (POLL_MSG): Likewise.
34331         (POLL_ERR): Likewise.
34332         (POLL_PRI): Likewise.
34333         (POLL_HUP): Likewise.
34334         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34335         (ILL_ILLOPN): Likewise.
34336         (ILL_ILLADR): Likewise.
34337         (ILL_ILLTRP): Likewise.
34338         (ILL_PRVOPC): Likewise.
34339         (ILL_PRVREG): Likewise.
34340         (ILL_COPROC): Likewise.
34341         (ILL_BADSTK): Likewise.
34342         (ILL_DBLFLT): Likewise.
34343         (ILL_HARDWALL): Likewise.
34344         (FPE_INTDIV): Likewise.
34345         (FPE_INTOVF): Likewise.
34346         (FPE_FLTDIV): Likewise.
34347         (FPE_FLTOVF): Likewise.
34348         (FPE_FLTUND): Likewise.
34349         (FPE_FLTRES): Likewise.
34350         (FPE_FLTINV): Likewise.
34351         (FPE_FLTSUB): Likewise.
34352         (SEGV_MAPERR): Likewise.
34353         (SEGV_ACCERR): Likewise.
34354         (BUS_ADRALN): Likewise.
34355         (BUS_ADRERR): Likewise.
34356         (BUS_OBJERR): Likewise.
34357         (BUS_MCEERR_AR): Likewise.
34358         (BUS_MCEERR_AO): Likewise.
34359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34360         (TRAP_TRACE): Likewise.
34361         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34362         __USE_XOPEN2K8].
34363         (CLD_KILLED): Likewise.
34364         (CLD_DUMPED): Likewise.
34365         (CLD_TRAPPED): Likewise.
34366         (CLD_STOPPED): Likewise.
34367         (CLD_CONTINUED): Likewise.
34368         (POLL_IN): Likewise.
34369         (POLL_OUT): Likewise.
34370         (POLL_MSG): Likewise.
34371         (POLL_ERR): Likewise.
34372         (POLL_PRI): Likewise.
34373         (POLL_HUP): Likewise.
34374         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34375         (ILL_ILLOPN): Likewise.
34376         (ILL_ILLADR): Likewise.
34377         (ILL_ILLTRP): Likewise.
34378         (ILL_PRVOPC): Likewise.
34379         (ILL_PRVREG): Likewise.
34380         (ILL_COPROC): Likewise.
34381         (ILL_BADSTK): Likewise.
34382         (FPE_INTDIV): Likewise.
34383         (FPE_INTOVF): Likewise.
34384         (FPE_FLTDIV): Likewise.
34385         (FPE_FLTOVF): Likewise.
34386         (FPE_FLTUND): Likewise.
34387         (FPE_FLTRES): Likewise.
34388         (FPE_FLTINV): Likewise.
34389         (FPE_FLTSUB): Likewise.
34390         (SEGV_MAPERR): Likewise.
34391         (SEGV_ACCERR): Likewise.
34392         (BUS_ADRALN): Likewise.
34393         (BUS_ADRERR): Likewise.
34394         (BUS_OBJERR): Likewise.
34395         (BUS_MCEERR_AR): Likewise.
34396         (BUS_MCEERR_AO): Likewise.
34397         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34398         (TRAP_TRACE): Likewise.
34399         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34400         __USE_XOPEN2K8].
34401         (CLD_KILLED): Likewise.
34402         (CLD_DUMPED): Likewise.
34403         (CLD_TRAPPED): Likewise.
34404         (CLD_STOPPED): Likewise.
34405         (CLD_CONTINUED): Likewise.
34406         (POLL_IN): Likewise.
34407         (POLL_OUT): Likewise.
34408         (POLL_MSG): Likewise.
34409         (POLL_ERR): Likewise.
34410         (POLL_PRI): Likewise.
34411         (POLL_HUP): Likewise.
34412         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34413         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34415         [BZ #16670]
34416         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34417         before #include of <time.h>.
34418         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34419         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34420         (test-xfail-UNIX98/sched.h/conform): Likewise.
34422 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34424         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34425         error absence of trapping exception support.
34426         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34428 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34430         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34431         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34432         * timezone/Makefile (testdata): Move definition above include of
34433         Rules.
34434         (test-zones): New variable.
34435         (tests-special): Add zone files.
34436         (build-testdata): Use $(evaluate-test).
34438         * elf/Makefile (tests-special): Rename tests to end with .out.
34439         ($(objpfx)noload-mem): Likewise.
34440         ($(objpfx)tst-leaks1-mem): Likewise.
34441         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34442         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34443         $(objpfx)test-iconvconfig.out.
34444         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34445         set -e inside subshell and redirect output to file.
34446         * iconvdata/Makefile (generated): Rename tests to end with .out.
34447         Correct type.
34448         (tests-special): Rename tests to end with .out.
34449         ($(objpfx)mtrace-tst-loading): Likewise.
34450         * intl/Makefile (generated): Likewise.
34451         (tests-special): Likewise.
34452         ($(objpfx)mtrace-tst-gettext): Likewise.
34453         * misc/Makefile (generated): Likewise.
34454         (tests-special): Likewise.
34455         ($(objpfx)tst-error1-mem): Likewise.
34456         * nptl/Makefile (tests-special): Likewise.
34457         ($(objpfx)tst-stack3-mem): Likewise.
34458         (generated): Likewise.
34459         * posix/Makefile (generated): Likewise.
34460         (tests-special): Likewise.
34461         (xtests-special): Likewise.
34462         ($(objpfx)tst-fnmatch-mem): Likewise.
34463         ($(objpfx)bug-regex2-mem): Likewise.
34464         ($(objpfx)bug-regex14-mem): Likewise.
34465         ($(objpfx)bug-regex21-mem): Likewise.
34466         ($(objpfx)bug-regex31-mem): Likewise.
34467         ($(objpfx)tst-vfork3-mem): Likewise.
34468         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34469         ($(objpfx)tst-pcre-mem): Likewise.
34470         ($(objpfx)tst-boost-mem): Likewise.
34471         ($(objpfx)bug-ga2-mem): Likewise.
34472         ($(objpfx)bug-glob2-mem): Likewise.
34473         * resolv/Makefile (generate): Likewise.
34474         (tests-special): Likewise.
34475         (xtests-special): Likewise.
34476         (generated): Likewise.
34477         ($(objpfx)mtrace-tst-leaks): Likewise.
34478         ($(objpfx)mtrace-tst-leaks2): Likewise.
34480         * scripts/merge-test-results.sh: New file.
34481         * Makefile (tests-special-notdir): New variable.
34482         (tests): Run merge-test-results.sh.
34483         (xtests): Likewise.
34484         * Rules (tests-special-notdir): New variable.
34485         (xtests-special-notdir): Likewise.
34486         (tests): Run merge-test-results.sh
34487         (xtests): Likewise.
34489         * Makeconfig (test-xfail-name): New variable.
34490         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34491         compute variable name for expected failures.
34492         * conform/Makefile (conformtest-headers-data): New variable.
34493         (conformtest-standards): Likewise.
34494         (conformtest-headers-ISO): Likewise.
34495         (conformtest-headers-ISO99): Likewise.
34496         (conformtest-headers-ISO11): Likewise.
34497         (conformtest-headers-POSIX): Likewise.
34498         (conformtest-headers-XPG3): Likewise.
34499         (conformtest-headers-XPG4): Likewise.
34500         (conformtest-headers-UNIX98): Likewise.
34501         (conformtest-headers-XOPEN2K): Likewise.
34502         (conformtest-headers-POSIX2008): Likewise.
34503         (conformtest-headers-XOPEN2K8): Likewise.
34504         (conformtest-header-list-base): Likewise.
34505         (conformtest-header-list-tests): Likewise.
34506         (conformtest-header-base): Likewise.
34507         (conformtest-header-tests): Likewise.
34508         (tests-special): Add $(conformtest-header-list-tests).  If
34509         [$(fast-check) && !$(cross-compiling)], add
34510         $(conformtest-header-tests) instead of
34511         $(objpfx)run-conformtest.out.
34512         (generated): Add $(conformtest-header-list-base).  If
34513         [$(fast-check) && !$(cross-compiling)], add
34514         $(conformtest-header-base).  Remove previous setting.
34515         ($(conformtest-header-list-tests)): New target.
34516         (test-xfail-run-conformtest): Remove variable.
34517         ($(objpfx)run-conformtest.out): Remove target.
34518         (test-xfail-ISO11/complex.h/conform): New variable.
34519         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34520         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34521         (test-xfail-XPG3/varargs.h/conform): Likewise.
34522         (test-xfail-XPG4/varargs.h/conform): Likewise.
34523         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34524         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34525         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34526         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34527         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34528         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34529         (test-xfail-XPG3/ftw.h/conform): Likewise.
34530         (test-xfail-XPG3/grp.h/conform): Likewise.
34531         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34532         (test-xfail-XPG3/limits.h/conform): Likewise.
34533         (test-xfail-XPG3/pwd.h/conform): Likewise.
34534         (test-xfail-XPG3/search.h/conform): Likewise.
34535         (test-xfail-XPG3/signal.h/conform): Likewise.
34536         (test-xfail-XPG3/stdio.h/conform): Likewise.
34537         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34538         (test-xfail-XPG3/string.h/conform): Likewise.
34539         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34540         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34541         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34542         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34543         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34544         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34545         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34546         (test-xfail-XPG3/termios.h/conform): Likewise.
34547         (test-xfail-XPG3/time.h/conform): Likewise.
34548         (test-xfail-XPG3/unistd.h/conform): Likewise.
34549         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34550         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34551         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34552         (test-xfail-XPG4/netdb.h/conform): Likewise.
34553         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34554         (test-xfail-XPG4/signal.h/conform): Likewise.
34555         (test-xfail-XPG4/stdio.h/conform): Likewise.
34556         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34557         (test-xfail-XPG4/stropts.h/conform): Likewise.
34558         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34559         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34560         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34561         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34562         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34563         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34564         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34565         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34566         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34567         (test-xfail-XPG4/termios.h/conform): Likewise.
34568         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34569         (test-xfail-XPG4/unistd.h/conform): Likewise.
34570         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34571         (test-xfail-POSIX/sched.h/conform): Likewise.
34572         (test-xfail-POSIX/signal.h/conform): Likewise.
34573         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34574         (test-xfail-POSIX/tar.h/conform): Likewise.
34575         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34576         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34577         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34578         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34579         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34580         (test-xfail-UNIX98/sched.h/conform): Likewise.
34581         (test-xfail-UNIX98/signal.h/conform): Likewise.
34582         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34583         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34584         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34585         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34586         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34587         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34588         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34589         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34590         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34591         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34592         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34593         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34594         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34595         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34596         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34597         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34598         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34599         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34600         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34601         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34602         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34603         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34604         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34605         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34606         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34607         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34608         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34609         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34610         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34611         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34612         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34613         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34614         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34615         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34616         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34617         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34618         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34619         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34620         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34621         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34622         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34623         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34624         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34625         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34626         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34627         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34628         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34629         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34630         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34631         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34632         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34633         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34634         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34635         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34636         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34637         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34638         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34639         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34640         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34641         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34642         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34643         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34644         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34645         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34646         (conformtest-cc-flags): Likewise.
34647         ($(conformtest-header-tests): New target.
34648         * conform/check-header-lists.sh: New file.
34649         * conform/run-conformtest.sh: Remove.
34651         * conform/conformtest.pl: Allow ' and \ in values given for
34652         constants.
34653         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34654         inclusion.
34655         [POSIX] (sys/types.h): Likewise.
34656         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34657         inclusion.
34658         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34659         inclusion.
34660         * conform/data/signal.h-data (SIGIO): Remove expectation.
34661         [XPG3] (SIGBUS): Do not expect.
34662         [POSIX || XPG3] (SIGPOLL): Likewise.
34663         [POSIX || XPG3] (SIGPROF): Likewise.
34664         [POSIX || XPG3] (SIGSYS): Likewise.
34665         [XPG3] (SIGTRAP): Likewise.
34666         [POSIX || XPG3] (SIGURG): Likewise.
34667         [POSIX || XPG3] (SIGVTALRM): Likewise.
34668         [POSIX || XPG3] (SIGXCPU): Likewise.
34669         [POSIX || XPG3] (SIGXFSZ): Likewise.
34670         [POSIX] (SA_SIGINFO): Expect.
34671         [XPG3] (siginfo_t): Do not expect type or contents.
34672         [POSIX] (si_pid): Do not expect element.
34673         [POSIX] (si_uid): Likewise.
34674         [POSIX] (si_addr): Likewise.
34675         [POSIX] (si_status): Likewise.
34676         [POSIX] (si_band): Likewise.
34677         [XPG4] (si_value): Likewise.
34678         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34679         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34680         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34681         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34682         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34683         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34684         [POSIX || XPG3] (ILL_COPROC): Likewise.
34685         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34686         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34687         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34688         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34689         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34690         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34691         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34692         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34693         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34694         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34695         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34696         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34697         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34698         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34699         [POSIX || XPG3] (CLD_EXITED): Likewise.
34700         [POSIX || XPG3] (CLD_KILLED): Likewise.
34701         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34702         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34703         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34704         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34705         [POSIX || XPG3] (POLL_IN): Likewise.
34706         [POSIX || XPG3] (POLL_OUT): Likewise.
34707         [POSIX || XPG3] (POLL_MSG): Likewise.
34708         [POSIX || XPG3] (POLL_ERR): Likewise.
34709         [POSIX || XPG3] (POLL_PRI): Likewise.
34710         [POSIX || XPG3] (POLL_HUP): Likewise.
34711         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34712         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34713         (SIG*): Do not allow.
34714         [XPG3] (si_*): Likewise.
34715         [XPG3] (SI_*): Likewise.
34716         [XPG3 || XPG4] (sigev_*): Likewise.
34717         [XPG3 || XPG4] (SIGEV_*): Likewise.
34718         [XPG3 || XPG4] (sival_*): Likewise.
34719         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34720         [POSIX || XPG3] (BUS_*): Likewise.
34721         [POSIX || XPG3] (CLD_*): Likewise.
34722         [POSIX || XPG3] (FPE_*): Likewise.
34723         [POSIX || XPG3] (ILL_*): Likewise.
34724         [POSIX || XPG3] (POLL_*): Likewise.
34725         [POSIX || XPG3] (SEGV_*): Likewise.
34726         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34727         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34728         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34729         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34730         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34731         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34732         Specify type and value.
34733         (TVERSLEN): Likewise.
34734         (REGTYPE): Likewise.
34735         (AREGTYPE): Likewise.
34736         (LNKTYPE): Likewise.
34737         (SYMTYPE): Likewise.
34738         (CHRTYPE): Likewise.
34739         (BLKTYPE): Likewise.
34740         (DIRTYPE): Likewise.
34741         (FIFOTYPE): Likewise.
34742         (CONTTYPE): Likewise.
34743         (TSUID): Likewise.
34744         (TSGID): Likewise.
34745         (TSVTX): Likewise.
34746         (TUREAD): Likewise.
34747         (TUWRITE): Likewise.
34748         (TUEXEC): Likewise.
34749         (TGREAD): Likewise.
34750         (TGWRITE): Likewise.
34751         (TGEXEC): Likewise.
34752         (TOREAD): Likewise.
34753         (TOWRITE): Likewise.
34754         (TOEXEC): Likewise.
34755         [POSIX] (TSVTX): Expect constant.
34757 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34759         * Makefile (tests): Change dependencies to ....
34760         (tests-special): ... additions to this variable.
34761         (tests): Depend on $(tests-special).
34762         * Makerules (check-abi-list): New variable.
34763         (check-abi): Depend on $(check-abi-list).
34764         [$(subdir) = elf] (tests-special): Add
34765         $(objpfx)check-abi-libc.out.
34766         [$(build-shared) = yes && subdir] (tests-special): Add
34767         $(check-abi-list).
34768         [$(build-shared) = yes && subdir] (tests): Do not depend on
34769         check-abi.
34770         * Rules (tests): Depend on $(tests-special).
34771         (xtests): Depend on $(xtests-special).
34772         * catgets/Makefile (tests): Change dependencies to ....
34773         (tests-special): ... additions to this variable.
34774         * conform/Makefile (tests): Change dependencies to ....
34775         (tests-special): ... additions to this variable.
34776         * elf/Makefile (tests): Change dependencies to ....
34777         (tests-special): ... additions to this variable.
34778         * grp/Makefile (tests): Change dependencies to ....
34779         (tests-special): ... additions to this variable.
34780         * iconv/Makefile (xtests): Change dependencies to ....
34781         (xtests-special): ... additions to this variable.
34782         * iconvdata/Makefile (tests): Change dependencies to ....
34783         (tests-special): ... additions to this variable.
34784         * intl/Makefile (tests): Change dependencies to ....
34785         (tests-special): ... additions to this variable.  Also add
34786         $(objpfx)tst-gettext.out.
34787         * io/Makefile (tests): Change dependencies to ....
34788         (tests-special): ... additions to this variable.
34789         * libio/Makefile (tests): Change dependencies to ....
34790         (tests-special): ... additions to this variable.
34791         * malloc/Makefile (tests): Change dependencies to ....
34792         (tests-special): ... additions to this variable.
34793         * misc/Makefile (tests): Change dependencies to ....
34794         (tests-special): ... additions to this variable.
34795         * nptl/Makefile (tests): Change dependencies to ....
34796         (tests-special): ... additions to this variable.
34797         * nptl_db/Makefile (tests): Change dependencies to ....
34798         (tests-special): ... additions to this variable.
34799         * posix/Makefile (tests): Change dependencies to ....
34800         (tests-special): ... additions to this variable.
34801         (xtests): Change dependencies to ....
34802         (xtests-special): ... additions to this variable.
34803         * resolv/Makefile (tests): Change dependencies to ....
34804         (tests-special): ... additions to this variable.
34805         (xtests): Change dependencies to ....
34806         (xtests-special): ... additions to this variable.
34807         * stdio-common/Makefile (tests): Change dependencies to ....
34808         (tests-special): ... additions to this variable.
34809         (do-tst-unbputc): Remove target.
34810         (do-tst-printf): Likewise.
34811         * stdlib/Makefile (tests): Change dependencies to ....
34812         (tests-special): ... additions to this variable.
34813         * string/Makefile (tests): Change dependencies to ....
34814         (tests-special): ... additions to this variable.
34815         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34816         (tests-special): ... additions to this variable.
34818         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34819         whole file.
34820         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34821         whole file.
34822         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34823         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34825         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34826         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34827         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34828         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34829         * conform/data/libgen.h-data [XPG3]: Likewise.
34830         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34831         * conform/data/ndbm.h-data [XPG3]: Likewise.
34832         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34833         * conform/data/netdb.h-data [XPG3]: Likewise.
34834         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34835         * conform/data/poll.h-data [XPG3]: Likewise.
34836         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34837         * conform/data/strings.h-data [XPG3]: Likewise.
34838         * conform/data/stropts.h-data [XPG3]: Likewise.
34839         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34840         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34841         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34842         Likewise.
34843         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34844         * conform/data/sys/time.h-data [XPG3]: Likewise.
34845         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34846         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34847         * conform/data/sys/un.h-data [XPG3]: Likewise.
34848         * conform/data/syslog.h-data [XPG3]: Likewise.
34849         * conform/data/ucontext.h-data [XPG3]: Likewise.
34850         * conform/data/utmpx.h-data [XPG3]: Likewise.
34851         * conform/data/varargs.h-data [UNIX98]: Enable file.
34853         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34855         * math/libm-test.inc (struct test_f_f_data): Move expected results
34856         into structure for each rounding mode.
34857         (struct test_ff_f_data): Likewise.
34858         (struct test_ff_f_data_nexttoward): Likewise.
34859         (struct test_fi_f_data): Likewise.
34860         (struct test_fl_f_data): Likewise.
34861         (struct test_if_f_data): Likewise.
34862         (struct test_fff_f_data): Likewise.
34863         (struct test_c_f_data): Likewise.
34864         (struct test_f_f1_data): Likewise.
34865         (struct test_fF_f1_data): Likewise.
34866         (struct test_ffI_f1_data): Likewise.
34867         (struct test_c_c_data): Likewise.
34868         (struct test_cc_c_data): Likewise.
34869         (struct test_f_i_data): Likewise.
34870         (struct test_ff_i_data): Likewise.
34871         (struct test_f_l_data): Likewise.
34872         (struct test_f_L_data): Likewise.
34873         (struct test_fFF_11_data): Likewise.
34874         (RM_): New macro.
34875         (RM_FE_DOWNWARD): Likewise.
34876         (RM_FE_TONEAREST): Likewise.
34877         (RM_FE_TOWARDZERO): Likewise.
34878         (RM_FE_UPWARD): Likewise.
34879         (RUN_TEST_LOOP_f_f): Update references to expected results.
34880         (RUN_TEST_LOOP_2_f): Likewise.
34881         (RUN_TEST_LOOP_fff_f): Likewise.
34882         (RUN_TEST_LOOP_c_f): Likewise.
34883         (RUN_TEST_LOOP_f_f1): Likewise.
34884         (RUN_TEST_LOOP_fF_f1): Likewise.
34885         (RUN_TEST_LOOP_fI_f1): Likewise.
34886         (RUN_TEST_LOOP_ffI_f1): Likewise.
34887         (RUN_TEST_LOOP_c_c): Likewise.
34888         (RUN_TEST_LOOP_cc_c): Likewise.
34889         (RUN_TEST_LOOP_f_i): Likewise.
34890         (RUN_TEST_LOOP_f_i_tg): Likewise.
34891         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34892         (RUN_TEST_LOOP_f_b): Likewise.
34893         (RUN_TEST_LOOP_f_b_tg): Likewise.
34894         (RUN_TEST_LOOP_f_l): Likewise.
34895         (RUN_TEST_LOOP_f_L): Likewise.
34896         (RUN_TEST_LOOP_fFF_11): Likewise.
34897         * math/gen-libm-test.pl (parse_args): Output four copies of
34898         expected results for each test.
34900         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34901         (__ASSUME_UTIMES): Remove.
34902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34903         (__ASSUME_UTIMES): Likewise.
34905         * math/gen-auto-libm-tests.c: Update comment on output format.
34906         (output_for_one_input_case): Generate before-rounding and
34907         after-rounding information as conditions on output flags not
34908         floating-point format.
34909         * math/auto-libm-test-out: Regenerated.
34910         * math/gen-libm-test.pl (cond_value): New function.
34911         (or_cond_value): Use cond_value.
34912         (generate_testfile): Handle conditional exceptions.
34914 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34916         * math/libm-test.inc (max_valid_error): New variable.
34917         (init_max_error): Take new argument specifying whether function
34918         results are exactly determined.  Set max_valid_error and bound
34919         other variables for errors based on this argument.
34920         (set_max_error): Do not record results above max_valid_error.
34921         (check_float_internal): Only accept errors of up to 0.5ulps if
34922         also at most max_valid_error.
34923         (START): Take new argument EXACT and pass it to init_max_error.
34924         (acos_test): Update call to START.
34925         (acos_test_tonearest): Likewise.
34926         (acos_test_towardzero): Likewise.
34927         (acos_test_downward): Likewise.
34928         (acos_test_upward): Likewise.
34929         (acosh_test): Likewise.
34930         (asin_test): Likewise.
34931         (asin_test_tonearest): Likewise.
34932         (asin_test_towardzero): Likewise.
34933         (asin_test_downward): Likewise.
34934         (asin_test_upward): Likewise.
34935         (asinh_test): Likewise.
34936         (atan_test): Likewise.
34937         (atanh_test): Likewise.
34938         (atan2_test): Likewise.
34939         (cabs_test): Likewise.
34940         (cacos_test): Likewise.
34941         (cacosh_test): Likewise.
34942         (carg_test): Likewise.
34943         (casin_test): Likewise.
34944         (casinh_test): Likewise.
34945         (catan_test): Likewise.
34946         (catanh_test): Likewise.
34947         (cbrt_test): Likewise.
34948         (ccos_test): Likewise.
34949         (ccosh_test): Likewise.
34950         (ceil_test): Likewise.
34951         (cexp_test): Likewise.
34952         (cimag_test): Likewise.
34953         (clog_test): Likewise.
34954         (clog10_test): Likewise.
34955         (conj_test): Likewise.
34956         (copysign_test): Likewise.
34957         (cos_test): Likewise.
34958         (cos_test_tonearest): Likewise.
34959         (cos_test_towardzero): Likewise.
34960         (cos_test_downward): Likewise.
34961         (cos_test_upward): Likewise.
34962         (cosh_test): Likewise.
34963         (cosh_test_tonearest): Likewise.
34964         (cosh_test_towardzero): Likewise.
34965         (cosh_test_downward): Likewise.
34966         (cosh_test_upward): Likewise.
34967         (cpow_test): Likewise.
34968         (cproj_test): Likewise.
34969         (creal_test): Likewise.
34970         (csin_test): Likewise.
34971         (csinh_test): Likewise.
34972         (csqrt_test): Likewise.
34973         (ctan_test): Likewise.
34974         (ctan_test_tonearest): Likewise.
34975         (ctan_test_towardzero): Likewise.
34976         (ctan_test_downward): Likewise.
34977         (ctan_test_upward): Likewise.
34978         (ctanh_test): Likewise.
34979         (ctanh_test_tonearest): Likewise.
34980         (ctanh_test_towardzero): Likewise.
34981         (ctanh_test_downward): Likewise.
34982         (ctanh_test_upward): Likewise.
34983         (erf_test): Likewise.
34984         (erfc_test): Likewise.
34985         (exp_test): Likewise.
34986         (exp_test_tonearest): Likewise.
34987         (exp_test_towardzero): Likewise.
34988         (exp_test_downward): Likewise.
34989         (exp_test_upward): Likewise.
34990         (exp10_test): Likewise.
34991         (exp10_test_tonearest): Likewise.
34992         (exp10_test_towardzero): Likewise.
34993         (exp10_test_downward): Likewise.
34994         (exp10_test_upward): Likewise.
34995         (pow10_test): Likewise.
34996         (exp2_test): Likewise.
34997         (expm1_test): Likewise.
34998         (expm1_test_tonearest): Likewise.
34999         (expm1_test_towardzero): Likewise.
35000         (expm1_test_downward): Likewise.
35001         (expm1_test_upward): Likewise.
35002         (fabs_test): Likewise.
35003         (fdim_test): Likewise.
35004         (floor_test): Likewise.
35005         (fma_test): Likewise.
35006         (fma_test_towardzero): Likewise.
35007         (fma_test_downward): Likewise.
35008         (fma_test_upward): Likewise.
35009         (fmax_test): Likewise.
35010         (fmin_test): Likewise.
35011         (fmod_test): Likewise.
35012         (fpclassify_test): Likewise.
35013         (frexp_test): Likewise.
35014         (hypot_test): Likewise.
35015         (ilogb_test): Likewise.
35016         (isfinite_test): Likewise.
35017         (finite_test): Likewise.
35018         (isgreater_test): Likewise.
35019         (isgreaterequal_test): Likewise.
35020         (isinf_test): Likewise.
35021         (isless_test): Likewise.
35022         (islessequal_test): Likewise.
35023         (islessgreater_test): Likewise.
35024         (isnan_test): Likewise.
35025         (isnormal_test): Likewise.
35026         (issignaling_test): Likewise.
35027         (isunordered_test): Likewise.
35028         (j0_test): Likewise.
35029         (j1_test): Likewise.
35030         (jn_test): Likewise.
35031         (ldexp_test): Likewise.
35032         (lgamma_test): Likewise.
35033         (gamma_test): Likewise.
35034         (lrint_test): Likewise.
35035         (lrint_test_tonearest): Likewise.
35036         (lrint_test_towardzero): Likewise.
35037         (lrint_test_downward): Likewise.
35038         (lrint_test_upward): Likewise.
35039         (llrint_test): Likewise.
35040         (llrint_test_tonearest): Likewise.
35041         (llrint_test_towardzero): Likewise.
35042         (llrint_test_downward): Likewise.
35043         (llrint_test_upward): Likewise.
35044         (log_test): Likewise.
35045         (log10_test): Likewise.
35046         (log1p_test): Likewise.
35047         (log2_test): Likewise.
35048         (logb_test): Likewise.
35049         (logb_test_downward): Likewise.
35050         (lround_test): Likewise.
35051         (llround_test): Likewise.
35052         (modf_test): Likewise.
35053         (nearbyint_test): Likewise.
35054         (nextafter_test): Likewise.
35055         (nexttoward_test): Likewise.
35056         (pow_test): Likewise.
35057         (pow_test_tonearest): Likewise.
35058         (pow_test_towardzero): Likewise.
35059         (pow_test_downward): Likewise.
35060         (pow_test_upward): Likewise.
35061         (remainder_test): Likewise.
35062         (drem_test): Likewise.
35063         (remainder_test_tonearest): Likewise.
35064         (drem_test_tonearest): Likewise.
35065         (remainder_test_towardzero): Likewise.
35066         (drem_test_towardzero): Likewise.
35067         (remainder_test_downward): Likewise.
35068         (drem_test_downward): Likewise.
35069         (remainder_test_upward): Likewise.
35070         (drem_test_upward): Likewise.
35071         (remquo_test): Likewise.
35072         (rint_test): Likewise.
35073         (rint_test_tonearest): Likewise.
35074         (rint_test_towardzero): Likewise.
35075         (rint_test_downward): Likewise.
35076         (rint_test_upward): Likewise.
35077         (round_test): Likewise.
35078         (scalb_test): Likewise.
35079         (scalbn_test): Likewise.
35080         (scalbln_test): Likewise.
35081         (signbit_test): Likewise.
35082         (sin_test): Likewise.
35083         (sin_test_tonearest): Likewise.
35084         (sin_test_towardzero): Likewise.
35085         (sin_test_downward): Likewise.
35086         (sin_test_upward): Likewise.
35087         (sincos_test): Likewise.
35088         (sinh_test): Likewise.
35089         (sinh_test_tonearest): Likewise.
35090         (sinh_test_towardzero): Likewise.
35091         (sinh_test_downward): Likewise.
35092         (sinh_test_upward): Likewise.
35093         (sqrt_test): Likewise.
35094         (sqrt_test_tonearest): Likewise.
35095         (sqrt_test_towardzero): Likewise.
35096         (sqrt_test_downward): Likewise.
35097         (sqrt_test_upward): Likewise.
35098         (tan_test): Likewise.
35099         (tan_test_tonearest): Likewise.
35100         (tan_test_towardzero): Likewise.
35101         (tan_test_downward): Likewise.
35102         (tan_test_upward): Likewise.
35103         (tanh_test): Likewise.
35104         (tgamma_test): Likewise.
35105         (trunc_test): Likewise.
35106         (y0_test): Likewise.
35107         (y1_test): Likewise.
35108         (yn_test): Likewise.
35109         (significand_test): Likewise.
35111         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35112         individual tests in comment.
35113         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35114         (prev_max_error): New variable.
35115         (prev_real_max_error): Likewise.
35116         (prev_imag_max_error): Likewise.
35117         (compare_ulp_data): Don't refer to test names in comment.
35118         (find_test_ulps): Remove function.
35119         (find_function_ulps): Likewise.
35120         (find_complex_function_ulps): Likewise.
35121         (init_max_error): Take function name as argument.  Look up ulps
35122         for that function.
35123         (print_ulps): Remove function.
35124         (print_max_error): Use prev_max_error instead of calling
35125         find_function_ulps.
35126         (print_complex_max_error): Use prev_real_max_error and
35127         prev_imag_max_error instead of calling find_complex_function_ulps.
35128         (check_float_internal): Take max_ulp parameter instead of calling
35129         find_test_ulps.  Don't call print_ulps.
35130         (check_float): Update call to check_float_internal.
35131         (check_complex): Update calls to check_float_internal.
35132         (START): Pass argument to init_max_error.
35133         * math/gen-libm-test.pl (%results): Don't include "kind"
35134         information.
35135         (parse_ulps): Don't handle ulps of individual tests.
35136         (print_ulps_file): Likewise.
35137         (output_ulps): Likewise.
35138         * math/README.libm-test: Update.
35139         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35140         individual tests.
35141         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35142         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35143         * sysdeps/arm/libm-test-ulps: Likewise.
35144         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35145         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35146         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35147         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35148         * sysdeps/microblaze/libm-test-ulps: Likewise.
35149         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35150         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35151         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35152         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35153         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35154         * sysdeps/sh/libm-test-ulps: Likewise.
35155         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35156         * sysdeps/tile/libm-test-ulps: Likewise.
35157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35159 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35161         * math/libm-test.inc (print_complex_max_error): Check separately
35162         whether real and imaginary errors are within allowed range and
35163         pass 0 to print_complex_function_ulps instead of value within
35164         allowed range.
35166 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35168         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35169         formatting.
35170         (get_handles_fopen): Likewise.
35171         (do_write_test): Likewise.
35173         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35175         * libio/fileops.c (do_ftell): Use cached offset when
35176         available.
35177         * libio/iofwide.c (do_ftell_wide): Likewise.
35178         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35179         _IO_file_attach.
35180         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35182         [BZ #16532]
35183         * libio/libioP.h (get_file_offset): New function.
35184         * libio/fileops.c (get_file_offset): Likewise.
35185         (do_ftell): Likewise.
35186         (_IO_new_file_seekoff): Split out ftell logic.
35187         * libio/wfileops.c (do_ftell_wide): Likewise.
35188         (_IO_wfile_seekoff): Split out ftell logic.
35189         * libio/tst-ftell-active-handler.c: New test case.
35190         * libio/Makefile (tests): Add it.
35192 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35194         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35195         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35197 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35199         [BZ #16639]
35200         * nscd/connections.c (nscd_init): Call do_exit.
35201         (start_threads): Call do_exit and notify_parent.
35202         (begin_drop_privileges): Call do_exit.
35203         (finish_drop_privileges): Likewise.
35204         * nscd/selinux.c (preserve_capabilities): Likewise.
35205         (install_real_capabilities): Likewise.
35206         (nscd_selinux_enabled): Likewise.
35207         (avc_create_thread): Likewise.
35208         (avc_alloc_lock): Likewise.
35209         (nscd_avc_init): Likewise.
35210         * nscd/nscd.c (parent_fd): New static variable.
35211         (main): Create a pipe between parent and child processes.
35212         Skip closing parent_fd.
35213         (monitor_child): New function.
35214         (do_exit): Likewise.
35215         (notify_parent): Likewise.
35216         * nscd/nscd.h (notify_parent): Likewise.
35217         (do_exit): Likewise.
35219 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35221         * malloc/malloc.c (__libc_calloc): Revert last change.
35223 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35227 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35229         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35231         implementation.
35232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35233         (__libc_ifunc_impl_list): Likewise.
35234         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35235         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35236         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35237         * string/strrchr.c: Define STRRCHR.
35239 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35241         * benchtest/bench-strtok.c (simple_strtok): Delete.
35242         (strtok_string): Use as benchmark.
35243         * string/strtok (STRTOK): New macro.
35245 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35247         * manual/threads.texi: Add header and standard comments to all
35248         functions.
35250         * elf/dl-lookup.c (check_match): New function.
35251         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35252         (do_lookup_x): Remove nested function check_match. Use non-nested
35253         function check_match.
35255 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35257         * csu/Makefile (generated, before-compile): Use += rather than =.
35258         * catgets/Makefile (generated, generated-dirs): Likewise.
35259         * debug/Makefile (generated): Likewise.
35260         * dlfcn/Makefile (generated): Likewise.
35261         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35262         * iconvdata/Makefile (before-compile, generated): Likewise.
35263         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35264         * libio/Makefile (generated): Likewise.
35265         * malloc/Makefile (generated): Likewise.
35266         * manual/Makefile (generated, generated-dirs): Likewise.
35267         * misc/Makefile (generated): Likewise.
35268         * posix/Makefile (generated): Likewise.
35269         * resolv/Makefile (generated): Likewise.
35270         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35271         * timezone/Makefile (generated, generated-dirs): Likewise.
35273         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35275 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35278         power8 implementation.
35279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35280         file: POWER8 llround ifunc implementation.
35281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35282         (__lllround): Add POWER8 implementation.
35283         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35284         POWER8 llround implementation.
35286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35287         power8 implementation.
35288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35289         file: POWER8 llrint ifunc implementation.
35290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35291         Add POWER8 implementation.
35292         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35293         POWER8 llrint implementation.
35295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35296         power8 implementation.
35297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35298         file: POWER8 finite ifunc implementation.
35299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35300         Add POWER8 implementation.
35301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35302         Likewise.
35303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35304         POWER8 finite implementation.
35305         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35308         power8 implementation.
35309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35310         file: POWER8 isinf ifunc implementation.
35311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35312         POWER8 implementation.
35313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35314         Likewise.
35315         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35316         isinf implementation.
35317         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35319         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35320         (INIT_ARCH): Add hwcap2 initialization.
35321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35322         power8 implementation.
35323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35324         file: POWER8 isnan ifunc implementation.
35325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35326         POWER8 implementation.
35327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35328         Likewise.
35329         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35330         isnan implementation.
35331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35333 2014-02-27  Joey Ye  <joey.ye@arm.com>
35335         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35336         (_FP_NANFRAC_Q): Set to zero.
35338 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35340         [BZ #16623]
35341         * math/auto-libm-test-in: New test inputs.
35342         * math/auto-libm-test-out: Regenerate.
35343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35344         and DA.
35345         (__cos): Likewise.
35346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35348 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35350         * scripts/evaluate-test.sh: Take new argument indicating whether
35351         failure is expected.
35352         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35353         indicating whether failure is expected.
35354         * conform/Makefile (test-xfail-run-conformtest): New variable.
35355         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35356         level.
35357         * posix/Makefile (test-xfail-annexc): New variable.
35358         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35360 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35362         * argp/Makefile: Include Makeconfig immediately after defining
35363         subdir.
35364         * assert/Makefile: Likewise.
35365         * benchtests/Makefile: Likewise.
35366         * catgets/Makefile: Likewise.
35367         * conform/Makefile: Likewise.
35368         * crypt/Makefile: Likewise.
35369         * csu/Makefile: Likewise.
35370         (all): Remove target.
35371         * ctype/Makefile: Include Makeconfig immediately after defining
35372         subdir.
35373         * debug/Makefile: Likewise.
35374         * dirent/Makefile: Likewise.
35375         * dlfcn/Makefile: Likewise.
35376         * gmon/Makefile: Likewise.
35377         * gnulib/Makefile: Likewise.
35378         * grp/Makefile: Likewise.
35379         * gshadow/Makefile: Likewise.
35380         * hesiod/Makefile: Likewise.
35381         * hurd/Makefile: Likewise.
35382         (all): Remove target.
35383         * iconvdata/Makefile: Include Makeconfig immediately after
35384         defining subdir.
35385         * inet/Makefile: Likewise.
35386         * intl/Makefile: Likewise.
35387         * io/Makefile: Likewise.
35388         * libio/Makefile: Likewise.
35389         (all): Remove target.
35390         * locale/Makefile: Include Makeconfig immediately after defining
35391         subdir.
35392         * login/Makefile: Likewise.
35393         * mach/Makefile: Likewise.
35394         (all): Remove target.
35395         * malloc/Makefile: Include Makeconfig immediately after defining
35396         subdir.
35397         (all): Remove target.
35398         * manual/Makefile: Include Makeconfig immediately after defining
35399         subdir.
35400         * math/Makefile: Likewise.
35401         * misc/Makefile: Likewise.
35402         * nis/Makefile: Likewise.
35403         * nss/Makefile: Likewise.
35404         * po/Makefile: Likewise.
35405         (all): Remove target.
35406         * posix/Makefile: Include Makeconfig immediately after defining
35407         subdir.
35408         * pwd/Makefile: Likewise.
35409         * resolv/Makefile: Likewise.
35410         * resource/Makefile: Likewise.
35411         * rt/Makefile: Likewise.
35412         * setjmp/Makefile: Likewise.
35413         * shadow/Makefile: Likewise.
35414         * signal/Makefile: Likewise.
35415         * socket/Makefile: Likewise.
35416         * soft-fp/Makefile: Likewise.
35417         * stdio-common/Makefile: Likewise.
35418         * stdlib/Makefile: Likewise.
35419         * streams/Makefile: Likewise.
35420         * string/Makefile: Likewise.
35421         * sunrpc/Makefile: Likewise.
35422         (all): Remove target.
35423         * sysvipc/Makefile: Include Makeconfig immediately after defining
35424         subdir.
35425         * termios/Makefile: Likewise.
35426         * time/Makefile: Likewise.
35427         * timezone/Makefile: Likewise.
35428         (all): Remove target.
35429         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35430         subdir.
35431         * wctype/Makefile: Likewise.
35433 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35435         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35436         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35437         (libc_feholdexcept_setround_mips): Ditto.
35438         (libc_feholdsetround): New.
35439         (libc_feholdsetroundf): New.
35440         (libc_feholdsetroundl): New.
35441         (libc_feupdateenv_test_mips): New.
35442         (libc_feupdateenv_test): New.
35443         (libc_feupdateenv_testf): New.
35444         (libc_feupdateenv_testl): New.
35445         (libc_feresetround): New.
35446         (libc_feresetroundf): New.
35447         (libc_feresetroundl): New.
35448         (libc_fetestexcept_mips): New.
35449         (libc_fetestexcept): New.
35450         (libc_fetestexceptf): New.
35451         (libc_fetestexceptl): New.
35452         (HAVE_RM_CTX): New.
35453         (libc_feholdexcept_setround_mips_ctx): New.
35454         (libc_feholdexcept_setround_ctx): New.
35455         (libc_feholdexcept_setroundf_ctx): New.
35456         (libc_feholdexcept_setroundl_ctx): New.
35457         (libc_fesetenv_mips_ctx): New.
35458         (libc_fesetenv_ctx): New.
35459         (libc_fesetenv_ctxf): New.
35460         (libc_fesetenv_ctxl): New.
35461         (libc_feupdateenv_mips_ctx): New.
35462         (libc_feupdateenv_ctx): New.
35463         (libc_feupdateenvf_ctx): New.
35464         (libc_feupdateenvl_ctx): New.
35465         (libc_feholdsetround_mips_ctx): New.
35466         (libc_feholdsetround_ctx): New.
35467         (libc_feholdsetroundf_ctx): New.
35468         (libc_feholdsetroundl_ctx): New.
35469         (libc_feresetround_mips_ctx): New.
35470         (libc_feresetround_ctx): New.
35471         (libc_feresetroundf_ctx): New.
35472         (libc_feresetroundl_ctx): New.
35474 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35476         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35478         * manual/ipc.texi: New file.
35479         * manual/Makefile (chapters): Add ipc.
35480         * manual/job.texi: Add "Inter-Process Communication" to next.
35481         * manual/process.texi: Add "Inter-Process Communication" to prev.
35483 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35487 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35489         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35491         * manual/arith.texi: Fix spaces after sentences.
35492         * manual/charset.texi: Likewise.
35493         * manual/errno.texi: Likewise.
35494         * manual/install.texi: Likewise.
35495         * manual/llio.texi: Likewise.
35496         * manual/locale.texi: Likewise.
35497         * manual/maint.texi: Likewise.
35498         * manual/math.texi: Likewise.
35499         * manual/memory.texi: Likewise.
35500         * manual/message.texi: Likewise.
35501         * manual/probes.texi: Likewise.
35502         * manual/resource.texi: Likewise.
35503         * manual/signal.texi: Likewise.
35504         * manual/socket.texi: Likewise.
35505         * manual/stdio.texi: Likewise.
35506         * manual/string.texi: Likewise.
35507         * manual/time.texi: Likewise.
35508         * manual/users.texi: Likewise.
35510 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35512         [BZ #16632]
35513         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35514         _DEFAULT_SOURCE is defined.
35516 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35517             Carlos O'Donell  <carlos@redhat.com>
35519         [BZ #16613]
35520         * elf/dl-tls.c (_dl_count_modids): New function.
35521         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35522         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35523         audit library and increment generation counter.
35524         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35525         * elf/tst-audit9.c: New file.
35526         * elf/tst-auditmod9a.c: New file.
35527         * elf/tst-auditmod9b.c: New file.
35528         * elf/Makefile: Add rules to build and run tst-audit9.
35530 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35532         [BZ #15347]
35533         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35535 2014-02-25  Will Newton  <will.newton@linaro.org>
35537         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35538         (__longjmp): Restore sp and lr before restoring callee
35539         saved registers.  Add longjmp and longjmp_target
35540         SystemTap probe point.
35541         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35542         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35543         Define to zero to match jmpbuf layout.
35544         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35545         (__sigsetjmp): Save sp and lr before saving callee
35546         saved registers.  Add setjmp SystemTap probe point.
35548 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35550         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35552 2014-02-24  Andreas Schwab  <schwab@suse.de>
35554         [BZ #15804]
35555         * elf/pldd.c (wait_for_ptrace_stop): New function.
35556         (main): Call it after attaching.
35558 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35560         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35561         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35562         Versions files is now verboten.
35563         * hurd/Versions (libc: GLIBC_2.0):
35564         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35565         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35566         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35567         * mach/Versions: Likewise.
35569         * csu/Versions: Remove unused %include.
35570         * resolv/Versions: Likewise.
35572 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35574         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35575         ($(objpfx)check-local-headers.out): Likewise.
35576         ($(objpfx)begin-end-check.out): Likewise.
35577         * Makerules (check-abi-%.out): Likewise.
35578         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35579         ($(objpfx)test2.cat): Likewise.
35580         ($(objpfx)de/libc.cat): Likewise.
35581         ($(objpfx)test-gencat.out): Likewise.
35582         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35583         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35584         ($(objpfx)noload-mem): Likewise.
35585         ($(objpfx)tst-pathopt.out): Likewise.
35586         ($(objpfx)tst-rtld-load-self.out): Likewise.
35587         ($(objpfx)tst-array1-cmp.out): Likewise.
35588         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35589         ($(objpfx)tst-array2-cmp.out): Likewise.
35590         ($(objpfx)tst-array3-cmp.out): Likewise.
35591         ($(objpfx)tst-array4-cmp.out): Likewise.
35592         ($(objpfx)tst-array5-cmp.out): Likewise.
35593         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35594         ($(objpfx)check-textrel.out): Likewise.
35595         ($(objpfx)check-execstack.out): Likewise.
35596         ($(objpfx)check-localplt.out): Likewise.
35597         ($(objpfx)order2-cmp.out): Likewise.
35598         ($(objpfx)tst-leaks1-mem): Likewise.
35599         ($(objpfx)tst-leaks1-static-mem): Likewise.
35600         ($(objpfx)tst-initorder-cmp.out): Likewise.
35601         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35602         ($(objpfx)tst-unused-dep.out): Likewise.
35603         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35604         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35605         * iconv/Makefile (test-iconvconfig): Likewise.
35606         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35607         ($(objpfx)iconv-test.out): Likewise.
35608         ($(objpfx)tst-tables.out): Likewise.
35609         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35610         ($(objpfx)tst-gettext.out): Likewise.
35611         ($(objpfx)tst-translit.out): Likewise.
35612         ($(objpfx)tst-gettext2.out): Likewise.
35613         ($(objpfx)tst-gettext4.out): Likewise.
35614         ($(objpfx)tst-gettext6.out): Likewise.
35615         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35616         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35617         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35618         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35619         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35620         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35621         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35622         ($(objpfx)wordexp-tst.out): Likewise.
35623         ($(objpfx)annexc.out): Likewise.
35624         ($(objpfx)tst-fnmatch-mem): Likewise.
35625         ($(objpfx)bug-regex2-mem): Likewise.
35626         ($(objpfx)bug-regex14-mem): Likewise.
35627         ($(objpfx)bug-regex21-mem): Likewise.
35628         ($(objpfx)bug-regex31-mem): Likewise.
35629         ($(objpfx)tst-vfork3-mem): Likewise.
35630         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35631         ($(objpfx)tst-pcre-mem): Likewise.
35632         ($(objpfx)tst-boost-mem): Likewise.
35633         ($(objpfx)tst-getconf.out): Likewise.
35634         ($(objpfx)bug-ga2-mem): Likewise.
35635         ($(objpfx)bug-glob2-mem): Likewise.
35636         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35637         ($(objpfx)mtrace-tst-leaks2): Likewise.
35638         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35639         ($(objpfx)tst-printf.out): Likewise.
35640         ($(objpfx)tst-setvbuf1.out): Likewise.
35641         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35642         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35643         ($(objpfx)tst-fmtmsg.out): Likewise.
35644         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35645         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35647         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35648         * bits/sigaction.h [__USE_MISC]: Likewise.
35649         * bits/waitstatus.h: Update #endif comments.
35650         * ctype/ctype.h: Likewise.
35651         * dirent/dirent.h: Likewise.
35652         [__USE_MISC]: Remove redundant conditionals.
35653         * grp/grp.h: Update #endif comments.
35654         [__USE_GNU]: Remove redundant conditionals.
35655         [__USE_MISC]: Likewise.
35656         * inet/netinet/in.h [__USE_GNU]: Likewise.
35657         * io/sys/stat.h [__USE_MISC]: Likewise.
35658         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35659         * libio/bits/stdio.h: Update #endif comments.
35660         [__USE_MISC]: Remove redundant conditionals.
35661         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35662         * libio/stdio.h: Update #endif comments.
35663         [__USE_MISC]: Remove redundant conditionals.
35664         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35665         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35666         * math/math.h: Update #else and #endif comments.
35667         [__USE_MISC]: Remove redundant conditionals.
35668         * misc/sys/uio.h: Update #endif comments.
35669         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35670         * posix/glob.h [__USE_MISC]: Likewise.
35671         * posix/sys/types.h: Update #endif comments.
35672         [__USE_MISC]: Remove redundant conditionals.
35673         * posix/sys/wait.h: Update #endif comments.
35674         [__USE_MISC]: Remove redundant conditionals.
35675         * posix/unistd.h: Update #endif comments.
35676         [__USE_MISC]: Remove redundant conditionals.
35677         * pwd/pwd.h [__USE_GNU]: Likewise.
35678         [__USE_MISC]: Likewise.
35679         * resolv/netdb.h [__USE_GNU]: Likewise.
35680         * signal/signal.h: Update #endif comments.
35681         [__USE_MISC]: Remove redundant conditionals.
35682         * stdlib/stdlib.h: Update #else and #endif comments.
35683         [__USE_MISC]: Remove redundant conditionals.
35684         [__USE_GNU]: Likewise.
35685         * string/bits/string2.h [__USE_MISC]: Likewise.
35686         * string/string.h: Update #endif comments.
35687         [__USE_MISC]: Remove redundant conditionals.
35688         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35689         Likewise.
35690         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35691         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35692         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35693         Likewise.
35694         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35695         Likewise.
35696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35697         comments.
35698         [__USE_MISC]: Remove redundant conditionals.
35699         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35700         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35701         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35702         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35703         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35704         Likewise.
35705         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35706         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35707         Likewise.
35708         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35709         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35710         Likewise.
35711         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35712         Likewise.
35713         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35714         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35715         Likewise.
35716         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35717         Likewise.
35718         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35719         * sysdeps/x86/bits/string.h: Update #endif comments.
35720         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35721         conditionals.
35722         * time/sys/time.h: Update #endif comments.
35723         * time/time.h: Likewise.
35724         [__USE_MISC]: Remove redundant conditionals.
35726 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35728         [BZ #16600]
35729         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35731 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35733         * Versions.def (librt): Add GLIBC_2.17.
35735 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35737         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35738         synonym for _SYS_AUXV_H to allow direct inclusion.
35739         * sysdeps/sparc/bits/hwcap.h: Likewise.
35740         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35741         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35742         * sysdeps/sparc/sysdep.h: Likewise.
35744 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35746         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35748 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35750         * benchtests/bench-strrchr.c: Print length instead of position.
35752 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35754         [BZ #16611]
35755         * sysdeps/unix/sysv/linux/kernel-features.h
35756         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35757         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35758         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35759         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35760         Likewise.
35761         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35762         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35763         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35764         (__ASSUME_SENDMMSG): Define instead of using previous
35765         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35766         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35767         (__ASSUME_SENDMMSG_SYSCALL): Define.
35768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35769         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35770         Likewise.
35771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35772         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35773         Likewise.
35774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35775         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35776         Likewise.
35777         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35778         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35779         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35780         [__ASSUME_SENDMMSG]: Change conditionals to
35781         [__ASSUME_SENDMMSG_SOCKETCALL].
35782         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35783         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35784         Define.
35785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35786         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35787         Likewise.
35788         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35789         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35790         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35791         [!__ASSUME_SENDMMSG]: Change conditional to
35792         [!__ASSUME_SENDMMSG_SOCKETCALL].
35793         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35794         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35795         Define.
35797         [BZ #16610]
35798         * sysdeps/unix/sysv/linux/kernel-features.h
35799         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35800         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35801         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35802         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35803         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35804         [__i386__ || __sparc__]
35805         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35806         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35807         (__ASSUME_RECVMMSG): Define instead of using previous
35808         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35810         (__ASSUME_RECVMMSG_SYSCALL): Define.
35811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35812         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35813         Likewise.
35814         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35815         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35816         Likewise.
35817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35818         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35819         Likewise.
35820         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35821         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35822         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35823         [__ASSUME_RECVMMSG]: Change condition to
35824         [__ASSUME_RECVMMSG_SOCKETCALL].
35825         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35826         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35827         Define.
35828         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35830         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35831         Likewise.
35832         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35833         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35834         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35835         [!__ASSUME_RECVMMSG]: Change condition to
35836         [!__ASSUME_RECVMMSG_SOCKETCALL].
35837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35838         (__ASSUME_RECVMMSG_SYSCALL): Define.
35840         [BZ #16609]
35841         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35842         __powerpc__ || __s390__ || __sh__ || __sparc__]
35843         (__ASSUME_SOCKETCALL): Define.
35844         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35845         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35846         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35847         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35848         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35849         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35850         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35851         (__ASSUME_ACCEPT4): Define instead of using previous
35852         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35853         __powerpc__ || __sparc__ || __s390__)] condition.
35854         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35855         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35856         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35857         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35858         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35859         [!__ASSUME_ACCEPT4]: Change condition to
35860         [!__ASSUME_ACCEPT4_SOCKETCALL].
35861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35862         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35863         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35865         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35866         __ASSUME_ACCEPT4_SYSCALL.
35867         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35868         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35869         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35870         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35871         __ASSUME_ACCEPT4_SYSCALL.
35872         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35873         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35874         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35875         [__ASSUME_ACCEPT4]: Change condition to
35876         [__ASSUME_ACCEPT4_SOCKETCALL].
35877         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35878         (__ASSUME_SOCKETCALL): Define.
35879         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35881         (__ASSUME_SOCKETCALL): Define.
35882         (__ASSUME_ACCEPT4): Remove.
35883         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35884         Define.
35885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35886         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35887         Likewise.
35888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35889         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35891         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35892         macro.
35893         (HWCAP_ARM_LPAE): Likewise.
35894         (HWCAP_ARM_EVTSTRM): Likewise.
35895         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35896         Add vpfd32, lpae and evtstrm.
35897         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35898         Increase to 22.
35900 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35902         * math/auto-libm-test-in: Add tests of clog10.
35903         * math/auto-libm-test-out: Regenerated.
35904         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35905         * sysdeps/i386/fpu/libm-test-ulps: Update.
35906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35908 2014-02-18  Andreas Schwab  <schwab@suse.de>
35910         [BZ #16574]
35911         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35912         Store non-zero if the second buffer was newly allocated.
35913         (send_dg): Likewise.
35914         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35915         to send_vc and send_dg.
35916         (res_nsend): Pass NULL for ansp2_malloced.
35917         * resolv/res_query.c (__libc_res_nquery): Add parameter
35918         answerp2_malloced and pass it down to __libc_res_nsend.
35919         (res_nquery): Pass additional NULL to __libc_res_nquery.
35920         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35921         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35922         second answer buffer if answerp2_malloced was set.
35923         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35924         (__libc_res_nquerydomain): Add parameter
35925         answerp2_malloced and pass it down to __libc_res_nquery.
35926         (res_nquerydomain): Pass additional NULL to
35927         __libc_res_nquerydomain.
35928         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35929         additional NULL to __libc_res_nsend and __libc_res_nquery.
35930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35931         additional NULL to __libc_res_nsearch.
35932         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35933         parameter of __libc_res_nsearch to check for separately allocated
35934         second buffer.
35935         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35936         __libc_res_nquery.
35937         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35938         additional NULL to __libc_res_nquery.
35939         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35940         __libc_res_nsearch.
35941         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35942         * include/resolv.h: Update prototypes of __libc_res_nquery,
35943         __libc_res_nsearch, __libc_res_nsend.
35945 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35947         * math/auto-libm-test-in: Add tests of fma.
35948         * math/auto-libm-test-out: Regenerated.
35949         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35950         (fma_towardzero_test_data): Likewise.
35951         (fma_downward_test_data): Likewise.
35952         (fma_upward_test_data): Likewise.
35953         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35954         mpc_mode.
35955         (rounding_modes): Add values for new field.
35956         (func_calc_method): Add value mpfr_fff_f.
35957         (func_calc_desc): Add mpfr_fff_f union field.
35958         (test_function): Add field exact_args.
35959         (FUNC): Add macro argument EXACT_ARGS.
35960         (FUNC_mpfr_f_f): Update call to FUNC.
35961         (FUNC_mpfr_f_f): Likewise.
35962         (FUNC_mpfr_ff_f): Likewise.
35963         (FUNC_mpfr_if_f): Likewise.
35964         (FUNC_mpc_c_f): Likewise.
35965         (FUNC_mpc_c_c): Likewise.
35966         (test_functions): Add fma.  Update calls to FUNC.
35967         (handle_input_arg): Add argument exact_args.
35968         (add_test): Update call to handle_input_arg.
35969         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35970         (output_for_one_input_case): Update call to calc_generic_results.
35971         Recalculate exact zero results in each rounding mode.
35973         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35974         non-negative before setting low bit.
35975         * math/auto-libm-test-in: Mark one asin test possibly having
35976         spurious underflow.
35977         * math/auto-libm-test-out: Regenerated.
35978         * sysdeps/i386/fpu/libm-test-ulps: Update.
35979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35981 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35983         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35984         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35985         ports/sysdeps/unix/sysv/linux/microblaze.
35986         * README: Add missing listing for microblaze*-*-linux-gnu.
35988 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35990         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35991         duplicate code
35993 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35995         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35996         * sysdeps/unix/sysv/linux/ia64: Move directory from
35997         ports/sysdeps/unix/sysv/linux/ia64.
35998         * README: Update listing for ia64-*-linux-gnu.
36000 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36001             Joseph Myers  <joseph@codesourcery.com>
36003         * Makeconfig (test-name): New variable.
36004         (evaluate-test): Likewise.
36005         * Makerules (do-test-clean): Remove .test-result files.
36006         (common-mostlyclean): Likewise.
36007         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36008         * scripts/evaluate-test.sh: New file.
36010 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36012         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36013         separate $(objpfx)tst-fopenloc-cmp.out and
36014         $(objpfx)tst-fopenloc-mem.out targets.
36015         (tests): Update dependencies.
36016         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36017         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36018         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36019         (tst-rxspencer-no-utf8-ARGS): New variable.
36020         (tst-rxspencer-no-utf8-ENV): Likewise.
36021         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36022         instead of $(objpfx)tst-rxspencer-mem.
36023         ($(objpfx)tst-rxspencer-mem): Change target to
36024         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36025         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36026         * posix/tst-rxspencer-no-utf8.c: New file.
36028         * elf/Makefile ($(objpfx)order.out): Remove rule.
36029         [$(run-built-tests) = yes] (tests): Depend on
36030         $(objpfx)order-cmp.out.
36031         ($(objpfx)order-cmp.out): New rule.
36032         [$(run-built-tests) = yes] (tests): Depend on
36033         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36034         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36035         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36036         $(objpfx)tst-array5-static-cmp.out.
36037         ($(objpfx)tst-array1.out): Remove rule.
36038         ($(objpfx)tst-array1-cmp.out): New rule.
36039         ($(objpfx)tst-array1-static.out): Remove rule.
36040         ($(objpfx)tst-array1-static-cmp.out): New rule.
36041         ($(objpfx)tst-array2.out): Remove rule.
36042         ($(objpfx)tst-array2-cmp.out): New rule.
36043         ($(objpfx)tst-array3.out): Remove rule.
36044         ($(objpfx)tst-array3-cmp.out): New rule.
36045         ($(objpfx)tst-array4.out): Remove rule.
36046         ($(objpfx)tst-array4-cmp.out): New rule.
36047         ($(objpfx)tst-array5.out): Remove rule.
36048         ($(objpfx)tst-array5-cmp.out): New rule.
36049         ($(objpfx)tst-array5-static.out): Remove rule.
36050         ($(objpfx)tst-array5-static-cmp.out): New rule.
36051         [$(run-built-tests) = yes] (tests): Depend on
36052         $(objpfx)order2-cmp.out.
36053         ($(objpfx)order2.out): Remove rule.
36054         ($(objpfx)order2-cmp.out): New rule.
36055         ($(objpfx)tst-initorder.out): Remove rule.
36056         [$(run-built-tests) = yes] (tests): Depend on
36057         $(objpfx)tst-initorder-cmp.out.
36058         ($(objpfx)tst-initorder-cmp.out): New rule.
36059         ($(objpfx)tst-initorder2.out): Remove rule.
36060         [$(run-built-tests) = yes] (tests): Depend on
36061         $(objpfx)tst-initorder2-cmp.out.
36062         ($(objpfx)tst-initorder2-cmp.out): New rule.
36063         [$(run-built-tests) = yes] (tests): Depend on
36064         $(objpfx)tst-unused-dep-cmp.out.
36065         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36066         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36067         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36068         on $(objpfx)tst-setvbuf1-cmp.out.
36069         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36070         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36071         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36072         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36073         ($(objpfx)tst-svc.out): Remove rule.
36074         ($(objpfx)tst-svc-cmp.out): New rule.
36076 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36078         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36079         * ctype/ctype.h [__USE_MISC]: Likewise.
36080         * dirent/dirent.h [__USE_MISC]: Likewise.
36081         * grp/grp.h [__USE_MISC]: Likewise.
36082         * io/fcntl.h [__USE_MISC]: Likewise.
36083         * io/sys/stat.h [__USE_MISC]: Likewise.
36084         * libio/stdio.h [__USE_MISC]: Likewise.
36085         * posix/unistd.h [__USE_MISC]: Likewise.
36086         * pwd/pwd.h [__USE_MISC]: Likewise.
36087         * stdlib.h [__USE_MISC]: Likewise.
36088         * string/bits/string2.h [__USE_MISC]: Likewise.
36089         * string/string.h [__USE_MISC]: Likewise.
36090         * time/time.h [__USE_MISC]: Likewise.
36092 2014-02-13  Andreas Schwab  <schwab@suse.de>
36094         [BZ #16574]
36095         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36096         second answer buffer if it was separately allocated.
36098 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36100         * sysdeps/mips/math-tests.h: Include <features.h>.
36101         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36102         (ROUNDING_TESTS_long_double): Do not define.
36103         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36104         (EXCEPTION_TESTS_long_double): Likewise.
36105         * sysdeps/mips/mips64/libm-test-ulps: Update.
36107         * include/features.h (__USE_BSD): Remove macro definitions.
36108         (__USE_SVID): Likewise.
36109         (_BSD_SOURCE): Likewise.
36110         (_SVID_SOURCE): Likewise.
36111         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36112         from definition of _DEFAULT_SOURCE.
36113         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36114         [_DEFAULT_SOURCE].
36115         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36116         * bits/mman.h [__USE_BSD]: Likewise.
36117         * bits/termios.h [__USE_BSD]: Likewise.
36118         * bits/waitstatus.h [__USE_BSD]: Likewise.
36119         * ctype/ctype.h [__USE_SVID]: Likewise.
36120         * dirent/dirent.h [__USE_BSD]: Likewise.
36121         * grp/grp.h [__USE_SVID]: Likewise.
36122         [__USE_BSD]: Likewise.
36123         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36124         * io/fcntl.h [__USE_BSD]: Likewise.
36125         * io/ftw.h [__USE_BSD]: Likewise.
36126         * io/sys/stat.h [__USE_BSD]: Likewise.
36127         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36128         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36129         * libio/stdio.h [__USE_SVID]: Likewise.
36130         [__USE_BSD]: Likewise.
36131         * math/math.h [__USE_SVID]: Likewise.
36132         [__USE_BSD]: Likewise.
36133         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36134         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36135         * misc/search.h [__USE_SVID]: Likewise.
36136         * misc/sys/mman.h [__USE_BSD]: Likewise.
36137         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36138         * misc/sys/uio.h [__USE_BSD]: Likewise.
36139         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36140         * posix/glob.h [__USE_BSD]: Likewise.
36141         * posix/regex.h [__USE_BSD]: Likewise.
36142         * posix/sys/types.h [__USE_BSD]: Likewise.
36143         [__USE_SVID]: Likewise.
36144         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36145         * posix/sys/wait.h [__USE_BSD]: Likewise.
36146         [__USE_SVID]: Likewise.
36147         * posix/unistd.h [__USE_BSD]: Likewise.
36148         [__USE_SVID]: Likewise.
36149         * pwd/pwd.h [__USE_SVID]: Likewise.
36150         * resolv/netdb.h [__USE_BSD]: Likewise.
36151         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36152         * signal/signal.h [__USE_BSD]: Likewise.
36153         [__USE_SVID]: Likewise.
36154         * socket/sys/socket.h [__USE_BSD]: Likewise.
36155         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36156         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36157         [__USE_SVID]: Likewise.
36158         * string/bits/string2.h [__USE_BSD]: Likewise.
36159         [__USE_SVID]: Likewise.
36160         * string/bits/string3.h [__USE_BSD]: Likewise.
36161         * string/endian.h [__USE_BSD]: Likewise.
36162         * string/string.h [__USE_SVID]: Likewise.
36163         [__USE_BSD]: Likewise.
36164         * string/strings.h [__USE_BSD]: Likewise.
36165         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36166         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36167         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36168         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36169         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36170         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36171         Likewise.
36172         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36173         Likewise.
36174         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36175         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36176         Likewise.
36177         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36178         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36179         Likewise.
36180         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36181         Likewise.
36182         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36183         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36184         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36185         Likewise.
36186         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36187         Likewise.
36188         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36189         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36190         * termios/termios.h [__USE_BSD]: Likewise.
36191         * time/sys/time.h [__USE_BSD]: Likewise.
36192         * time/time.h [__USE_BSD]: Likewise.
36193         [__USE_SVID]: Likewise.
36195         * Makefile (subdir_targets): Remove subdir_lint.out.
36197         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36198         (do-tst-printf): Likewise.
36199         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36200         $(objpfx)tst-printf.out.
36202         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36204         * Makerules (check-abi-%): Change target to
36205         $(objpfx)check-abi-%.out.
36206         (check-abi target): Update dependencies.
36207         (check-abi-pattern variable): Redirect output of diff to $@.
36208         (check-abi variable): Likewise.
36209         * elf/Makefile (check-abi): Update dependencies.
36211         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36212         unused.
36213         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36214         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36215         subnormal range.
36216         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36217         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36218         value has largest subnormal exponent.
36219         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36220         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36221         * sysdeps/aarch64/soft-fp/sfp-machine.h
36222         (_FP_TININESS_AFTER_ROUNDING): New macro.
36223         * sysdeps/alpha/soft-fp/sfp-machine.h
36224         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36225         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36226         Likewise.
36227         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36228         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36229         * sysdeps/mips/soft-fp/sfp-machine.h
36230         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36231         * sysdeps/powerpc/soft-fp/sfp-machine.h
36232         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36233         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36234         Likewise.
36235         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36236         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36238         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36239         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36240         Likewise.
36242 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36244         [BZ #16545]
36245         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36246         model 1.
36248 2014-02-12  Richard Henderson  <rth@redhat.com>
36250         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36251         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36252         * sysdeps/unix/sysv/linux/alpha: Move directory from
36253         ports/sysdeps/unix/sysv/linux/alpha.
36254         * README: Update listing for alpha-*-linux-gnu.
36256 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36258         * include/features.h: Update comment documenting feature test
36259         macros.
36260         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36261         _DEFAULT_SOURCE.
36262         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36263         (_SVID_SOURCE): Likewise.
36264         (_DEFAULT_SOURCE): Update description of default features.
36265         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36266         with _GNU_SOURCE.
36267         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36268         (S_ISVTX): Likewise.
36269         * manual/math.texi (Mathematical Constants): Likewise.
36270         * manual/signal.texi (Interrupted Primitives): Likewise.
36271         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36272         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36273         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36274         Don't refer to _SVID_SOURCE in warning text.
36276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36278         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36279         already defined.
36280         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36281         * sysdeps/mips/dl-lookup.c: Remove.
36282         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36284 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36286         [BZ #16447]
36287         * math/auto-libm-test-in: Add testcase for expl.
36288         * math/auto-libm-test-out: Regenerate.
36289         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36290         calculation of unsafe.
36291         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36293 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36295         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36296         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36297         ports/sysdeps/unix/sysv/linux/aarch64.
36298         * README: Update listing for aarch64*-*-linux-gnu.
36300 2014-02-11  Will Newton  <will.newton@linaro.org>
36302         * manual/probes.texi (Mathematical Function Probes): Use
36303         "triggered" instead of "hit".
36305         * manual/probes.texi (Internal Probes): Add documentation
36306         of setjmp, longjmp and longjmp_target probes.
36308         * include/stap-probe.h: Add comment about probe argument
36309         format.
36311         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36312         definition.  (tr_where, tr_freehook, tr_mallochook,
36313         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36315 2014-02-11  David S. Miller  <davem@davemloft.net>
36317         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36318         processing int_tests.
36320 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36322         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36323         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36324         * sysdeps/unix/sysv/linux/mips: Move directory from
36325         ports/sysdeps/unix/sysv/linux/mips.
36326         * README: Update listing for mips-*-linux-gnu and
36327         mips64-*-linux-gnu.
36329 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36331         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36332         * sysdeps/unix/sysv/linux/m68k: Move directory from
36333         ports/sysdeps/unix/sysv/linux/m68k.
36334         * README: Update listing for m68k-*-linux-gnu.
36336 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36338         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36339         * sysdeps/unix/sysv/linux/generic: Move directory from
36340         ports/sysdeps/unix/sysv/linux/generic.
36341         * sysdeps/unix/sysv/linux/tile: Move directory from
36342         ports/sysdeps/unix/sysv/linux/tile.
36343         * README: Update listing for tile*-*-linux-gnu.
36345 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36347         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36348         __builtin_expect.
36349         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36350         * catgets/open_catalog.c (__open_catalog): Likewise.
36351         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36352         * debug/confstr_chk.c: Likewise.
36353         * debug/fread_chk.c (__fread_chk): Likewise.
36354         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36355         * debug/getgroups_chk.c: Likewise.
36356         * debug/mbsnrtowcs_chk.c: Likewise.
36357         * debug/mbsrtowcs_chk.c: Likewise.
36358         * debug/mbstowcs_chk.c: Likewise.
36359         * debug/memcpy_chk.c: Likewise.
36360         * debug/memmove_chk.c: Likewise.
36361         * debug/mempcpy_chk.c: Likewise.
36362         * debug/memset_chk.c: Likewise.
36363         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36364         * debug/strcat_chk.c (__strcat_chk): Likewise.
36365         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36366         * debug/strncat_chk.c (__strncat_chk): Likewise.
36367         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36368         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36369         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36370         * debug/wcpncpy_chk.c: Likewise.
36371         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36372         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36373         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36374         * debug/wcsncpy_chk.c: Likewise.
36375         * debug/wcsnrtombs_chk.c: Likewise.
36376         * debug/wcsrtombs_chk.c: Likewise.
36377         * debug/wcstombs_chk.c: Likewise.
36378         * debug/wmemcpy_chk.c: Likewise.
36379         * debug/wmemmove_chk.c: Likewise.
36380         * debug/wmempcpy_chk.c: Likewise.
36381         * debug/wmemset_chk.c: Likewise.
36382         * dirent/scandirat.c (SCANDIRAT): Likewise.
36383         * dlfcn/dladdr1.c (dladdr1): Likewise.
36384         * dlfcn/dladdr.c (dladdr): Likewise.
36385         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36386         * dlfcn/dlerror.c (__dlerror): Likewise.
36387         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36388         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36389         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36390         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36391         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36392         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36393         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36394         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36395         Likewise.
36396         * elf/dl-conflict.c: Likewise.
36397         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36398         * elf/dl-dst.h: Likewise.
36399         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36400         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36401         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36402         * elf/dl-init.c (call_init, _dl_init): Likewise.
36403         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36404         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36405         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36406         Likewise.
36407         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36408         Likewise.
36409         * elf/dl-minimal.c (__libc_memalign): Likewise.
36410         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36411         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36412         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36413         * elf/dl-sym.c (do_sym): Likewise.
36414         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36415         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36416         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36417         * elf/dl-writev.h (_dl_writev): Likewise.
36418         * elf/ldconfig.c (search_dir): Likewise.
36419         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36420         (dl_main): Likewise.
36421         * elf/setup-vdso.h (setup_vdso): Likewise.
36422         * grp/compat-initgroups.c (compat_call): Likewise.
36423         * grp/fgetgrent.c (fgetgrent): Likewise.
36424         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36425         * grp/putgrent.c (putgrent): Likewise.
36426         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36427         Likewise.
36428         * hurd/hurdinit.c: Likewise.
36429         * iconvdata/8bit-gap.c (struct): Likewise.
36430         * iconvdata/ansi_x3.110.c : Likewise.
36431         * iconvdata/big5.c : Likewise.
36432         * iconvdata/big5hkscs.c : Likewise.
36433         * iconvdata/cp1255.c: Likewise.
36434         * iconvdata/cp1258.c : Likewise.
36435         * iconvdata/cp932.c : Likewise.
36436         * iconvdata/euc-cn.c: Likewise.
36437         * iconvdata/euc-jisx0213.c : Likewise.
36438         * iconvdata/euc-jp.c: Likewise.
36439         * iconvdata/euc-jp-ms.c : Likewise.
36440         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36441         * iconvdata/gb18030.c : Likewise.
36442         * iconvdata/gbbig5.c (const): Likewise.
36443         * iconvdata/gbgbk.c: Likewise.
36444         * iconvdata/gbk.c : Likewise.
36445         * iconvdata/ibm1364.c : Likewise.
36446         * iconvdata/ibm930.c : Likewise.
36447         * iconvdata/ibm932.c: Likewise.
36448         * iconvdata/ibm933.c : Likewise.
36449         * iconvdata/ibm935.c : Likewise.
36450         * iconvdata/ibm937.c : Likewise.
36451         * iconvdata/ibm939.c : Likewise.
36452         * iconvdata/ibm943.c: Likewise.
36453         * iconvdata/iso_11548-1.c: Likewise.
36454         * iconvdata/iso-2022-cn.c : Likewise.
36455         * iconvdata/iso-2022-cn-ext.c : Likewise.
36456         * iconvdata/iso-2022-jp-3.c: Likewise.
36457         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36458         * iconvdata/iso-2022-kr.c : Likewise.
36459         * iconvdata/iso646.c (gconv_end): Likewise.
36460         * iconvdata/iso_6937-2.c : Likewise.
36461         * iconvdata/iso_6937.c : Likewise.
36462         * iconvdata/iso8859-1.c: Likewise.
36463         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36464         * iconvdata/shift_jisx0213.c : Likewise.
36465         * iconvdata/sjis.c : Likewise.
36466         * iconvdata/t.61.c : Likewise.
36467         * iconvdata/tcvn5712-1.c : Likewise.
36468         * iconvdata/tscii.c: Likewise.
36469         * iconvdata/uhc.c : Likewise.
36470         * iconvdata/unicode.c (gconv_end): Likewise.
36471         * iconvdata/utf-16.c (gconv_end): Likewise.
36472         * iconvdata/utf-32.c (gconv_end): Likewise.
36473         * iconvdata/utf-7.c (base64): Likewise.
36474         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36475         * iconv/gconv_close.c (__gconv_close): Likewise.
36476         * iconv/gconv_open.c (__gconv_open): Likewise.
36477         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36478         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36479         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36480         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36481         (ucs4le_internal_loop_single): Likewise.
36482         * iconv/iconv.c (iconv): Likewise.
36483         * iconv/iconv_close.c: Likewise.
36484         * iconv/loop.c (SINGLE): Likewise.
36485         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36486         * include/atomic.h: Likewise.
36487         * inet/inet6_option.c (option_alloc): Likewise.
36488         * intl/bindtextdom.c (set_binding_values): Likewise.
36489         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36490         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36491         * intl/localealias.c (read_alias_file): Likewise.
36492         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36493         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36494         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36495         * libio/fmemopen.c (fmemopen): Likewise.
36496         * libio/iofgets.c (_IO_fgets): Likewise.
36497         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36498         * libio/iofgetws.c (fgetws): Likewise.
36499         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36500         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36501         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36502         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36503         * locale/findlocale.c (_nl_find_locale): Likewise.
36504         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36505         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36506         Likewise.
36507         * locale/setlocale.c (setlocale): Likewise.
36508         * login/programs/pt_chown.c (main): Likewise.
36509         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36510         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36511         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36512         (mmap, mmap64, mremap, munmap): Likewise.
36513         * math/e_exp2l.c: Likewise.
36514         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36515         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36516         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36517         * math/s_catan.c (__catan): Likewise.
36518         * math/s_catanf.c (__catanf): Likewise.
36519         * math/s_catanh.c (__catanh): Likewise.
36520         * math/s_catanhf.c (__catanhf): Likewise.
36521         * math/s_catanhl.c (__catanhl): Likewise.
36522         * math/s_catanl.c (__catanl): Likewise.
36523         * math/s_ccosh.c (__ccosh): Likewise.
36524         * math/s_ccoshf.c (__ccoshf): Likewise.
36525         * math/s_ccoshl.c (__ccoshl): Likewise.
36526         * math/s_cexp.c (__cexp): Likewise.
36527         * math/s_cexpf.c (__cexpf): Likewise.
36528         * math/s_cexpl.c (__cexpl): Likewise.
36529         * math/s_clog10.c (__clog10): Likewise.
36530         * math/s_clog10f.c (__clog10f): Likewise.
36531         * math/s_clog10l.c (__clog10l): Likewise.
36532         * math/s_clog.c (__clog): Likewise.
36533         * math/s_clogf.c (__clogf): Likewise.
36534         * math/s_clogl.c (__clogl): Likewise.
36535         * math/s_csin.c (__csin): Likewise.
36536         * math/s_csinf.c (__csinf): Likewise.
36537         * math/s_csinh.c (__csinh): Likewise.
36538         * math/s_csinhf.c (__csinhf): Likewise.
36539         * math/s_csinhl.c (__csinhl): Likewise.
36540         * math/s_csinl.c (__csinl): Likewise.
36541         * math/s_csqrt.c (__csqrt): Likewise.
36542         * math/s_csqrtf.c (__csqrtf): Likewise.
36543         * math/s_csqrtl.c (__csqrtl): Likewise.
36544         * math/s_ctan.c (__ctan): Likewise.
36545         * math/s_ctanf.c (__ctanf): Likewise.
36546         * math/s_ctanh.c (__ctanh): Likewise.
36547         * math/s_ctanhf.c (__ctanhf): Likewise.
36548         * math/s_ctanhl.c (__ctanhl): Likewise.
36549         * math/s_ctanl.c (__ctanl): Likewise.
36550         * math/w_pow.c: Likewise.
36551         * math/w_powf.c: Likewise.
36552         * math/w_powl.c: Likewise.
36553         * math/w_scalb.c (sysv_scalb): Likewise.
36554         * math/w_scalbf.c (sysv_scalbf): Likewise.
36555         * math/w_scalbl.c (sysv_scalbl): Likewise.
36556         * misc/error.c (error_tail): Likewise.
36557         * misc/pselect.c (__pselect): Likewise.
36558         * nis/nis_callback.c (__nis_create_callback): Likewise.
36559         * nis/nis_call.c (__nisfind_server): Likewise.
36560         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36561         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36562         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36563         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36564         * nis/nis_lookup.c (nis_lookup): Likewise.
36565         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36566         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36567         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36568         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36569         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36570         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36571         * nis/nss_compat/compat-initgroups.c (add_group)
36572         (internal_getgrent_r): Likewise.
36573         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36574         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36575         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36576         (internal_getspnam_r): Likewise.
36577         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36578         (_nss_nis_getaliasbyname_r): Likewise.
36579         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36580         (_nss_nis_getntohost_r): Likewise.
36581         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36582         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36583         (_nss_nis_getgrgid_r): Likewise.
36584         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36585         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36586         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36587         (_nss_nis_gethostbyname4_r): Likewise.
36588         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36589         (initgroups_netid): Likewise.
36590         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36591         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36592         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36593         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36594         (_nss_nis_getprotobynumber_r): Likewise.
36595         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36596         (_nss_nis_getsecretkey): Likewise.
36597         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36598         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36599         (_nss_nis_getpwuid_r): Likewise.
36600         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36601         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36602         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36603         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36604         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36605         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36606         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36607         Likewise.
36608         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36609         (_nss_nisplus_getntohost_r): Likewise.
36610         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36611         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36612         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36613         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36614         Likewise.
36615         * nis/nss_nisplus/nisplus-initgroups.c
36616         (_nss_nisplus_initgroups_dyn): Likewise.
36617         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36618         (_nss_nisplus_getnetbyaddr_r): Likewise.
36619         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36620         (_nss_nisplus_getprotobynumber_r): Likewise.
36621         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36622         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36623         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36624         Likewise.
36625         * nis/nss_nisplus/nisplus-service.c
36626         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36627         (_nss_nisplus_getservbyport_r): Likewise.
36628         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36629         (_nss_nisplus_getspnam_r): Likewise.
36630         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36631         Likewise.
36632         * nscd/aicache.c (addhstaiX): Likewise.
36633         * nscd/cache.c (cache_search, prune_cache): Likewise.
36634         * nscd/connections.c (register_traced_file, send_ro_fd)
36635         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36636         (main_loop_epoll): Likewise.
36637         * nscd/grpcache.c (addgrbyX): Likewise.
36638         * nscd/hstcache.c (addhstbyX): Likewise.
36639         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36640         * nscd/mem.c (gc, mempool_alloc): Likewise.
36641         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36642         (addinnetgrX): Likewise.
36643         * nscd/nscd-client.h (__nscd_acquire_maplock)
36644         (__nscd_drop_map_ref): Likewise.
36645         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36646         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36647         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36648         Likewise.
36649         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36650         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36651         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36652         (__nscd_get_map_ref): Likewise.
36653         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36654         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36655         Likewise.
36656         * nscd/pwdcache.c (addpwbyX): Likewise.
36657         * nscd/selinux.c (preserve_capabilities): Likewise.
36658         * nscd/servicescache.c (addservbyX): Likewise.
36659         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36660         * posix/fnmatch.c (fnmatch): Likewise.
36661         * posix/getopt.c (_getopt_internal_r): Likewise.
36662         * posix/glob.c (glob, glob_in_dir): Likewise.
36663         * posix/wordexp.c (exec_comm_child): Likewise.
36664         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36665         (getanswer_r, gaih_getanswer_slice): Likewise.
36666         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36667         * resolv/res_init.c: Likewise.
36668         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36669         * resolv/res_query.c (__libc_res_nquery): Likewise.
36670         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36671         Likewise.
36672         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36673         * stdio-common/perror.c (perror): Likewise.
36674         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36675         * stdio-common/tmpnam.c (tmpnam): Likewise.
36676         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36677         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36678         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36679         Likewise.
36680         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36681         * stdlib/putenv.c (putenv): Likewise.
36682         * stdlib/setenv.c (__add_to_environ): Likewise.
36683         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36684         * stdlib/strtol_l.c (INTERNAL): Likewise.
36685         * string/memmem.c (memmem): Likewise.
36686         * string/strerror.c (strerror): Likewise.
36687         * string/strnlen.c (__strnlen): Likewise.
36688         * string/test-memmem.c (simple_memmem): Likewise.
36689         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36690         * sunrpc/pm_getport.c (__get_socket): Likewise.
36691         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36692         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36693         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36694         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36695         Likewise.
36696         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36697         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36698         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36699         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36700         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36701         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36702         Likewise.
36703         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36704         Likewise.
36705         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36706         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36708         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36709         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36711         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36712         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36713         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36714         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36715         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36716         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36717         Likewise.
36718         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36719         Likewise.
36720         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36721         Likewise.
36722         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36723         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36725         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36726         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36727         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36728         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36729         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36731         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36732         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36733         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36734         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36735         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36737         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36738         Likewise.
36739         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36740         Likewise.
36741         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36742         Likewise.
36743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36744         Likewise.
36745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36747         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36748         Likewise.
36749         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36750         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36751         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36752         * sysdeps/posix/sleep.c: Likewise.
36753         * sysdeps/posix/tempname.c: Likewise.
36754         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36755         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36756         Likewise.
36757         * sysdeps/powerpc/powerpc32/dl-machine.h
36758         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36759         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36760         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36761         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36762         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36763         Likewise.
36764         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36765         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36766         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36767         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36768         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36769         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36770         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36771         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36772         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36773         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36774         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36775         (elf_machine_lazy_rel): Likewise.
36776         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36778         (elf_machine_lazy_rel): Likewise.
36779         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36780         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36781         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36782         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36783         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36784         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36785         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36786         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36787         Likewise.
36788         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36789         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36790         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36791         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36792         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36793         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36794         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36795         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36796         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36797         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36798         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36799         Likewise.
36800         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36801         (__posix_fallocate64_l64): Likewise.
36802         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36803         (posix_fallocate): Likewise.
36804         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36805         Likewise.
36806         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36807         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36808         (getifaddrs_internal): Likewise.
36809         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36810         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36811         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36812         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36813         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36814         (__posix_fallocate64_l64): Likewise.
36815         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36816         Likewise.
36817         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36818         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36819         (__get_clockfreq): Likewise.
36820         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36821         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36822         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36823         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36825         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36826         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36827         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36828         Likewise.
36829         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36830         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36831         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36832         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36833         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36834         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36835         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36836         Likewise.
36837         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36838         (posix_fallocate): Likewise.
36839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36840         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36841         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36842         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36843         (elf_machine_rela, elf_machine_rela_relative)
36844         (elf_machine_lazy_rel): Likewise.
36845         * time/asctime.c (asctime_internal): Likewise.
36846         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36847         * time/tzset.c (__tzset_parse_tz): Likewise.
36848         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36849         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36850         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36851         * wcsmbs/wcsmbsload.h: Likewise.
36853         [BZ #15894]
36854         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36856         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36857         (arena_get2): Remove THREAD_STATS conditionals.
36858         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36859         (__malloc_stats, int): Likewise.
36861 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36863         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36864         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36866         * manual/setjmp.texi: Fix typos/grammar errors.
36868         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36869         Only return early when n is <= 0.  Delete unused return statement.
36871         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36872         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36873         * debug/tst-longjmp_chk3.c: New file.
36875         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36876         (test_main): Replace code with set_fortify_handler call.
36877         * debug/test-strcpy_chk.c: Likewise.
36878         * debug/tst-chk1.c: Likewise.
36879         * debug/tst-longjmp_chk.c: Likewise.
36880         * test-skeleton.c: Include fcntl.h & paths.h
36881         (set_fortify_handler): Define.
36883         * debug/tst-longjmp_chk.c: Add header comment and include
36884         ../test-skeleton.c.
36885         (do_test): Mark static.
36886         (TEST_FUNCTION): Define.
36888         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36889         (IP_PMTUDISC_INTERFACE): Likewise.
36890         (IP_MULTICAST_IF): Likewise.
36891         (IP_MULTICAST_TTL): Likewise.
36892         (IP_MULTICAST_LOOP): Likewise.
36893         (IP_ADD_MEMBERSHIP): Likewise.
36894         (IP_DROP_MEMBERSHIP): Likewise.
36895         (IP_UNBLOCK_SOURCE): Likewise.
36896         (IP_BLOCK_SOURCE): Likewise.
36897         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36898         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36899         (IP_MSFILTER): Likewise.
36900         (MCAST_JOIN_GROUP): Likewise.
36901         (MCAST_BLOCK_SOURCE): Likewise.
36902         (MCAST_UNBLOCK_SOURCE): Likewise.
36903         (MCAST_LEAVE_GROUP): Likewise.
36904         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36905         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36906         (MCAST_MSFILTER): Likewise.
36907         (IP_MULTICAST_ALL): Likewise.
36908         (IP_UNICAST_IF): Likewise.
36910         * timezone/Makefile: Delete $(have-ksh) check.
36911         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36912         * timezone/tzselect.ksh: Add +x mode bits.
36914         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36915         (ANON_INODE_FS_MAGIC): Likewise.
36916         (BDEVFS_MAGIC): Likewise.
36917         (BINFMTFS_MAGIC): Likewise.
36918         (BTRFS_TEST_MAGIC): Likewise.
36919         (CRAMFS_MAGIC_WEND): Likewise.
36920         (DEBUGFS_MAGIC): Likewise.
36921         (ECRYPTFS_SUPER_MAGIC): Likewise.
36922         (EXT3_SUPER_MAGIC): Likewise.
36923         (EXT4_SUPER_MAGIC): Likewise.
36924         (FUTEXFS_SUPER_MAGIC): Likewise.
36925         (HOSTFS_SUPER_MAGIC): Likewise.
36926         (HUGETLBFS_MAGIC): Likewise.
36927         (MINIX3_SUPER_MAGIC): Likewise.
36928         (MTD_INODE_FS_MAGIC): Likewise.
36929         (NILFS_SUPER_MAGIC): Likewise.
36930         (OPENPROM_SUPER_MAGIC): Likewise.
36931         (PIPEFS_MAGIC): Likewise.
36932         (PSTOREFS_MAGIC): Likewise.
36933         (QNX6_SUPER_MAGIC): Likewise.
36934         (RAMFS_MAGIC): Likewise.
36935         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36936         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36937         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36938         (SECURITYFS_MAGIC): Likewise.
36939         (SELINUX_MAGIC): Likewise.
36940         (SMACK_MAGIC): Likewise.
36941         (SOCKFS_MAGIC): Likewise.
36942         (SQUASHFS_MAGIC): Likewise.
36943         (STACK_END_MAGIC): Likewise.
36944         (TMPFS_MAGIC): Likewise.
36945         (USBDEVICE_SUPER_MAGIC): Likewise.
36946         (V9FS_MAGIC): Likewise.
36947         (XENFS_SUPER_MAGIC): Likewise.
36948         (CRAMFS_MAGIC): Fix typo in comment.
36949         (EXT2_SUPER_MAGIC): Update comment.
36950         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36952 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36954         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36955         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36956         * sysdeps/unix/sysv/linux/arm: Move directory from
36957         ports/sysdeps/unix/sysv/linux/arm.
36958         * README: Update listing for arm-*-linux-gnueabi.
36960         * README: Remove mention of am33.
36962 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36964         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36965         than the comma operator, to avoid "rhs of comma has no effect"
36966         compiler warnings.
36967         (__sigfillset, __sigandset, __sigorset): Likewise.
36968         * include/signal.h (__sigemptyset): Likewise.
36969         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36971 2014-02-07  Allan McRae  <allan@archlinux.org>
36973         * version.h (RELEASE): Set to "development".
36974         (VERSION): Set to "2.19.90"
36975         * NEWS: Add 2.20 section.
36977 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36979         [BZ #16529]
36980         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36982 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36984         * manual/contrib.texi: Update entry for Carlos O'Donell,
36985         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36987 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36989         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36991         * sysdeps/unix/sysv/linux/kernel-features.h
36992         [__LINUX_KERNEL_VERSION >= 0x020621]
36993         (__ASSUME_PROC_PID_TASK_COMM): Define.
36995 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36997         [BZ #16398]
36998         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36999         conversion when destination buffer does not have enough space.
37000         * libio/tst-ftell-partial-wide.c: New test case.
37001         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37003         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37004         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37005         Leonard and Allan McRae.
37007 2014-02-04  David S. Miller  <davem@davemloft.net>
37009         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37010         32-bit.
37012 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37015         New file
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37017         New file
37018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37019         New file.
37020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37021         New file.
37022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37023         New file.
37024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37025         New file.
37026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37027         New file.
37028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37029         New file.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37031         New file.
37032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37033         New file.
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37035         New file.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37037         New file.
37038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37039         New file.
37041 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37043         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37044         * shlib-versions: Likewise.
37046 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37049         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37050         (abilist-pattern): New variable, set to %-le.abilist.
37052         * Makerules (abilist-pattern): New variable.
37053         (vpath): Use $(abilist-pattern) in place of %.abilist.
37054         (check-abi-% pattern rule): Likewise.
37055         (check-abi, update-abi): Likewise.
37057 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37061 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37063         * manual/startup.texi: Add next, previous, and top entries for
37064         the `Program Arguments' and `Environment Variables' nodes.
37066 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37068         * manual/macros.texi: Add comments before MTASC-safety macros.
37070         * manual/users.texi: Document MTASC-safety properties.
37072         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37073         (pthread_getspecific, pthread_setspecific): Format with
37074         @deftypefun, and add @safety note.
37075         * manual/signal.texi: Move comments that analyze the above
37076         functions to their home place.
37078 2014-02-03  Allan McRae  <allan@archlinux.org>
37080         * po/sl.po: Update Slovenian translation from translation project.
37082 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37084         * manual/time.texi (timegm): Add missing blank after @c.
37085         Reported by Joseph Myers <joseph@codesourcery.com>.
37087 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37089         * manual/check-safety.sh: New.
37090         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37092         * manual/terminal.texi: Document MTASC-safety properties.
37094         * manual/filesys.texi: Document MTASC-safety properties.
37096         * manual/errno.texi: Document MTASC-safety properties.
37098         * manual/intro.texi: Document safety identifiers and
37099         conditionals.
37101         * manual/string.texi (wcstok): Fix prototype.
37102         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37104         * manual/time.texi: Document MTASC-safety properties.
37106         * manual/string.texi: Document MTASC-safety properties.
37108         * manual/threads.texi: Document MTASC-safety properties.
37110         * manual/stdio.texi: Document MTASC-safety properties.
37112         * manual/syslog.texi: Document MTASC-safety properties.
37114         * manual/sysinfo.texi: Document MTASC-safety properties.
37116         * manual/startup.texi: Document MTASC-safety properties.
37118         * manual/socket.texi: Document MTASC-safety properties.
37120         * manual/signal.texi: Document MTASC-safety properties.
37122 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37124         * manual/setjmp.texi: Document MTASC-safety properties.
37126         * manual/search.texi: Document MTASC-safety properties.
37128         * manual/resource.texi: Document MTASC-safety properties.
37130         * manual/process.texi: Document MTASC-safety properties.
37132         * manual/platform.texi: Document MTASC-safety properties.
37134         * manual/pipe.texi: Document MTASC-safety properties.
37136         * manual/pattern.texi: Document MTASC-safety properties.
37138         * manual/message.texi: Document MTASC-safety properties.
37140         [BZ #12751]
37141         * manual/memory.texi: Document MTASC-safety properties.
37143         * manual/math.texi: Document MTASC-safety properties.
37145         * manual/locale.texi: Document MTASC-safety properties.
37147         * manual/llio.texi: Document MTASC-safety properties.
37149         * manual/libdl.texi: New.
37151         * manual/lang.texi: Document MTASC-safety properties.
37153         * manual/job.texi: Document MTASC-safety properties.
37155         * manual/getopt.texi: Document MTASC-safety properties.
37157         * manual/ctype.texi: Document MTASC-safety properties.
37159 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37161         [BZ #16046]
37162         * csu/libc-tls.c (static_map): Remove variable.
37163         (__libc_setup_tls): Use main executable's link map for TLS data.
37164         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37165         casing for LM_ID_BASE and GL(dl_nns).
37166         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37167         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37168         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37169         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37170         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37171         member.
37172         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37173         l_phnum members.
37175 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37177         * manual/debug.texi: Document MTASC-safety properties.
37179 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37181         [BZ #16510]
37182         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37183         of __x86_64__ when disabling x87 inline functions.
37185 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37187         * manual/charset.texi: Document MTASC-safety properties.
37189         * manual/crypt.texi: Document MTASC-safety properties.
37191         * manual/conf.texi: Document MTASC-safety properties.
37193         * manual/arith.texi: Document MTASC-safety properties.
37195         * manual/argp.texi: Document MTASC-safety properties.
37197         * manual/macros.texi: Introduce macros to document multi
37198         thread, asynchronous signal and asynchronous cancellation
37199         safety properties.
37200         * manual/intro.texi: Introduce the properties themselves.
37202 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37204         * sysdeps/sh/sh4/Makefile: New file.
37206 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37208         * math/gen-libm-test.pl ($srcdir): New variable.
37209         ($auto_input): Use it.
37211 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37213         [BZ #16506]
37214         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37215         access beyond array bounds when parsing netgroups file.
37217         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37218         the old buffer before realloc.
37220 2014-01-27  Allan McRae  <allan@archlinux.org>
37222         * po/fr.po: Update French translation from translation project.
37224 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37226         * sysdeps/sh/libm-test-ulps: Regenerate.
37228 2014-01-24  David S. Miller  <davem@davemloft.net>
37230         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37232 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37234         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37235         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37237 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37239         [BZ #16474]
37240         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37241         string pointers after reallocation.
37243 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37245         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37246         __SH4A__ instead of __SH_FPU_ANY__.
37248 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37250         * sysdeps/sh/fpu_control.h: New file.
37251         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37252         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37253         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37254         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37255         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37256         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37257         * sysdeps/sh/sys/ucontext.h: Remove.
37258         * sysdeps/sh/sys: Remove directory.
37260 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37262         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37263         s390/sys/ucontext.h.
37264         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37265         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37267 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37269         [BZ #15605]
37270         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37272 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37274         [BZ#16431]
37275         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37276         Adjust the vDSO correctly for internal calls.
37277         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37279 2014-01-20  Allan McRae  <allan@archlinux.org>
37281         * po/ca.po: Update Catalan translation from translation project.
37283 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37285         * sysdeps/s390/sotruss-lib.c: New file.
37287 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37289         [BZ#16430]
37290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37291         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37292         local calls issues by not having a PLT stub required for IFUNC calls.
37293         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37295 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37297         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37298         * math/test-fpucw-static.c: Likewise.
37300 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37302         [BZ #16453]
37303         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37305 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37307         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37308         implementation for powerpc.
37310 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37312         [BZ #14782]
37313         * sysdeps/posix/system.c (__libc_system): Do not enable
37314         asynchronous cancellation.
37316 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37318         [BZ #16427]
37319         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37320         handling only for numbers special also in the IEEE case.
37322 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37324         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37326 2014-01-11  Allan McRae  <allan@archlinux.org>
37328         * po/bg.po: Update Bulgarian translation from translation project.
37330         * po/de.po: Update German translation from translation project.
37332 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37334         * sysdeps/generic/gcc-compat.h: New file.
37336 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37338         * benchtests/asin-inputs: Correct slow inputs.
37339         * benchtests/acos-inputs: Likewise.
37341 2014-01-10  Allan McRae  <allan@archlinux.org>
37343         * po:sv.po: Update Swedish translation from translation project.
37345         * po/vi.po: Update Vietnamese translation from translation project.
37347         * po/eo.po: Update Esperanto translation from translation project.
37349         * po/cs.po: Update Czech translation from translation project.
37351         * po/nl.po: Update Dutch translation from translation project.
37353         * po/pl.po: Update Polish translation from translation project.
37355         * po/ru.po: Update Russian translation from translation project.
37357         * po/uk.po: Update Ukrainian translation from translation project.
37359 2014-01-08  Brooks Moses  <bmoses@google.com>
37361         * elf/dl-load.c: Fix comment typo.
37363 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37365         * po/header.pot: Rename to...
37366         * po/pot.header: ... this.
37367         * po/Makefile: Use pot.header.
37369 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37370             Maxim Kuvyrkov  <maxim@kugelworks.com>
37372         [BZ #16394]
37373         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37374         SRC and DEST against LEN.
37376 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37378         [BZ #16414]
37379         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37380         implementation.
37381         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37383 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37387 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37389         [BZ #16408]
37390         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37391         for large positive arguments.
37393 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37395         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37397         * math/auto-libm-test-in: Mark various tests with
37398         xfail-rounding:ldbl-128ibm.
37399         * math/auto-libm-test-out: Regenerated.
37401         [BZ #16407]
37402         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37403         Increase overflow threshold.
37405 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37407         [BZ #14286]
37408         * stdio-common/vfprintf.c: Check for integer overflow.
37410 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37412         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37413         the first argument and return value of __tls_get_addr_internal.
37415 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37417         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37418         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37420 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37422         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37423         * sysdeps/s390/rtld-global-offsets.sym: New file.
37424         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37425         GLIBC_2.19 symbol.
37426         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37427         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37428         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37429         ... this.
37430         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37431         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37432         ... this.
37433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37434         Regenerate.
37435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37436         Regenerate.
37437         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37438         halfs of GPRs for high_gprs contexts.
37439         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37440         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37441         field.
37442         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37443         uc_flags field.
37444         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37445         64 bit versions:
37446         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37447         for high GPRs (uc_high_gprs) and for future extensions
37448         (__reserved).
37449         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37450         for future extensions (__reserved).
37451         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37452         64 bit versions:
37453         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37454         SC_HIGHGPRS offset definition.
37455         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37456         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37458         * Versions.def: Add GLIBC_2.19 for libpthread.
37459         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37460         siglongjmp for libpthread with GLIBC_2.19 symver.
37461         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37462         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37463         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37464         * sysdeps/s390/__longjmp.c: New file.
37465         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37466         * sysdeps/s390/longjmp.c: New file.
37467         * sysdeps/s390/setjmp.S: New file.
37468         * sysdeps/s390/sigjmp.S: New file.
37469         * sysdeps/s390/v1-longjmp.c: New file.
37470         * sysdeps/s390/v1-setjmp.h: New file.
37471         * sysdeps/s390/v1-sigjmp.c: New file.
37472         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37473         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37474         GLIBC_2.19 version.
37475         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37476         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37477         versioned symbols for ____longjmp_chk.
37478         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37479         Likewise.
37480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37481         Regenerate.
37482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37483         Regenerate.
37484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37485         Regenerate.
37486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37487         Regenerate.
37488         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37489         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37490         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37491         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37492         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37493         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37494         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37495         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37496         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37497         * sysdeps/s390/rtld-__longjmp.c: New file.
37498         * sysdeps/s390/rtld-setjmp.S: New file.
37500 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37502         [BZ #16400]
37503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37504         Return -__logl (x) for small positive arguments without evaluating
37505         a polynomial.
37507 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37509         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37510         Rename to ...
37511         (__ptrace_peeksiginfo_args): ... this.
37512         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37513         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37516 2014-01-06  Allan McRae  <allan@archlinux.org>
37518         * inet/netinet/in.h: Fix typo in comment.
37520 2014-01-05  Andreas Jaeger  <aj@suse.de>
37522         * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 2014-01-05  Allan McRae  <allan@archlinux.org>
37526         * po/libc.pot: Regenerated.
37528         * malloc/memusagestat.c: Fix gettext call formatting.
37530 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37532         * nscd/nscd.c: Improve usage() output.
37534 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37536         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37537         * sysdeps/unix/sysv/linux/configure: Regenerated.
37538         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37539         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37541 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37543         [BZ #16390]
37544         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37545         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37547 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37549         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37550         extra tokens at end of #undef directive.
37551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37552         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37553         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37555 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37557         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37559         * math/auto-libm-test-in: Mark various tests with
37560         xfail-rounding:ldbl-128ibm.
37561         * math/auto-libm-test-out: Regenerated.
37563 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37565         [BZ #16386]
37566         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37567         numbers with subnormal high part when calculating exponent.
37569         [BZ #16385]
37570         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37571         fabs.
37573         [BZ #16384]
37574         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37575         M_LN2l.
37576         (__ieee754_acoshl): Use __log1pl not __log1p.
37578 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37580         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37581         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37582         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37583         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37584         (reused_arena, arena_get2): Convert to GNU style.
37585         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37586         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37587         (memalign_check, __malloc_set_state): Likewise.
37588         * malloc/mallocbug.c (main): Likewise.
37589         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37590         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37591         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37592         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37593         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37594         (__posix_memalign, malloc_info): Likewise.
37595         * malloc/malloc.h: Likewise.
37596         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37597         (mallochook, memalignhook, reallochook, mabort): Likewise.
37598         * malloc/mcheck.h: Likewise.
37599         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37600         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37601         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37602         * malloc/morecore.c (__default_morecore): Likewise.
37603         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37604         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37605         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37606         (print_and_abort): Likewise.
37607         * malloc/obstack.h: Likewise.
37608         * malloc/set-freeres.c (__libc_freeres): Likewise.
37609         * malloc/tst-mallocstate.c (main): Likewise.
37610         * malloc/tst-mtrace.c (main): Likewise.
37611         * malloc/tst-realloc.c (do_test): Likewise.
37613 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         [BZ #16366]
37616         * nscd/netgroupcache.c (do_notfound): New function.
37617         (addgetnetgrentX): Use it.
37619         [BZ # 16365]
37620         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37621         NSS_STATUS_NOTFOUND.
37623 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37625         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37628 2014-01-01  Allan McRae  <allan@archlinux.org>
37630         * scripts/update-copyrights: Update configure input file suffix.
37632         * NEWS: Update copyright year.
37633         * catgets/gencat.c: Likewise.
37634         * csu/version.c: Likewise.
37635         * debug/catchsegv.sh: Likewise.
37636         * debug/pcprofiledump.c: Likewise.
37637         * debug/xtrace.sh: Likewise.
37638         * elf/ldconfig.c: Likewise.
37639         * elf/ldd.bash.in: Likewise.
37640         * elf/pldd.c: Likewise.
37641         * elf/sotruss.ksh: Likewise.
37642         * elf/sprof.c: Likewise.
37643         * iconv/iconv_prog.c: Likewise.
37644         * iconv/iconvconfig.c: Likewise.
37645         * locale/programs/locale.c: Likewise.
37646         * locale/programs/localedef.c: Likewise.
37647         * login/programs/pt_chown.c: Likewise.
37648         * malloc/memusage.sh: Likewise.
37649         * malloc/memusagestat.c: Likewise.
37650         * malloc/mtrace.pl: Likewise.
37651         * manual/libc.texinfo: Likewise.
37652         * nscd/nscd.c: Likewise.
37653         * nss/getent.c: Likewise.
37654         * nss/makedb.c: Likewise.
37655         * posix/getconf.c: Likewise.
37656         * scripts/test-installation.pl: Likewise.
37658         * All files with FSF copyright notices: Update copyright dates
37659         using scripts/update-copyrights.
37660         * intl/plural.c: Regenerated.
37661         * locale/programs/charmap-kw.h: Likewise.
37662         * locale/programs/locfile-kw.h: Likewise.
37664 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37666         * sysdeps/unix/sysv/linux/configure: Regenerated.
37667         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37668         the linux/fanotify.h header.
37669         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37670         HAVE_LINUX_FANOTIFY_H is defined.
37672 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37674         * benchtests/cos-inputs: New inputs.
37675         * benchtests/sin-inputs: Likewise.
37677         * benchtests/atan-inputs: New inputs. Fix name of multiple
37678         precision fallback inputs.
37680         * benchtests/atanh-inputs: New inputs.
37681         * benchtests/tanh-inputs: Likewise.
37683         * benchtests/acosh-inputs: New inputs.
37684         * benchtests/asinh-inputs: Likewise.
37686         * benchtests/cosh-inputs: New inputs.
37687         * benchtests/sinh-inputs: Likewise.
37689         * benchtests/acos-inputs: Add more inputs.
37690         * benchtests/asin-inputs: Likewise.
37692 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37694         [BZ #16375]
37695         * manual/arith.texi: Fix spelling.
37696         * manual/charset.texi: Likewise.
37697         * manual/errno.texi: Likewise.
37698         * manual/filesys.texi: Likewise.
37699         * manual/lang.texi: Likewise.
37700         * manual/llio.texi: Likewise.
37701         * manual/locale.texi: Likewise.
37702         * manual/message.texi: Likewise.
37703         * manual/resource.texi: Likewise.
37704         * manual/search.texi: Likewise.
37705         * manual/setjmp.texi: Likewise.
37706         * manual/stdio.texi: Likewise.
37707         * manual/string.texi: Likewise.
37708         * manual/sysinfo.texi: Likewise.
37709         * manual/time.texi: Likewise.
37711 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37713         * po/sl.po: New file.
37715 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37717         * .gitignore: Add core/.gdbinit/.gdb_history.
37719 2013-12-27  Allan McRae  <allan@archlinux.org>
37721         [BZ #16369]
37722         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37723         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37725 2013-12-24  Brooks Moses  <bmoses@google.com>
37727         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37728         all compilers that claim C++98 compliance, not just GCC.
37729         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37730         Likewise.
37732 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37734         * NEWS: Restore accidentally deleted bug-fix entries.
37736 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37737             Ondřej Bílka  <neleai@seznam.cz>
37739         [BZ #15073]
37740         * malloc/malloc.c (_int_free): Perform sanity check only if we
37741         have_lock.
37743 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37745         [BZ #12986]
37746         * manual/stdio.texi (String Input Conversions): Clarify that character
37747         classes are not supported.
37749 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37753 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37755         [BZ #16337]
37756         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37757         Calculate results for small negative arguments directly rather
37758         than using reflection formula with special underflow handling.
37760         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37761         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37762         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37763         (fchflags): Likewise.
37764         (revoke): Likewise.
37765         (setlogin): Likewise.
37766         (sigaltstack): Likewise.
37767         (wait4): Likewise.
37768         (sigblock): Remove.
37769         (sigsetmask): Likewise.
37770         (wait3): Likewise.
37771         (waitpid): Likewise.
37772         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37773         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37774         file.
37775         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37776         * sysdeps/unix/bsd/Makefile: ... here.
37777         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37778         * sysdeps/unix/bsd/Versions: ... here.
37779         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37780         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37781         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37782         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37783         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37784         * sysdeps/unix/bsd/sigblock.c: ... here.
37785         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37786         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37787         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37788         * sysdeps/unix/bsd/sigvec.c: ... here.
37789         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37790         * sysdeps/unix/bsd/tcdrain.c: ... here.
37791         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37792         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37793         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37794         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37795         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37796         * sysdeps/unix/bsd/wait.c: ... here.
37797         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37798         * sysdeps/unix/bsd/wait3.c: ... here.
37799         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37800         * sysdeps/unix/bsd/waitpid.c: ... here.
37802 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37804         [BZ #16356]
37805         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37806         round-to-nearest for [!USE_AS_EXPM1L].
37807         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37808         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37809         more tests of exp and exp10.  Expect some exp10 tests to miss
37810         exceptions or fail in directed rounding modes.
37811         * math/auto-libm-test-out: Regenerated.
37812         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37813         (exp10_test_tonearest): New function.
37814         (exp10_towardzero_test_data): New array.
37815         (exp10_test_towardzero): New function.
37816         (exp10_downward_test_data): New array.
37817         (exp10_test_downward): New function.
37818         (exp10_upward_test_data): New array.
37819         (exp10_test_upward): New function.
37820         (main): Call the new functions.
37821         * sysdeps/i386/fpu/libm-test-ulps: Update.
37822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37824 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37826         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37827         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37828         * math/auto-libm-test-out: Regenerated.
37829         * math/libm-test.inc (acosh_test_data): Add more tests.
37830         (atanh_test_data): Likewise.
37831         (ceil_test_data): Likewise.
37832         (copysign_test_data): Likewise.
37833         * sysdeps/i386/fpu/libm-test-ulps: Update.
37834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37836         * timezone/checktab.awk: Update from tzcode 2013i.
37837         * timezone/private.h: Likewise.
37838         * timezone/scheck.c: Likewise.
37839         * timezone/tzfile.h: Likewise.
37840         * timezone/tzselect.ksh: Likewise.
37841         * timezone/zdump.c: Likewise.
37842         * timezone/zic.c: Likewise.
37844         * math/auto-libm-test-in: Add tests of cpow.
37845         * math/auto-libm-test-out: Regenerated.
37846         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37848         mpc_cc_c.
37849         (func_calc_desc): Add mpc_cc_c union field.
37850         (test_functions): Add cpow.
37851         (special_fill_2pi): New function.
37852         (special_real_inputs): Add 2pi.
37853         (calc_generic_results): Handle mpc_cc_c.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37858         csqrt, ctan and ctanh.
37859         * math/auto-libm-test-out: Regenerated.
37860         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37861         (TEST_COND_x86): Likewise.
37862         (ccos_test_data): Use AUTO_TESTS_c_c.
37863         (ccosh_test_data): Likewise.
37864         (cexp_test_data): Likewise.
37865         (clog_test_data): Likewise.
37866         (csqrt_test_data): Likewise.
37867         (ctan_test_data): Likewise.
37868         (ctan_tonearest_test_data): Likewise.
37869         (ctan_towardzero_test_data): Likewise.
37870         (ctan_downward_test_data): Likewise.
37871         (ctan_upward_test_data): Likewise.
37872         (ctanh_test_data): Likewise.
37873         (ctanh_tonearest_test_data): Likewise.
37874         (ctanh_towardzero_test_data): Likewise.
37875         (ctanh_downward_test_data): Likewise.
37876         (ctanh_upward_test_data): Likewise.
37877         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37878         mpc_c_c.
37879         (func_calc_desc): Add mpc_c_c union field.
37880         (FUNC_mpc_c_c): New macro.
37881         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37882         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37883         ctanh.
37884         (special_fill_min_subnorm_p120): New function.
37885         (special_real_inputs): Add min_subnorm_p120.
37886         (calc_generic_results): Handle mpc_c_c.
37887         * sysdeps/i386/fpu/libm-test-ulps: Update.
37888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37890 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37892         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37893         (do_sin_slow): New functions.
37894         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37895         (cslow2, csloww1, csloww2): Use the new functions.
37897         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37898         Use M to change sign of result instead of X.  Assume X is
37899         positive.
37900         (csloww1): Likewise.
37901         (__sin): Adjust.
37902         (__cos): Adjust.
37904         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37905         arguments A and DA.
37906         (__sin): Adjust.
37907         (__cos): Likewise.
37909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37910         (__cos): Likewise.
37911         (sloww1): Don't adjust sign of DX.
37912         (csloww1): Likewise.
37913         (sloww2): Use X directly and don't adjust sign of DX.
37914         (csloww2): Likewise.
37916 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37918         * math/auto-libm-test-in: Add tests of cabs and carg.
37919         * math/auto-libm-test-out: Regenerated.
37920         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37921         (carg_test_data): Likewise.
37922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37923         mpc_c_f.
37924         (func_calc_desc): Add mpc_c_f union field.
37925         (test_functions): Add cabs and carg.
37926         (calc_generic_results): Handle mpc_c_f.
37928         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37929         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37930         as a macro and a compat symbol.
37931         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37932         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37933         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37934         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37935         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37936         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37937         not use .hidden.
37938         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37939         Likewise.
37940         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37941         Likewise.
37942         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37943         Likewise.
37944         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37945         Likewise.
37946         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37947         Likewise.
37948         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37949         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37950         from GLIBC_2.3.2.
37952 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37956 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37958         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37959         trailing whitespace removed.
37960         * scripts/config.guess: Update to version 2013-11-29.
37961         * scripts/config.sub: Update to version 2013-10-01.
37963         * math/auto-libm-test-in: Add tests of sincos.
37964         * math/auto-libm-test-out: Regenerated.
37965         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37967         mpfr_f_11.
37968         (func_calc_desc): Add mpfr_f_11 union field.
37969         (test_functions): Add sincos.
37970         (calc_generic_results): Handle mpfr_f_11.
37971         * sysdeps/i386/fpu/libm-test-ulps: Update.
37972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37974 2013-12-19  Andreas Schwab  <schwab@suse.de>
37976         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37977         CALL_MCOUNT.
37978         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37979         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37980         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37982 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37984         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37985         * sysdeps/i386/fpu/libm-test-ulps: Update.
37986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37988         [BZ #16293]
37989         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37990         round-to-nearest mode when using frndint.
37991         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37992         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37993         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37994         Likewise.
37995         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37996         sinh test to fail.
37997         * math/auto-libm-test-out: Regenerated.
37998         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37999         (TEST_COND_x86): Likewise.
38000         (expm1_tonearest_test_data): New array.
38001         (expm1_test_tonearest): New function.
38002         (expm1_towardzero_test_data): New array.
38003         (expm1_test_towardzero): New function.
38004         (expm1_downward_test_data): New array.
38005         (expm1_test_downward): New function.
38006         (expm1_upward_test_data): New array.
38007         (expm1_test_upward): New function.
38008         (main): Run the new test functions.
38009         * sysdeps/i386/fpu/libm-test-ulps: Update.
38010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38012         * include/features.h: Update comment documenting feature test
38013         macros.  Mention _DEFAULT_SOURCE in comment.
38014         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38015         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38016         _BSD_SOURCE and _SVID_SOURCE.
38017         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38018         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38019         !_SVID_SOURCE]: Likewise.
38020         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38021         (__USE_POSIX_IMPLICITLY): Define.
38022         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38023         (_POSIX_SOURCE): Undefine and redefine.
38024         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38025         (_POSIX_C_SOURCE): Likewise.
38026         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38027         (Feature Test Macros): Update documentation of default features.
38029 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38031         * benchtests/Makefile: Add bench-strtok.
38032         * benchtests/bench-strtok.c: New file: strtok benchtest.
38034 2013-12-19  Allan McRae  <allan@archlinux.org>
38036         * manual/install.texi: Suppress menu for plain text output.
38037         * INSTALL: Regenerated.
38039 2013-12-18  Brooks Moses  <bmoses@google.com>
38041         [BZ #15846]
38042         * misc/getauxval.c: Include errno.h.
38043         (__getauxval): Set errno to ENOENT if the requested type is not
38044         found.
38045         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38046         don't declare with __attribute_const__.
38047         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38048         * manual/startup.texi: Document that getauxval sets errno.
38050 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38052         * math/auto-libm-test-in: Add tests of jn and yn.
38053         * math/auto-libm-test-out: Regenerated.
38054         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38055         (yn_test_data): Likewise.
38056         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38057         mpfr_if_f.
38058         (func_calc_desc): Add mpfr_if_f union field.
38059         (FUNC_mpfr_if_f): New macro.
38060         (test_functions): Add jn and yn.
38061         (calc_generic_results): Assert type of second input for
38062         mpfr_ff_f.  Handle mpfr_if_f.
38063         (output_for_one_input_case): Disable all checking for arguments
38064         fitting floating-point types in case of an integer argument.
38065         * sysdeps/i386/fpu/libm-test-ulps: Update.
38066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38069         Don't expect fegetround reference in libm.so.
38071 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38073         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38074         $(config-cflags-nofma).
38076 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38078         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38079         * math/auto-libm-test-out: Regenerated.
38081         [BZ #16338]
38082         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38083         to determine exponent and adjust argument to have exponent of -1.
38084         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38085         log2.
38086         * math/auto-libm-test-out: Regenerated.
38087         * sysdeps/i386/fpu/libm-test-ulps: Update.
38088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38090 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38092         * manual/probes.texi: Remove cases when per-thread arenas are
38093         disabled.
38095 2013-12-18  Andreas Schwab  <schwab@suse.de>
38097         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38098         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38099         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38100         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38101         * sysdeps/i386/i686/multiarch/Makefile: Update.
38102         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38104 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38106         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38107         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38109 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38111         [BZ #15968]
38112         Support TZ transition times < 00:00:00.
38113         This is needed for version-3 tz-format files; it supports time
38114         stamps past 2037 for America/Godthab (the only entry in the tz
38115         database for which this change is relevant).
38116         * manual/time.texi (TZ Variable): Document transition times
38117         from -167:59:59 through -00:00:01.
38118         * time/tzset.c (tz_rule): Time of day is now signed.
38119         (__tzset_parse_tz): Parse negative time of day.
38121         Document TZ transition times >= 25:00:00.
38122         * manual/time.texi (TZ Variable): Document transition times from
38123         25:00:00 through 167:59:59.  These are already supported, and this
38124         support will help with version-3 tz-format files.
38126         * manual/time.texi (TZ Variable): Modernize North America example
38127         to reflect current (i.e., 2007-and-later) daylight saving rules.
38129         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38131 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38133         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38134         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38135         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38137         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38138         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38139         * sysdeps/unix/bsd/clock.c: Likewise.
38140         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38141         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38142         * sysdeps/unix/bsd/init-posix.c: Likewise.
38143         * sysdeps/unix/bsd/poll.c: Likewise.
38144         * sysdeps/unix/bsd/ptsname.c: Likewise.
38145         * sysdeps/unix/bsd/seekdir.c: Likewise.
38146         * sysdeps/unix/bsd/setegid.c: Likewise.
38147         * sysdeps/unix/bsd/seteuid.c: Likewise.
38148         * sysdeps/unix/bsd/setgid.c: Likewise.
38149         * sysdeps/unix/bsd/setrgid.c: Likewise.
38150         * sysdeps/unix/bsd/setruid.c: Likewise.
38151         * sysdeps/unix/bsd/setsid.c: Likewise.
38152         * sysdeps/unix/bsd/setuid.c: Likewise.
38153         * sysdeps/unix/bsd/sigaction.c: Likewise.
38154         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38155         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38156         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38157         * sysdeps/unix/bsd/telldir.c: Likewise.
38158         * sysdeps/unix/bsd/times.c: Likewise.
38159         * sysdeps/unix/bsd/usleep.c: Likewise.
38161         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38162         ($(objpfx)libbsd-compat.a): Remove rule.
38164         * include/features.h (__FAVOR_BSD): Do not define.
38165         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38166         features conflicting with POSIX.
38167         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38168         (_BSD_SOURCE): Remove description of not being a subset of other
38169         feature test macros.
38170         * manual/job.texi (getpgrp): Do not document BSD version.
38171         (getpgid): Do not document by reference to BSD getpgrp.
38172         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38173         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38174         * signal/signal.h [__FAVOR_BSD]: Likewise.
38175         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38176         instead of making contents conditional on [__FAVOR_BSD].
38177         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38179 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38183 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38185         [BZ #16314]
38186         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38187         values below 2**-450, not 2**-500.
38188         * math/auto-libm-test-in: Don't allow spurious underflow from
38189         hypot.
38190         * math/auto-libm-test-out: Regenerated.
38192         [BZ #16316]
38193         [BZ #16330]
38194         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38195         values of ha and hb and sort them after adjusting subnormal
38196         arguments.
38197         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38198         Likewise.
38199         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38200         values of ea and eb and sort them after adjusting subnormal
38201         arguments.
38202         * math/auto-libm-test-in: Do not expect some hypot tests of
38203         subnormals to fail.  Add more hypot tests.
38204         * math/auto-libm-test-out: Regenerated.
38206 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38208         [BZ #13304]
38209         * sysdeps/sh/s_fma.c: New file.
38210         * sysdeps/sh/s_fmaf.c: New file.
38211         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38212         version.
38213         * sysdeps/sh/Implies: Add sh/soft-fp.
38215 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38217         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38218         level of indirection to members `objname', `errstring', `malloced'.
38219         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38220         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38221         it as the __longjmp argument (just pass 1 instead).
38222         (_dl_catch_error): Initialize C with argument pointers and address of
38223         volatile local ERRCODE rather than copying values out of C at return.
38225 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38227         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38228         * math/auto-libm-test-out: Regenerated.
38229         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38230         (hypot_test_data): Likewise.
38231         (pow_test_data): Likewise.
38232         (pow_tonearest_test_data): Likewise.
38233         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38234         mpfr_ff_f.
38235         (func_calc_desc): Add mpfr_ff_f union field.
38236         (FUNC_mpfr_ff_f): New macro.
38237         (test_functions): Add atan2, hypot and pow.
38238         (special_fill_min): New function.
38239         (special_fill_minus_min): Likewise.
38240         (special_fill_min_subnorm): Likewise.
38241         (special_fill_minus_min_subnorm): Likewise.
38242         (special_real_inputs): Add min, -min, min_subnorm and
38243         -min_subnorm.
38244         (calc_generic_results): Handle mpfr_ff_f.
38245         * sysdeps/i386/fpu/libm-test-ulps: Update.
38246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38248 2013-12-16  Will Newton  <will.newton@linaro.org>
38250         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38251         (Aligned Memory Blocks): Add documentation for aligned_alloc
38252         and suggest it as an alternative to posix_memalign.
38253         (Hooks for Malloc): Document __memalign_hook is also called
38254         for aligned_alloc.  (Summary of Malloc): Add summary for
38255         aligned alloc.  Document __memalign_hook is also called
38256         for aligned_alloc.
38258 2013-12-16  Will Newton  <will.newton@linaro.org>
38260         * manual/memory.texi (Malloc Examples): Clarify default
38261         alignment documentation.  Suggest posix_memalign rather
38262         than memalign or valloc.
38263         (Aligned Memory Blocks): Remove suggestion to use memalign
38264         or valloc.  Remove obsolete comment about BSD.
38265         Document memalign errno values and mark the function obsolete.
38266         Document posix_memalign returned error codes.  Mark valloc
38267         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38268         called for posix_memalign and valloc.
38269         (Summary of Malloc): Add posix_memalign to function summary.
38270         __memalign_hook is also called for posix_memalign and valloc.
38272 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38274         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38275         TAYLOR_SIN.
38276         (__sin): Adjust.
38277         (__cos): Likewise.
38278         (sloww): Use mynumber union.  Expand ternary operator into
38279         if-else statements.
38280         (cslow): use mynumber union.
38282 2013-12-16  Allan McRae  <allan@archlinux.org>
38284         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38285         * configure: Regenerated.
38287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38289         [BZ #14120]
38290         * configure.ac: Added --enable-maintainer-mode. Check for
38291         autoconf when enabled.
38292         * configure: Regenerated.
38294         * nscd/nscd.service: New file.
38295         * nscd/nscd.tmpfiles: New file.
38297 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38299         [BZ #12100]
38300         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38301         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38302         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38303         (strstr): Add __strstr_sse2_unaligned ifunc.
38304         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38305         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38306         (strcasestr): Remove __strcasestr_sse42 ifunc.
38307         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38311 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38313         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38314         * sysdeps/sh/bits/fenv.h: ... here.
38315         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38317 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38319         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38322         hypotf multiarch implementations.
38323         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38324         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38325         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38326         multiarch hypot for PPC64.
38327         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38328         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38329         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38330         multiarch hypotf for PPC64.
38332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38333         modff multiarch implementations.
38334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38337         multiarch modf for PPC64.
38338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38341         multiarch modff for PPC64.
38343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38344         and logl multiarch implementations.
38345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38348         multiarch logb for PPC64.
38349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38352         multiarch logb for PPC64.
38353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38356         multiarch logb for PPC64.
38358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38359         isinff multiarch implementation.
38360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38361         file.
38362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38364         multiarch isinf for PPC64.
38365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38366         file.
38367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38368         multiarch isinff for PPC64.
38370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38371         finitef multiarch implementation.
38372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38373         file.
38374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38376         multiarch finite for PPC64.
38377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38378         file.
38379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38380         multiarch finitef for PPC64.
38382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38383         lrint multiarch implementation.
38384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38385         file.
38386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38388         multiarch llrint for PPC64.
38389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38390         multiarch lrint for PPC64.
38392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38393         copysignf multiarch implementation.
38394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38395         file.
38396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38397         file.
38398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38399         multiarch copysign for PPC64.
38400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38401         multiarch copysignf for PPC64.
38403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38404         multiarch implementation.
38405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38406         file.
38407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38408         file.
38409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38410         file.
38411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38412         file.
38413         multiarch llround for PPC64.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38415         multiarch trunc for PPC64.
38416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38417         multiarch truncf for PPC64.
38419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38420         multiarch implementation.
38421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38422         file.
38423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38424         file.
38425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38426         file.
38427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38428         file.
38429         multiarch llround for PPC64.
38430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38431         multiarch round for PPC64.
38432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38433         multiarch roundf for PPC64.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38436         multiarch implementation.
38437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38438         file.
38439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38440         file.
38441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38442         file.
38443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38444         file.
38445         multiarch llround for PPC64.
38446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38447         multiarch floor for PPC64.
38448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38449         multiarch floorf for PPC64.
38451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38452         multiarch implementation.
38453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38454         file.
38455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38456         file.
38457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38458         file.
38459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38460         file.
38461         multiarch llround for PPC64.
38462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38463         multiarch ceil for PPC64.
38464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38465         multiarch ceilf for PPC64.
38467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38468         multiarch implementation.
38469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38470         file.
38471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38472         file.
38473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38474         file.
38475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38476         multiarch llround for PPC64.
38477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38478         multiarch lround for PPC64.
38480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38481         multiarch implementation.
38482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38485         file.
38486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38489         multiarch isnan for PPC64.
38490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38491         multiarch isnanf for PPC64.
38493         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38494         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38495         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38496         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38497         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38500         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38501         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38506         multiarch implementations.
38507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38508         (__libc_ifunc_impl_list): Likewise.
38509         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38510         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38512         multiarch stpcpy for PPC64.
38514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38515         multiarch implementations.
38516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38517         (__libc_ifunc_impl_list): Likewise.
38518         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38519         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38520         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38521         multiarch strcpy for PPC64.
38523         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38524         redefine function name.
38525         (_wordcopy_fwd_dest_aligned): Likewise.
38526         (_wordcopy_bwd_aligned): Likewise.
38527         (_wordcopy_bwd_dest_aligned): Likewise.
38528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38529         multiarch implementations.
38530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38531         (__libc_ifunc_impl_list): Likewise.
38532         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38533         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38534         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38535         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38536         multiarch wcscpy for PPC64.
38538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38539         multiarch implementations.
38540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38541         (__libc_ifunc_impl_list): Likewise.
38542         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38543         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38544         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38545         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38546         multiarch wcscpy for PPC64.
38548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38549         multiarch implementations.
38550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38551         (__libc_ifunc_impl_list): Likewise.
38552         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38553         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38554         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38555         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38556         multiarch wcsrchr for PPC64.
38558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38559         multiarch implementations.
38560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38561         (__libc_ifunc_impl_list): Likewise.
38562         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38563         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38564         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38565         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38566         multiarch wcschr for PPC64.
38568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38569         multiarch implementations.
38570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38571         (__libc_ifunc_impl_list): Likewise.
38572         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38573         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38574         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38575         multiarch strchrnul for PPC64.
38577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38578         implementations.
38579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38580         (__libc_ifunc_impl_list): Likewise.
38581         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38582         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38583         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38584         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38585         strchr for PPC64.
38587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38588         implementations.
38589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38590         (__libc_ifunc_impl_list): Likewise.
38591         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38592         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38593         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38594         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38595         strncmp for PPC64.
38597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38598         multiarch implementations.
38599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38600         (__libc_ifunc_impl_list): Likewise.
38601         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38602         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38603         strncasecmp for PPC64.
38604         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38605         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38606         multiarch strncasecmp_l for PPC64.
38608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38609         multiarch implementations.
38610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38611         (__libc_ifunc_impl_list): Likewise.
38612         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38613         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38614         multiarch strcasecmp for PPC64.
38615         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38616         file.
38617         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38618         multiarch strcasecmp_l for PPC64.
38620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38621         implementations.
38622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38623         (__libc_ifunc_impl_list): Likewise.
38624         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38625         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38626         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38627         strnlen for PPC64.
38629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38630         implementations.
38631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38632         (__libc_ifunc_impl_list): Likewise.
38633         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38634         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38635         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38636         strlen for PPC64.
38638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38639         implementations.
38640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38641         (__libc_ifunc_impl_list): Likewise.
38642         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38643         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38644         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38645         rawmemrchr for PPC64.
38647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38648         implementation.
38649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38650         (__libc_ifunc_impl_list): Likewise.
38651         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38652         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38653         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38654         memrchr for PPC64.
38656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38657         implementation.
38658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38659         (__libc_ifunc_impl_list): Likewise.
38660         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38661         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38662         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38663         memchr for PPC64.
38665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38666         implementation.
38667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38668         (__libc_ifunc_impl_list): Likewise.
38669         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38670         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38671         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38672         mempcpy for PPC64.
38674         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38675         avoid cretion of __bzero symbol.
38676         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38677         Likewise.
38678         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38679         Likewise.
38680         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38681         Likewise.
38682         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38683         multiarch implementations.
38684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38685         (__libc_ifunc_impl_list): Likewise.
38686         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38687         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38688         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38689         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38690         bzero for PPC32.
38691         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38692         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38693         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38695         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38696         memset for PPC64.
38697         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38699         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38701         implementations.
38702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38703         (__libc_ifunc_impl_list): Likewise.
38704         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38705         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38706         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38707         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38708         memcmp for PPC64.
38710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38711         multiarch for POWER/PPC64.
38712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38713         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38714         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38715         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38716         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38717         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38718         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38719         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38720         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38721         memcpy for PPC64.
38723         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38724         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38725         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38726         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38727         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38728         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38729         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38730         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38731         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38732         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38733         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38734         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38735         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38736         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38737         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38746 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38748         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38750 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38752         * benchtests/Makefile (bench): Add exp2 and log2.
38753         (LDLIBS-bench-exp2): Add -lm.
38754         (LDLIBS-bench-log2): Likewise.
38755         * benchtests/exp2-inputs: New inputs file.
38756         * benchtests/log2-inputs: New inputs file.
38757         * benchtests/log-inputs: Add new inputs.
38758         * benchtests/tan-inputs: Likewise.
38760 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38762         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38763         definition...
38764         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38765         (csloww2): ... from here.
38767         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38768         instead of structures.
38769         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38770         (POLYNOMIAL): Likewise.
38771         (TAYLOR_SLOW): Likewise.
38772         (__sin): Likewise.
38773         (__cos): Likewise.
38774         (slow1): Likewise.
38775         (slow2): Likewise.
38776         (sloww): Likewise.
38777         (sloww1); Likewise.
38778         (sloww2): Likewise.
38779         (bsloww1): Likewise.
38780         (bsloww2): Likewise.
38781         (cslow2): Likewise.
38782         (csloww): Likewise.
38783         (csloww1): Likewise.
38784         (csloww2): Likewise.
38786 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38788         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38789         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38790         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38791         * malloc/hooks.c (realloc_check): Likewise.
38793         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38794         * malloc/arena.c: Remove PER_THREAD conditional.
38795         [!PER_THREAD]: Remove code.
38796         (ptmalloc_unlock_all2): Likewise.
38797         (ptmalloc_init): Likewise.
38798         (_int_new_arena): Likewise.
38799         (arena_get2): Likewise.
38800         * malloc/hooks.c (__malloc_get_state): Likewise.
38801         (__malloc_set_state): Likewise.
38802         * malloc/malloc.c: Likewise.
38803         (struct malloc_state): Likewise.
38804         (struct malloc_par): Likewise.
38805         (__libc_realloc): Likewise.
38806         (__libc_mallopt): Likewise.
38808 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38810         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38812 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38814         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38815         macro to a function.  Check for zero perturb_byte.
38816         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38818         * malloc/malloc.c: (force_reg): Remove.
38819         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38820         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38821         force_reg by atomic_forced_read.
38822         * malloc/arena.c (ptmalloc_init): Likewise.
38823         * malloc/hooks.c (top_check): Likewise.
38825 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38829 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38833 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38835         * math/auto-libm-test-in: Add tests of lgamma.
38836         * math/auto-libm-test-out: Regenerated.
38837         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38838         (M_LOG_2_SQRT_PIl): Likewise.
38839         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38840         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38841         mpfr_f_f1.
38842         (func_calc_desc): Add mpfr_f_f1 union field.
38843         (ARGS1): New macro.
38844         (ARGS2): Likewise.
38845         (ARGS3): Likewise.
38846         (ARGS4): Likewise.
38847         (RET1): Likewise.
38848         (RET2): Likewise.
38849         (CALC): Likewise.
38850         (FUNC): Likewise.
38851         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38852         (test_functions): Add lgamma.
38853         (calc_generic_results): Handle mpfr_f_f1.
38854         * sysdeps/i386/fpu/libm-test-ulps: Update.
38855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38857 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38859         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38860         __mpn_add_n for PowerPC64/POWER7.
38861         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38862         __mpn_sub_n for PowerPC64/POWER7.
38864         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38865         __mpn_addmul_1 for PowerPC64.
38866         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38867         __mpn_submul_1 for PowerPC64.
38868         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38869         for PowerPC64.
38870         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38871         for PowerPC64.
38873 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38875         [BZ #15089]
38876         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38878 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38880         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38882         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38883         add multiarch folders.
38884         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38885         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38886         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38887         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38888         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38889         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38890         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38891         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38892         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38893         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38894         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38903         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38905         New file.
38906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38907         New file.
38908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38909         multiarch __ieee754_hypot for PowerPC32.
38910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38911         New file.
38912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38913         New file.
38914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38915         multiarch __ieee754_hypotf for PowerPC32.
38917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38918         long_double_symbol only if __logbl is defined.
38919         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38920         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38922         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38924         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38925         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38926         path for implementation.
38927         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38928         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38930         logb, and logbl multiarch implementations for PowerPC32.
38931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38932         file.
38933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38934         file.
38935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38936         multiarch logb for PowerPC32.
38937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38938         file.
38939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38940         file.
38941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38942         multiarch logbf for PowerPC32.
38943         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38945         file.
38946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38947         multiarch logbl implementation for PowerPC32.
38949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38950         and modff multiarch implementations.
38951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38952         New file.
38953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38954         New file.
38955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38956         multiarch modf for PowerPC32.
38957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38958         New file.
38959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38960         New file.
38961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38962         multiarch modff for PowerPC32.
38964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38965         and lrintf multiarch implementations.
38966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38967         New file.
38968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38969         New file.
38970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38971         multiarch lrint for PowerPC32.
38972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38973         file: multiarch lrintf for PowerPC32.
38975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38976         and lroundf multiarch implementations.
38977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38978         New file.
38979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38980         New file.
38981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38982         New file.
38983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38984         multiarch lround for PowerPC32.
38985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38986         file: multiarch lroundf for PowerPC32.
38988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38989         copysign and copysignf multiarch implementations.
38990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38991         New file.
38992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38993         New file.
38994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38995         file: multiarch copysign for PowerPC32.
38996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38997         file: multiarch copysignf for PowerPC32.
38999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39000         and truncf multiarch implementations.
39001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39002         New file.
39003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39004         file.
39005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39006         multiarch trunc for PowerPC32.
39007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39008         New file.
39009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39010         New file.
39011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39012         multiarch truncf for PowerPC32.
39014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39015         and roundf multiarch implementations.
39016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39017         New file.
39018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39019         file.
39020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39021         multiarch round for PowerPC32.
39022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39023         New file.
39024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39025         New file.
39026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39027         multiarch roundf for PowerPC32.
39029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39030         and floorf multiarch implementations.
39031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39032         New file.
39033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39034         file.
39035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39036         multiarch floor for PowerPC32.
39037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39038         New file.
39039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39040         New file.
39041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39042         multiarch floorf for PowerPC32.
39044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39045         and ceilf multiarch implementations.
39046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39047         New file.
39048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39049         file.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39051         multiarch ceil for PowerPC32.
39052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39053         New file.
39054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39055         file.
39056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39057         multiarch ceilf for PowerPC32.
39059         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39060         is defined.
39061         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39062         FINITEF is defined.
39063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39064         and finitef multiarch implementations.
39065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39066         New file.
39067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39068         file.
39069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39070         multiarch finite for PowerPC32.
39071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39072         New file.
39073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39074         file: multiarch finitef for PowerPC32.
39076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39077         and isinff multiarch implementations.
39078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39079         file.
39080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39081         file.
39082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39083         multiarch isinf for PowerPC32.
39084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39085         New file.
39086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39087         multiarch isinff for PowerPC32.
39089         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39090         alias when __isnan is defined.
39091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39092         and isnanf multiarch implementations.
39093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39094         file.
39095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39096         file.
39097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39098         file.
39099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39100         file.
39101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39102         multiarch isnan for PowerPC32.
39103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39104         New file.
39105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39106         New file.
39107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39108         multiarch isnanf for PowerPC32.
39110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39111         and sqrtf multiarch implementations.
39112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39113         file.
39114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39115         file.
39116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39117         multiarch sqrt for PowerPC32.
39118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39119         file.
39120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39121         file.
39122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39123         multiarch sqrtf for PowerPC32.
39125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39126         and llroundf multiarch implementations.
39127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39128         New file.
39129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39130         New file.
39131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39132         New file.
39133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39134         file: multiarch llround for PowerPC32.
39135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39136         file: multiarch llroundf for PowerPC32.
39138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39139         multiarch PowerPC32 fpu implementations.
39140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39141         New file.
39142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39143         New file.
39144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39145         multiarch llrint for PowerPC32.
39146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39147         New file.
39148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39149         New file.
39150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39151         file.
39153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39155         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39156         file.
39157         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39158         file.
39159         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39160         file.
39161         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39162         multiarch wordcopy for PPC32.
39163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39164         wordcopy objects.
39165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39166         (__libc_ifunc_impl_list): Likewise.
39167         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39168         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39169         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39170         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39171         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39172         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39174         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39175         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39176         file.
39177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39178         file.
39179         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39180         file.
39181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39182         multiarch wcscpy for PPC32.
39183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39184         multiarch objects.
39185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39186         (__libc_ifunc_impl_list): Likewise.
39187         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39188         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39189         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39190         sysdeps/powerpc/power6/wcscpy.c.
39192         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39194         file.
39195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39196         file.
39197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39198         file.
39199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39200         multiarch wcsrchr for PPC32.
39201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39202         multiarch objects.
39203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39204         (__libc_ifunc_impl_list): Likewise.
39205         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39206         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39207         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39208         sysdeps/powerpc/power6/wcsrchr.c.
39210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39211         file.
39212         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39213         file.
39214         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39216         multiarch wcschr for PPc32.
39217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39218         multiarch objects.
39219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39220         (__libc_ifunc_impl_list): Likewise.
39221         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39222         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39223         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39224         sysdeps/powerpc/power6/wcschr.c.
39226         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39227         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39228         file.
39229         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39230         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39231         file: multiarch strchr for PPC32.
39232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39233         multiarch objects.
39234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39235         (__libc_ifunc_impl_list): Likewise.
39237         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39238         name.
39239         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39240         file.
39241         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39242         file.
39243         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39244         multiarch strchrnul for PPC32.
39245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39246         multiarch objects.
39247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39248         (__libc_ifunc_impl_list): Likewise.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39251         file.
39252         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39253         multiarch strncasecmp for PPC32.
39254         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39255         file.
39256         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39257         multiarch strncasecmp_l for PPC32.
39258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39259         strncasecmp multiarch objects.
39260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39261         (__libc_ifunc_impl_list): Likewise.
39263         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39264         file.
39265         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39266         multiarch strncasecmp for PPC32.
39267         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39268         New file.
39269         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39270         multiarch strcasecmp_l for PPC32.
39271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39272         multiarch objects.
39273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39274         (__libc_ifunc_impl_list): Likewise.
39276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39277         file.
39278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39279         file.
39280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39281         multiarch strncmp for PPC32.
39282         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39283         multiarch objects.
39284         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39285         (__libc_ifunc_impl_list): Likewise.
39287         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39288         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39289         file.
39290         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39291         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39293         multiarch objects.
39294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39295         (__libc_ifunc_impl_list): Likewise.
39297         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39298         file.
39299         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39300         file.
39301         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39302         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39303         multiarch objects.
39304         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39305         (__libc_ifunc_impl_list): Likewise.
39307         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39308         file.
39309         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39310         file.
39311         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39312         multiarch rawmemchr for PPC32.
39313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39314         multiarch objects.
39315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39316         (__libc_ifunc_impl_list): Likewise.
39318         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39319         file.
39320         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39321         file.
39322         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39323         file: memrchr multiarch for PPC32.
39324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39325         multiarch objects.
39326         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39327         (__libc_ifunc_impl_list): Likewise.
39329         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39330         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39331         file.
39332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39333         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39334         multiarch memchr for PPC32.
39335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39336         multiarch objects.
39337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39338         (__libc_ifunc_impl_list): Likewise.
39340         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39341         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39342         file.
39343         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39344         file.
39345         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39346         file: multiarch mempcpy for PPC32.
39347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39348         multiarch objects.
39349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39350         (__libc_ifunc_impl_list): Likewise.
39352         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39353         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39355         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39356         multiarch bzero for PPC32.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39358         file.
39359         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39360         file.
39361         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39362         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39363         file: multiarch memset for PPC32.
39364         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39366         memset multiarch objects.
39367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39368         (__libc_ifunc_impl_list): Likewise.
39370         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39371         file.
39372         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39374         memcmp for PPC32.
39375         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39377         multiarch objects.
39378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39379         (__libc_ifunc_impl_list): Likewise.
39381         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39383         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39384         file.
39385         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39386         file.
39387         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39388         file.
39389         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39390         multiarch memcpy for PPC32.
39391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39392         multiarch objects.
39393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39394         (__libc_ifunc_impl_list): Likewise.
39396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39397         support multiarch for POWER/PPC32.
39398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39399         Likewise.
39400         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39402         Implies file to make multiarch folder appers before the fpu and
39403         default folder for power4 configuration.
39405 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39407         * scripts/bench.pl: Append volatile keyword to type.
39409 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39411         * sysdeps/sh/sotruss-lib.c: New file.
39412         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39414 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39418 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39420         [BZ #6810]
39421         * math/w_tgamma.c: Include <errno.h>.
39422         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39423         * math/w_tgammaf.c: Include <errno.h>.
39424         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39425         * math/w_tgammal.c: Include <errno.h>.
39426         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39427         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39428         underflow.  Add more tgamma tests.
39429         * math/auto-libm-test-out: Regenerated.
39430         * sysdeps/i386/fpu/libm-test-ulps: Update.
39431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39433         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39434         sin, sinh, tan, tanh, tgamma, y0 and y1.
39435         * math/auto-libm-test-out: Regenerated.
39436         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39437         (TEST_COND_x86): Likewise.
39438         (M_E2l): Remove macro.
39439         (M_E3l): Likewise.
39440         (M_2_SQRT_PIl): Likewise.
39441         (M_SQRT_PIl): Likewise.
39442         (M_1_DIV_El): Likewise.
39443         (log_test_data): Use AUTO_TESTS_f_f.
39444         (log10_test_data): Likewise.
39445         (log1p_test_data): Likewise.
39446         (log2_test_data): Likewise.
39447         (sin_test_data): Likewise.
39448         (sin_tonearest_test_data): Likewise.
39449         (sin_towardzero_test_data): Likewise.
39450         (sin_downward_test_data): Likewise.
39451         (sin_upward_test_data): Likewise.
39452         (sinh_test_data): Likewise.
39453         (sinh_tonearest_test_data): Likewise.
39454         (sinh_towardzero_test_data): Likewise.
39455         (sinh_downward_test_data): Likewise.
39456         (sinh_upward_test_data): Likewise.
39457         (tan_test_data): Likewise.
39458         (tan_tonearest_test_data): Likewise.
39459         (tan_towardzero_test_data): Likewise.
39460         (tan_downward_test_data): Likewise.
39461         (tan_upward_test_data): Likewise.
39462         (tanh_test_data): Likewise.
39463         (tgamma_test_data): Likewise.
39464         (y0_test_data): Likewise.
39465         (y1_test_data): Likewise.
39466         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39467         (special_real_inputs): Add pi/4.
39468         * sysdeps/i386/fpu/libm-test-ulps: Update.
39469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39471 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39473         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39474         "longjmp_target" static probes.
39475         (__longjmp): Rename to __longjmp_symbol.
39476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39477         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39478         on which longjmp to generate.
39479         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39480         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39481         probe.
39482         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39483         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39484         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39485         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39486         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39487         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39489         __longjmp_symbol based on which __longjmp to generate.
39490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39491         probe.
39492         (setjmp): Rename to setjmp_symbol.
39493         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39494         (_setjmp): Rename to _setjmp_symbol.
39495         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39496         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39497         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39498         which setjmp to generate.
39499         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39500         "longjmp_target" static probes.
39502 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39504         * benchtests/README: Add note about output arguments.
39505         * benchtests/bench-sincos.c: Remove file.
39506         * benchtests/sincos-inputs: New file.
39507         * scripts/bench.pl: Identify output arguments and define
39508         static variables for them.
39510         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39512         [BZ #15941]
39513         * Makefile (INSTALL): Add install-plain.texi as the primary
39514         dependency.
39515         * manual/install-plain.texi: New file.
39516         * manual/install.texi: Include node directive only for
39517         non-plaintext output.
39519 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39521         * stdlib/longlong.h: Update from GCC.
39523         [BZ #6807]
39524         [BZ #15901]
39525         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39526         * math/w_j0f.c (y0f): Likewise.
39527         * math/w_j0l.c (__y0l): Likewise.
39528         * math/w_j1.c (y1): Likewise.
39529         * math/w_j1f.c (y1f): Likewise.
39530         * math/w_j1l.c (__y1l): Likewise.
39531         * math/w_jn.c (yn): Likewise.
39532         * math/w_jnf.c (ynf): Likewise.
39533         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39534         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39535         value for Bessel function domain errors outside _SVID_ mode.
39536         Adjust sign of return value for yn (negative integer, 0).
39537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39538         by zero in return for negative x and set sign appropriately for
39539         negative n.
39540         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39541         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39542         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39543         expectations in error cases.
39544         (y1_test_data): Likewise.
39545         (yn_test_data): Likewise.
39546         * sysdeps/i386/fpu/libm-test-ulps: Update.
39547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39549 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39551         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39552         "64" to "64-v1".  Add "64-v2".
39553         (abi-64-options): Rename to ...
39554         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39555         (abi-64-condition): Rename to ...
39556         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39557         (abi-64-ld-soname): Rename to ...
39558         (abi-64-v1-ld-soname): ... this.
39559         (abi-64-v2-options): Define.
39560         (abi-64-v2-condition): Likewise.
39561         (abi-64-v2-ld-soname): Likewise.
39562         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39563         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39568 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39569             Alan Modra  <amodra@gmail.com>
39571         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39572         New versions for use with the ELFv2 ABI.
39573         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39574         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39575         declaration.
39576         (struct La_ppc64v2_retval): Likewise.
39577         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39578         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39579         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39580         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39581         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39582         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39583         Do not save or restore CR.
39584         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39585         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39586         return values for ELFv2 ABI.  Fix location of FPR return registers.
39587         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39588         updated values for _CALL_ELF == 2.
39589         (La_regs, La_retval, int_retval): Likewise.
39591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39593         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39594         (FRAME_MIN_SIZE_PARM): Likewise.
39595         (FRAME_BACKCHAIN): Likewise.
39596         (FRAME_CR_SAVE): Likewise.
39597         (FRAME_LR_SAVE): Likewise.
39598         (FRAME_TOC_SAVE): Likewise.
39599         (FRAME_PARM_SAVE): Likewise.
39600         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39601         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39602         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39603         (call_mcount_parm_offset): New macro.
39604         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39605         (PROF): Use symbolic stack frame offsets.
39606         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39607         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39608         Redefine in terms of FRAME_MIN_SIZE.
39609         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39610         (_dl_profile_resolve): Likewise.  Update comment.
39611         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39612         symbols stack frame offsets.
39613         (__sigsetjmp): Likewise.
39614         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39615         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39616         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39617         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39620         (FRAME_BACKCHAIN): Remove.
39621         (FRAME_CR_SAVE): Likewise.
39622         (FRAME_LR_SAVE): Likewise.
39623         (FRAME_COMPILER_DW): Likewise.
39624         (FRAME_LINKER_DW): Likewise.
39625         (FRAME_TOC_SAVE): Likewise.
39626         (FRAME_PARM_SAVE): Likewise.
39627         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39628         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39629         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39631         (CHECK_SP): Use symbolic stack frame offsets.
39632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39633         zone" instead of caller's parameter save area for temp storage.
39634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39635         Likewise.  Also, use symbolic stack frame offsets.
39636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39637         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39638         our own stack frame instead of the caller's.
39639         (__socket): Use symbolic stack frame offsets.
39641 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39642             Alan Modra  <amodra@gmail.com>
39644         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39645         Define.
39646         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39647         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39648         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39649         New function.
39650         (elf_machine_fixup_plt): Call it.
39651         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39652         reloc arguments.
39653         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39654         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39655         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39656         r2 before calling target.
39658 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39659             Alan Modra  <amodra@gmail.com>
39661         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39662         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39663         versions of macros to support ELFv2 ABI.
39664         (LOCALENTRY): New macro.
39665         (ENTRY, EALIGN): Use it.
39666         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39667         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39668         fall through into ENTRY entry point.
39669         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39670         Only define if _CALL_ELF != 2.
39672         (elf_machine_matches_host): Verify ABI version matches.
39673         (RTLD_START): Use LOCALENTRY.
39674         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39675         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39676         (PLT_ENTRY_WORDS): New macro.
39677         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39678         (elf_machine_runtime_setup): Support ELFv2 ABI.
39679         (elf_machine_fixup_plt): Likewise.
39680         (elf_machine_plt_conflict): Likewise.
39681         (resolve_ifunc): Likewise.
39682         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39683         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39684         Likewise.
39685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39686         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39688         (makecontext): Support ELFv2 ABI.
39689         * elf/elf.h (EF_PPC64_ABI): Define.
39691 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39693         * sysdeps/powerpc/powerpc64/sysdep.h
39694         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39695         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39696         (ENTRY) [ASSEMBLER]: ... but instead here ...
39697         (EALIGN) [ASSEMBLER]: ... and here.
39698         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39699         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39700         (ENTRY_2) [!ASSEMBLER]: Use it.
39701         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39702         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39703         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39704         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39705         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39707         Use PPC64_LOAD_FUNCPTR.
39709         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39711 2013-12-04  Alan Modra  <amodra@gmail.com>
39713         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39714         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39715         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39716         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39718         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39719         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39720         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39721         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39722         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39723         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39725 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39728         (__makecontext): Fix incorrect CFI when backtracing out of
39729         context created via makecontext.
39730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39731         (__setcontext): Fix incorrect CFI during switch to new context.
39732         (__novec_setcontext): Likewise.
39734 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39736         [BZ #4772]
39737         * time/strptime_l.c (__strptime_internal): Allow modifiers
39738         in strptime.
39739         * time/tst-strptime.c (day_tests): Add testcase.
39741 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39743         * scripts/bench.pl: Skip over blank lines.
39745 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39747         [BZ #926]
39748         * manual/time.texi (Calendar Time): Clarify what timezone functions
39749         use.
39751 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39755 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39757         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39758         implementation.
39759         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39760         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39761         * debug/memset_chk.c (__memset_chk): Likewise.
39762         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39763         * debug/strncpy_chk.c: Likewise.
39765 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39767         [BZ #15268]
39768         [BZ #15425]
39769         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39770         (__ieee754_exp): For possibly underflowing results, check size of
39771         result and force underflow exception if required.
39772         * math/auto-libm-test-in: Add more tests of exp.
39773         * math/auto-libm-test-out: Regenerated.
39774         * sysdeps/i386/fpu/libm-test-ulps: Update.
39775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39777         [BZ #16283]
39778         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39779         * math/w_exp2f.c (__exp2f): Likewise.
39780         * math/w_exp2l.c (__exp2l): Likewise.
39781         * math/auto-libm-test-in: Do not allow missing errno on exp2
39782         underflow.
39783         * math/auto-libm-test-out: Regenerated.
39785 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39787         [BZ #16274]
39788         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39789         handle filename validation.
39790         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39791         (do_open): Delete.
39793 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39795         [BZ #6786]
39796         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39797         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39798         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39799         <float.h>.
39800         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39801         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39802         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39804         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39805         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39806         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39807         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39808         Add more erfc tests.
39809         * math/auto-libm-test-out: Regenerated.
39810         * sysdeps/i386/fpu/libm-test-ulps: Update.
39811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39813         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39814         exp2, expm1, j0 and j1.
39815         * math/auto-libm-test-out: Regenerated.
39816         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39817         (erfc_test_data): Likewise.
39818         (exp_test_data): Likewise.
39819         (exp_tonearest_test_data): Likewise.
39820         (exp_towardzero_test_data): Likewise.
39821         (exp_downward_test_data): Likewise.
39822         (exp_upward_test_data): Likewise.
39823         (exp10_test_data): Likewise.
39824         (exp2_test_data): Likewise.
39825         (expm1_test_data): Likewise.
39826         (j0_test_data): Likewise.
39827         (j1_test_data): Likewise.
39828         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39829         (input_flag_type): Add flag_xfail_rounding.
39830         (input_flags): Add xfail-rounding.
39831         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39832         (output_for_one_input_case): Handle flag_xfail_rounding.
39833         * sysdeps/i386/fpu/libm-test-ulps: Update.
39834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39836 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39838         [BZ #16289]
39839         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39840         division by 0.
39842 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39844         [BZ #16195]
39845         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39846         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39847         (STAP_PROBE0): New macro.
39848         (STAP_PROBE1): Likewise.
39849         (STAP_PROBE2): Likewise.
39850         (STAP_PROBE3): Likewise.
39851         (STAP_PROBE4): Likewise.
39853 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39855         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39857 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39859         * benchtests/Makefile (bench): Add sqrt.
39860         (LDLIBS-bench-sqrt): New.
39861         * benchtests/sqrt-input: New.
39863 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39865         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39866         (GAIH_EAI): Likewise.
39867         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39868         (gaih_inet): Likewise.
39869         (getaddrinfo): Don't use GAIH_EAI.
39871         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39872         (struct gaih): Remove definition.
39874 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39876         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39877         Use HERRNOP directly.
39879 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39883 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39885         * math/gen-auto-libm-tests.c (test_functions): Add more
39886         single-argument functions.
39887         (special_fill_pi_2): New function.
39888         (special_fill_minus_pi_2): Likewise.
39889         (special_fill_pi_6): Likewise.
39890         (special_fill_minus_pi_6): Likewise.
39891         (special_fill_pi_3): Likewise.
39892         (special_fill_2pi_3): Likewise.
39893         (special_fill_e): Likewise.
39894         (special_fill_1_e): Likewise.
39895         (special_fill_e_minus_1): Likewise.
39896         (special_real_inputs): Add more special inputs.
39897         (output_for_one_input_case): Do not require ERANGE on underflow to
39898         zero if round-to-nearest result does not underflow to zero, unless
39899         exact results required.
39900         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39901         atan, atanh, cbrt, cos and cosh.
39902         * math/auto-libm-test-out: Regenerated.
39903         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39904         (acos_tonearest_test_data): Likewise.
39905         (acos_towardzero_test_data): Likewise.
39906         (acos_downward_test_data): Likewise.
39907         (acos_upward_test_data): Likewise.
39908         (acosh_test_data): Likewise.
39909         (asin_test_data): Likewise.
39910         (asin_tonearest_test_data): Likewise.
39911         (asin_towardzero_test_data): Likewise.
39912         (asin_upward_test_data): Likewise.
39913         (asinh_test_data): Likewise.
39914         (atan_test_data): Likewise.
39915         (atanh_test_data): Likewise.
39916         (cbrt_test_data): Likewise.
39917         (cos_test_data): Likewise.
39918         (cos_tonearest_test_data): Likewise.
39919         (cos_towardzero_test_data): Likewise.
39920         (cos_downward_test_data): Likewise.
39921         (cos_upward_test_data): Likewise.
39922         (cosh_test_data): Likewise.
39923         (cosh_tonearest_test_data): Likewise.
39924         (cosh_towardzero_test_data): Likewise.
39925         (cosh_downward_test_data): Likewise.
39926         (cosh_upward_test_data): Likewise.
39927         * sysdeps/i386/fpu/libm-test-ulps: Update.
39928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39930 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39932         [BZ #6787]
39933         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39934         * math/w_exp10f.c (__exp10f): Likewise.
39935         * math/w_exp10l.c (__exp10l): Likewise.
39936         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39937         errno settings in existing tests.
39939         [BZ #14032]
39940         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39941         precision control set to double precision.
39942         * sysdeps/i386/fpu/w_sqrt.c: New file.
39943         * math/auto-libm-test-in: Add more tests.
39944         * math/auto-libm-test-out: Update.
39946         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39947         (sqrt_test_tonearest): New function.
39948         (sqrt_towardzero_test_data): New variable.
39949         (sqrt_test_towardzero): New function.
39950         (sqrt_downward_test_data): New variable.
39951         (sqrt_test_downward): New function.
39952         (sqrt_upward_test_data): New variable.
39953         (sqrt_test_upward): New function.
39954         (main): Call the new functions.
39956         * math/gen-auto-libm-tests.c: New file.
39957         * math/auto-libm-test-in: Likewise.
39958         * math/auto-libm-test-out: New generated file.
39959         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39960         variables.
39961         (%beautify): Add generated representations of zero.
39962         (top level): Set $auto_input and call parse_auto_input.
39963         (beautify): Remove trailing "f" from hex float constants.
39964         (parse_args): Handle XFAIL_TEST.
39965         (convert_condition): New function.
39966         (or_value): Likewise.
39967         (or_cond_value): Likewise.
39968         (generate_testfile): Handle AUTO_TESTS_* lines.
39969         (parse_auto_input): New function.
39970         * math/libm-test.inc (XFAIL_TEST): New macro.
39971         (ERRNO_UNCHANGED): Update value.
39972         (ERRNO_EDOM): Likewise.
39973         (ERRNO_ERANGE): Likewise.
39974         (IGNORE_RESULT): Likewise.
39975         (TEST_COND_flt_32): New macro.
39976         (TEST_COND_dbl_64): Likewise.
39977         (TEST_COND_ldbl_96_intel): Likewise.
39978         (TEST_COND_ldbl_96_m68k): Likewise.
39979         (TEST_COND_ldbl_128): Likewise.
39980         (TEST_COND_ldbl_128ibm): Likewise.
39981         (TEST_COND_long32): Likewise.
39982         (TEST_COND_long64): Likewise.
39983         (TEST_COND_before_rounding): Likewise.
39984         (TEST_COND_after_rounding): Likewise.
39985         (enable_test): Handle XFAIL_TEST flag.
39986         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39987         with finite results.
39988         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39989         auto-libm-test-out.
39991 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39992             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39994         [BZ #16214]
39995         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39996         __tls_get_addr_internal instead of __tls_get_offset in order to
39997         avoid GOT pointer dependency.  Make rtld export
39998         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39999         __tls_get_addr since we are a __tls_get_offset platform.
40000         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40001         GOT pointer being set up before.
40002         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40004 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40006         * manual/math.texi (Errors in Math Functions): Document accuracy
40007         goals.
40009         [BZ #15004]
40010         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40011         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40012         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40013         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40014         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40015         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40016         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40017         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40018         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40019         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40020         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40021         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40022         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40023         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40024         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40025         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40027         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40028         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40029         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40030         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40031         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40032         Likewise.
40033         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40034         Likewise.
40035         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40036         Likewise.
40037         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40038         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40039         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40040         atomic-feupdateenv and flt-rounds.
40041         * sysdeps/powerpc/nofpu/Versions (libc): Add
40042         __atomic_feholdexcept, __atomic_feclearexcept,
40043         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40044         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40045         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40046         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40047         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40048         here.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40050         Update.
40052         * manual/arith.texi (FP Exceptions): Document that exceptions may
40053         not be raised when matherr is used.
40054         (Math Error Reporting): Document overflow in directed rounding
40055         modes.  Document that errno may not be set when finite values are
40056         returned on overflow.  Document intent to set errno on underflow
40057         only for underflow to zero.
40059         [BZ #16271]
40060         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40061         round-to-nearest then adjust result for other rounding modes.
40062         * include/fenv.h (fegetround): Use libm_hidden_proto.
40063         * math/fegetround.c (fegetround): Use libm_hidden_def.
40064         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40065         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40066         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40067         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40068         Likewise.
40069         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40070         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40071         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40072         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40074 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40076         [BZ #16077]
40077         * nss/Versions (libnss_files): Add
40078         _nss_files_gethostbyname3_r.
40079         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40080         New function.
40081         (HOST_DB_LOOKUP): Remove macro.
40082         (_nss_files_gethostbyname_r): Implement function without the
40083         HOST_DB_LOOKUP macro.
40084         (_nss_files_gethostbyname2_r): Likewise.
40086 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40088         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40090 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40092         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40093         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40094         warning.
40096 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40098         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40099         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40100         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40101         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40102         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40103         __fe_nomask_env_priv and attribute_hidden.
40104         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40105         (libc_feupdateenv_test_ppc): Likewise.
40106         (libc_feresetround_ppc): Likewise.
40107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40108         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40109         compat_symbol macro.
40110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40111         (__fe_nomask_env): Likewise.
40112         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40114 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40116         * string/Makefile: Remove ifunc tests.
40117         * string/test-string.h: Define TEST_IFUNC.
40118         * string/test-bcopy-ifunc.c: Remove.
40119         * string/test-bzero-ifunc.c: Likewise.
40120         * string/test-memccpy-ifunc.c: Likewise.
40121         * string/test-memchr-ifunc.c: Likewise.
40122         * string/test-memcmp-ifunc.c: Likewise.
40123         * string/test-memcpy-ifunc.c: Likewise.
40124         * string/test-memmem-ifunc.c: Likewise.
40125         * string/test-memmove-ifunc.c: Likewise.
40126         * string/test-mempcpy-ifunc.c: Likewise.
40127         * string/test-memrchr-ifunc.c: Likewise.
40128         * string/test-memset-ifunc.c: Likewise.
40129         * string/test-rawmemchr-ifunc.c: Likewise.
40130         * string/test-stpcpy-ifunc.c: Likewise.
40131         * string/test-stpncpy-ifunc.c: Likewise.
40132         * string/test-strcasecmp-ifunc.c: Likewise.
40133         * string/test-strcasestr-ifunc.c: Likewise.
40134         * string/test-strcat-ifunc.c: Likewise.
40135         * string/test-strchr-ifunc.c: Likewise.
40136         * string/test-strchrnul-ifunc.c: Likewise.
40137         * string/test-strcmp-ifunc.c: Likewise.
40138         * string/test-strcpy-ifunc.c: Likewise.
40139         * string/test-strcspn-ifunc.c: Likewise.
40140         * string/test-strlen-ifunc.c: Likewise.
40141         * string/test-strncasecmp-ifunc.c: Likewise.
40142         * string/test-strncat-ifunc.c: Likewise.
40143         * string/test-strncmp-ifunc.c: Likewise.
40144         * string/test-strncpy-ifunc.c: Likewise.
40145         * string/test-strnlen-ifunc.c: Likewise.
40146         * string/test-strpbrk-ifunc.c: Likewise.
40147         * string/test-strrchr-ifunc.c: Likewise.
40148         * string/test-strspn-ifunc.c: Likewise.
40149         * string/test-strstr-ifunc.c: Likewise.
40151 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40153         * benchtests/Makefile: Remove ifunc tests.
40154         * benchtests/bench-string.h: Define TEST_IFUNC.
40155         * benchtests/bench-bcopy-ifunc.c: Remove.
40156         * benchtests/bench-bzero-ifunc.c: Likewise.
40157         * benchtests/bench-memccpy-ifunc.c: Likewise.
40158         * benchtests/bench-memchr-ifunc.c: Likewise.
40159         * benchtests/bench-memcmp-ifunc.c: Likewise.
40160         * benchtests/bench-memcpy-ifunc.c: Likewise.
40161         * benchtests/bench-memmem-ifunc.c: Likewise.
40162         * benchtests/bench-memmove-ifunc.c: Likewise.
40163         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40164         * benchtests/bench-memrchr-ifunc.c: Likewise.
40165         * benchtests/bench-memset-ifunc.c: Likewise.
40166         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40167         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40168         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40169         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40170         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40171         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40172         * benchtests/bench-strcat-ifunc.c: Likewise.
40173         * benchtests/bench-strchr-ifunc.c: Likewise.
40174         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40175         * benchtests/bench-strcmp-ifunc.c: Likewise.
40176         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40177         * benchtests/bench-strcpy-ifunc.c: Likewise.
40178         * benchtests/bench-strcspn-ifunc.c: Likewise.
40179         * benchtests/bench-strlen-ifunc.c: Likewise.
40180         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40181         * benchtests/bench-strncat-ifunc.c: Likewise.
40182         * benchtests/bench-strncmp-ifunc.c: Likewise.
40183         * benchtests/bench-strncpy-ifunc.c: Likewise.
40184         * benchtests/bench-strnlen-ifunc.c: Likewise.
40185         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40186         * benchtests/bench-strrchr-ifunc.c: Likewise.
40187         * benchtests/bench-strsep-ifunc.c: Likewise.
40188         * benchtests/bench-strspn-ifunc.c: Likewise.
40189         * benchtests/bench-strstr-ifunc.c: Likewise.
40191 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40193         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40195 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40197         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40198         * rt/aio.h: Likewise.
40199         * sysdeps/gnu/bits/utmp.h: Likewise.
40200         * sysdeps/gnu/bits/utmpx.h: Likewise.
40201         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40202         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40203         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40204         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40205         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40206         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40207         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40208         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40209         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40210         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40211         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40212         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40213         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40215         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40216         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40217         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40218         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40219         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40220         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40221         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40222         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40223         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40224         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40225         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40226         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40227         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40228         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40229         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40230         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40231         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40232         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40233         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40234         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40235         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40236         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40237         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40238         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40239         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40240         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40241         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40242         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40244 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40246         [BZ #16245]
40247         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40248         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40250 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40252         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40253         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40254         Likewise.
40256 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40258         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40259         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40260         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40261         (__fesetround): Remove define.
40262         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40263         rounding and exceptions handling.
40264         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40266         (__fe_nomask_env): Likewise.
40267         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40268         __fegetround instead of fegetround.
40269         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40270         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40272 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40274         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40275         it's there.
40277         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40279 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40281         [BZ #11157]
40282         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40283         (encrypt_r): Likewise.
40284         * malloc/obstack.h (obstack_free): Likewise.
40285         * posix/unistd.h (encrypt): Likewise.
40287 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40289         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40290         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40291         DL_CALL_DT_FINI() that call the functions directly.
40292         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40293         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40294         * elf/dl-fini.c: Likewise.
40296 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40298         * malloc/hooks.c (memalign_check): Add alignment rounding.
40299         * malloc/malloc.c (_mid_memalign): New function.
40300         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40301         Implement by calling _mid_memalign.
40302         * manual/probes.texi (Memory Allocation Probes): Remove
40303         memory_valloc_retry and memory_pvalloc_retry.
40305 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40307         * locale/programs/locarchive.c (open_archive): Add const
40308         qualifier to ARCHIVEFNAME and copy default fname to
40309         DEFAULT_FNAME.
40311         [BZ #15601]
40312         * libio/tst-widetext.input: Rename Oriya to Odia.
40313         * locale/iso-639.def: Likewise.
40315         * manual/probes.texi (Mathematical Function Probes): Add
40316         documentation for sin, cos, asin and acos probes.
40317         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40318         (__sin32): Add slowasin probe.
40319         (__cos32): Add slowacos probe.
40320         (__mpsin): Add slowsin probe.
40321         (__mpcos): Add slowcos probe.
40323 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40325         [BZ #15483]
40326         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40327         thread-local __sim_exceptions_thread and global
40328         __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         (__simulate_exceptions): Use thread-local floating-point state and
40335         set global state from it as needed.
40336         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40337         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40338         __sim_round_mode_thread.
40339         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40340         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40341         and global __sim_exceptions_global.
40342         (__sim_disabled_exceptions): Change to thread-local
40343         __sim_disabled_exceptions_thread and global
40344         __sim_disabled_exceptions_global.
40345         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40346         and global __sim_round_mode_global.
40347         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40348         (SIM_SET_GLOBAL): Likewise.
40349         * sysdeps/powerpc/soft-fp/sfp-machine.h
40350         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40351         __sim_round_mode_thread.
40352         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40353         __sim_disabled_exceptions_thread.
40354         (__sim_exceptions): Change to __sim_exceptions_thread.
40355         (__sim_disabled_exceptions): Change to
40356         __sim_disabled_exceptions_thread.
40357         (__sim_round_mode): Change to __sim_round_mode_thread.
40358         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40359         thread-local floating-point state and set global state from it as
40360         needed.
40361         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40362         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40363         (__sim_disabled_exceptions): Remove extern declaration.
40364         (feenableexcept): Use thread-local floating-point state and set
40365         global state from it as needed.
40366         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40367         extern declaration.
40368         (__sim_disabled_exceptions): Likewise.
40369         (__sim_round_mode): Likewise.
40370         (__fegetenv): Use thread-local floating-point state.
40371         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40372         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40373         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40374         floating-point state and set global state from it as needed.
40375         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40376         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40377         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40378         Likewise.
40379         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40380         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40381         Likewise.
40382         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40383         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40384         Use __sim_round_mode_thread.
40385         * math/test-fenv-tls.c: New file.
40386         * math/Makefile (tests): Add test-fenv-tls.
40387         ($(objpfx)test-fenv-tls): Depend on
40388         $(common-objpfx)nptl/libpthread.so.
40390 2013-11-19  Andreas Schwab  <schwab@suse.de>
40392         * locale/programs/locale.c (show_info): Decode wordarray elements.
40393         * locale/categories.def (LC_MONETARY): Add element for
40394         _NL_MONETARY_CRNCYSTR.
40395         * locale/C-monetary.c (conversion_rate): New variable.
40396         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40397         element.
40399 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40401         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40402         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40404 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40406         * elf/Makefile (tst-auxv): New test.
40407         * elf/tst-auxv.c: New
40408         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40410 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40412         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40413         (hidden_proto): Caller changed.
40414         (hidden_tls_proto): New macro.
40415         (libc_hidden_tls_proto): Likewise.
40416         (rtld_hidden_tls_proto): Likewise.
40417         (libm_hidden_tls_proto): Likewise.
40418         (libresolv_hidden_tls_proto): Likewise.
40419         (librt_hidden_tls_proto): Likewise.
40420         (libdl_hidden_tls_proto): Likewise.
40421         (libnss_files_hidden_tls_proto): Likewise.
40422         (libnsl_hidden_tls_proto): Likewise.
40423         (libnss_nisplus_hidden_tls_proto): Likewise.
40424         (libutil_hidden_tls_proto): Likewise.
40426 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40428         [BZ #10253]
40429         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40430         (decompose_rpath): Defer expansion to fillin_rpath.
40431         (_dl_init_paths): Pass linkmap to fillin_rpath.
40433 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40435         * benchtests/Makefile: Add strsep.
40436         * benchtests/bench-strsep.c: New file: strsep benchtest.
40437         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40439 2013-11-18  Andreas Schwab  <schwab@suse.de>
40441         * locale/programs/locale.c (show_info) [case byte]: Check for
40442         '\377' instead of '\177'.
40443         * locale/C-monetary.c (not_available): Always use "\377".
40444         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40445         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40446         detect unavailable sign_posn locale elements.
40447         * locale/localeconv.c (__localeconv): For grouping and
40448         mon_grouping handle "\177" and "\377" like no grouping.
40449         (INT_ELEM): New macro.  Use it to set all numeric members.
40450         * locale/programs/ld-monetary.c (monetary_read)
40451         <tok_mon_grouping>: Normalize single -1 to the empty string.
40452         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40453         Likewise.
40455 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40457         [BZ #16055]
40458         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40459         when we match (nil).
40460         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40462 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40464         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40465         (NO_TEST_INLINE): Update value.
40466         (ERRNO_UNCHANGED): Likewise.
40467         (ERRNO_EDOM): Likewise.
40468         (ERRNO_ERANGE): Likewise.
40469         (IGNORE_RESULT): Likewise.
40470         (check_float_internal): Check signs of NaN results if
40471         TEST_NAN_SIGN used.
40472         (check_complex): Pass TEST_NAN_SIGN flag through to second
40473         check_float_internal call.
40474         (copysign_test_data): Add tests with quiet NaNs as second
40475         argument.  Use TEST_NAN_SIGN.
40476         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40477         TEST_NAN_SIGN.
40478         (signbit_test_data): Add tests of quiet NaN argument.
40479         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40481         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40482         $ignore_result.
40483         (parse_args): Handle function results specified as IGNORE.
40484         * math/libm-test.inc (IGNORE_RESULT): New macro.
40485         (check_float_internal): Do not check numerical result if flag
40486         IGNORE_RESULT set.
40487         (check_complex): Pass through IGNORE_RESULT to second
40488         check_float_internal call.
40489         (check_int): Do not check numerical result if flag IGNORE_RESULT
40490         set.
40491         (check_long): Likewise.
40492         (check_bool): Likewise.
40493         (check_longlong): Likewise.
40494         (lrint_test_data): Add tests of infinite and NaN arguments.
40495         (lrint_tonearest_test_data): Likewise.
40496         (lrint_towardzero_test_data): Likewise.
40497         (lrint_downward_test_data): Likewise.
40498         (lrint_upward_test_data): Likewise.
40499         (llrint_test_data): Likewise.
40500         (llrint_tonearest_test_data): Likewise.
40501         (llrint_towardzero_test_data): Likewise.
40502         (llrint_downward_test_data): Likewise.
40503         (llrint_upward_test_data): Likewise.
40504         (lround_test_data): Likewise.
40505         (llround_test_data): Likewise.
40507         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40508         (ERRNO_UNCHANGED): Update value.
40509         (ERRNO_EDOM): Likewise.
40510         (ERRNO_ERANGE): Likewise.
40511         (NO_TEST_INLINE_FLOAT): New macro.
40512         (NO_TEST_INLINE_DOUBLE): Likewise.
40513         (enable_test): New function.
40514         (RUN_TEST_f_f): Check enable_test before running test.
40515         (RUN_TEST_2_f): Likewise.
40516         (RUN_TEST_fff_f): Likewise.
40517         (RUN_TEST_c_f): Likewise.
40518         (RUN_TEST_f_f1): Likewise.
40519         (RUN_TEST_fF_f1): Likewise.
40520         (RUN_TEST_fI_f1): Likewise.
40521         (RUN_TEST_ffI_f1): Likewise.
40522         (RUN_TEST_c_c): Likewise.
40523         (RUN_TEST_cc_c): Likewise.
40524         (RUN_TEST_f_i): Likewise.
40525         (RUN_TEST_f_i_tg): Likewise.
40526         (RUN_TEST_ff_i_tg): Likewise.
40527         (RUN_TEST_f_b): Likewise.
40528         (RUN_TEST_f_b_tg): Likewise.
40529         (RUN_TEST_f_l): Likewise.
40530         (RUN_TEST_f_L): Likewise.
40531         (RUN_TEST_fFF_11): Likewise.
40532         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40533         conditionals.
40534         (cosh_test_data): Likewise.
40535         (exp_test_data): Likewise.
40536         (expm1_test_data): Likewise.
40537         (hypot_test_data): Likewise.
40538         (pow_test_data): Likewise.
40539         (sinh_test_data): Likewise.
40540         (tanh_test_data): Likewise.
40541         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40542         flags argument.
40544         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40545         tests with quiet NaN input and output.
40546         (acosh_test_data): Likewise.
40547         (asin_test_data): Likewise.
40548         (asinh_test_data): Likewise.
40549         (atan_test_data): Likewise.
40550         (atanh_test_data): Likewise.
40551         (atan2_test_data): Likewise.
40552         (cbrt_test_data): Likewise.
40553         (cos_test_data): Likewise.
40554         (cosh_test_data): Likewise.
40555         (erf_test_data): Likewise.
40556         (erfc_test_data): Likewise.
40557         (exp_test_data): Likewise.
40558         (exp10_test_data): Likewise.
40559         (exp2_test_data): Likewise.
40560         (expm1_test_data): Likewise.
40561         (hypot_test_data): Likewise.
40562         (j0_test_data): Likewise.
40563         (j1_test_data): Likewise.
40564         (jn_test_data): Likewise.
40565         (lgamma_test_data): Likewise.
40566         (log_test_data): Likewise.
40567         (log10_test_data): Likewise.
40568         (log1p_test_data): Likewise.
40569         (log2_test_data): Likewise.
40570         (pow_test_data): Likewise.
40571         (scalb_test_data): Likewise.
40572         (sin_test_data): Likewise.
40573         (sincos_test_data): Likewise.
40574         (sinh_test_data): Likewise.
40575         (tan_test_data): Likewise.
40576         (tanh_test_data): Likewise.
40577         (tgamma_test_data): Likewise.
40578         (y0_test_data): Likewise.
40579         (y1_test_data): Likewise.
40580         (yn_test_data): Likewise.
40582         [BZ #16167]
40583         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40584         argument being NaN and avoid computations with second argument in
40585         that case.
40586         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40587         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40588         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40590 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40592         * locale/iso-639.def: Add Chitwani Tharu (the).
40594 2013-11-14  Andreas Schwab  <schwab@suse.de>
40596         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40597         word instead of empty string.
40599 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40602         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40604         (__fe_nomask_env): Likewise.
40606 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40608         * benchtests/bench-timing.h: Include time.h.
40610 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40612         [BZ #15997]
40613         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40614         to 3.4.0 for x32.
40615         * sysdeps/unix/sysv/linux/configure: Regenerated.
40617 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40619         [BZ #16151]
40620         * stdlib/strtod_l.c (round_and_return): Do not consider
40621         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40622         exponent one less than half the least subnormal exponent.
40623         * stdlib/test-strtod-round-data: Add more tests.
40624         * stdlib/tst-strtod-round.c (tests): Regenerated.
40626 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40628         [BZ #14143]
40629         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40630         (__fe_mask_env): Likewise.
40631         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40632         libm_hidden_proto and add function prototype.
40633         (__fe_mask_env): Add function prototype.
40634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40635         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40637         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40639         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40641 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40643         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40644         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40646 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40648         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40649         of htab_find_slot().
40651 2013-11-11  David S. Miller  <davem@davemloft.net>
40653         [BZ #16150]
40654         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40655         symbol in the non-vis3 case in static builds.
40656         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40657         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40658         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40659         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40661 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40663         [BZ #387]
40664         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40665         it is empty.
40667 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40669         * benchtests/Makefile: Add bench-strtod.
40670         * benchtests/bench-strtod.c: New file: strtod benchtest
40672 2013-11-11  Andreas Schwab  <schwab@suse.de>
40674         [BZ #16153]
40675         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40676         terminating NUL in key length.
40678 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40680         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40681         Add artificial ODP entry for vDSO symbol for PPC64.
40682         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40683         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40685 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40687         [BZ #15374]
40688         * nss/getent.c (services_keys): Recognize services starting with digit.
40690 2013-11-06  David S. Miller  <davem@davemloft.net>
40692         [BZ #15985]
40693         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40694         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40696 2013-11-06  Will Newton  <will.newton@linaro.org>
40698         * manual/memory.texi (Malloc Examples): Remove register
40699         keyword from examples.
40701 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40703         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40705 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40707         [BZ #6981]
40708         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40709         depending on [__GCC_IEC_559 > 0].
40710         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40711         depending on [__GCC_IEC_559_COMPLEX > 0].
40713 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40715         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40716         to iso-639.def.
40718 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40720         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40722 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40724         [BZ #16112]
40725         * malloc/malloc (malloc_info): Do not handle first bin as
40726         special case.
40728 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40730         * locale/iso-639.def: Add Central Nahuatl (nhn).
40732 2013-11-01  Bruno Haible  <bruno@clisp.org>
40734         [BZ #7003]
40735         * manual/math.texi (BSD Random): Specify range upper bound as
40736         in POSIX.
40738 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40740         * locale/iso-639.def: Add Meadow Mari (mhr).
40742 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40744         [BZ #14752], [BZ #15763]
40745         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40746         Validate name.
40747         * rt/tst_shm.c: Add test for escaping directory.
40749 2013-10-31  Andreas Schwab  <schwab@suse.de>
40751         [BZ #15917]
40752         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40753         followed by 'x' as part of digit sequence.
40754         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40756 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40758         [BZ #16037]
40759         * configure.ac: allow GNU Make 4.0 and greater.
40760         * configure: Regenerated.
40762 2013-10-30  Will Newton  <will.newton@linaro.org>
40764         [BZ #16038]
40765         * malloc/hooks.c (memalign_check): Limit alignment to the
40766         maximum representable power of two.
40767         * malloc/malloc.c (__libc_memalign): Likewise.
40768         * malloc/tst-memalign.c (do_test): Add test for very
40769         large alignment values.
40770         * malloc/tst-posix_memalign.c (do_test): Likewise.
40772 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40774         [BZ #11087]
40775         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40776         (munmap_chunk): Likewise.
40777         (mremap_chunk): Likewise.
40779 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40781         [BZ #15799]
40782         * stdlib/div.c (div): Remove obsolete code.
40783         * stdlib/ldiv.c (ldiv): Likewise.
40784         * stdlib/lldiv.c (lldiv): Likewise.
40786 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40788         [BZ #16071]
40789         * nss/nss_files/files-XXX.c (get_contents_ret): New
40790         enumerator.
40791         (get_contents): New function.
40792         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40794 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40796         * configure.in: Moved to ...
40797         * configure.ac: ... here. Change reference to configure.in
40798         to configure.ac.
40799         * sysdeps/arm/preconfigure.ac: ... here.
40800         configure.in to configure.ac.
40801         * sysdeps/gnu/configure.in: Moved to ...
40802         * sysdeps/gnu/configure.ac: ... here.
40803         * sysdeps/i386/configure.in: Moved to ...
40804         * sysdeps/i386/configure.ac: ... here.
40805         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40806         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40807         * sysdeps/mach/configure.in: Moved to ...
40808         * sysdeps/mach/configure.ac: ... here.
40809         * sysdeps/mach/hurd/configure.in: Moved to ...
40810         * sysdeps/mach/hurd/configure.ac: ... here.
40811         * sysdeps/powerpc/configure.in: Moved to ...
40812         * sysdeps/powerpc/configure.ac: ... here.
40813         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40814         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40815         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40816         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40817         * sysdeps/s390/s390-32/configure.in: Moved to ...
40818         * sysdeps/s390/s390-32/configure.ac: ... here.
40819         * sysdeps/s390/s390-64/configure.in: Moved to ...
40820         * sysdeps/s390/s390-64/configure.ac: ... here.
40821         * sysdeps/sh/configure.in: Moved to ...
40822         * sysdeps/sh/configure.ac: ... here.
40823         * sysdeps/sparc/configure.in: Moved to ...
40824         * sysdeps/sparc/configure.ac: ... here.
40825         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40826         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40827         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40828         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40829         * sysdeps/x86_64/configure.in: Moved to ...
40830         * sysdeps/x86_64/configure.ac: ... here.
40831         * sysdeps/x86_64/preconfigure.in: Moved to ...
40832         * sysdeps/x86_64/preconfigure.ac: ... here.
40833         * aclocal.m4: Change reference to configure.in to configure.ac.
40834         * config.h.in: Likewise.
40835         * manual/install.texi: Likewise.
40836         * manual/maint.texi: Likewise.
40837         * Makefile: Likewise.
40838         * malloc/Makefile: Likewise.
40839         * nscd/Makefile: Likewise.
40840         * Makeconfig: Change reference to configure.in and
40841         preconfigure.in to configure.ac and preconfigure.ac
40842         respectively.
40843         * INSTALL: Regenerated.
40844         * configure: Likewise.
40845         * sysdeps/gnu/configure: Likewise.
40846         * sysdeps/i386/configure: Likewise.
40847         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40848         * sysdeps/mach/configure: Likewise.
40849         * sysdeps/mach/hurd/configure: Likewise.
40850         * sysdeps/powerpc/configure: Likewise.
40851         * sysdeps/powerpc/powerpc32/configure: Likewise.
40852         * sysdeps/powerpc/powerpc64/configure: Likewise.
40853         * sysdeps/s390/s390-32/configure: Likewise.
40854         * sysdeps/s390/s390-64/configure: Likewise.
40855         * sysdeps/sh/configure: Likewise.
40856         * sysdeps/sparc/configure: Likewise.
40857         * sysdeps/unix/sysv/linux/configure: Likewise.
40858         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40859         * sysdeps/x86_64/configure: Likewise.
40860         * sysdeps/x86_64/preconfigure: Likewise.
40862 2013-10-29  Andreas Schwab  <schwab@suse.de>
40864         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40866 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40868         * benchtests/pow-inputs: Add new inputs.
40870         * benchtests/exp-inputs: Add new inputs.
40872         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40873         conditional check for return value.
40874         (__cos32): Likewise.
40876 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40878         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40879         to provide a boost for large inputs with word alignment.
40880         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40881         implementation based on optimized PPC64 strcpy.
40882         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40883         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40884         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40885         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40887 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40889         [BZ #2801]
40890         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40892 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40894         [BZ #14876]
40895         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40896         * time/tst-strptime.c (day_tests): Add testcase.
40898 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40900         [BZ #14029]
40901         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40903 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40905         [BZ #16074]
40906         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40907         MAP_FAILED on error.
40909 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40911         [BZ #16072]
40912         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40913         heap for large requests.
40915 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40917         [BZ #9954]
40918         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40919         result if the result has no associated interface.
40920         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40921         interface for all 127.X.Y.Z addresses.
40923 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40925         * locale/iso-639.def: Add Ligurian (lij)
40927 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40929         [BZ #15825]
40930         * sunrpc/rpc_main.c: Document rpcgen -5.
40932 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40934         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40936 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40938         [BZ #10278]
40939         * posix/glob.c: Match only directories when trailing slash is present.
40940         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40941         (main): Add testcase.
40943 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40945         [BZ #15670]
40946         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40948 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40950         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40951         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40952         AUTH_DES and cindex for FIPS 140-2.
40953         (DES Encryption): Add cindex FIPS 46-3.
40955         * locale/locarchive.h (struct locarhandle): Add fname.
40956         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40957         if an optional argument was specified to --list-archive,
40958         otherwise NULL.
40959         * locale/programs/locarchive.c (show_archive_content): Take new
40960         argument fname and pass it via ah.fname to open_archive.
40961         * locale/programs/localedef.h: Update decl.
40962         (open_archive): If AH->fname is non-null, open that file
40963         rather than the default file name, and don't ignore ENOENT.
40964         (create_archive): Set AH.fname to NULL.
40965         (delete_locales_from_archive): Likewise.
40966         (add_locales_to_archive): Likewise.
40967         * locale/programs/locfile.c (write_all_categories): Likewise.
40969 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40970             Aldy Hernandez  <aldyh@redhat.com>
40972         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40973         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40974         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40975         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40976         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40977         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40978         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40979         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40980         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40981         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40982         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40983         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40984         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40985         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40986         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40987         Likewise.
40988         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40989         Likewise.
40990         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40991         Likewise.
40992         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40993         Likewise.
40994         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40995         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40996         Likewise.
40997         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40998         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40999         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41000         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41001         Likewise.
41002         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41003         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41004         * sysdeps/powerpc/preconfigure: Likewise.
41005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41006         Likewise.
41007         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41008         Replace contents of file by #include of <fenv_libc.h>.
41009         * sysdeps/powerpc/soft-fp/sfp-machine.h
41010         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41011         and <sys/prctl.h>.
41012         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41013         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41014         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41015         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41016         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41017         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41019         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41020         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41021         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41022         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41023         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41025         Allow copysignl PLT reference to be missing.
41027 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41028             Joseph Myers  <joseph@codesourcery.com
41030         [BZ #15948]
41031         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41032         single character.
41033         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41035 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41037         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41038         * elf/tst-tls1.c: Likewise.
41039         * elf/tst-tls10.h: Likewise.
41040         * elf/tst-tls14.c: Likewise.
41041         * elf/tst-tls2.c: Likewise.
41042         * elf/tst-tls3.c: Likewise.
41043         * elf/tst-tls4.c: Likewise.
41044         * elf/tst-tls5.c: Likewise.
41045         * elf/tst-tls6.c: Likewise.
41046         * elf/tst-tls7.c: Likewise.
41047         * elf/tst-tls8.c: Likewise.
41048         * elf/tst-tls9.c: Likewise.
41049         * elf/tst-tlsmod1.c: Likewise.
41050         * elf/tst-tlsmod13.c: Likewise.
41051         * elf/tst-tlsmod13a.c: Likewise.
41052         * elf/tst-tlsmod14a.c: Likewise.
41053         * elf/tst-tlsmod16a.c: Likewise.
41054         * elf/tst-tlsmod16b.c: Likewise.
41055         * elf/tst-tlsmod2.c: Likewise.
41056         * elf/tst-tlsmod3.c: Likewise.
41057         * elf/tst-tlsmod4.c: Likewise.
41058         * elf/tst-tlsmod5.c: Likewise.
41059         * elf/tst-tlsmod6.c: Likewise.
41061 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41063         [BZ #12486]
41064         * malloc/malloc.c: remove checks for statistics.
41066 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41068         [BZ #15277]
41069         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41070         * inet/tst-network.c: Add testcase.
41072 2013-10-17  Andreas Schwab  <schwab@suse.de>
41074         [BZ #15218]
41075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41076         to determine canonical name.
41078 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41080         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41081         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41082         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41083         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41084         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41085         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41093         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41094         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41095         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41097         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41098         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41099         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41100         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41101         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41102         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41104         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41105         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41110         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41112         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41114         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41115         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41116         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41120         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41121         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41122         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41123         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41124         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41125         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41126         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41128         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41133         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41134         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41135         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41136         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41137         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41139 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41141         [BZ #16041]
41142         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41143         make result into a quiet NaN.
41145 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41147         * soft-fp/adddf3.c: Fix horizontal whitespace.
41148         * soft-fp/addsf3.c: Likewise.
41149         * soft-fp/addtf3.c: Likewise.
41150         * soft-fp/divdf3.c: Likewise.
41151         * soft-fp/divsf3.c: Likewise.
41152         * soft-fp/divtf3.c: Likewise.
41153         * soft-fp/double.h: Likewise.
41154         * soft-fp/eqdf2.c: Likewise.
41155         * soft-fp/eqsf2.c: Likewise.
41156         * soft-fp/eqtf2.c: Likewise.
41157         * soft-fp/extenddftf2.c: Likewise.
41158         * soft-fp/extended.h: Likewise.
41159         * soft-fp/extendsfdf2.c: Likewise.
41160         * soft-fp/extendsftf2.c: Likewise.
41161         * soft-fp/extendxftf2.c: Likewise.
41162         * soft-fp/fixdfdi.c: Likewise.
41163         * soft-fp/fixdfsi.c: Likewise.
41164         * soft-fp/fixdfti.c: Likewise.
41165         * soft-fp/fixsfdi.c: Likewise.
41166         * soft-fp/fixsfsi.c: Likewise.
41167         * soft-fp/fixsfti.c: Likewise.
41168         * soft-fp/fixtfdi.c: Likewise.
41169         * soft-fp/fixtfsi.c: Likewise.
41170         * soft-fp/fixtfti.c: Likewise.
41171         * soft-fp/fixunsdfdi.c: Likewise.
41172         * soft-fp/fixunsdfsi.c: Likewise.
41173         * soft-fp/fixunsdfti.c: Likewise.
41174         * soft-fp/fixunssfdi.c: Likewise.
41175         * soft-fp/fixunssfsi.c: Likewise.
41176         * soft-fp/fixunssfti.c: Likewise.
41177         * soft-fp/fixunstfdi.c: Likewise.
41178         * soft-fp/fixunstfsi.c: Likewise.
41179         * soft-fp/fixunstfti.c: Likewise.
41180         * soft-fp/floatdidf.c: Likewise.
41181         * soft-fp/floatdisf.c: Likewise.
41182         * soft-fp/floatditf.c: Likewise.
41183         * soft-fp/floatsidf.c: Likewise.
41184         * soft-fp/floatsisf.c: Likewise.
41185         * soft-fp/floatsitf.c: Likewise.
41186         * soft-fp/floattidf.c: Likewise.
41187         * soft-fp/floattisf.c: Likewise.
41188         * soft-fp/floattitf.c: Likewise.
41189         * soft-fp/floatundidf.c: Likewise.
41190         * soft-fp/floatundisf.c: Likewise.
41191         * soft-fp/floatunditf.c: Likewise.
41192         * soft-fp/floatunsidf.c: Likewise.
41193         * soft-fp/floatunsisf.c: Likewise.
41194         * soft-fp/floatunsitf.c: Likewise.
41195         * soft-fp/floatuntidf.c: Likewise.
41196         * soft-fp/floatuntisf.c: Likewise.
41197         * soft-fp/floatuntitf.c: Likewise.
41198         * soft-fp/fmadf4.c: Likewise.
41199         * soft-fp/fmasf4.c: Likewise.
41200         * soft-fp/fmatf4.c: Likewise.
41201         * soft-fp/gedf2.c: Likewise.
41202         * soft-fp/gesf2.c: Likewise.
41203         * soft-fp/getf2.c: Likewise.
41204         * soft-fp/ledf2.c: Likewise.
41205         * soft-fp/lesf2.c: Likewise.
41206         * soft-fp/letf2.c: Likewise.
41207         * soft-fp/muldf3.c: Likewise.
41208         * soft-fp/mulsf3.c: Likewise.
41209         * soft-fp/multf3.c: Likewise.
41210         * soft-fp/negdf2.c: Likewise.
41211         * soft-fp/negsf2.c: Likewise.
41212         * soft-fp/negtf2.c: Likewise.
41213         * soft-fp/op-1.h: Likewise.
41214         * soft-fp/op-2.h: Likewise.
41215         * soft-fp/op-4.h: Likewise.
41216         * soft-fp/op-8.h: Likewise.
41217         * soft-fp/op-common.h: Likewise.
41218         * soft-fp/quad.h: Likewise.
41219         * soft-fp/single.h: Likewise.
41220         * soft-fp/soft-fp.h: Likewise.
41221         * soft-fp/sqrtdf2.c: Likewise.
41222         * soft-fp/sqrtsf2.c: Likewise.
41223         * soft-fp/sqrttf2.c: Likewise.
41224         * soft-fp/subdf3.c: Likewise.
41225         * soft-fp/subsf3.c: Likewise.
41226         * soft-fp/subtf3.c: Likewise.
41227         * soft-fp/truncdfsf2.c: Likewise.
41228         * soft-fp/trunctfdf2.c: Likewise.
41229         * soft-fp/trunctfsf2.c: Likewise.
41230         * soft-fp/trunctfxf2.c: Likewise.
41231         * soft-fp/unorddf2.c: Likewise.
41232         * soft-fp/unordsf2.c: Likewise.
41233         * soft-fp/unordtf2.c: Likewise.
41235 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41237         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41238         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41240 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41242         * elf/dl-libc.c: Clear initfini list after freeing.
41244 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41246         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41247         * soft-fp/addsf3.c: Likewise.
41248         * soft-fp/addtf3.c: Likewise.
41249         * soft-fp/divdf3.c: Likewise.
41250         * soft-fp/divsf3.c: Likewise.
41251         * soft-fp/divtf3.c: Likewise.
41252         * soft-fp/double.h: Likewise.
41253         * soft-fp/eqdf2.c: Likewise.
41254         * soft-fp/eqsf2.c: Likewise.
41255         * soft-fp/eqtf2.c: Likewise.
41256         * soft-fp/extenddftf2.c: Likewise.
41257         * soft-fp/extended.h: Likewise.
41258         * soft-fp/extendsfdf2.c: Likewise.
41259         * soft-fp/extendsftf2.c: Likewise.
41260         * soft-fp/extendxftf2.c: Likewise.
41261         * soft-fp/fixdfdi.c: Likewise.
41262         * soft-fp/fixdfsi.c: Likewise.
41263         * soft-fp/fixdfti.c: Likewise.
41264         * soft-fp/fixsfdi.c: Likewise.
41265         * soft-fp/fixsfsi.c: Likewise.
41266         * soft-fp/fixsfti.c: Likewise.
41267         * soft-fp/fixtfdi.c: Likewise.
41268         * soft-fp/fixtfsi.c: Likewise.
41269         * soft-fp/fixtfti.c: Likewise.
41270         * soft-fp/fixunsdfdi.c: Likewise.
41271         * soft-fp/fixunsdfsi.c: Likewise.
41272         * soft-fp/fixunsdfti.c: Likewise.
41273         * soft-fp/fixunssfdi.c: Likewise.
41274         * soft-fp/fixunssfsi.c: Likewise.
41275         * soft-fp/fixunssfti.c: Likewise.
41276         * soft-fp/fixunstfdi.c: Likewise.
41277         * soft-fp/fixunstfsi.c: Likewise.
41278         * soft-fp/fixunstfti.c: Likewise.
41279         * soft-fp/floatdidf.c: Likewise.
41280         * soft-fp/floatdisf.c: Likewise.
41281         * soft-fp/floatditf.c: Likewise.
41282         * soft-fp/floatsidf.c: Likewise.
41283         * soft-fp/floatsisf.c: Likewise.
41284         * soft-fp/floatsitf.c: Likewise.
41285         * soft-fp/floattidf.c: Likewise.
41286         * soft-fp/floattisf.c: Likewise.
41287         * soft-fp/floattitf.c: Likewise.
41288         * soft-fp/floatundidf.c: Likewise.
41289         * soft-fp/floatundisf.c: Likewise.
41290         * soft-fp/floatunsidf.c: Likewise.
41291         * soft-fp/floatunsisf.c: Likewise.
41292         * soft-fp/floatuntidf.c: Likewise.
41293         * soft-fp/floatuntisf.c: Likewise.
41294         * soft-fp/floatuntitf.c: Likewise.
41295         * soft-fp/fmadf4.c: Likewise.
41296         * soft-fp/fmasf4.c: Likewise.
41297         * soft-fp/fmatf4.c: Likewise.
41298         * soft-fp/gedf2.c: Likewise.
41299         * soft-fp/gesf2.c: Likewise.
41300         * soft-fp/getf2.c: Likewise.
41301         * soft-fp/ledf2.c: Likewise.
41302         * soft-fp/lesf2.c: Likewise.
41303         * soft-fp/letf2.c: Likewise.
41304         * soft-fp/muldf3.c: Likewise.
41305         * soft-fp/mulsf3.c: Likewise.
41306         * soft-fp/multf3.c: Likewise.
41307         * soft-fp/negdf2.c: Likewise.
41308         * soft-fp/negsf2.c: Likewise.
41309         * soft-fp/negtf2.c: Likewise.
41310         * soft-fp/op-1.h: Likewise.
41311         * soft-fp/op-2.h: Likewise.
41312         * soft-fp/op-4.h: Likewise.
41313         * soft-fp/op-8.h: Likewise.
41314         * soft-fp/op-common.h: Likewise.
41315         * soft-fp/quad.h: Likewise.
41316         * soft-fp/single.h: Likewise.
41317         * soft-fp/soft-fp.h: Likewise.
41318         * soft-fp/sqrtdf2.c: Likewise.
41319         * soft-fp/sqrtsf2.c: Likewise.
41320         * soft-fp/sqrttf2.c: Likewise.
41321         * soft-fp/subdf3.c: Likewise.
41322         * soft-fp/subsf3.c: Likewise.
41323         * soft-fp/subtf3.c: Likewise.
41324         * soft-fp/truncdfsf2.c: Likewise.
41325         * soft-fp/trunctfdf2.c: Likewise.
41326         * soft-fp/trunctfsf2.c: Likewise.
41327         * soft-fp/trunctfxf2.c: Likewise.
41328         * soft-fp/unorddf2.c: Likewise.
41329         * soft-fp/unordsf2.c: Likewise.
41330         * soft-fp/unordtf2.c: Likewise.
41332 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41334         [BZ #15672]
41335         * misc/error.c (error_tail): Fix possible buffer overflow.
41337 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41339         [BZ #13028]
41340         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41341         address.
41343 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41345         [BZ #832]
41346         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41347         testing pipefail option.
41349 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41351         * soft-fp/double.h: Indent preprocessor directives inside #if.
41352         * soft-fp/extended.h: Likewise.
41353         * soft-fp/op-2.h: Likewise.
41354         * soft-fp/op-4.h: Likewise.
41355         * soft-fp/op-common.h: Likewise.
41356         * soft-fp/quad.h: Likewise.
41357         * soft-fp/single.h: Likewise.
41358         * soft-fp/soft-fp.h: Likewise.
41360 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41362         * iconv/iconv_prog.c: Fix typos.
41363         * stdio-common/psiginfo-data.h: Likewise.
41365 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41367         [BZ #15764]
41368         * locale/setlocale.c: Fix typo.
41370 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41372         [BZ #16036]
41373         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41374         signaling NaN arguments.
41375         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41376         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41378         [BZ #14910]
41379         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41380         unordered operands.
41381         * soft-fp/gesf2.c (__gesf2): Likewise.
41382         * soft-fp/getf2.c (__getf2): Likewise.
41383         * soft-fp/ledf2.c (__ledf2): Likewise.
41384         * soft-fp/lesf2.c (__lesf2): Likewise.
41385         * soft-fp/letf2.c (__letf2): Likewise.
41387         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41388         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41389         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41390         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41391         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41392         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41393         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41394         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41395         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41396         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41397         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41398         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41399         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41400         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41401         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41402         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41403         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41404         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41405         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41406         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41407         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41408         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41409         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41410         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41411         * soft-fp/floattidf.c (__floattidf): Likewise.
41412         * soft-fp/floattisf.c (__floattisf): Likewise.
41413         * soft-fp/floattitf.c (__floattitf): Likewise.
41414         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41415         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41416         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41417         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41418         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41419         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41420         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41421         * soft-fp/gesf2.c (__gesf2): Likewise.
41422         * soft-fp/getf2.c (__getf2): Likewise.
41423         * soft-fp/ledf2.c (__ledf2): Likewise.
41424         * soft-fp/lesf2.c (__lesf2): Likewise.
41425         * soft-fp/letf2.c (__letf2): Likewise.
41427         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41428         Undefine and redefine.
41429         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41430         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41431         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41432         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41433         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41434         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41435         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41436         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41437         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41438         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41439         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41440         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41441         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41442         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41443         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41445         [BZ #16032]
41446         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41447         without decrementing exponent if mantissa >= that for the
41448         denominator, not >.
41449         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41450         denominator, not >.  Decrement exponent in < case instead of
41451         incrementing in >= case.
41452         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41453         without decrementing exponent if mantissa >= that for the
41454         denominator, not >.
41456         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41457         computing saturated result for unsigned overflow.
41459 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41460             Jeff Law  <law@redhat.com>
41462         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41463         (atan2Mp): Add systemtap probe marker.
41464         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41465         (__ieee754_log): Add systemtap probe marker.
41466         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41467         (atanMp): Add systemtap probe marker.
41468         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41469         (tanMp): Add systemtap probe marker.
41470         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41471         (__slowexp): Add systemtap probe marker.
41472         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41473         (__slowpow): Add systemtap probe marker.
41474         * manual/probes.texi: Document probes.
41476 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41478         [BZ #15362]
41479         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41480         written.
41481         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41482         written.
41483         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41484         written to buffer but not flushed.
41485         * libio/iofwrite_u.c:  Likewise.
41486         * libio/iopadn.c:  Return bytes returned even if EOF was
41487         encountered.
41488         * libio/iowpadn.c:  Likewise.
41489         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41490         if _IO_padn does not write the whole buffer.
41491         [!COMPILE_WPRINTF] (PAD): Likewise.
41493 2013-10-10  David S. Miller  <davem@davemloft.net>
41495         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41496         directory block.
41498 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41500         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41501         instead of FSF address.
41502         * soft-fp/fixdfti.c: Likewise.
41503         * soft-fp/fixsfti.c: Likewise.
41504         * soft-fp/fixtfti.c: Likewise.
41505         * soft-fp/fixunsdfti.c: Likewise.
41506         * soft-fp/fixunssfti.c: Likewise.
41507         * soft-fp/fixunstfti.c: Likewise.
41508         * soft-fp/floattidf.c: Likewise.
41509         * soft-fp/floattisf.c: Likewise.
41510         * soft-fp/floattitf.c: Likewise.
41511         * soft-fp/floatuntidf.c: Likewise.
41512         * soft-fp/floatuntisf.c: Likewise.
41513         * soft-fp/floatuntitf.c: Likewise.
41514         * soft-fp/trunctfxf2.c: Likewise.
41516         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41517         * soft-fp/fixdfti.c: Likewise.
41518         * soft-fp/fixsfti.c: Likewise.
41519         * soft-fp/fixtfti.c: Likewise.
41520         * soft-fp/fixunsdfti.c: Likewise.
41521         * soft-fp/fixunssfti.c: Likewise.
41522         * soft-fp/fixunstfti.c: Likewise.
41523         * soft-fp/floattidf.c: Likewise.
41524         * soft-fp/floattisf.c: Likewise.
41525         * soft-fp/floattitf.c: Likewise.
41526         * soft-fp/floatuntidf.c: Likewise.
41527         * soft-fp/floatuntisf.c: Likewise.
41528         * soft-fp/floatuntitf.c: Likewise.
41529         * soft-fp/trunctfxf2.c: Likewise.
41531 2013-10-10  David S. Miller  <davem@davemloft.net>
41533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41535 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41537         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41538         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41539         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41540         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41541         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41542         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41543         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41545         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41546         for NaNs before doing comparisons on argument.
41547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41548         Likewise.
41550 2013-10-10  Will Newton  <will.newton@linaro.org>
41552         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41553         passed to _int_memalign does not overflow.
41555 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41557         * scripts/bench.pl: Add include-sources directive.
41558         * benchtests/README: Update documentation.
41560 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41562         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41563         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41564         instead of FP_INIT_ROUNDMODE.
41565         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41566         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41568         [BZ #16034]
41569         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41570         copy class of input value.
41571         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41572         not handle exceptions.
41573         * soft-fp/negsf2.c (__negsf2): Likewise.
41574         * soft-fp/negtf2.c (__negtf2): Likewise.
41575         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41577 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41579         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41580         semicolon.  From Linux kernel.
41582 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41584         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41586 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41588         [BZ #156]
41589         * manual/socket.texi: Added statement about buffer
41590         for gethostbyname2_r.
41592 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41594         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41595         Use .p2align directive instead, throughout.
41596         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41597         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41598         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41599         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41600         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41601         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41602         * sysdeps/x86_64/strchr.S: Likewise.
41603         * sysdeps/x86_64/strrchr.S: Likewise.
41605 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41607         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41609         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41611         * sysdeps/generic/math_private.h (__mpsin1): Remove
41612         declaration.
41613         (__mpcos1): Likewise.
41614         (__mpsin): New argument __range_reduce.
41615         (__mpcos): Likewise.
41616         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41617         (slow): Use __mpsin and __mpcos.
41618         (slow1): Likewise.
41619         (slow2): Likewise.
41620         (sloww): Likewise.
41621         (sloww1): Likewise.
41622         (sloww2): Likewise.
41623         (bsloww): Likewise.
41624         (bsloww1): Likewise.
41625         (bsloww2): Likewise.
41626         (cslow2): Likewise.
41627         (csloww): Likewise.
41628         (csloww1): Likewise.
41629         (csloww2): Likewise.
41630         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41631         range_reduce.  Merge in __mpsin1.
41632         (__mpcos): Likewise.
41633         (__mpsin1): Remove.
41634         (__mpcos1): Likewise.
41636 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41638         * locale/loadlocale.c (_nl_intern_locale_data): Use
41639         LOCFILE_ALIGNED_P.
41640         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41641         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41642         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41643         obstack data is appropriately aligned.
41644         (obstack_int32_grow_fast): Likewise.
41645         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41646         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41647         (add_locale_uint32_array): Likewise.
41649 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41651         * benchtests/Makefile: Remove ARGLIST and RET variables.
41652         ($(objpfx)bench-%.c): Pass only function name to the script.
41653         * benchtests/README: Update documentation.
41654         * benchtests/acos-inputs: Add new directives.
41655         * benchtests/acosh-inputs: Likewise.
41656         * benchtests/asin-inputs: Likewise.
41657         * benchtests/asinh-inputs: Likewise.
41658         * benchtests/atan-inputs: Likewise.
41659         * benchtests/atanh-inputs: Likewise.
41660         * benchtests/cos-inputs: Likewise.
41661         * benchtests/cosh-inputs: Likewise.
41662         * benchtests/exp-inputs: Likewise.
41663         * benchtests/log-inputs: Likewise.
41664         * benchtests/pow-inputs: Likewise.
41665         * benchtests/rint-inputs: Likewise.
41666         * benchtests/sin-inputs: Likewise.
41667         * benchtests/sinh-inputs: Likewise.
41668         * benchtests/tan-inputs: Likewise.
41669         * benchtests/tanh-inputs: Likewise.
41670         * scripts/bench.pl: Add support for new directives.
41672 2013-10-07  Alan Modra  <amodra@gmail.com>
41674         * README: Fix careless merge.
41676 2013-10-05  Alan Modra  <amodra@gmail.com>
41678         * NEWS: Mention powerpc64le support and bugs fixed.
41679         * README: Both big-endian and little-endian powerpc64 supported.
41681 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41683         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41684         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41685         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41686         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41688 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41690         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41691         match prototype.
41693 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41695         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41696         Move -mhard-float appending from
41697         ports/sysdeps/powerpc/powerpc32/Makefile.
41698         [$(with-fp) = yes] (ASFLAGS): Likewise.
41699         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41700         * sysdeps/powerpc/nofpu: Move directory from
41701         ports/sysdeps/powerpc/nofpu.
41702         * sysdeps/powerpc/soft-fp: Move directory from
41703         ports/sysdeps/powerpc/soft-fp.
41704         * sysdeps/powerpc/powerpc32/405: Move directory from
41705         ports/sysdeps/powerpc/powerpc32/405.
41706         * sysdeps/powerpc/powerpc32/440: Move directory from
41707         ports/sysdeps/powerpc/powerpc32/440.
41708         * sysdeps/powerpc/powerpc32/464: Move directory from
41709         ports/sysdeps/powerpc/powerpc32/464.
41710         * sysdeps/powerpc/powerpc32/476: Move directory from
41711         ports/sysdeps/powerpc/powerpc32/476.
41712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41713         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41715         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41717         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41719         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41721         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41722         * README: Update for powerpc-*-linux-gnu software floating point
41723         support in libc.
41725         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41726         case to powerpc/powerpc32*.
41727         * sysdeps/unix/sysv/linux/configure: Regenerated.
41729         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41730         (_FPU_MASK_OM): Define as 0x04.
41731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41733         0x00c10080.
41734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41735         0x0000003c.
41736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41739         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41740         getcontext_e500.
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41742         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41743         setcontext_e500.
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41745         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41746         and setcontext_e500.
41748 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41750         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41752 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41754         * manual/threads.texi (Default Thread Attributes): Fix typo.
41756 2013-10-04  Will Newton  <will.newton@linaro.org>
41758         * malloc/Makefile: Add tst-memalign.
41759         * malloc/tst-memalign.c: New file.
41761         * malloc/tst-posix_memalign.c: Add comments.
41762         (do_test): Add comments and call free on all potentially
41763         allocated pointers. Add space after cast.
41765         * malloc/tst-pvalloc.c: Add comments.
41766         (do_test): Add comments and call free on all potentially
41767         allocated pointers. Remove duplicate check for NULL pointer.
41768         Add space after cast.
41770         * malloc/tst-valloc.c: Add comments.
41771         (do_test): Add comments and call free on all potentially
41772         allocated pointers. Remove duplicate check for NULL pointer.
41773         Add space after cast.
41775 2013-10-04  Alan Modra  <amodra@gmail.com>
41777         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41778         Use stdint types in rather than __attribute__((mode())).
41779         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41781 2013-10-04  Alan Modra  <amodra@gmail.com>
41783         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41784         Correct handling of unaligned relocs for little-endian.
41785         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41787 2013-10-04  Alan Modra  <amodra@gmail.com>
41789         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41790         * configure: Regenerate.
41791         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41792         * shlib-versions: Likewise.
41794 2013-10-04  Alan Modra  <amodra@gmail.com>
41796         * string/tester.c (test_memrchr): Increment reported test cycle.
41798 2013-10-04  Alan Modra  <amodra@gmail.com>
41800         * string/test-memcpy.c (do_one_test): When reporting errors, print
41801         string address and don't overrun end of string.
41803 2013-10-04  Alan Modra  <amodra@gmail.com>
41805         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41806         insrdi.  Make better use of reg selection to speed exit slightly.
41807         Schedule entry path a little better.  Remove useless "are we done"
41808         checks on entry to main loop.  Handle wrapping around zero address.
41809         Correct main loop count.  Handle single left-over word from main
41810         loop inline rather than by using loop_small.  Remove extra word
41811         case in loop_small caused by wrong loop count.  Add little-endian
41812         support.
41813         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41814         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41815         cache hint.
41816         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41817         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41818         support.  Avoid rlwimi.
41819         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41821 2013-10-04  Alan Modra  <amodra@gmail.com>
41823         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41824         insrdi.  Formatting.
41825         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41826         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41827         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41828         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41829         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41830         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41832 2013-10-04  Alan Modra  <amodra@gmail.com>
41834         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41835         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41836         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41837         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41838         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41839         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41840         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41842         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41843         use of regs.  Use power7 mtocrf.  Tidy function tails.
41845 2013-10-04  Alan Modra  <amodra@gmail.com>
41847         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41848         Formatting.  Consistently use rXXX register defines or rN defines.
41849         Use early exit labels that avoid restoring unused non-volatile regs.
41850         Make cr field use more consistent with rWORDn compares.  Rename
41851         regs used as shift registers for unaligned loop, using rN defines
41852         for short lifetime/multiple use regs.
41853         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41854         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41855         addi 1,1,64 to pop stack frame.  Simplify return value code.
41856         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41858 2013-10-04  Alan Modra  <amodra@gmail.com>
41860         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41861         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41862         rather than rlwimi.
41863         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41864         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41865         little-endian support.  Correct typos.
41866         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41867         rather than rlwimi.
41868         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41869         in loop and entry code to keep "and." results.
41870         (strchr): Add little-endian support.  Comment.  Move cntlzd
41871         earlier in tail.
41872         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41874 2013-10-04  Alan Modra  <amodra@gmail.com>
41876         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41877         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41878         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41879         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41881 2013-10-04  Alan Modra  <amodra@gmail.com>
41883         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41884         (rTMP): Define as r11.
41885         (strcmp): Add little-endian support.  Optimise tail.
41886         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41887         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41888         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41889         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41890         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41892         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41894 2013-10-04  Alan Modra  <amodra@gmail.com>
41896         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41897         little-endian support.  Remove unnecessary "are we done" tests.
41898         Handle "s" wrapping around zero and extremely large "size".
41899         Correct main loop count.  Handle single left-over word from main
41900         loop inline rather than by using small_loop.  Correct comments.
41901         Delete "zero" tail, use "end_max" instead.
41902         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41904 2013-10-04  Alan Modra  <amodra@gmail.com>
41906         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41907         support.  Don't branch over align.
41908         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41909         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41910         support.  Rearrange tmp reg use to suit.  Comment.
41911         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41913 2013-10-04  Alan Modra  <amodra@gmail.com>
41915         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41917 2013-10-04  Alan Modra  <amodra@gmail.com>
41919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41920         conditional form of branch and link when obtaining pc.
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41923 2013-10-04  Alan Modra  <amodra@gmail.com>
41925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41926         HIWORD/LOWORD.
41927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41930 2013-10-04  Alan Modra  <amodra@gmail.com>
41932         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41933         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41934         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41935         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41936         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41937         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41938         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41939         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41940         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41941         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41943 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41944             Alistair Popple <alistair@ozlabs.au.ibm.com>
41945             Alan Modra <amodra@gmail.com>
41947         [BZ #15723]
41948         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41949         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41950         _dl_hwcap access for little-endian.
41951         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41952         destroy vmx regs when saving unaligned.
41953         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41954         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41955         destroy vmx regs when saving unaligned.
41957 2013-10-04  Alan Modra  <amodra@gmail.com>
41959         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41960         Don't use a union to pack hi/low value.
41962 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41964         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41965         for little-endian.
41966         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41968         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41969         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41970         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41972 2013-10-04  Alan Modra  <amodra@gmail.com>
41974         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41975         constants to usual value for .cst8 section, and remove redundant
41976         high address load.
41977         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41978         constant for 0x1p52.  Load little-endian words of double from
41979         correct stack offsets.
41981 2013-10-04  Alan Modra  <amodra@gmail.com>
41983         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41984         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41985         words of double from correct stack offsets.
41986         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41987         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41988         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41989         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41991         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41992         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41993         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41994         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41995         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41996         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41997         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41998         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41999         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42000         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42001         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42002         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42004 2013-10-04  Alan Modra  <amodra@gmail.com>
42006         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42007         64-bit int/double union.
42008         (_FPU_SETCW): Likewise.
42009         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42010         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42012 2013-10-04  Alan Modra  <amodra@gmail.com>
42014         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42015         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42017 2013-10-04  Alan Modra  <amodra@gmail.com>
42019         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42020         use vector int constants.
42021         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42023 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42025         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42026         array with long long.
42027         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42028         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42029         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42030         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42031         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42032         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42033         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42034         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42035         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42036         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42037         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42038         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42039         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42041 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42043         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42044         (__signbit): Likewise.  Correct for little-endian.
42045         (__signbitl): Call __signbit.
42046         (lrint): Correct for little-endian.
42047         (lrintf): Call lrint.
42049 2013-10-04  Alan Modra  <amodra@gmail.com>
42051         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42052         union 32-bit int array member with 64-bit int array.
42053         (t515, tm256): Double rather than long double.
42054         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42056 2013-10-04  Alan Modra  <amodra@gmail.com>
42058         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42059         Delete.
42060         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42061         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42062         version of math_ldbl.h.
42064 2013-10-04  Alan Modra  <amodra@gmail.com>
42066         [BZ #15734], [BZ #15735]
42067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42068         all uses of ieee875 long double macros and unions.  Simplify test
42069         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42070         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42071         normalize after ldbl_extract_mantissa, and don't add hidden bit
42072         already handled.  Don't treat low word of ieee854 mantissa like
42073         low word of IBM long double and mask off bit when testing for
42074         zero.
42075         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42076         all uses of ieee875 long double macros and unions.  Simplify tests
42077         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42078         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42079         two1022, instead use their values.  Recognise that tests for large
42080         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42081         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42082         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42083         test for 0.0L and nan.  Correct negation.
42084         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42085         ieee875 long double macros and unions.  Correct output for large
42086         magnitude x.  Correct absolute value calculation.
42087         (__erfcl): Likewise.
42088         * math/libm-test.inc: Add tests for errors discovered in IBM long
42089         double versions of fmodl, remainderl, erfl and erfcl.
42091 2013-10-04  Alan Modra  <amodra@gmail.com>
42093         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42094         all uses of ieee854 long double macros and unions.  Simplify tests
42095         for long doubles that are fully specified by the high double.
42096         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42097         Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42099         Remove dead code too.
42100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42101         (__ieee754_ynl): Likewise.
42102         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42104         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42105         Remove dead code too.
42106         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42107         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42108         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42109         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42110         Simplify.
42111         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42112         Simplify.
42113         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42114         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42116         Comment on variable precision.
42117         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42119         Likewise.
42120         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42121         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42122         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42124         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42126 2013-10-04  Alan Modra  <amodra@gmail.com>
42128         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42129         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42130         all uses of ieee854 long double macros and unions.
42131         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42132         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42133         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42134         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42135         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42136         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42137         Likewise.
42138         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42139         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42140         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42141         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42142         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42143         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42144         Simplify sign and nan test too.
42145         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42146         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42147         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42148         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42149         Likewise.
42150         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42151         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42152         Likewise.
42153         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42154         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42155         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42156         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42157         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42160 2013-10-04  Alan Modra  <amodra@gmail.com>
42162         * stdio-common/printf_size.c (__printf_size): Don't use
42163         union ieee854_long_double in fpnum union.
42164         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42165         signbit macro to retrieve sign from long double.
42166         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42167         retrieve sign from long double.
42168         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42169         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42170         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42171         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42172         * math/test-misc.c (main): Don't use union ieee854_long_double.
42174 2013-10-04  Alan Modra  <amodra@gmail.com>
42176         [BZ #15680]
42177         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42178         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42179         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42180         calculation.  Remove unnecessary test for denormal exponent.
42181         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42182         Correct handling of denormals.  Avoid undefined shift behaviour.
42183         Correct normalisation of low mantissa when low double is denormal.
42184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42185         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42186         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42187         Correct normalisation of low mantissa.  Test for overflow of high
42188         mantissa and normalise.
42189         (ldbl_nearbyint): Use more readable constant for two52.
42190         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42191         (__mpn_construct_long_double): Fix test for overflow of high
42192         mantissa and correct normalisation.  Avoid undefined shift.
42194 2013-10-04  Alan Modra  <amodra@gmail.com>
42196         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42197         (union ibm_extended_long_double): Define as an array of ieee754_double.
42198         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42199         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42200         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42201         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42202         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42203         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42204         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42207         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42208         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42210 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42212         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42213         page size instead of calling getpagesize.
42215         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42216         (LOCFILE_ALIGN_MASK): Likewise.
42217         (LOCFILE_ALIGN_UP): Likewise.
42218         (LOCFILE_ALIGNED_P): Likewise.
42219         * locale/programs/ld-collate.c (collate_output): Use the new
42220         macros instead of __alignof__ (int32_t).
42221         * locale/weight.h (findidx): Likewise.
42223 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42225         [BZ #431]
42226         * manual/string.texi: Fix strncat and wcsncat.
42228 2013-10-03  Brooks Moses  <bmoses@google.com>
42230         [BZ #15915]
42231         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42232         * Makerules: ...here, and adjust associated comments.
42234 2013-10-02  Will Newton  <will.newton@linaro.org>
42236         * malloc/Makefile: Add tst-pvalloc.
42237         * malloc/tst-pvalloc.c: New file.
42239 2013-10-02  Will Newton  <will.newton@linaro.org>
42241         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42242         improve test coverage.
42244 2013-10-02  Will Newton  <will.newton@linaro.org>
42246         * malloc/Makefile: Add tst-posix_memalign.
42247         * malloc/tst-posix_memalign.c: New file.
42249 2013-10-01  Eric Blake  <eblake@redhat.com>
42251         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42252         Use __THROWNL rather than __THROW on static functions.
42254 2013-09-30  Petr Machata  <pmachata@redhat.com>
42256         * elf/elf.h (R_AARCH64_ABS16): New macro.
42257         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42258         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42259         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42260         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42261         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42262         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42263         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42264         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42265         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42266         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42267         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42268         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42269         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42270         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42271         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42272         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42273         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42274         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42275         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42276         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42277         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42278         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42279         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42280         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42281         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42282         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42283         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42284         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42285         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42286         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42287         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42288         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42289         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42290         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42291         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42292         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42293         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42294         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42295         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42296         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42297         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42298         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42299         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42300         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42301         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42302         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42303         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42304         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42305         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42306         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42307         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42308         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42309         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42310         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42311         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42312         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42313         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42314         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42315         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42316         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42317         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42318         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42319         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42320         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42321         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42322         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42323         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42324         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42325         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42326         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42327         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42328         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42329         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42330         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42331         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42332         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42333         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42334         (R_AARCH64_TLSDESC_LDR): Likewise.
42335         (R_AARCH64_TLSDESC_ADD): Likewise.
42336         (R_AARCH64_TLSDESC_CALL): Likewise.
42338 2013-09-30  Andreas Schwab  <schwab@suse.de>
42340         [BZ #15048]
42341         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42342         the nss database lookup.
42343         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42346 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42348         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42350 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42352         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42353         ${Bash-specific parameter/pattern/string} parameter expansion.
42354         * sysdeps/unix/make-syscalls.sh: Likewise.
42356 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42358         * sysdeps/sh/stackguard-macros.h: New file.
42360 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42364         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42365         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42366         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42367         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42369 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42371         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42372         Fix thread ID register.
42374 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42376         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42377         [POSIX || UNIX98]: Require rather than permitting all symbols from
42378         <time.h>.
42379         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42380         element of struct sched_param.
42381         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42382         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42383         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42384         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42385         constant.
42387 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42389         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42390         argument calculation.
42392 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42394         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42395         Expect macro.
42396         [POSIX] (pthread_attr_t): Do not require type.
42397         [POSIX] (pthread_cond_t): Likewise.
42398         [POSIX] (pthread_condattr_t): Likewise.
42399         [POSIX] (pthread_key_t): Likewise.
42400         [POSIX] (pthread_mutex_t): Likewise.
42401         [POSIX] (pthread_mutexattr_t): Likewise.
42402         [POSIX] (pthread_once_t): Likewise.
42403         [POSIX] (pthread_t): Likewise.
42404         [POSIX-based standards] (pthread_atfork): Expect function.
42406 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42407             Richard Sandiford  <richard@codesourcery.com>
42409         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42410         (swap_endianness_p): New extern variable.
42411         (set_big_endian): New inline function.
42412         (maybe_swap_uint32): Likewise.
42413         (maybe_swap_uint32_array): Likewise.
42414         (maybe_swap_uint32_obstack): Likewise.
42415         * locale/programs/locfile.c: Include <stdbool.h>.
42416         (swap_endianness_p): New variable.
42417         (add_locale_uint32): Call maybe_swap_uint32.
42418         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42419         (write_locale_data): Call maybe_swap_uint32_array.
42420         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42421         maybe_swap_uint32.
42422         (obstack_int32_grow_fast): Likewise.
42423         (output_weightwc): Call maybe_swap_uint32_obstack.
42424         (collate_output): Likewise.
42425         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42426         (OPT_LITTLE_ENDIAN): Likewise.
42427         (options): Add --little-endian and --big-endian options.
42428         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42429         * locale/programs/locarchive.c: Include "locfile.h".
42430         (GET): New macro.
42431         (SET): Likewise.
42432         (INC): Likewise.
42433         (create_archive): Use the new macros to access fields of
42434         structures directly mapped from or written to locale archives.
42435         (oldlocrecentcmp): Likewise.
42436         (enlarge_archive): Likewise.
42437         (insert_name): Likewise.
42438         (add_alias): Likewise.
42439         (add_locale): Likewise.
42440         (delete_locales_from_archive): Likewise.
42441         (show_archive_content): Likewise.
42442         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42443         locale data.
42445 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42447         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42448         http://www.gnu.org/doc/freemanuals.texi.
42449         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42451 2013-09-24  Will Newton  <will.newton@linaro.org>
42453         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42454         macro.
42456 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42458         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42459         unsigned char.
42461 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42463         * manual/threads.texi (POSIX Threads): Fix a typo.
42465 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42467         [BZ #14547]
42468         * string/tst-strcoll-overflow.c: New test case.
42469         * string/Makefile (xtests): Add tst-strcoll-overflow.
42470         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42471         cache if string sizes may cause integer overflow.
42473         [BZ #14547]
42474         * string/strcoll_l.c (coll_seq): New members rule, idx,
42475         save_idx and back_us.
42476         (get_next_seq_nocache): New function.
42477         (do_compare_nocache): New function.
42478         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42479         when malloc fails.
42481 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42483         [BZ #15754]
42484         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42485         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42486         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42488         [BZ #15754]
42489         * elf/Makefile (tests): Add tst-ptrguard1.
42490         (tests-static): Add tst-ptrguard1-static.
42491         (tst-ptrguard1-ARGS): Define.
42492         (tst-ptrguard1-static-ARGS): Define.
42493         * elf/tst-ptrguard1.c: New file.
42494         * elf/tst-ptrguard1-static.c: New file.
42495         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42496         * sysdeps/i386/stackguard-macros.h: Likewise.
42497         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42498         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42499         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42500         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42501         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42502         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42504 2013-09-23  Hector Marco  <hecmargi@upv.es>
42505             Ismael Ripoll  <iripoll@disca.upv.es>
42506             Carlos O'Donell  <carlos@redhat.com>
42508         [BZ #15754]
42509         * sysdeps/generic/stackguard-macros.h: Define
42510         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42511         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42512         Define __pointer_chk_guard_local.
42513         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42514         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42516 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42518         [BZ #15859]
42519         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42521 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42523         * include/string.h (__ffs): Declare as hidden.
42524         * string/ffs.c (__ffs): Define as hidden.
42525         * sysdeps/i386/ffs.c (__ffs): Likewise.
42526         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42527         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42528         * sysdeps/s390/ffs.c (__ffs): Likewise.
42529         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42531 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42533         * NEWS: Mention malloc probes.
42535         * malloc/arena.c (new_heap): New memory_heap_new probe.
42536         (grow_heap): New memory_heap_more probe.
42537         (shrink_heap): New memory_heap_less probe.
42538         (heap_trim): New memory_heap_free probe.
42539         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42540         (systrim): New memory_sbrk_less probe.
42541         * manual/probes.texi: Document them.
42543         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42544         * manual/probes.texi: Document it.
42546         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42547         (__libc_realloc): Add memory_realloc_retry probe.
42548         (__libc_memalign): Add memory_memalign_retry probe.
42549         (__libc_valloc): Add memory_valloc_retry probe.
42550         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42551         (__libc_calloc): Add memory_calloc_retry probe.
42552         * manual/probes.texi: Document them.
42554         * malloc/arena.c (get_free_list): Add probe
42555         memory_arena_reuse_free_list.
42556         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42557         and memory_arena_reuse.
42558         (arena_get2) [!PER_THREAD]: Likewise.
42559         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42560         memory_arena_reuse_realloc.
42561         * manual/probes.texi: Document them.
42563         * malloc/malloc.c (__libc_free): Add
42564         memory_mallopt_free_dyn_thresholds probe.
42565         (__libc_mallopt): Add multiple memory_mallopt probes.
42566         * manual/probes.texi: Document them.
42568         * malloc/malloc.c: Include stap-probe.h.
42569         (__libc_mallopt): Add memory_mallopt probe.
42570         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42571         * manual/probes.texi: New.
42572         * manual/Makefile (chapters): Add probes.
42573         * manual/threads.texi: Set next node.
42575 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42577         [BZ #15963, #13985]
42578         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42579         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42580         Add `Chinese' to `nan' entry name.
42582 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42584         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42585         (POLYNOMIAL): Likewise.
42586         (TAYLOR_SINCOS): Likewise.
42587         (TAYLOR_SLOW): Likewise.
42588         (__sin): Use TAYLOR_SINCOS.
42589         (__cos): Likewise.
42590         (slow): Use TAYLOR_SLOW.
42591         (sloww): Likewise.
42592         (bsloww): Likewise.
42593         (csloww): Likewise.
42595 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42597         * stdlib/strtod_l.c: Fix buffer overrun.
42599 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42601         * benchtests/Makefile (bench): Add sincos.
42602         * benchtests/bench-sincos.c: New file.
42604         * math/libm-test.inc (cos_test_data): New test inputs.
42605         (sin_test_data): Likewise.
42607         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42608         macro.
42609         (__sin): Use it.
42610         (__cos): Likewise.
42611         (slow1): Likewise.
42612         (slow2): Likewise.
42613         (sloww1): Likewise.
42614         (sloww2): Likewise.
42615         (bsloww1): Likewise.
42616         (bsloww2): Likewise.
42617         (cslow2): Likewise.
42618         (csloww1): Likewise.
42619         (csloww2): Likewise.
42621         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42622         function.
42623         (__sin): Use it.
42624         (__cos): Likewise.
42626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42627         gotos.
42628         (__cos): Likewise.
42630 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42632         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42633         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42634         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42635         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42636         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42637         * elf/cache.c (print_entry): Handle the new cache flags.
42639 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42640             Aldy Hernandez  <aldyh@redhat.com>
42642         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42643         Change condition to [_SOFT_FLOAT].
42644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42648         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42650         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42656         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42657         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42659         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42660         declaration.
42662 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42664         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42665         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42666         (__longjmp): Use LOAD_GP to load saved GPRs.
42667         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42668         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42669         (__sigsetjmp): Use SAVE_GP to save GPRs.
42671         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42672         Do not append -msoft-float.
42673         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42675 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42677         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42679 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42681         [BZ #15966]
42682         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42683         (_FPU_GETCW): Use initial "__" on variable and field names but not
42684         on macro parameter name.
42685         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42686         parentheses around reference to macro parameter.
42688 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42690         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42691         prototype.
42692         (ctype_startup): Use uint32_t in cast and sizeof for
42693         ctype->charnames.
42695 2013-09-11  Jia Liu  <proljc@gmail.com>
42697         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42698         __daddr_t_defined.
42699         [__FreeBSD__]: Likewise.
42701 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42703         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42704         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42705         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42706         (strchr): Remove __strchr_sse42 ifunc selection.
42707         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42708         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42710 2013-09-11  Will Newton  <will.newton@linaro.org>
42712         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42713         parameter to RES. Remove hardcoded 1000 value.
42714         * benchtests/bench-skeleton.c (main): Pass RES parameter
42715         to TIMING_INIT and multiply result by 1000.
42717 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42721 2013-09-11  Andreas Schwab  <schwab@suse.de>
42723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42724         if not defined.
42725         (O_TMPFILE) [__USE_GNU]: Define.
42726         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42727         Define.
42729 2013-09-11  Will Newton  <will.newton@linaro.org>
42731         [BZ #15857]
42732         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42733         does not overflow.
42735 2013-09-11  Will Newton  <will.newton@linaro.org>
42737         [BZ #15856]
42738         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42739         does not overflow.
42741 2013-09-11  Will Newton  <will.newton@linaro.org>
42743         [BZ #15855]
42744         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42745         does not overflow.
42747 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42749         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42750         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42755 2013-09-10  Allan McRae  <allan@archlinux.org>
42757         [BZ #15748]
42758         * manual/arith.texi (Parsing of Floats): Clarify
42759         cross-reference.
42761         [BZ #15849]
42762         * manual/install.texi (Running make install): Mention
42763         --enable-pt-chown.
42764         * INSTALL: Regenerated.
42766 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42768         * csu/init-first.c (_init): Remove the !SHARED condition around
42769         FPU control word initialization.
42770         * elf/dl-support.c (_dl_fpu_control): New variable.
42771         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42772         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42773         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42774         * math/test-fpucw-static.c: New file.
42775         * math/test-fpucw-ieee.c: New file.
42776         * math/test-fpucw-ieee-static.c: New file.
42777         * math/Makefile (tests): Add `test-fpucw-ieee' and
42778         `$(tests-static)'.
42779         (tests-static): New variable.
42780         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42781         dependency to...
42782         [($(build-shared),yes)]
42783         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42784         ... this.
42785         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42786         New dependency.
42788 2013-09-09  Allan McRae  <allan@archlinux.org>
42790         [BZ #15939]
42791         * manual/string.texi (Collation Functions): Fix typo in
42792         strcoll example.
42793         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42795         [BZ #15893]
42796         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42798         [BZ #15892]
42799         * libio/memstream.c (open_memstream): Fix memory leak.
42800         * libio/wmemstream.c (open_wmemstream): Likewise.
42802         [BZ #15895]
42803         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42805 2013-09-09  Will Newton  <will.newton@linaro.org>
42807         * malloc/Makefile: Add tst-realloc to tests.
42808         * malloc/tst-realloc.c: New file.
42810 2013-09-09  Allan McRae  <allan@archlinux.org>
42812         [BZ #15844]
42813         * COPYING: Update from GNU website to fix FSF address.
42814         * COPYING.LIB: Likewise.
42816 2013-09-06  David S. Miller  <davem@davemloft.net>
42818         * po/zh_TW.po: Update Chinese (traditional) translation from
42819         translation project.
42821 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42822             Joseph Myers  <joseph@codesourcery.com>
42824         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42825         "localeinfo.h".
42826         (obstack_chunk_alloc): New macro.
42827         (obstack_chunk_free): Likewise.
42828         (record_offset): New function.
42829         (init_locale_data): Likewise.
42830         (align_locale_data): Likewise.
42831         (add_locale_empty): Likewise.
42832         (add_locale_raw_data): Likewise.
42833         (add_locale_raw_obstack): Likewise.
42834         (add_locale_string): Likewise.
42835         (add_locale_wstring): Likewise.
42836         (add_locale_uint32): Likewise.
42837         (add_locale_uint32_array): Likewise.
42838         (add_locale_char): Likewise.
42839         (start_locale_structure): Likewise.
42840         (end_locale_structure): Likewise.
42841         (start_locale_prelude): Likewise.
42842         (end_locale_prelude): Likewise.
42843         (write_locale_data): Take locale_file structure rather than an
42844         iovec.
42845         * locale/programs/locfile.h: Include "obstack.h".
42846         (struct locale_file): Change to store locale file contents instead
42847         of header.
42848         (init_locale_data): New prototype.
42849         (align_locale_data): Likewise.
42850         (add_locale_empty): Likewise.
42851         (add_locale_raw_data): Likewise.
42852         (add_locale_raw_obstack): Likewise.
42853         (add_locale_string): Likewise.
42854         (add_locale_wstring): Likewise.
42855         (add_locale_uint32): Likewise.
42856         (add_locale_uint32_array): Likewise.
42857         (add_locale_char): Likewise.
42858         (start_locale_structure): Likewise.
42859         (end_locale_structure): Likewise.
42860         (start_locale_prelude): Likewise.
42861         (end_locale_prelude): Likewise.
42862         (write_locale_data): Update prototype.
42863         * locale/programs/3level.h (struct TABLE): Remove result field.
42864         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42865         Use new locale_file interface.
42866         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42867         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42868         * locale/programs/ld-address.c (address_output): Use new
42869         locale_file interface.
42870         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42871         NO_ADD_LOCALE.
42872         (collate_finish): Don't call collseq_table_finalize.
42873         (collate_output): Use new locale_file interface.
42874         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42875         in file.
42876         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42877         (TABLE): Move defines earlier in file.
42878         (ELEMENT): Likewise.
42879         (DEFAULT): Likewise.
42880         (wctrans_table_add): Move macro and inline function earlier in
42881         file.
42882         (struct wctype_table): Move type earlier in file.
42883         (add_locale_wctype_table): New static prototype.
42884         (struct locale_ctype_t): Use logical types instead of struct iovec
42885         pointers for members.
42886         (ctype_output): Use new locale_file interface.
42887         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42888         new locale_file interface.
42889         (allocate_arrays): Update for use of new locale_file interface.
42890         * locale/programs/ld-identification.c (identification_output): Use
42891         new locale_file interface.
42892         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42893         * locale/programs/ld-messages.c (messages_output): Likewise.
42894         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42895         * locale/programs/ld-name.c (name_output): Likewise.
42896         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42897         * locale/programs/ld-paper.c (paper_output): Likewise.
42898         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42899         * locale/programs/ld-time.c (time_output): Likewise.
42901 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42903         * benchtests/Makefile: Add memrchr benchmark.
42904         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42905         benchmark as memrchr.
42906         * benchtests/bench-memrchr-ifunc.c: New file.
42907         * benchtests/bench-memrchr.c: New file.
42909 2013-09-06   Will Newton  <will.newton@linaro.org>
42911         * benchtests/Makefile (string-bench): Add memcpy.
42913 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42914             Cong Wang  <amwang@redhat.com>
42916         [BZ #15850]
42917         * sysdeps/unix/sysv/linux/bits/in.h
42918         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42919         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42920         before __USE_KERNEL_IPV6_DEFS uses.
42921         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42922         IPPROTO_BEETPH.
42923         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42924         sockaddr_in6, or ipv6_mreq.
42926 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42928         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42929         memory access for final bytes in some large inputs.
42930         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42932 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42934         * string/test-memrchr.c: New file.
42935         * string/test-memrchr-ifunc.c: New file.
42936         * string/Makefile: Add new memrchr testcase.
42938 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42940         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42941         fanotify_init returns EPERM.
42943 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42945         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42946         errors.
42947         (top level): Treat second token from macro or constant entries for
42948         allowed headers as allowed.
42949         * include/complex.h: Condition internal declarations on
42950         [!_ISOMAC].
42951         * include/fenv.h: Condition include of <stdbool.h> and internal
42952         declarations on [!_ISOMAC].
42954 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42956         [BZ #15923]
42957         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42959 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42961         * configure.in (--enable-versioning): Remove configure option.
42962         (libc_cv_asm_symver_directive): Remove configure test.
42963         (libc_cv_ld_version_script_option): Likewise.
42964         (VERSIONING): Remove variable and AC_SUBST.
42965         (DO_VERSIONING): Remove AC_DEFINE.
42966         * configure: Regenerated.
42967         * config.h.in (DO_VERSIONING): Remove macro.
42968         * Makerules [$(versioning) = yes]: Change conditionals to
42969         [$(build-shared) = yes].
42970         * config.make.in (versioning): Remove variable.
42971         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42972         [$(build-shared) = yes].
42973         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42974         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42975         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42976         [$(build-shared) = yes].
42977         * extra-lib.mk [$(versioning) = yes]: Likewise.
42978         * hurd/Makefile [$(versioning) = yes]: Likewise.
42979         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42980         [SHARED].
42981         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42982         [SHARED].
42983         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42984         [SHARED && !NO_HIDDEN].
42985         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42986         [SHARED].
42987         [SHARED && DO_VERSIONING]: Likewise..
42988         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42989         [$(build-shared) = yes].
42990         * manual/install.texi (--disable-versioning): Remove
42991         documentation.
42992         * INSTALL: Regenerated.
42993         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42994         to [SHARED].
42995         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42996         [$(build-shared) = yes].
42997         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42998         * sysdeps/i386/i686/multiarch/strstr-c.c
42999         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43000         [SHARED && !NO_HIDDEN].
43001         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43002         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43003         * sysdeps/powerpc/powerpc32/dl-machine.c
43004         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43005         * sysdeps/powerpc/powerpc32/sysdep.h
43006         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43007         to [SHARED && PIC && !NO_HIDDEN].
43008         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43009         conditional to [SHARED].
43011 2013-09-04   Will Newton  <will.newton@linaro.org>
43013         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43014         * benchtests/bench-string.h: Include bench-timing.h instead
43015         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43016         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43017         call to HP_TIMING_DIFF_INIT.
43018         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43019         instead of hp-timing.h macros.
43020         * benchtests/bench-memchr.c: Likewise.
43021         * benchtests/bench-memcmp.c: Likewise.
43022         * benchtests/bench-memcpy.c: Likewise.
43023         * benchtests/bench-memmem.c: Likewise.
43024         * benchtests/bench-memmove.c: Likewise.
43025         * benchtests/bench-memset.c: Likewise.
43026         * benchtests/bench-rawmemchr.c: Likewise.
43027         * benchtests/bench-strcasecmp.c: Likewise.
43028         * benchtests/bench-strcasestr.c: Likewise.
43029         * benchtests/bench-strcat.c: Likewise.
43030         * benchtests/bench-strchr.c: Likewise.
43031         * benchtests/bench-strcmp.c: Likewise.
43032         * benchtests/bench-strcpy.c: Likewise.
43033         * benchtests/bench-strcpy_chk.c: Likewise.
43034         * benchtests/bench-strlen.c: Likewise.
43035         * benchtests/bench-strncasecmp.c: Likewise.
43036         * benchtests/bench-strncat.c: Likewise.
43037         * benchtests/bench-strncmp.c: Likewise.
43038         * benchtests/bench-strncpy.c: Likewise.
43039         * benchtests/bench-strnlen.c: Likewise.
43040         * benchtests/bench-strpbrk.c: Likewise.
43041         * benchtests/bench-strrchr.c: Likewise.
43042         * benchtests/bench-strspn.c: Likewise.
43043         * benchtests/bench-strstr.c: Likewise.
43045 2013-09-04  Will Newton  <will.newton@linaro.org>
43047         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43049 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43051         [BZ #15427]
43052         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43053         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43054         * math/libm-test.inc (lgamma_test_data): Add more tests.
43055         * sysdeps/i386/fpu/libm-test-ulps: Update.
43056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43058 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43060         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43061         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43062         Add ifunc.
43063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43064         Add strcmp-sse2-unaligned
43065         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43067 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43069         * Versions.def (libc): Add GLIBC_2.19.
43071 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43073         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43074         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43076 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43078         [BZ #14155]
43079         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43080         intermediate calculations in recurrence.
43081         (__ieee754_ynf): Likewise.
43082         * math/libm-test.inc (jn_test_data): Do not allow spurious
43083         underflow exception.  Add more tests.
43084         (yn_test_data): Add more tests.
43085         * sysdeps/i386/fpu/libm-test-ulps: Update.
43086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43088 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43090         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43092 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43094         * csu/init-first.c: Fix then/than typos.
43095         * locale/programs/ld-collate.c: Likewise.
43096         * locale/programs/linereader.h: Likewise.
43097         * manual/charset.texi: Likewise.
43098         * manual/filesys.texi: Likewise.
43099         * manual/stdio.texi: Likewise.
43100         * manual/string.texi: Likewise.
43101         * stdlib/fmtmsg.c: Likewise.
43102         * sysdeps/i386/stpncpy.S: Likewise.
43103         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43104         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43105         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43106         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43108 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43110         * elf/dl-open.c: Fix typos.
43111         * iconvdata/gbbig5.c: Likewise.
43112         * iconvdata/iso-2022-jp.c: Likewise.
43113         * iconv/gconv_int.h: Likewise.
43114         * iconv/loop.c: Likewise.
43115         * nis/rpcsvc/nis.h: Likewise.
43116         * resolv/ns_name.c: Likewise.
43117         * stdio-common/vfscanf.c: Likewise.
43118         * streams/stropts.h: Likewise.
43119         * sunrpc/rpc_thread.c: Likewise.
43120         * sysdeps/i386/strpbrk.S: Likewise.
43121         * sysdeps/ieee754/k_standard.c: Likewise.
43122         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43124         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43125         * sysdeps/mach/hurd/profil.c: Likewise.
43126         * sysdeps/s390/dl-procinfo.h: Likewise.
43127         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43128         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43129         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43130         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43131         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43133 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43135         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43138 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43140         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43141         aix specific files.
43142         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43143         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43144         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43145         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43146         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43147         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43148         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43149         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43151 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43152             Roland McGrath  <roland@hack.frob.com>
43154         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43155         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43157 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43159         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43160         __executable_start symbol instead of _start.
43162 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43164         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43165         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43166         Move macros to...
43167         * sysdeps/gnu/ldsodefs.h: ... this new file.
43169         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43170         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43171         instead of ELFOSABI_LINUX.
43173         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43174         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43175         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43176         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43177         Likewise.
43178         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43179         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43180         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43181         Likewise.
43182         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43183         (ibm_extended_long_double): Add ieee_nan member.
43184         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43185         (do_test): New function.
43187         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43188         TEST_TRUNC.
43189         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43190         functions, renamed from truncdfsf_test, trunctfsf_test,
43191         trunctfdf_test.
43192         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43193         functions.
43194         (do_test): Run all these.
43196 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43198         * argp/argp-help.c: Fix typos.
43199         * argp/argp-parse.c: Likewise.
43200         * debug/backtracesyms.c: Likewise.
43201         * elf/elf.h: Likewise.
43202         * malloc/malloc.c: Likewise.
43203         * nis/nis_print.c: Likewise.
43204         * resolv/res_comp.c: Likewise.
43205         * stdlib/stdlib.h: Likewise.
43206         * sunrpc/clnt_tcp.c: Likewise.
43207         * sunrpc/clnt_udp.c: Likewise.
43208         * sunrpc/clnt_unix.c: Likewise.
43209         * sysdeps/unix/bsd/ptsname.c: Likewise.
43210         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43211         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43213         Likewise.
43214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43215         Likewise.
43216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43217         Likewise.
43218         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43220 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43222         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43225 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43227         [BZ #15897]
43228         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43229         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43230         ($(objpfx)bug-dl-leaf): New rule.
43231         ($(objpfx)bug-dl-leaf.so): Likewise.
43232         ($(objpfx)bug-dl-leaf.out): Likewise.
43233         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43234         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43235         * dlfcn/bug-dl-leaf.c: New test.
43236         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43237         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43238         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43239         (dlclose): Likewise.
43240         (dlmopen): Likewise.
43242 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43244         * include/netdb.h [!_ISOMAC]:
43245         Don't include <tls.h>.
43246         (h_errno, __libc_h_errno): Move declaration and macros out of
43247         [_LIBC_REENTRANT].
43249         * include/resolv.h [_RESOLV_H_]:
43250         Don't include <tls.h>.
43251         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43252         * resolv/res_libc.c: Don't include <tls.h>.
43253         (_res): Use __attribute__ ((nocommon)) in place of
43254         __attribute__ ((section (".bss"))).
43256         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43257         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43259         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43261         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43262         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43264         * resolv/res_mkquery.c: Include <sys/time.h>.
43266         * inet/ifreq.c: Moved to ...
43267         * sysdeps/unix/ifreq.c: ... here.
43268         * inet/ifreq.c: New file, true stub version.
43270         * socket/sa_len.c: New file.
43271         * socket/Makefile (aux): Add it.
43272         * sysdeps/unix/sysv/linux/Makefile
43273         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43274         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43275         and #include <socket/sa_len.c>.
43276         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43277         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43279         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43280         * bits/socket.h: ... here.
43282         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43283         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43284         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43286 2013-08-27  Andreas Schwab  <schwab@suse.de>
43288         [BZ #15736]
43289         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43290         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43291         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43292         * string/test-strcasecmp.c (test_main): Run tests in several
43293         locales.
43294         * string/test-strncasecmp.c (test_main): Likewise.
43296         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43297         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43298         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43299         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43300         (__strncasecmp_ssse3) [PIC]: Likewise.
43302 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43304         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43306         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43307         instead of explicitly declaring xdecrypt.
43308         * nis/nss_nis/nis-publickey.c: Likewise.
43310 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43312         [BZ #15890]
43313         * nscd/aicache.c: Include res_hconf.h.
43314         (addhstaiX): Initialize res_hconf.
43316 2013-08-26  Andreas Schwab  <schwab@suse.de>
43318         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43319         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43321 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43323         * nscd/aicache.c (addhstaiX): Fix indentation.
43325 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43327         * configure.ac: Quote $build_pt_chown test.
43328         * configure: Regenerated.
43330 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43332         [BZ #15532]
43333         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43334         * math/s_cexpf.c (__cexpf): Likewise.
43335         * math/s_cexpl.c (__cexpl): Likewise.
43336         * math/libm-test.inc (cexp_test_data): Correct expected return
43337         value for NaN + i0.  Add another test.
43339 2013-08-22  David S. Miller  <davem@davemloft.net>
43341         * po/ca.po: Update Catalan translation from translation project.
43342         * po/uk.po: Add Ukrainian translations from translation project.
43344 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43346         [BZ #15797]
43347         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43348         is infinite, not alongside NaN test.
43349         * math/s_fdimf.c (__fdimf): Likewise.
43350         * math/s_fdiml.c (__fdiml): Likewise.
43351         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43352         errno is unchanged.
43354 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43356         * argp/argp-help.c: Fix typos.
43357         * crypt/speeds.c: Likewise.
43358         * csu/check_fds.c: Likewise.
43359         * elf/dl-load.c: Likewise.
43360         * elf/dl-open.c: Likewise.
43361         * elf/reldep3.c: Likewise.
43362         * elf/reldep.c: Likewise.
43363         * elf/sprof.c: Likewise.
43364         * iconv/iconv_charmap.c: Likewise.
43365         * iconv/skeleton.c: Likewise.
43366         * iconv/strtab.c: Likewise.
43367         * io/lockf64.c: Likewise.
43368         * libio/libioP.h: Likewise.
43369         * resolv/gai_notify.c: Likewise.
43370         * resolv/ns_name.c: Likewise.
43371         * resolv/ns_samedomain.c: Likewise.
43372         * resolv/res_send.c: Likewise.
43373         * stdlib/random.c: Likewise.
43374         * sunrpc/rpc/xdr.h: Likewise.
43375         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43376         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43383         * sysdeps/mach/hurd/check_fds.c: Likewise.
43384         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43385         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43386         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43387         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43388         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43389         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43390         * sysdeps/pthread/aio_notify.c: Likewise.
43391         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43392         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43393         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43394         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43395         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43397 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43399         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43400         version if bit_Slow_SSE4_2 is set.
43401         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43402         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43404 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43406         [BZ #15867]
43407         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43408         trampoline stack frame information.
43409         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43410         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43411         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43412         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43413         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43414         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43415         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43416         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43417         sa_flags value.
43418         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43419         interrupting a syscall and set with option SA_SIGINFO.
43421 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43423         [BZ #15531]
43424         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43425         argument is infinite.
43426         * math/s_cprojf.c (__cprojf): Likewise.
43427         * math/s_cprojl.c (__cprojl): Likewise.
43428         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43429         * math/libm-test.inc (cproj_test_data): Add more tests.
43431         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43433         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43434         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43435         size.  Use __ffs to determine corresponding shift.
43437 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43438             Roland McGrath  <roland@hack.frob.com>
43440         * Makefile (INSTALL): Remove trailing blank lines from output of
43441         makeinfo.
43443 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43445         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43446         Align 32 bit compat elf_greg to 8 bytes.
43448 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43450         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43452 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43454         * string/strcoll_l.c (coll_seq): New structure.
43455         (get_next_seq_cached): New function.
43456         (get_next_seq): New function.
43457         (do_compare): New function.
43458         (STRCOLL): Use GNU style definition.  Simplify implementation
43459         by using get_next_seq, get_next_seq_cached and do_compare.
43461 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43463         [BZ #14699]
43464         CVE-2013-4237
43465         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43466         member.
43467         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43468         member.
43469         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43470         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43471         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43472         conditional.
43473         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43474         GETDENTS_64BIT_ALIGNED.
43475         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43476         * manual/filesys.texi (Reading/Closing Directory): Document
43477         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43478         strongly.
43479         * manual/conf.texi (Limits for Files): Add portability note to
43480         NAME_MAX, PATH_MAX.
43481         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43483 2013-08-13  Andreas Schwab  <schwab@suse.de>
43485         [BZ #15749]
43486         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43487         of fabs.
43488         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43489         LDBL_MAX_EXP >= 16384]: Add tests for it.
43491 2013-08-12  David S. Miller  <davem@davemloft.net>
43493         * version.h (RELEASE): Set to "development".
43494         (VERSION): Set to "2.18.90".
43495         * NEWS: Add 2.19 section.
43497 2013-08-03  David S. Miller  <davem@davemloft.net>
43499         * po/ko.po: Update Korean translation from translation project.
43501 2013-08-01  David S. Miller  <davem@davemloft.net>
43503         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43504         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43505         Bilka.
43507 2013-07-30  David S. Miller  <davem@davemloft.net>
43509         * po/fr.po: Update French translation from translation project.
43511 2013-07-28  David S. Miller  <davem@davemloft.net>
43513         * po/cs.po: Update Czech translation from translation project.
43515         * po/sv.po: Update Swedish translation from translation project.
43517 2013-07-27  David S. Miller  <davem@davemloft.net>
43519         * po/eo.po: Update Esperanto translation from translation project.
43521         * po/vi.po: Update Vietnamese translation from translation project.
43523         * po/de.po: Update German translation from translation project.
43525 2013-07-26  David S. Miller  <davem@davemloft.net>
43527         * po/bg.po: Update Bulgarian translation from translation project.
43529         * po/nl.po: Update Dutch translation from translation project.
43530         * po/pl.po: Update Polish translation from translation project.
43531         * po/ru.po: Update Russian translation from translation project.
43533 2013-07-24  David S. Miller  <davem@davemloft.net>
43535         * po/libc.pot: Update.
43537 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43539         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43540         variable page size.
43541         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43542         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43543         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43545 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43547         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43549 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43550             Andreas Schwab  <schwab@suse.de>
43551             Roland McGrath  <roland@hack.frob.com>
43552             Joseph Myers  <joseph@codesourcery.com>
43553             Carlos O'Donell  <carlos@redhat.com>
43555         [BZ #15755]
43556         * config.h.in: Define HAVE_PT_CHOWN.
43557         * config.make.in (build-pt-chown): New variable.
43558         * configure.in (--enable-pt_chown): New configure option.
43559         * configure: Regenerate.
43560         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43561         build-pt-chown is enabled.
43562         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43563         pt_chown to fix pty ownership.
43564         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43565         CLOSE_ALL_FDS.
43566         * manual/install.texi (Configuring and compiling): Mention
43567         --enable-pt_chown. Add @findex for grantpt.
43568         * INSTALL: Regenerate.
43570 2013-07-20  David S. Miller  <davem@davemloft.net>
43572         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43573         difference between 32-bit and 64-bit.
43575 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43577         [BZ #15711]
43578         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43579         Avoid system header dependency with -ffreestanding.
43580         ($(objpfx)bits/syscall%d): Likewise.
43582 2013-07-13  David S. Miller  <davem@davemloft.net>
43584         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43585         underflows from atanl/atan2l due to bug 15319.
43586         (casinh_test_data): Likewise.
43588 2013-07-07  David S. Miller  <davem@davemloft.net>
43590         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43592 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43594         * sysdeps/i386/fpu/libm-test-ulps: Update.
43595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43597 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43599         * configure.in (--enable-lock-elision): Fix message text.
43600         * INSTALL: Regenerate.
43601         * configure: Regenerate.
43603 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43607 2013-07-03  Andreas Jaeger  <aj@suse.de>
43609         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43610         define.
43611         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43612         (ptrace_peeksiginfo_args): Add.
43613         (__ptrace_peeksiginfo_flags): Add.
43614         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43616         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43618 2013-07-03  Allan McRae  <allan@archlinux.org>
43620         * sysdeps/i386/fpu/libm-test-ulps: Update.
43622 2013-07-02  David S. Miller  <davem@davemloft.net>
43624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43626 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43630 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43632         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43635 2013-07-02  Andi Kleen <ak@linux.intel.com>
43637         * config.h.in (ENABLE_LOCK_ELISION): Add.
43638         * configure.in (--enable-lock-elision): Add option.
43639         * manual/install.texi: Document --enable lock elision.
43640         * configure: Regenerate
43641         * INSTALL: Regenerate.
43643 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43645         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43646         SSE4.2 strcasecmp for libc.a.
43647         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43649 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43651         [BZ #13304]
43652         * soft-fp/op-common.h (_FP_FMA): New macro.
43653         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43654         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43655         (_FP_MUL_MEAT_1_imm): ... here.
43656         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43657         (_FP_MUL_MEAT_1_wide): ... here.
43658         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43659         (_FP_MUL_MEAT_1_hard): ... here.
43660         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43661         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43662         (_FP_MUL_MEAT_2_wide): ... here.
43663         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43664         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43665         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43666         (_FP_MUL_MEAT_2_gmp): ... here.
43667         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43668         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43669         (_FP_MUL_MEAT_4_wide): ... here.
43670         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43671         (_FP_MUL_MEAT_4_gmp): ... here.
43672         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43673         (_FP_WFRACBITS_DW_S): Likewise.
43674         (_FP_WFRACXBITS_DW_S): Likewise.
43675         (_FP_HIGHBIT_DW_S): Likewise.
43676         (FP_FMA_S): Likewise.
43677         (_FP_FRAC_HIGH_DW_S): Likewise.
43678         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43679         (_FP_WFRACBITS_DW_D): Likewise.
43680         (_FP_WFRACXBITS_DW_D): Likewise.
43681         (_FP_HIGHBIT_DW_D): Likewise.
43682         (FP_FMA_D): Likewise.
43683         (_FP_FRAC_HIGH_DW_D): Likewise.
43684         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43685         (_FP_WFRACBITS_DW_E): Likewise.
43686         (_FP_WFRACXBITS_DW_E): Likewise.
43687         (_FP_HIGHBIT_DW_E): Likewise.
43688         (FP_FMA_E): Likewise.
43689         (_FP_FRAC_HIGH_DW_E): Likewise.
43690         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43691         (_FP_WFRACBITS_DW_Q): Likewise.
43692         (_FP_WFRACXBITS_DW_Q): Likewise.
43693         (_FP_HIGHBIT_DW_Q): Likewise.
43694         (FP_FMA_Q): Likewise.
43695         (_FP_FRAC_HIGH_DW_Q): Likewise.
43696         * soft-fp/fmasf4.c: New file.
43697         * soft-fp/fmadf4.c: Likewise.
43698         * soft-fp/fmatf4.c: Likewise.
43700 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43703         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43704         Silvermont.
43705         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43706         macro.
43707         (index_Slow_SSE4_2): Likewise.
43708         (index_Prefer_PMINUB_for_stringop): Likewise.
43709         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43710         bit_Slow_SSE4_2 is set.
43711         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43712         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43714 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43716         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43717         rtld_global._dl_hwcap2.
43718         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43719         POWER8.
43720         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43721         POWER8 feature descriptions defined in _dl_hwcap2.
43722         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43723         string handling for POWER8 feature bits.
43724         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43725         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43726         _dl_powerpc_cap_flags.
43727         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43728         * sysdeps/powerpc/rtld-global-offsets.sym
43729         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43730         _dl_hwcap2 in the rtld_global_ro structure.
43732 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43734         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43735         hardware capabilities in support of AT_HWCAP2.
43736         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43737         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43738         GLRO(dl_hwcap2).
43739         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43740         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43741         explicitly the unknown a_type display mechanism is used.
43742         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43743         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43744         struct member.
43745         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43746         to macro prototype for AT_HWCAP2 support.
43747         * sysdeps/i386/dl-procinfo.h: Likewise.
43748         * sysdeps/s390/dl-procinfo.h: Likewise.
43749         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43750         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43751         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43752         return -1 for unknown a_type display fallback.
43753         * sysdeps/sparc/dl-procinfo.h: Likewise.
43754         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43755         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43757 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43759         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43760         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43762 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43764         [BZ #12492]
43765         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43766         mprotect making __stack_prot writable.
43768 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43769             Joseph Myers  <joseph@codesourcery.com>
43771         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43772         as being properly aligned.
43774 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43776         * dlfcn/modstatic5.c: New file.
43777         * dlfcn/tststatic5.c: New file.
43778         * dlfcn/Makefile (tests): Add tststatic5.
43779         (tests-static): Likewise.
43780         (modules-names): Add modstatic5.
43781         (tststatic5-ENV): New variable.
43782         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43784         [BZ #15022]
43785         * elf/dl-support.c (_dl_main_map): New variable.
43786         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43787         (_dl_nns, _dl_load_adds): Set to 1.
43788         (_dl_initial_searchlist): Refer to _dl_main_map.
43789         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43790         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43791         call to _dl_get_origin.
43792         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43793         around call_map.
43794         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43795         * dlfcn/modstatic3.c: New file.
43796         * dlfcn/tststatic3.c: New file.
43797         * dlfcn/tststatic4.c: New file.
43798         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43799         (tests-static): Likewise.
43800         (modules-names): Add modstatic3.
43801         (tststatic3-ENV, tststatic4-ENV): New variables.
43802         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43803         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43805 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43807         * configure.in (CC): Require GCC version 4.4 or later.
43808         * configure: Regenerated.
43809         * manual/install.texi (Tools for Compilation): Update GCC version
43810         requirement.
43811         * INSTALL: Regenerated.
43813 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43815         [BZ #15674]
43816         * string/test-memcmp.c (check2): New.
43817         (main): Call check2.
43819         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43821 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43823         [BZ #15022]
43824         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43825         over to...
43826         (dl_open_worker) [!SHARED]: ... here.
43828 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43830         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43832 2013-06-25  Richard Henderson  <rth@redhat.com>
43834         * locale/programs/locarchive.c: Include <libc-internal.h>
43836 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43838         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43839         trailing whitespace removed.
43841 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43843         [BZ #10283]
43844         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43845         * locale/programs/locarchive.c: Include libc-mmap.h.
43846         (prepare_address_space): Take two new outputs (the mmap base and len).
43847         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43848         values.
43849         (create_archive): Declare new mmap base and len values for
43850         prepare_address_space, and store the result in ah.
43851         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43852         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43853         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43854         Declare new mmap base and len values for
43855         prepare_address_space, and store the result in new_ah.
43856         (open_archive): Declare new mmap base and len values for
43857         prepare_address_space, and store the result in ah.
43858         (close_archive): If ah->mmap_base is not NULL, use that and
43859         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43860         * sysdeps/generic/libc-mmap.h: New file.
43862 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43864         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43865         (ALIGN_UP): Likewise.
43866         (PTR_ALIGN_DOWN): Likewise.
43867         (PTR_ALIGN_UP): Likewise.
43869 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43871         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43872         entry mapped to PPC_PLATFORM_POWER8.
43873         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43874         POWER8.
43875         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43876         (_dl_string_platform): Add case for exporting platform position for
43877         POWER8.
43878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43879         search path to sysdeps/powerpc/powerpc32/power8 directory.
43880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43881         search path to sysdeps/powerpc/powerpc64/power8 directory.
43882         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43883         power7 directories.
43884         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43885         power7 directories.
43887 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43889         * INSTALL: Regenerate.
43891         * nscd/connections.c (nscd_init): Fix comment.
43893 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43895         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43897         [BZ #15667]
43898         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43899         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43901 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43903         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43904         DL_DST_REQ_STATIC.
43905         (DL_DST_REQ_STATIC): Remove macro.
43907 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43909         [BZ #7006]
43910         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43911         with a shift of 0 bits.
43913 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43915         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43916         $(tststatic-ENV).
43918 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43920         [BZ #15655]
43921         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43923 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43925         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43926         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43927         accepts -fno-tree-loop-distribute-patterns.
43928         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43929         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43930         recursive call.
43931         * string/memset.c (memset): Likewise.
43932         * string/test-memmove.c (simple_memmove): Disable loop transformation
43933         to library calls.
43934         * string/test-memset.c (simple_memset): Likewise.
43935         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43936         * benchtests/bench-memset.c (simple_memset): Likewise.
43937         * configure: Regenerated.
43939 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43941         * math/test-misc.c (main): Ignore fesetround failure when failures
43942         of subsequent rounding tests would be ignored.
43944         [BZ #15654]
43945         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43946         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43947         * math/fegetenv.c (__fegetenv): Return 0.
43948         * math/fegetexcept.c (fegetexcept): Return 0.
43949         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43950         FE_TONEAREST.
43951         * math/feholdexcpt.c (feholdexcept): Return 0.
43952         * math/fesetenv.c (__fesetenv): Return 0.
43953         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43954         argument FE_TONEAREST.
43955         * math/feupdateenv.c (__feupdateenv): Return 0.
43956         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43958 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43960         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43961         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43962         ($(objpfx)rtld-%.os rules): Use them.
43964 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43966         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43967         fields.
43969 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43971         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43972         length of target pattern, then descending length of dependency pattern.
43973         * configure.in (AWK): Require gawk 3.1.2 or newer.
43974         * manual/install.texi (Tools for Compilation): Say that we do.
43975         * configure: Regenerated.
43977         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43978         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43979         * scripts/sysd-rules.awk: ... this new script.
43980         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43981         than a glob-style pattern.
43983 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43985         * math/test-misc.c (main): Do not treat incorrectly rounded
43986         conversions as failure unless ROUNDING_TESTS passes.
43988 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43990         [BZ #15631]
43991         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43992         restore exception state around main square root computation, then
43993         check for inexactness explicitly.
43995         * math/libm-test.inc (fma_test_data): Add another test.
43997 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43999         * manual/threads.texi (Non-POSIX Extensions): New document
44000         node.  Document pthread_getattr_default_np and
44001         pthread_setattr_default_np.
44003         * Versions.def (libpthread): Add GLIBC_2.18.
44004         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44006         Likewise.
44007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44008         Likewise.
44009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44010         Likewise.
44011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44012         Likewise.
44013         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44014         Likewise.
44015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44016         Likewise.
44017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44018         Likewise.
44019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44020         Likewise.
44021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44022         Likewise.
44024 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44027         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44029 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44030             H.J. Lu  <hjl.tools@gmail.com>
44032         [BZ #15627]
44033         * sysdeps/x86_64/rtld-memset.c: Remove file.
44034         * sysdeps/x86_64/rtld-memset.S: New file.
44036 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44038         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44039         (test_in_one_mode): Take arguments for whether the rounding mode
44040         is supported for each floating-point type.
44041         (do_test): Pass new arguments to test_in_one_mode using
44042         ROUNDING_TESTS.
44044 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44046         * posix/tst-waitid.c (do_test): Distinguish different instances of
44047         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44048         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44049         before entering the kernel for waitpid.
44051 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44053         * NEWS: Fix note on clock function precision.  Text by Roland
44054         McGrath.
44056 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44058         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44059         it into place only when and if the sanity check passes.
44061 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44063         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44064         output for whether conversion result is exact.  Take argument
44065         indicating whether type is IBM long double.
44066         (round_for_all): Change need_exact field to ibm_ld.
44067         * stdlib/tst-strtod-round.c (struct exactness): New type.
44068         (struct test): Change bool ld_ok field to struct exactness exact.
44069         (TEST): Update all definitions for change to field.
44070         (tests): Regenerate array contents.
44071         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44072         field value.  Check for IBM long double here.
44073         (do_test): Update calls to test_in_one_mode.
44075 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44077         [BZ #12515]
44078         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44079         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44081 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44083         [BZ #15605]
44084         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44085         generated by the compiler on loop optimizations.
44086         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44087         general definitions.
44089 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44091         * math/bug-nextafter.c: Include <math-tests.h>.
44092         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44093         the relevant type.
44094         * math/bug-nexttoward.c: Include <math-tests.h>.
44095         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44096         the relevant type.
44097         * math/test-misc.c: Include <math-tests.h>.
44098         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44099         the relevant type.
44101 2013-06-12  Andreas Jaeger  <aj@suse.de>
44103         * po/ia.po: Update Interlingua translation from translation
44104         project.
44106 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44108         * include/fenv.h: Include stdbool.h.
44109         (struct rm_ctx): New structure.
44110         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44111         Define macro.
44112         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44113         (SET_RESTORE_ROUNDF): Likewise.
44114         (SET_RESTORE_ROUNDL): Likewise.
44115         (SET_RESTORE_ROUND_NOEX): Likewise.
44116         (SET_RESTORE_ROUND_NOEXF): Likewise.
44117         (SET_RESTORE_ROUND_NOEXL): Likewise.
44118         (SET_RESTORE_ROUND_53BIT): Likewise.
44119         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44120         (libc_feresetround_noexf_ctx): Likewise.
44121         (libc_feresetround_noexl_ctx): Likewise.
44122         (libc_feholdsetround_53bit_ctx): Likewise.
44123         (libc_feresetround_53bit_ctx): Likewise.
44124         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44125         (libc_feholdexcept_setround_sse_ctx): New function.
44126         (libc_fesetenv_sse_ctx): Likewise.
44127         (libc_feupdateenv_sse_ctx): Likewise.
44128         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44129         (libc_feholdexcept_setround_387_ctx): Likewise.
44130         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44131         (libc_feholdsetround_387_prec_ctx): Likewise.
44132         (libc_feholdsetround_387_ctx): Likewise.
44133         (libc_feholdsetround_387_53bit_ctx): Likewise.
44134         (libc_feholdsetround_sse_ctx): Likewise.
44135         (libc_feresetround_sse_ctx): Likewise.
44136         (libc_feresetround_387_ctx): Likewise.
44137         (libc_feupdateenv_387_ctx): Likewise.
44138         (libc_feholdexcept_setroundf_ctx): Define macro.
44139         (libc_fesetenvf_ctx): Likewise.
44140         (libc_feupdateenvf_ctx): Likewise.
44141         (libc_feholdsetroundf_ctx): Likewise.
44142         (libc_feresetroundf_ctx): Likewise.
44143         (libc_feholdexcept_setround_ctx): Likewise.
44144         (libc_fesetenv_ctx): Likewise.
44145         (libc_feupdateenv_ctx): Likewise.
44146         (libc_feholdsetround_ctx): Likewise.
44147         (libc_feresetround_ctx): Likewise.
44148         (libc_feholdexcept_setroundl_ctx): Likewise.
44149         (libc_feupdateenvl_ctx): Likewise.
44150         (libc_feholdsetroundl_ctx): Likewise.
44151         (libc_feresetroundl_ctx): Likewise.
44152         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44153         (libc_feresetround_53bit_ctx): Likewise.
44155 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44157         * locale/iso-639.def: Convert to UTF-8.
44159 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44161         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44162         (EXCEPTION_TESTS_double): Likewise.
44163         (EXCEPTION_TESTS_long_double): Likewise.
44164         (EXCEPTION_TESTS): Likewise.
44165         * math/libm-test.inc (test_exceptions): Only test exceptions if
44166         EXCEPTION_TESTS (FLOAT).
44168 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44170         * benchtests/Makefile (string-bench): Add strcpy_chk and
44171         stpcpy_chk.
44172         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44173         * benchtests/bench-stpcpy_chk.c: New file.
44174         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44175         * benchtests/bench-strcpy_chk.c: New file.
44176         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44177         code.
44178         (do_test): Likewise.
44180 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44182         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44183         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44184         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44185         with tabs where appropriate.
44186         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44187         dl-procinfo.h.
44188         [PPC_PLATFORM_PPC440]: Likewise.
44189         [PPC_PLATFORM_PPC464]: Likewise.
44190         [PPC_PLATFORM_PPC476]: Likewise.
44191         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44192         ppc464, and ppc476 platform strings merging from ports/
44193         dl-procinfo.h.
44195 2013-06-11  Andreas Schwab  <schwab@suse.de>
44197         [BZ #14991]
44198         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44199         (from_ucs4_idx): Regenerate.
44200         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44201         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44202         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44203         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44204         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44205         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44206         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44207         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44208         from FROM_LOOP and TO_LOOP specific macros.
44209         (BODY): Handle combining characters.
44210         * iconvdata/BIG5HKSCS.irreversible: Update.
44211         * iconvdata/BIG5HKSCS.precomposed: New file.
44212         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44213         characters.
44214         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44216 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44218         * include/sys/time.h: Fix indentation and add copyright header.
44220         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44221         (do_test): Likewise.
44222         * string/test-memchr.c (do_one_test): Likewise.
44223         (do_test): Likewise.
44224         * string/test-memcmp.c (do_one_test): Likewise.
44225         (do_test): Likewise.
44226         * string/test-memcpy.c (do_one_test): Likewise.
44227         (do_test): Likewise.
44228         * string/test-memmem.c (do_one_test): Likewise.
44229         (do_test): Likewise.
44230         (do_random_tests): Likewise.
44231         * string/test-memmove.c (do_one_test): Likewise.
44232         (do_test): Likewise.
44233         * string/test-memset.c (do_one_test): Likewise.
44234         (do_test): Likewise.
44235         * string/test-rawmemchr.c (do_one_test): Likewise.
44236         (do_test): Likewise.
44237         * string/test-strcasecmp.c (do_one_test): Likewise.
44238         (do_test): Likewise.
44239         * string/test-strcasestr.c (do_one_test): Likewise.
44240         (do_test): Likewise.
44241         * string/test-strcat.c (do_one_test): Likewise.
44242         (do_test): Likewise.
44243         * string/test-strchr.c (do_one_test): Likewise.
44244         (do_test): Likewise.
44245         * string/test-strcmp.c (do_one_test): Likewise.
44246         (do_test): Likewise.
44247         * string/test-strcpy.c (do_one_test): Likewise.
44248         (do_test): Likewise.
44249         * string/test-string.h: Likewise.
44250         (test_init): Likewise.
44251         * string/test-strlen.c (do_one_test): Likewise.
44252         (do_test): Likewise.
44253         * string/test-strncasecmp.c (do_one_test): Likewise.
44254         (do_test): Likewise.
44255         * string/test-strncat.c (do_one_test): Likewise.
44256         (do_test): Likewise.
44257         * string/test-strncmp.c (do_one_test): Likewise.
44258         (do_test_limit): Likewise.
44259         (do_test): Likewise.
44260         * string/test-strncpy.c (do_one_test): Likewise.
44261         (do_test): Likewise.
44262         * string/test-strnlen.c (do_one_test): Likewise.
44263         (do_test): Likewise.
44264         * string/test-strpbrk.c (do_one_test): Likewise.
44265         (do_test): Likewise.
44266         * string/test-strrchr.c (do_one_test): Likewise.
44267         (do_test): Likewise.
44268         * string/test-strspn.c (do_one_test): Likewise.
44269         (do_test): Likewise.
44270         * string/test-strstr.c (do_one_test): Likewise.
44271         (do_test): Likewise.
44273         * benchtests/Makefile (string-bench): Add string benchmarks.
44274         * benchtests/bench-bcopy-ifunc.c: New file.
44275         * benchtests/bench-bcopy.c: New file.
44276         * benchtests/bench-bzero-ifunc.c: New file.
44277         * benchtests/bench-bzero.c: New file.
44278         * benchtests/bench-memccpy-ifunc.c: New file.
44279         * benchtests/bench-memccpy.c: New file.
44280         * benchtests/bench-memchr-ifunc.c: New file.
44281         * benchtests/bench-memchr.c: New file.
44282         * benchtests/bench-memcmp-ifunc.c: New file.
44283         * benchtests/bench-memcmp.c: New file.
44284         * benchtests/bench-memmem-ifunc.c: New file.
44285         * benchtests/bench-memmem.c: New file.
44286         * benchtests/bench-memmove-ifunc.c: New file.
44287         * benchtests/bench-memmove.c: New file.
44288         * benchtests/bench-mempcpy-ifunc.c: New file.
44289         * benchtests/bench-mempcpy.c: New file.
44290         * benchtests/bench-memset-ifunc.c: New file.
44291         * benchtests/bench-memset.c: New file.
44292         * benchtests/bench-rawmemchr-ifunc.c: New file.
44293         * benchtests/bench-rawmemchr.c: New file.
44294         * benchtests/bench-stpcpy-ifunc.c: New file.
44295         * benchtests/bench-stpcpy.c: New file.
44296         * benchtests/bench-stpncpy-ifunc.c: New file.
44297         * benchtests/bench-stpncpy.c: New file.
44298         * benchtests/bench-strcasecmp-ifunc.c: New file.
44299         * benchtests/bench-strcasecmp.c: New file.
44300         * benchtests/bench-strcasestr-ifunc.c: New file.
44301         * benchtests/bench-strcasestr.c: New file.
44302         * benchtests/bench-strcat-ifunc.c: New file.
44303         * benchtests/bench-strcat.c: New file.
44304         * benchtests/bench-strchr-ifunc.c: New file.
44305         * benchtests/bench-strchr.c: New file.
44306         * benchtests/bench-strchrnul-ifunc.c: New file.
44307         * benchtests/bench-strchrnul.c: New file.
44308         * benchtests/bench-strcmp-ifunc.c: New file.
44309         * benchtests/bench-strcmp.c: New file.
44310         * benchtests/bench-strcpy-ifunc.c: New file.
44311         * benchtests/bench-strcpy.c: New file.
44312         * benchtests/bench-strcspn-ifunc.c: New file.
44313         * benchtests/bench-strcspn.c: New file.
44314         * benchtests/bench-strlen-ifunc.c: New file.
44315         * benchtests/bench-strlen.c: New file.
44316         * benchtests/bench-strncasecmp-ifunc.c: New file.
44317         * benchtests/bench-strncasecmp.c: New file.
44318         * benchtests/bench-strncat-ifunc.c: New file.
44319         * benchtests/bench-strncat.c: New file.
44320         * benchtests/bench-strncmp-ifunc.c: New file.
44321         * benchtests/bench-strncmp.c: New file.
44322         * benchtests/bench-strncpy-ifunc.c: New file.
44323         * benchtests/bench-strncpy.c: New file.
44324         * benchtests/bench-strnlen-ifunc.c: New file.
44325         * benchtests/bench-strnlen.c: New file.
44326         * benchtests/bench-strpbrk-ifunc.c: New file.
44327         * benchtests/bench-strpbrk.c: New file.
44328         * benchtests/bench-strrchr-ifunc.c: New file.
44329         * benchtests/bench-strrchr.c: New file.
44330         * benchtests/bench-strspn-ifunc.c: New file.
44331         * benchtests/bench-strspn.c: New file.
44332         * benchtests/bench-strstr-ifunc.c: New file.
44333         * benchtests/bench-strstr.c: New file.
44335         * benchtests/Makefile: Disable parallel execution of targets.
44336         (string-bench): Add memcpy.
44337         (benchset): New variable to store a list of benchmark sets.
44338         (bench-func): Renamed from bench.
44339         (bench-set): New target.
44340         (bench): Depend on bench-func and bench-set.
44341         * benchtests/README: Add section on benchmark sets.
44342         * benchtests/bench-memcpy-ifunc.c: New file.
44343         * benchtests/bench-memcpy.c: New file.
44344         * benchtests/bench-string.h: New file.
44346 2013-06-11  Andreas Schwab  <schwab@suse.de>
44348         [BZ #15577]
44349         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44350         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44351         values in the triple.
44352         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44353         terminator in the group key.
44355 2013-06-11  Andreas Jaeger  <aj@suse.de>
44357         * po/zh_TW.po: Update Chinese (traditional) translation from
44358         translation project.
44360 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44362         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44363         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44364         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44365         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44366         (clock_getcpuclockid): Likewise.
44367         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44368         Add weak_alias and libc_hidden_def.
44369         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44370         * rt/clock_gettime.c (clock_gettime): Rename to
44371         __clock_gettime.  Add weak_alias and libc_hidden_def.
44372         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44373         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44374         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44375         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44376         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44377         Likewise.
44378         * rt/clock_settime.c (clock_settime): Rename to
44379         __clock_settime.  Add weak_alias and libc_hidden_def.
44380         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44382 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44384         * mach/err_boot.sub: Remove trailing whitespace.
44385         * mach/err_ipc.sub: Likewise.
44386         * mach/err_mach.sub: Likewise.
44388         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44389         (ROUNDING_TESTS_double): Likewise.
44390         (ROUNDING_TESTS_long_double): Likewise.
44391         (ROUNDING_TESTS): Likewise.
44392         * math/libm-test.inc: Include <math-tests.h>.
44393         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44394         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44395         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44396         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44398 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44400         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44401         of assigning.
44403 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44405         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44406         otherwise empty TRANS lines.
44407         * sysdeps/gnu/errlist.c: Regenerated.
44409         * catgets/gencat.c (error_print): Use (void) in function
44410         definition.
44411         * crypt/crypt_util.c (__init_des): Likewise.
44412         * crypt/speeds.c (Stop): Likewise.
44413         (main): Likewise.
44414         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44415         * inet/ruserpass.c (token): Likewise.
44416         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44417         * intl/localealias.c (extend_alias_table): Likewise.
44418         * intl/plural-exp.c (init_germanic_plural): Likewise.
44419         * libio/fcloseall.c (__fcloseall): Likewise.
44420         * libio/genops.c (_IO_flush_all): Likewise.
44421         (_IO_flush_all_linebuffered): Likewise.
44422         (_IO_cleanup): Likewise.
44423         (_IO_iter_begin): Likewise.
44424         (_IO_iter_end): Likewise.
44425         (_IO_list_lock): Likewise.
44426         (_IO_list_unlock): Likewise.
44427         (_IO_list_resetlock): Likewise.
44428         * libio/getchar.c (getchar): Likewise.
44429         * libio/getchar_u.c (getchar_unlocked): Likewise.
44430         * libio/getwchar.c (getwchar): Likewise.
44431         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44432         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44433         * login/getpt.c (__getpt): Likewise.
44434         * login/tst-utmp.c (main): Likewise.
44435         * malloc/hooks.c (__malloc_check_init): Likewise.
44436         * malloc/malloc.c (__malloc_stats): Likewise.
44437         * malloc/mtrace.c (tr_break): Likewise.
44438         (mtrace): Likewise.
44439         (muntrace): Likewise.
44440         * misc/fstab.c (endfsent): Likewise.
44441         * misc/getclktck.c (__getclktck): Likewise.
44442         * misc/getdtsz.c (__getdtablesize): Likewise.
44443         * misc/gethostid.c (gethostid): Likewise.
44444         * misc/getpagesize.c (__getpagesize): Likewise.
44445         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44446         (__get_nprocs): Likewise.
44447         (__get_phys_pages): Likewise.
44448         (__get_avphys_pages): Likewise.
44449         * misc/getttyent.c (getttyent): Likewise.
44450         (setttyent): Likewise.
44451         (endttyent): Likewise.
44452         * misc/getusershell.c (getusershell): Likewise.
44453         (endusershell): Likewise.
44454         (setusershell): Likewise.
44455         (initshells): Likewise.
44456         * misc/hsearch.c (__hdestroy): Likewise.
44457         * misc/sync.c (sync): Likewise.
44458         * misc/syslog.c (closelog_internal): Likewise.
44459         (closelog): Likewise.
44460         * misc/ttyslot.c (ttyslot): Likewise.
44461         * misc/vhangup.c (vhangup): Likewise.
44462         * posix/fork.c (__fork): Likewise.
44463         * posix/getegid.c (__getegid): Likewise.
44464         * posix/geteuid.c (__geteuid): Likewise.
44465         * posix/getgid.c (__getgid): Likewise.
44466         * posix/getpid.c (__getpid): Likewise.
44467         * posix/getppid.c (__getppid): Likewise.
44468         * posix/getuid.c (__getuid): Likewise.
44469         * posix/pause.c (pause): Likewise.
44470         * posix/setpgrp.c (setpgrp): Likewise.
44471         * posix/setsid.c (__setsid): Likewise.
44472         * posix/test-vfork.c (noop): Likewise.
44473         * resolv/gethnamaddr.c (_endhtent): Likewise.
44474         (_gethtent): Likewise.
44475         (ht_endhostent): Likewise.
44476         (gethostent): Likewise.
44477         (dns_service): Likewise.
44478         * stdlib/drand48.c (drand48): Likewise.
44479         * stdlib/lrand48.c (lrand48): Likewise.
44480         * stdlib/mrand48.c (mrand48): Likewise.
44481         * stdlib/rand.c (rand): Likewise.
44482         * stdlib/random.c (__random): Likewise.
44483         * stdlib/setenv.c (clearenv): Likewise.
44484         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44485         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44486         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44487         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44488         (__get_nprocs): Likewise.
44489         (__get_phys_pages): Likewise.
44490         (__get_avphys_pages): Likewise.
44491         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44492         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44493         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44494         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44495         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44496         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44497         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44498         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44499         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44500         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44501         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44502         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44503         * sysdeps/posix/clock.c (clock): Likewise.
44504         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44505         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44506         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44507         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44508         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44509         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44510         (__get_nprocs_conf): Likewise.
44511         (__get_phys_pages): Likewise.
44512         (__get_avphys_pages): Likewise.
44513         * time/clock.c (clock): Likewise.
44514         * time/tzset.c (__tzname_max): Likewise.
44516 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44518         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44519         (__bswap_32): Do not use "register".
44520         * crypt/crypt.c (_ufc_doit_r): Likewise.
44521         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44522         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44523         * gmon/gmon.c (__monstartup): Likewise.
44524         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44525         * hurd/hurdmalloc.c (more_memory): Likewise.
44526         (malloc): Likewise.
44527         (free): Likewise.
44528         (realloc): Likewise.
44529         (malloc_fork_prepare): Likewise.
44530         (malloc_fork_parent): Likewise.
44531         (malloc_fork_child): Likewise.
44532         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44533         (_svcauth_des): Likewise.
44534         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44535         * inet/inet_net.c (inet_network): Likewise.
44536         * inet/inet_netof.c (inet_netof): Likewise.
44537         * inet/rcmd.c (__validuser2_sa): Likewise.
44538         * io/fts.c (fts_open): Likewise.
44539         (fts_load): Likewise.
44540         (fts_close): Likewise.
44541         (fts_read): Likewise.
44542         (fts_children): Likewise.
44543         (fts_build): Likewise.
44544         (fts_stat): Likewise.
44545         (fts_sort): Likewise.
44546         (fts_alloc): Likewise.
44547         (fts_lfree): Likewise.
44548         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44549         (_IO_file_xsgetn): Likewise.
44550         (_IO_file_xsgetn_mmap): Likewise.
44551         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44552         (_IO_cookie_write): Likewise.
44553         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44554         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44555         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44556         * malloc/obstack.c (_obstack_begin): Likewise.
44557         (_obstack_begin_1): Likewise.
44558         (_obstack_newchunk): Likewise.
44559         (_obstack_allocated_p): Likewise.
44560         (obstack_free): Likewise.
44561         (_obstack_memory_used): Likewise.
44562         * misc/getttyent.c (getttynam): Likewise.
44563         (getttyent): Likewise.
44564         (skip): Likewise.
44565         (value): Likewise.
44566         * misc/getusershell.c (initshells): Likewise.
44567         * misc/syslog.c (__vsyslog_chk): Likewise.
44568         * misc/ttyslot.c (ttyslot): Likewise.
44569         * nis/nis_hash.c (__nis_hash): Likewise.
44570         * posix/fnmatch_loop.c (FCT): Likewise.
44571         * posix/getconf.c (print_all): Likewise.
44572         (main): Likewise.
44573         * posix/getopt.c (exchange): Likewise.
44574         * posix/glob.c (globfree): Likewise.
44575         (prefix_array): Likewise.
44576         (__glob_pattern_type): Likewise.
44577         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44578         (NS_GET32): Likewise.
44579         (NS_PUT16): Likewise.
44580         (NS_PUT32): Likewise.
44581         * resolv/gethnamaddr.c (getanswer): Likewise.
44582         (gethostbyname2): Likewise.
44583         (gethostbyaddr): Likewise.
44584         (_gethtent): Likewise.
44585         (_gethtbyname2): Likewise.
44586         (_gethtbyaddr): Likewise.
44587         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44588         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44589         * resolv/res_init.c (__res_vinit): Likewise.
44590         (net_mask): Likewise.
44591         * resolv/res_mkquery.c (outchar): Likewise.
44592         (PRINT): Likewise.
44593         * stdio-common/printf_fp.c (outchar): Likewise.
44594         (PRINT): Likewise.
44595         * stdio-common/printf_fphex.c (outchar): Likewise.
44596         (PRINT): Likewise.
44597         * stdio-common/printf_size.c (outchar): Likewise.
44598         (PRINT): Likewise.
44599         * stdio-common/test_rdwr.c (main): Likewise.
44600         * stdio-common/tfformat.c (matches): Likewise.
44601         * stdio-common/vfprintf.c (outchar): Likewise.
44602         (printf_unknown): Likewise.
44603         (buffered_vfprintf): Likewise.
44604         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44605         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44606         (ReadFile): Likewise.
44607         * stdlib/qsort.c (SWAP): Likewise.
44608         (_quicksort): Likewise.
44609         * stdlib/setenv.c (__add_to_environ): Likewise.
44610         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44611         * stdlib/strtol_l.c (__strtol_l): Likewise.
44612         * stdlib/tst-strtod.c (main): Likewise.
44613         * stdlib/tst-strtol.c (main): Likewise.
44614         * stdlib/tst-strtoll.c (main): Likewise.
44615         * string/bits/string2.h (__strcmp_cc): Likewise.
44616         (__strcmp_cg): Likewise.
44617         (__strcspn_c1): Likewise.
44618         (__strcspn_c2): Likewise.
44619         (__strcspn_c3): Likewise.
44620         (__strspn_c1): Likewise.
44621         (__strspn_c2): Likewise.
44622         (__strspn_c3): Likewise.
44623         (__strsep_1c): Likewise.
44624         (__strsep_2c): Likewise.
44625         (__strsep_3c): Likewise.
44626         * string/memccpy.c (__memccpy): Likewise.
44627         * string/stpcpy.c (__stpcpy): Likewise.
44628         * string/strcmp.c (strcmp): Likewise.
44629         * string/strrchr.c (strrchr): Likewise.
44630         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44631         Likewise.
44632         * sysdeps/mach/hurd/getcwd.c
44633         (_hurd_canonicalize_directory_name_internal): Likewise.
44634         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44635         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44636         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44637         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44638         Likewise, in both definitions.
44639         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44640         definitions.
44641         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44642         64] (__bswap_64): Likewise.
44643         * time/test_time.c (main): Likewise.
44644         * time/tzfile.c (__tzfile_read): Likewise.
44645         (__tzfile_compute): Likewise.
44646         * time/tzset.c (__tzset_parse_tz): Likewise.
44647         (tzset_internal): Likewise.
44648         (compute_change): Likewise.
44649         * wcsmbs/wcscat.c (__wcscat): Likewise.
44650         * wcsmbs/wcschr.c (wcschr): Likewise.
44651         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44652         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44653         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44654         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44655         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44656         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44657         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44658         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44659         * wcsmbs/wmemset.c (wmemset): Likewise.
44661 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44663         * scripts/config.guess: Update to version 2013-05-16.
44664         * scripts/config.sub: Update to version 2013-04-24.
44665         * scripts/install-sh: Update to version 2011-11-20.07.
44666         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44667         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44669 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44671         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44672         * elf/sln.c: Likewise.
44673         * hurd/hurd/ioctl.h: Likewise.
44674         * hurd/hurdmalloc.c: Likewise.
44675         * hurd/xattr.c: Likewise.
44676         * include/shlib-compat.h: Likewise.
44677         * inet/ruserpass.c: Likewise.
44678         * libio/iofgets_u.c: Likewise.
44679         * libio/iofgetws_u.c: Likewise.
44680         * locale/programs/ld-identification.c: Likewise.
44681         * locale/programs/ld-time.c: Likewise.
44682         * mach/msg-destroy.c: Likewise.
44683         * nss/nss_files/files-netgrp.c: Likewise.
44684         * resolv/res_data.c: Likewise.
44685         * soft-fp/op-1.h: Likewise.
44686         * soft-fp/op-2.h: Likewise.
44687         * soft-fp/op-4.h: Likewise.
44688         * soft-fp/op-common.h: Likewise.
44689         * stdio-common/printf_fphex.c: Likewise.
44690         * stdlib/strtod_l.c: Likewise.
44691         * sunrpc/rpc/clnt.h: Likewise.
44692         * sysdeps/generic/framestate.c: Likewise.
44693         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44694         * sysdeps/i386/bsd-setjmp.S: Likewise.
44695         * sysdeps/i386/__longjmp.S: Likewise.
44696         * sysdeps/i386/setjmp.S: Likewise.
44697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44698         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44699         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44700         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44702         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44703         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44704         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44705         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44706         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44707         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44708         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44709         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44710         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44711         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44713         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44714         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44715         * sysdeps/ieee754/support.c: Likewise.
44716         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44717         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44718         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44719         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44720         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44721         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44722         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44723         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44724         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44725         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44726         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44727         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44728         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44729         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44730         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44731         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44732         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44735 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44737         * posix/transbug.c: Remove executable mode.
44739 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44741         * crypt/speeds.c: Remove trailing whitespace.
44742         * dlfcn/default.c: Likewise.
44743         * elf/ifuncdep2.c: Likewise.
44744         * elf/ifuncmain1.c: Likewise.
44745         * elf/ifuncmain1vis.c: Likewise.
44746         * elf/testobj.h: Likewise.
44747         * elf/tst-stackguard1.c: Likewise.
44748         * gmon/sys/gmon.h: Likewise.
44749         * hurd/hurdmsg.c: Likewise.
44750         * hurd/new-fd.c: Likewise.
44751         * hurd/ports-get.c: Likewise.
44752         * iconvdata/ibm1008_420.c: Likewise.
44753         * inet/tst-getni1.c: Likewise.
44754         * inet/tst-getni2.c: Likewise.
44755         * libio/ioungetc.c: Likewise.
44756         * libio/wfiledoalloc.c: Likewise.
44757         * manual/libm-err-tab.pl: Likewise.
44758         * math/w_dremf.c: Likewise.
44759         * misc/ftruncate.c: Likewise.
44760         * posix/bug-glob2.c: Likewise.
44761         * posix/tst-pcre.c: Likewise.
44762         * posix/wait4.c: Likewise.
44763         * resolv/README: Likewise.
44764         * resolv/res_debug.h: Likewise.
44765         * resolv/tst-inet_ntop.c: Likewise.
44766         * setjmp/bug269-setjmp.c: Likewise.
44767         * soft-fp/extended.h: Likewise.
44768         * soft-fp/op-1.h: Likewise.
44769         * soft-fp/op-2.h: Likewise.
44770         * soft-fp/op-4.h: Likewise.
44771         * soft-fp/op-8.h: Likewise.
44772         * soft-fp/testit.c: Likewise.
44773         * stdio-common/bug16.c: Likewise.
44774         * stdlib/random.c: Likewise.
44775         * sunrpc/rpcsvc/rquota.x: Likewise.
44776         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44777         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44779         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44780         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44781         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44782         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44783         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44784         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44785         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44786         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44787         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44788         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44792         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44794         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44795         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44796         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44798         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44799         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44801         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44804         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44805         * sysdeps/ieee754/s_lib_version.c: Likewise.
44806         * sysdeps/mach/hurd/check_fds.c: Likewise.
44807         * sysdeps/mach/hurd/getsockname.c: Likewise.
44808         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44809         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44810         * sysdeps/powerpc/bits/link.h: Likewise.
44811         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44812         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44813         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44814         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44815         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44816         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44817         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44818         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44819         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44820         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44821         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44822         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44823         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44824         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44825         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44826         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44827         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44828         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44829         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44830         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44831         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44832         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44833         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44834         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44835         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44836         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44837         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44838         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44839         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44840         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44841         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44842         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44843         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44844         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44845         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44846         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44847         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44848         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44849         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44850         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44851         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44852         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44853         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44854         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44855         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44856         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44857         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44858         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44859         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44860         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44863         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44864         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44865         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44866         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44867         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44868         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44869         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44870         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44871         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44872         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44873         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44874         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44875         * sysdeps/powerpc/sysdep.h: Likewise.
44876         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44877         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44878         * sysdeps/sh/dl-trampoline.S: Likewise.
44879         * sysdeps/sh/memset.S: Likewise.
44880         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44881         * sysdeps/sh/strlen.S: Likewise.
44882         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44883         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44884         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44885         * sysdeps/sparc/sparc32/rem.S: Likewise.
44886         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44887         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44888         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44889         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44890         * sysdeps/sparc/sparc32/urem.S: Likewise.
44891         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44892         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44893         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44894         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44895         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44896         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44897         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44898         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44899         * sysdeps/unix/bsd/times.c: Likewise.
44900         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44901         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44905         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44906         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44907         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44908         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44909         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44910         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44911         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44912         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44913         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44914         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44915         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44916         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44917         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44918         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44919         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44920         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44921         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44922         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44923         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44924         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44925         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44926         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44927         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44928         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44929         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44930         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44931         * sysdeps/x86_64/strcspn.S: Likewise.
44933 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44935         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44936         generated file.  Regenerate properly from gen-translit.pl.
44937         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44938         locale/C-translit.h.
44940 2013-06-05  Andreas Schwab  <schwab@suse.de>
44942         [BZ #15100]
44943         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44944         week as 6 instead of -1.
44945         * time/tst-strptime.c (day_tests): Add test case.
44947 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44949         * sysdeps/generic/math_private.h
44950         (libc_feholdexcept_setround_53bit): Replace with
44951         libc_feholdsetround_53bit.
44952         (libc_feupdateenv_53bit): Replace with
44953         libc_feresetround_53bit.
44954         (SET_RESTORE_ROUND_53BIT): Adjust.
44956 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44958         * string/test-strchrnul.c: Add copyright header.
44960         * posix/tst-getaddrinfo4.c: Increase test timeout.
44962 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44964         [BZ #15536]
44965         * math/libm-test.inc (MAX_EXP): Remove
44966         (MIN_EXP): Define.
44967         (ulp): Use MIN_EXP - MANT_DIG.
44968         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44970 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44972         * po/be.po: Revert last change.
44973         * po/zh_CN.po: Likewise.
44974         * po/header.pot: Likewise.
44976 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44978         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44979         link-libc-deps to empty as target-specific variable.
44980         * Makerules (link-libc-args): New variable.
44981         (libc-for-link): Likewise.
44982         (link-libc-deps): Likewise.
44983         (lib%.so): Depend on $(link-libc-deps).  Link with
44984         $(link-libc-args).
44985         (build-module): Link with $(link-libc-args).
44986         (build-module-asneeded): Likewise.
44987         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44988         list of objects.
44989         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44990         target-specific variable.
44991         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44992         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44993         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44994         libc.
44995         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44996         libc and ld.so.
44997         ($(objpfx)libpcprofile.so): Likewise.
44998         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44999         libc_nonshared.a.
45000         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45001         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45002         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45003         $(link-libc-deps).
45004         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45005         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45006         * login/Makefile ($(objpfx)libutil.so): Likewise.
45007         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45008         * math/Makefile ($(objpfx)libm.so): Likewise.
45009         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45010         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45011         variable instead of depending directly on libc.
45012         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45013         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45014         $(link-libc-deps).
45015         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45016         libc.
45017         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45018         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45019         ($(objpfx)libanl.so): Likewise.
45020         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45021         ld.so.
45022         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45023         $(link-libc-deps).
45024         * sysdeps/i386/fpu/Makefile: Remove file.
45025         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45026         ($(objpfx)libm.so): Remove dependency on ld.so.
45028 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45030         [BZ # 15553]
45031         * nis/yp_xdr.c (XDRMAXNAME): Define.
45032         (XDRMAXRECORD): Define.
45033         (xdr_domainname): Use XDRMAXNAME.
45034         (xdr_mapname): Likewise.
45035         (xdr_peername): Likewise.
45036         (xdr_keydat): Use XDRMAXRECORD.
45037         (xdr_valdat): Likewise.
45039 2013-05-30  Jeff Law  <law@redhat.com>
45041         [BZ #14256]
45042         * manual/errno.texi (ESTALE): Update to account for more than
45043         just NFS file systems.
45044         * sysdeps/gnu/errlist.c: Regenerated.
45046 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45048         [BZ #15465]
45049         * elf/Makefile (tests): Add tst-null-argv.
45050         (modules-names):  Add tst-null-argv-lib.
45051         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45052         (tst-null-argv-ENV): Set environment for tst-null-argv.
45053         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45054         (RTLD_PROGNAME): New macro.
45055         * elf/tst-null-argv.c: New test case.
45056         * elf/tst-null-argv-lib.c: Library for test case.
45057         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45058         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45059         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45060         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45061         * elf/dl-init.c (call_init): Likewise.
45062         (_dl_init): Likewise.
45063         * elf/dl-load.c (print_search_path): Likewise.
45064         (_dl_map_object): Likewise.
45065         * elf/dl-lookup.c (do_lookup_x): Likewise.
45066         (add_dependency): Likewise.
45067         (_dl_lookup_symbol_x): Likewise.
45068         (_dl_debug_bindings): Likewise.
45069         * elf/dl-open.c (_dl_show_scope): Likewise.
45070         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45071         * elf/dl-version.c (match_symbol): Likewise.
45072         (_dl_check_map_versions): Likewise.
45073         * elf/rtld.c (dl_main): Likewise.
45074         (print_unresolved): Use RTLD_PROGNAME.
45075         (print_missing_version): Likewise.
45076         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45077         (elf_machine_rela): Likewise.
45078         * sysdeps/powerpc/powerpc32/dl-machine.c
45079         (__process_machine_rela): Likewise.
45080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45081         Likewise.
45082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45083         Likewise.
45084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45085         Likewise.
45086         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45088         Likewise.
45089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45090         Likewise.
45091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45093 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45095         * po/be.po: Add descriptive title.
45096         * po/zh_CN.po: Likewise.
45097         * po/header.pot: Likewise.
45099 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45101         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45102         error message.
45103         (enlarge_archive): Likewise.
45105 2013-05-28  Ben North  <ben@redfrontdoor.org>
45107         * manual/arith.texi (frexp): It is the magnitude of the return
45108         value which lies in [0.5, 1), not the return value itself.
45110 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45114 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45116         * stdio-common/bug26.c (main): Correct fscanf template.
45118         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45119         declare _dl_skip_args.
45121         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45122         Don't declare.
45124         * manual/platform.texi: Add missing @end deftypefun.
45126 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #15529]
45129         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45130         bit of mantissa of 2^16382.
45131         * math/libm-test.inc (hypot_test_data): Add more tests.
45133         * math/libm-test.inc: Add drem and pow10 to list of tested
45134         functions.
45135         (pow10_test): New function.
45136         (drem_test): Likewise.
45137         (drem_test_tonearest): Likewise.
45138         (drem_test_towardzero): Likewise.
45139         (drem_test_downward): Likewise.
45140         (drem_test_upward): Likewise.
45141         (main): Call the new functions.
45143         * math/libm-test.inc (finite_test_data): Remove.
45144         (finite_test): Run tests from isfinite_test_data.
45145         (gamma_test_data): Remove.
45146         (gamma_test): Run tests from lgamma_test_data.
45147         * sysdeps/i386/fpu/libm-test-ulps: Update.
45148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45150 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45152         * manual/platform.texi: Add PowerPC PPR function set documentation.
45153         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45154         implementation.
45156 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45158         * math/libm-test.inc (MAX_EXP): Define.
45159         (ULPDIFF): Define.
45160         (ulp): New function.
45161         (check_float_internal): Use ULPDIFF.
45162         (cpow_test): Disable failing test.
45163         (check_ulp): Test ulp() implemetnation.
45164         (main): Call check_ulp before starting tests.
45166 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45168         * math/gen-libm-test.pl (generate_testfile): Do not handle
45169         START_DATA and END_DATA.
45170         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45171         END_DATA.
45172         (acos_tonearest_test_data): Likewise.
45173         (acos_towardzero_test_data): Likewise.
45174         (acos_downward_test_data): Likewise.
45175         (acos_upward_test_data): Likewise.
45176         (acosh_test_data): Likewise.
45177         (asin_test_data): Likewise.
45178         (asin_tonearest_test_data): Likewise.
45179         (asin_towardzero_test_data): Likewise.
45180         (asin_downward_test_data): Likewise.
45181         (asin_upward_test_data): Likewise.
45182         (asinh_test_data): Likewise.
45183         (atan_test_data): Likewise.
45184         (atanh_test_data): Likewise.
45185         (atan2_test_data): Likewise.
45186         (cabs_test_data): Likewise.
45187         (cacos_test_data): Likewise.
45188         (cacosh_test_data): Likewise.
45189         (carg_test_data): Likewise.
45190         (casin_test_data): Likewise.
45191         (casinh_test_data): Likewise.
45192         (catan_test_data): Likewise.
45193         (catanh_test_data): Likewise.
45194         (cbrt_test_data): Likewise.
45195         (ccos_test_data): Likewise.
45196         (ccosh_test_data): Likewise.
45197         (ceil_test_data): Likewise.
45198         (cexp_test_data): Likewise.
45199         (cimag_test_data): Likewise.
45200         (clog_test_data): Likewise.
45201         (clog10_test_data): Likewise.
45202         (conj_test_data): Likewise.
45203         (copysign_test_data): Likewise.
45204         (cos_test_data): Likewise.
45205         (cos_tonearest_test_data): Likewise.
45206         (cos_towardzero_test_data): Likewise.
45207         (cos_downward_test_data): Likewise.
45208         (cos_upward_test_data): Likewise.
45209         (cosh_test_data): Likewise.
45210         (cosh_tonearest_test_data): Likewise.
45211         (cosh_towardzero_test_data): Likewise.
45212         (cosh_downward_test_data): Likewise.
45213         (cosh_upward_test_data): Likewise.
45214         (cpow_test_data): Likewise.
45215         (cproj_test_data): Likewise.
45216         (creal_test_data): Likewise.
45217         (csin_test_data): Likewise.
45218         (csinh_test_data): Likewise.
45219         (csqrt_test_data): Likewise.
45220         (ctan_test_data): Likewise.
45221         (ctan_tonearest_test_data): Likewise.
45222         (ctan_towardzero_test_data): Likewise.
45223         (ctan_downward_test_data): Likewise.
45224         (ctan_upward_test_data): Likewise.
45225         (ctanh_test_data): Likewise.
45226         (ctanh_tonearest_test_data): Likewise.
45227         (ctanh_towardzero_test_data): Likewise.
45228         (ctanh_downward_test_data): Likewise.
45229         (ctanh_upward_test_data): Likewise.
45230         (erf_test_data): Likewise.
45231         (erfc_test_data): Likewise.
45232         (exp_test_data): Likewise.
45233         (exp_tonearest_test_data): Likewise.
45234         (exp_towardzero_test_data): Likewise.
45235         (exp_downward_test_data): Likewise.
45236         (exp_upward_test_data): Likewise.
45237         (exp10_test_data): Likewise.
45238         (exp2_test_data): Likewise.
45239         (expm1_test_data): Likewise.
45240         (fabs_test_data): Likewise.
45241         (fdim_test_data): Likewise.
45242         (finite_test_data): Likewise.
45243         (floor_test_data): Likewise.
45244         (fma_test_data): Likewise.
45245         (fma_towardzero_test_data): Likewise.
45246         (fma_downward_test_data): Likewise.
45247         (fma_upward_test_data): Likewise.
45248         (fmax_test_data): Likewise.
45249         (fmin_test_data): Likewise.
45250         (fmod_test_data): Likewise.
45251         (fpclassify_test_data): Likewise.
45252         (frexp_test_data): Likewise.
45253         (gamma_test_data): Likewise.
45254         (hypot_test_data): Likewise.
45255         (ilogb_test_data): Likewise.
45256         (isfinite_test_data): Likewise.
45257         (isgreater_test_data): Likewise.
45258         (isgreaterequal_test_data): Likewise.
45259         (isinf_test_data): Likewise.
45260         (isless_test_data): Likewise.
45261         (islessequal_test_data): Likewise.
45262         (islessgreater_test_data): Likewise.
45263         (isnan_test_data): Likewise.
45264         (isnormal_test_data): Likewise.
45265         (issignaling_test_data): Likewise.
45266         (isunordered_test_data): Likewise.
45267         (j0_test_data): Likewise.
45268         (j1_test_data): Likewise.
45269         (jn_test_data): Likewise.
45270         (ldexp_test_data): Likewise.
45271         (lgamma_test_data): Likewise.
45272         (lrint_test_data): Likewise.
45273         (lrint_tonearest_test_data): Likewise.
45274         (lrint_towardzero_test_data): Likewise.
45275         (lrint_downward_test_data): Likewise.
45276         (lrint_upward_test_data): Likewise.
45277         (llrint_test_data): Likewise.
45278         (llrint_tonearest_test_data): Likewise.
45279         (llrint_towardzero_test_data): Likewise.
45280         (llrint_downward_test_data): Likewise.
45281         (llrint_upward_test_data): Likewise.
45282         (log_test_data): Likewise.
45283         (log10_test_data): Likewise.
45284         (log1p_test_data): Likewise.
45285         (log2_test_data): Likewise.
45286         (logb_test_data): Likewise.
45287         (logb_downward_test_data): Likewise.
45288         (lround_test_data): Likewise.
45289         (llround_test_data): Likewise.
45290         (modf_test_data): Likewise.
45291         (nearbyint_test_data): Likewise.
45292         (nextafter_test_data): Likewise.
45293         (nexttoward_test_data): Likewise.
45294         (pow_test_data): Likewise.
45295         (pow_tonearest_test_data): Likewise.
45296         (pow_towardzero_test_data): Likewise.
45297         (pow_downward_test_data): Likewise.
45298         (pow_upward_test_data): Likewise.
45299         (remainder_test_data): Likewise.
45300         (remainder_tonearest_test_data): Likewise.
45301         (remainder_towardzero_test_data): Likewise.
45302         (remainder_downward_test_data): Likewise.
45303         (remainder_upward_test_data): Likewise.
45304         (remquo_test_data): Likewise.
45305         (rint_test_data): Likewise.
45306         (rint_tonearest_test_data): Likewise.
45307         (rint_towardzero_test_data): Likewise.
45308         (rint_downward_test_data): Likewise.
45309         (rint_upward_test_data): Likewise.
45310         (round_test_data): Likewise.
45311         (scalb_test_data): Likewise.
45312         (scalbn_test_data): Likewise.
45313         (scalbln_test_data): Likewise.
45314         (signbit_test_data): Likewise.
45315         (sin_test_data): Likewise.
45316         (sin_tonearest_test_data): Likewise.
45317         (sin_towardzero_test_data): Likewise.
45318         (sin_downward_test_data): Likewise.
45319         (sin_upward_test_data): Likewise.
45320         (sincos_test_data): Likewise.
45321         (sinh_test_data): Likewise.
45322         (sinh_tonearest_test_data): Likewise.
45323         (sinh_towardzero_test_data): Likewise.
45324         (sinh_downward_test_data): Likewise.
45325         (sinh_upward_test_data): Likewise.
45326         (sqrt_test_data): Likewise.
45327         (tan_test_data): Likewise.
45328         (tan_tonearest_test_data): Likewise.
45329         (tan_towardzero_test_data): Likewise.
45330         (tan_downward_test_data): Likewise.
45331         (tan_upward_test_data): Likewise.
45332         (tanh_test_data): Likewise.
45333         (tgamma_test_data): Likewise.
45334         (trunc_test_data): Likewise.
45335         (y0_test_data): Likewise.
45336         (y1_test_data): Likewise.
45337         (yn_test_data): Likewise.
45338         (significand_test_data): Likewise.
45340         * math/gen-libm-test.pl (@functions): Remove variable.
45341         (generate_testfile): Don't handle START and END lines.
45342         * math/libm-test.inc (START): New macro.
45343         (END): Likewise.
45344         (END_COMPLEX): Likewise.
45345         (acos_test): Use END macro without arguments.
45346         (acos_test_tonearest): Likewise.
45347         (acos_test_towardzero): Likewise.
45348         (acos_test_downward): Likewise.
45349         (acos_test_upward): Likewise.
45350         (acosh_test): Likewise.
45351         (asin_test): Likewise.
45352         (asin_test_tonearest): Likewise.
45353         (asin_test_towardzero): Likewise.
45354         (asin_test_downward): Likewise.
45355         (asin_test_upward): Likewise.
45356         (asinh_test): Likewise.
45357         (atan_test): Likewise.
45358         (atanh_test): Likewise.
45359         (atan2_test): Likewise.
45360         (cabs_test): Likewise.
45361         (cacos_test): Use END_COMPLEX macro without arguments.
45362         (cacosh_test): Likewise.
45363         (carg_test): Use END macro without arguments.
45364         (casin_test): Use END_COMPLEX macro without arguments.
45365         (casinh_test): Likewise.
45366         (catan_test): Likewise.
45367         (catanh_test): Likewise.
45368         (cbrt_test): Use END macro without arguments.
45369         (ccos_test): Use END_COMPLEX macro without arguments.
45370         (ccosh_test): Likewise.
45371         (ceil_test): Use END macro without arguments.
45372         (cexp_test): Use END_COMPLEX macro without arguments.
45373         (cimag_test): Use END macro without arguments.
45374         (clog_test): Use END_COMPLEX macro without arguments.
45375         (clog10_test): Likewise.
45376         (conj_test): Likewise.
45377         (copysign_test): Use END macro without arguments.
45378         (cos_test): Likewise.
45379         (cos_test_tonearest): Likewise.
45380         (cos_test_towardzero): Likewise.
45381         (cos_test_downward): Likewise.
45382         (cos_test_upward): Likewise.
45383         (cosh_test): Likewise.
45384         (cosh_test_tonearest): Likewise.
45385         (cosh_test_towardzero): Likewise.
45386         (cosh_test_downward): Likewise.
45387         (cosh_test_upward): Likewise.
45388         (cpow_test): Use END_COMPLEX macro without arguments.
45389         (cproj_test): Likewise.
45390         (creal_test): Use END macro without arguments.
45391         (csin_test): Use END_COMPLEX macro without arguments.
45392         (csinh_test): Likewise.
45393         (csqrt_test): Likewise.
45394         (ctan_test): Likewise.
45395         (ctan_test_tonearest): Likewise.
45396         (ctan_test_towardzero): Likewise.
45397         (ctan_test_downward): Likewise.
45398         (ctan_test_upward): Likewise.
45399         (ctanh_test): Likewise.
45400         (ctanh_test_tonearest): Likewise.
45401         (ctanh_test_towardzero): Likewise.
45402         (ctanh_test_downward): Likewise.
45403         (ctanh_test_upward): Likewise.
45404         (erf_test): Use END macro without arguments.
45405         (erfc_test): Likewise.
45406         (exp_test): Likewise.
45407         (exp_test_tonearest): Likewise.
45408         (exp_test_towardzero): Likewise.
45409         (exp_test_downward): Likewise.
45410         (exp_test_upward): Likewise.
45411         (exp10_test): Likewise.
45412         (exp2_test): Likewise.
45413         (expm1_test): Likewise.
45414         (fabs_test): Likewise.
45415         (fdim_test): Likewise.
45416         (finite_test): Likewise.
45417         (floor_test): Likewise.
45418         (fma_test): Likewise.
45419         (fma_test_towardzero): Likewise.
45420         (fma_test_downward): Likewise.
45421         (fma_test_upward): Likewise.
45422         (fmax_test): Likewise.
45423         (fmin_test): Likewise.
45424         (fmod_test): Likewise.
45425         (fpclassify_test): Likewise.
45426         (frexp_test): Likewise.
45427         (gamma_test): Likewise.
45428         (hypot_test): Likewise.
45429         (ilogb_test): Likewise.
45430         (isfinite_test): Likewise.
45431         (isgreater_test): Likewise.
45432         (isgreaterequal_test): Likewise.
45433         (isinf_test): Likewise.
45434         (isless_test): Likewise.
45435         (islessequal_test): Likewise.
45436         (islessgreater_test): Likewise.
45437         (isnan_test): Likewise.
45438         (isnormal_test): Likewise.
45439         (issignaling_test): Likewise.
45440         (isunordered_test): Likewise.
45441         (j0_test): Likewise.
45442         (j1_test): Likewise.
45443         (jn_test): Likewise.
45444         (ldexp_test): Likewise.
45445         (lgamma_test): Likewise.
45446         (lrint_test): Likewise.
45447         (lrint_test_tonearest): Likewise.
45448         (lrint_test_towardzero): Likewise.
45449         (lrint_test_downward): Likewise.
45450         (lrint_test_upward): Likewise.
45451         (llrint_test): Likewise.
45452         (llrint_test_tonearest): Likewise.
45453         (llrint_test_towardzero): Likewise.
45454         (llrint_test_downward): Likewise.
45455         (llrint_test_upward): Likewise.
45456         (log_test): Likewise.
45457         (log10_test): Likewise.
45458         (log1p_test): Likewise.
45459         (log2_test): Likewise.
45460         (logb_test): Likewise.
45461         (logb_test_downward): Likewise.
45462         (lround_test): Likewise.
45463         (llround_test): Likewise.
45464         (modf_test): Likewise.
45465         (nearbyint_test): Likewise.
45466         (nextafter_test): Likewise.
45467         (nexttoward_test): Likewise.
45468         (pow_test): Likewise.
45469         (pow_test_tonearest): Likewise.
45470         (pow_test_towardzero): Likewise.
45471         (pow_test_downward): Likewise.
45472         (pow_test_upward): Likewise.
45473         (remainder_test): Likewise.
45474         (remainder_test_tonearest): Likewise.
45475         (remainder_test_towardzero): Likewise.
45476         (remainder_test_downward): Likewise.
45477         (remainder_test_upward): Likewise.
45478         (remquo_test): Likewise.
45479         (rint_test): Likewise.
45480         (rint_test_tonearest): Likewise.
45481         (rint_test_towardzero): Likewise.
45482         (rint_test_downward): Likewise.
45483         (rint_test_upward): Likewise.
45484         (round_test): Likewise.
45485         (scalb_test): Likewise.
45486         (scalbn_test): Likewise.
45487         (scalbln_test): Likewise.
45488         (signbit_test): Likewise.
45489         (sin_test): Likewise.
45490         (sin_test_tonearest): Likewise.
45491         (sin_test_towardzero): Likewise.
45492         (sin_test_downward): Likewise.
45493         (sin_test_upward): Likewise.
45494         (sincos_test): Likewise.
45495         (sinh_test): Likewise.
45496         (sinh_test_tonearest): Likewise.
45497         (sinh_test_towardzero): Likewise.
45498         (sinh_test_downward): Likewise.
45499         (sinh_test_upward): Likewise.
45500         (sqrt_test): Likewise.
45501         (tan_test): Likewise.
45502         (tan_test_tonearest): Likewise.
45503         (tan_test_towardzero): Likewise.
45504         (tan_test_downward): Likewise.
45505         (tan_test_upward): Likewise.
45506         (tanh_test): Likewise.
45507         (tgamma_test): Likewise.
45508         (trunc_test): Likewise.
45509         (y0_test): Likewise.
45510         (y1_test): Likewise.
45511         (yn_test): Likewise.
45512         (significand_test): Likewise.
45514 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45516         [BZ #15381]
45517         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45519 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45521         [BZ #14894]
45522         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45523         __ppc_mdoio and __ppc_mdoom.
45524         * manual/platform.texi: Document new functions __ppc_yield,
45525         __ppc_mdoio and __ppc_mdoom.
45527 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45529         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45530         (main): Mention "tls" pseudo-hwcap is legacy.
45531         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45533 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45535         * math/gen-libm-test.pl (parse_args): Output only string of
45536         arguments as text for test name, not full call or descriptions of
45537         tests for extra outputs.
45538         (generate_testfile): Do not pass function name to parse_args.
45539         Generate this_func variable from START.
45540         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45541         field to arg_str.
45542         (struct test_ff_f_data): Likewise.
45543         (test_ff_f_data_nexttoward): Likewise.
45544         (struct test_fi_f_data): Likewise.
45545         (struct test_fl_f_data): Likewise.
45546         (struct test_if_f_data): Likewise.
45547         (struct test_fff_f_data): Likewise.
45548         (struct test_c_f_data): Likewise.
45549         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45550         (struct test_fF_f1_data): Likewise.
45551         (struct test_ffI_f1_data): Likewise.
45552         (struct test_c_c_data): Rename test_name field to arg_str.
45553         (struct test_cc_c_data): Likewise.
45554         (struct test_f_i_data): Likewise.
45555         (struct test_ff_i_data): Likewise.
45556         (struct test_f_l_data): Likewise.
45557         (struct test_f_L_data): Likewise.
45558         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45559         and extra2_name.
45560         (COMMON_TEST_SETUP): New macro.
45561         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45562         (COMMON_TEST_CLEANUP): Likewise.
45563         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45564         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45565         macros.
45566         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45567         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45568         macros.
45569         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45570         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45571         cleanup macros.
45572         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45573         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45574         macros.
45575         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45576         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45577         macros.
45578         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45579         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45580         cleanup macros.
45581         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45582         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45583         cleanup macros.
45584         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45585         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45586         cleanup macros.
45587         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45588         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45589         macros.
45590         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45591         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45592         macros.
45593         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45594         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45595         macros.
45596         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45597         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45598         cleanup macros.
45599         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45600         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45601         cleanup macros.
45602         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45603         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45604         macros.
45605         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45606         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45607         cleanup macros.
45608         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45609         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45610         macros.
45611         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45612         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45613         macros.
45614         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45615         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45616         cleanup macros.
45617         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45619 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45621         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45622         to _sifields.sigfault.
45623         (si_addr_lsb): Define new macro.
45624         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45625         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45626         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45628 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45630         [BZ #15441]
45631         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45632         returns -1.
45633         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45634         null return -1.
45635         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45636         loading the domain.
45638 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45640         * math/gen-libm-test.pl (parse_args): Do not include expected
45641         result in test name.
45642         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45643         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45644         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45645         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45646         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45649 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45651         * benchtests/Makefile: Sort function entries.
45653         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45654         tanh, asinh, acosh, atanh.
45655         * benchtests/acos-inputs: New file.
45656         * benchtests/acosh-inputs: New file.
45657         * benchtests/asin-inputs: New file.
45658         * benchtests/asinh-inputs: New file.
45659         * benchtests/atanh-inputs: New file.
45660         * benchtests/cosh-inputs: New file.
45661         * benchtests/log-inputs: New file.
45662         * benchtests/sinh-inputs: New file.
45663         * benchtests/tanh-inputs: New file.
45665 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45667         [BZ #15339]
45668         * posix/tst-getaddrinfo4.c: New test.
45669         * posix/Makefile (tests): Add it.
45671 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45673         [BZ #15339]
45674         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45675         when no services were used.
45676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45677         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45679 2013-05-21  Andreas Schwab  <schwab@suse.de>
45681         [BZ #15014]
45682         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45683         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45684         successful.
45685         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45686         redundant variable declarations and reallocation of buffer when
45687         parsing as IPv6 address.  Always set NSS status when called from
45688         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45689         buffer too small.  Correct computation of needed size.
45690         * nss/Makefile (tests): Add test-digits-dots.
45691         * nss/test-digits-dots.c: New test.
45693 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45695         * benchtests/Makefile: Remove instructions for adding
45696         benchmark tests.
45697         * benchtests/README: New file to explain how to execute and
45698         enhance the benchmark tests.
45700 2013-05-21  Andreas Schwab  <schwab@suse.de>
45702         [BZ #15493]
45703         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45704         * setjmp/tst-sigsetjmp.c: New test.
45706 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45708         * sysdeps/x86_64/memset.S (memset): New implementation.
45709         (__bzero): Likewise.
45710         (__memset_tail): New function.
45712 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45714         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45715         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45716         __memcpy_sse2_unaligned ifunc selection.
45717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45718         Add memcpy-sse2-unaligned.S.
45719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45720         Add: __memcpy_sse2_unaligned.
45722 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #15490]
45725         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45726         math_force_eval before restoring floating-point envrionment.
45727         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45728         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45729         Likewise.
45730         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45731         <math_private.h>.
45732         (__nearbyintl): Use math_force_eval before restoring
45733         floating-point environment.
45734         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45736         * math/gen-libm-test.pl (special_functions): Remove.
45737         (parse_args): Don't handle TEST_extra.  Handle functions with no
45738         return value.
45739         * math/libm-test.inc (struct test_sincos_data): Replace with
45740         struct test_fFF_11_data.
45741         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45742         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45743         (sincos_test_data): Change element type to struct
45744         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45745         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45746         RUN_TEST_LOOP_sincos.
45747         * math/README.libm-test: Don't mention special handling of
45748         individual functions.
45749         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45750         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45751         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45752         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45753         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45756         * math/gen-libm-test.pl (get_variable): Remove function.
45757         (parse_args): Don't show pointer parameters to call in test
45758         names.  Use "extra output N" in test names for extra outputs
45759         rather than naming variables.
45761 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45763         [BZ #15488]
45764         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45765         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45766         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45767         double tests.
45768         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45769         disable.
45770         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45771         check_long_double.
45773         * math/gen-libm-test.pl (@tests): Remove variable.
45774         ($count): Likewise.
45775         (new_test): Remove function.
45776         (show_exceptions): New function.
45777         (special_functions): Use show_exceptions instead of new_test.
45778         (parse_args): Likewise.
45779         (generate_testfile): Pass only function name in generated call to
45780         print_max_error or print_complex_max_error.
45781         (get_ulps): Do not handle complex tests specially.
45782         (output_test): Rename to ...
45783         (get_all_ulps_for_test): ... this.  Return a string rather than
45784         printing to a file.  Require ulps to be present.
45785         (output_ulps): Generate arrays rather than #defines.
45786         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45787         (struct ulp_data): New type.
45788         (BUILD_COMPLEX_ULP): Remove macro.
45789         (compare_ulp_data): New function.
45790         (find_ulps): Likewise.
45791         (find_test_ulps): Likewise.
45792         (find_function_ulps): Likewise.
45793         (find_complex_function_ulps): Likewise.
45794         (print_max_error): Determine allowed ulps using
45795         find_function_ulps.
45796         (print_complex_max_error): Determine allowed ulps using
45797         find_complex_function_ulps.
45798         (check_float_internal): Determine max ulps using find_test_ulps.
45799         (check_float): Do not take max_ulp parameter.  Update call to
45800         check_float_internal.
45801         (check_complex): Likewise.
45802         (check_int): Do not take max_ulp parameter.
45803         (check_long): Likewise.
45804         (check_bool): Likewise.
45805         (check_longlong): Likewise.
45806         (struct test_f_f_data): Remove max_ulp field.
45807         (struct test_ff_f_data): Likewise.
45808         (struct test_ff_f_data_nexttoward): Likewise.
45809         (struct test_fi_f_data): Likewise.
45810         (struct test_fl_f_data): Likewise.
45811         (struct test_if_f_data): Likewise.
45812         (struct test_fff_f_data): Likewise.
45813         (struct test_c_f_data): Likewise.
45814         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45815         (struct test_fF_f1_data): Likewise.
45816         (struct test_ffI_f1_data): Likewise.
45817         (struct test_c_c_data): Remove max_ulp field.
45818         (struct test_cc_c_data): Likewise.
45819         (struct test_f_i_data): Likewise.
45820         (struct test_ff_i_data): Likewise.
45821         (struct test_f_l_data): Likewise.
45822         (struct test_f_L_data): Likewise.
45823         (struct test_sincos_data): Likewise.
45824         (RUN_TEST_f_f): Do not handle ulps.
45825         (RUN_TEST_LOOP_f_f): Likewise.
45826         (RUN_TEST_2_f): Likewise.
45827         (RUN_TEST_LOOP_2_f): Likewise.
45828         (RUN_TEST_fff_f): Likewise.
45829         (RUN_TEST_LOOP_fff_f): Likewise.
45830         (RUN_TEST_c_f): Likewise.
45831         (RUN_TEST_LOOP_c_f): Likewise.
45832         (RUN_TEST_f_f1): Likewise.
45833         (RUN_TEST_LOOP_f_f1): Likewise.
45834         (RUN_TEST_fF_f1): Likewise.
45835         (RUN_TEST_LOOP_fF_f1): Likewise.
45836         (RUN_TEST_fI_f1): Likewise.
45837         (RUN_TEST_LOOP_fI_f1): Likewise.
45838         (RUN_TEST_ffI_f1): Likewise.
45839         (RUN_TEST_LOOP_ffI_f1): Likewise.
45840         (RUN_TEST_c_c): Likewise.
45841         (RUN_TEST_LOOP_c_c): Likewise.
45842         (RUN_TEST_cc_c): Likewise.
45843         (RUN_TEST_LOOP_cc_c): Likewise.
45844         (RUN_TEST_f_i): Likewise.
45845         (RUN_TEST_LOOP_f_i): Likewise.
45846         (RUN_TEST_f_i_tg): Likewise.
45847         (RUN_TEST_LOOP_f_i_tg): Likewise.
45848         (RUN_TEST_ff_i_tg): Likewise.
45849         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45850         (RUN_TEST_f_b): Likewise.
45851         (RUN_TEST_LOOP_f_b): Likewise.
45852         (RUN_TEST_f_b_tg): Likewise.
45853         (RUN_TEST_LOOP_f_b_tg): Likewise.
45854         (RUN_TEST_f_l): Likewise.
45855         (RUN_TEST_LOOP_f_l): Likewise.
45856         (RUN_TEST_f_L): Likewise.
45857         (RUN_TEST_LOOP_f_L): Likewise.
45858         (RUN_TEST_sincos): Likewise.
45859         (RUN_TEST_LOOP_sincos): Likewise.
45861 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45863         [BZ #15480]
45864         [BZ #15485]
45865         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45866         main case of finite arguments, set rounding mode to FE_TONEAREST
45867         and discard exceptions.
45868         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45869         exceptions.
45870         (remainder_tonearest_test_data): New variable.
45871         (remainder_test_tonearest): New function.
45872         (remainder_towardzero_test_data): New variable.
45873         (remainder_test_towardzero): New function.
45874         (remainder_downward_test_data): New variable.
45875         (remainder_test_downward): New function.
45876         (remainder_upward_test_data): New variable.
45877         (remainder_test_upward): New function.
45878         (main): Call the new test functions.
45880         * math/libm-test.inc (struct test_f_f1_data): Remove field
45881         extra_init.
45882         (struct test_fF_f1_data): Likewise.
45883         (struct test_ffI_f1_data): Likewise.
45884         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45885         based on value of EXTRA_EXPECTED.
45886         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45887         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45888         EXTRA_VAR based on value of EXTRA_EXPECTED.
45889         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45890         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45891         EXTRA_VAR based on value of EXTRA_EXPECTED.
45892         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45893         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45894         EXTRA_VAR based on value of EXTRA_EXPECTED.
45895         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45896         * math/gen-libm-test.pl (parse_args): Don't output initializers
45897         for extra output values.
45899         * math/libm-test.inc (check_int): Expect result to be exactly
45900         equal to expected value and do not handle ulps.
45901         (check_long): Likewise.
45902         (check_longlong): Likewise.
45904         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45905         exceptions.
45906         (cimag_test_data): Likewise.
45907         (conj_test_data): Likewise.
45908         (copysign_test_data): Likewise.
45909         (cproj_test_data): Likewise.
45910         (creal_test_data): Likewise.
45911         (fabs_test_data): Likewise.
45912         (fdim_test_data): Likewise.
45913         (finite_test_data): Likewise.
45914         (floor_test_data): Likewise.
45915         (fmax_test_data): Likewise.
45916         (fmin_test_data): Likewise.
45917         (fmod_test_data): Likewise.
45918         (fpclassify_test_data): Likewise.
45919         (frexp_test_data): Likewise.
45920         (ilogb_test_data): Likewise.
45921         (isfinite_test_data): Likewise.
45922         (isgreater_test_data): Likewise.
45923         (isgreaterequal_test_data): Likewise.
45924         (isinf_test_data): Likewise.
45925         (isless_test_data): Likewise.
45926         (islessequal_test_data): Likewise.
45927         (islessgreater_test_data): Likewise.
45928         (isnan_test_data): Likewise.
45929         (isnormal_test_data): Likewise.
45930         (issignaling_test_data): Likewise.
45931         (isunordered_test_data): Likewise.
45932         (ldexp_test_data): Likewise.
45933         (lrint_test_data): Likewise.
45934         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45935         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45936         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45937         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45938         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45939         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45940         test input.
45941         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45942         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45943         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45944         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45945         that test input.
45946         (lrint_downward_test_data): Test for "inexact" exceptions.
45947         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45948         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45949         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45950         test input.
45951         (lrint_upward_test_data): Test for "inexact" exceptions.
45952         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45953         test input.
45954         (llrint_test_data): Test for "inexact" exceptions.
45955         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45956         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45957         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45958         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45959         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45960         (llrint_downward_test_data): Test for "inexact" exceptions.
45961         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45962         (llrint_upward_test_data): Test for "inexact" exceptions.
45963         (logb_test_data): Likewise.
45964         (logb_downward_test_data): Likewise.
45965         (nextafter_test_data): Likewise.
45966         (nexttoward_test_data): Likewise.
45967         (remainder_test_data): Likewise.
45968         (remquo_test_data): Likewise.
45969         (scalbn_test_data): Likewise.
45970         (scalbln_test_data): Likewise.
45971         (signbit_test_data): Likewise.
45972         (sqrt_test_data): Likewise.
45973         (significand_test_data): Likewise.
45975 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45977         [BZ #15424]
45978         * benchtests/bench-modf.c (struct args): Mark arg0 as
45979         volatile.
45980         * scripts/bench.pl: Mark members of struct args as volatile.
45982 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45984         [BZ # 15497]
45985         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45986         negative infinity on POWER6 or lower.
45987         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45989 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45991         [BZ #15442]
45992         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45993         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45994         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45995         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45996         (_FP_SETQNAN): New macro.
45997         (_FP_SETQNAN_SEMIRAW): Likewise.
45998         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45999         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46000         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46001         (FP_EXTEND): Use _FP_FRAC_SNANP.
46002         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46003         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46004         into account.
46005         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46006         New macro.
46007         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46008         Likewise.
46010 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46012         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46013         with DIVIDE_BY_ZERO_EXCEPTION.
46014         (gamma_test_data): Likewise.
46015         (lgamma_test_data): Likewise.
46016         (log_test_data): Likewise.
46017         (log10_test_data): Likewise.
46018         (log2_test_data): Likewise.
46019         (tgamma_test_data): Likewise.
46021         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46022         (acos_test_tonearest): Likewise.
46023         (acos_test_towardzero): Likewise.
46024         (acos_test_downward): Likewise.
46025         (acos_test_upward): Likewise.
46026         (acosh_test): Likewise.
46027         (asin_test): Likewise.
46028         (asin_test_tonearest): Likewise.
46029         (asin_test_towardzero): Likewise.
46030         (asin_test_downward): Likewise.
46031         (asin_test_upward): Likewise.
46032         (asinh_test): Likewise.
46033         (atan_test): Likewise.
46034         (atanh_test): Likewise.
46035         (atan2_test): Likewise.
46036         (cabs_test): Likewise.
46037         (cacos_test): Likewise.
46038         (cacosh_test): Likewise.
46039         (casin_test): Likewise.
46040         (casinh_test): Likewise.
46041         (catan_test): Likewise.
46042         (catanh_test): Likewise.
46043         (cbrt_test): Likewise.
46044         (ccos_test): Likewise.
46045         (ccosh_test): Likewise.
46046         (cexp_test): Likewise.
46047         (clog_test): Likewise.
46048         (clog10_test): Likewise.
46049         (cos_test): Likewise.
46050         (cos_test_tonearest): Likewise.
46051         (cos_test_towardzero): Likewise.
46052         (cos_test_downward): Likewise.
46053         (cos_test_upward): Likewise.
46054         (cosh_test): Likewise.
46055         (cosh_test_tonearest): Likewise.
46056         (cosh_test_towardzero): Likewise.
46057         (cosh_test_downward): Likewise.
46058         (cosh_test_upward): Likewise.
46059         (cpow_test): Likewise.
46060         (csin_test): Likewise.
46061         (csinh_test): Likewise.
46062         (csqrt_test): Likewise.
46063         (ctan_test): Likewise.
46064         (ctan_test_tonearest): Likewise.
46065         (ctan_test_towardzero): Likewise.
46066         (ctan_test_downward): Likewise.
46067         (ctan_test_upward): Likewise.
46068         (ctanh_test): Likewise.
46069         (ctanh_test_tonearest): Likewise.
46070         (ctanh_test_towardzero): Likewise.
46071         (ctanh_test_downward): Likewise.
46072         (ctanh_test_upward): Likewise.
46073         (erf_test): Likewise.
46074         (erfc_test): Likewise.
46075         (exp_test): Likewise.
46076         (exp_test_tonearest): Likewise.
46077         (exp_test_towardzero): Likewise.
46078         (exp_test_downward): Likewise.
46079         (exp_test_upward): Likewise.
46080         (exp10_test): Likewise.
46081         (exp2_test): Likewise.
46082         (expm1_test): Likewise.
46083         (fmod_test): Likewise.
46084         (gamma_test): Likewise.
46085         (hypot_test): Likewise.
46086         (j0_test): Likewise.
46087         (j1_test): Likewise.
46088         (jn_test): Likewise.
46089         (lgamma_test): Likewise.
46090         (log_test): Likewise.
46091         (log10_test): Likewise.
46092         (log1p_test): Likewise.
46093         (log2_test): Likewise.
46094         (logb_test_downward): Likewise.
46095         (pow_test): Likewise.
46096         (pow_test_tonearest): Likewise.
46097         (pow_test_towardzero): Likewise.
46098         (pow_test_downward): Likewise.
46099         (pow_test_upward): Likewise.
46100         (remainder_test): Likewise.
46101         (remquo_test): Likewise.
46102         (sin_test): Likewise.
46103         (sin_test_tonearest): Likewise.
46104         (sin_test_towardzero): Likewise.
46105         (sin_test_downward): Likewise.
46106         (sin_test_upward): Likewise.
46107         (sincos_test): Likewise.
46108         (sinh_test): Likewise.
46109         (sinh_test_tonearest): Likewise.
46110         (sinh_test_towardzero): Likewise.
46111         (sinh_test_downward): Likewise.
46112         (sinh_test_upward): Likewise.
46113         (sqrt_test): Likewise.
46114         (tan_test): Likewise.
46115         (tan_test_tonearest): Likewise.
46116         (tan_test_towardzero): Likewise.
46117         (tan_test_downward): Likewise.
46118         (tan_test_upward): Likewise.
46119         (tanh_test): Likewise.
46120         (tgamma_test): Likewise.
46121         (y0_test): Likewise.
46122         (y1_test): Likewise.
46123         (yn_test): Likewise.
46125         * math/gen-libm-test.pl (adjust_arg): Remove function.
46126         (special_function): Remove argument $in_func.  Only handle
46127         generating output for tables of tests, not inside functions.
46128         (parse_args): Likewise.
46129         (generate_testfile): Remove variable $in_func.  Update call to
46130         parse_args.
46131         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46132         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46133         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46134         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46135         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46136         (MAX_VALUE_INIT): Rename macro to max_value.
46137         (MIN_VALUE_INIT): Rename macro to min_value.
46138         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46139         (plus_zero): Remove variable.
46140         (minus_zero): Likewise.
46141         (plus_infty): Likewise.
46142         (minus_infty): Likewise.
46143         (qnan_value): Likewise.
46144         (max_value): Likewise.
46145         (min_value): Likewise.
46146         (min_subnorm_value): Likewise.
46148 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46150         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46151         uint64_t or uint32_t usage.
46152         * crypt/sha256-block.c: Likewise.
46153         * crypt/sha256-crypt.c: Likewise.
46154         * crypt/sha256.c: Likewise.
46155         * crypt/sha512-block.c: Likewise.
46156         * crypt/sha512-crypt.c: Likewise.
46157         * crypt/sha512.c: Likewise.
46158         * debug/backtrace-tst.c: Likewise.
46159         * debug/pcprofiledump.c: Likewise.
46160         * elf/cache.c: Likewise.
46161         * elf/dl-cache.c: Likewise.
46162         * elf/dl-misc.c: Likewise.
46163         * elf/dl-profile.c: Likewise.
46164         * elf/dl-support.c: Likewise.
46165         * elf/ldconfig.c: Likewise.
46166         * elf/sprof.c: Likewise.
46167         * iconv/dummy-repertoire.c: Likewise.
46168         * iconv/iconv_charmap.c: Likewise.
46169         * iconv/skeleton.c: Likewise.
46170         * iconvdata/8bit-generic.c: Likewise.
46171         * iconvdata/cp737.h: Likewise.
46172         * iconvdata/cp775.h: Likewise.
46173         * iconvdata/ibm1008.h: Likewise.
46174         * iconvdata/ibm1025.h: Likewise.
46175         * iconvdata/ibm1046.h: Likewise.
46176         * iconvdata/ibm1097.h: Likewise.
46177         * iconvdata/ibm1112.h: Likewise.
46178         * iconvdata/ibm1122.h: Likewise.
46179         * iconvdata/ibm1123.h: Likewise.
46180         * iconvdata/ibm1124.h: Likewise.
46181         * iconvdata/ibm1129.h: Likewise.
46182         * iconvdata/ibm1130.h: Likewise.
46183         * iconvdata/ibm1132.h: Likewise.
46184         * iconvdata/ibm1133.h: Likewise.
46185         * iconvdata/ibm1137.h: Likewise.
46186         * iconvdata/ibm1140.h: Likewise.
46187         * iconvdata/ibm1141.h: Likewise.
46188         * iconvdata/ibm1142.h: Likewise.
46189         * iconvdata/ibm1143.h: Likewise.
46190         * iconvdata/ibm1144.h: Likewise.
46191         * iconvdata/ibm1145.h: Likewise.
46192         * iconvdata/ibm1146.h: Likewise.
46193         * iconvdata/ibm1147.h: Likewise.
46194         * iconvdata/ibm1148.h: Likewise.
46195         * iconvdata/ibm1149.h: Likewise.
46196         * iconvdata/ibm1153.h: Likewise.
46197         * iconvdata/ibm1154.h: Likewise.
46198         * iconvdata/ibm1155.h: Likewise.
46199         * iconvdata/ibm1156.h: Likewise.
46200         * iconvdata/ibm1157.h: Likewise.
46201         * iconvdata/ibm1158.h: Likewise.
46202         * iconvdata/ibm1160.h: Likewise.
46203         * iconvdata/ibm1161.h: Likewise.
46204         * iconvdata/ibm1162.h: Likewise.
46205         * iconvdata/ibm1163.h: Likewise.
46206         * iconvdata/ibm1164.h: Likewise.
46207         * iconvdata/ibm1166.h: Likewise.
46208         * iconvdata/ibm1167.h: Likewise.
46209         * iconvdata/ibm12712.h: Likewise.
46210         * iconvdata/ibm1390.h: Likewise.
46211         * iconvdata/ibm1399.h: Likewise.
46212         * iconvdata/ibm16804.h: Likewise.
46213         * iconvdata/ibm4517.h: Likewise.
46214         * iconvdata/ibm4899.h: Likewise.
46215         * iconvdata/ibm4909.h: Likewise.
46216         * iconvdata/ibm4971.h: Likewise.
46217         * iconvdata/ibm5347.h: Likewise.
46218         * iconvdata/ibm803.h: Likewise.
46219         * iconvdata/ibm856.h: Likewise.
46220         * iconvdata/ibm901.h: Likewise.
46221         * iconvdata/ibm902.h: Likewise.
46222         * iconvdata/ibm9030.h: Likewise.
46223         * iconvdata/ibm9066.h: Likewise.
46224         * iconvdata/ibm921.h: Likewise.
46225         * iconvdata/ibm922.h: Likewise.
46226         * iconvdata/ibm9448.h: Likewise.
46227         * iconvdata/isiri-3342.h: Likewise.
46228         * iconvdata/jis0201.h: Likewise.
46229         * include/link.h: Likewise.
46230         * include/netdb.h: Likewise.
46231         * inet/check_native.c: Likewise.
46232         * inet/check_pf.c: Likewise.
46233         * inet/getipv4sourcefilter.c: Likewise.
46234         * inet/getnameinfo.c: Likewise.
46235         * inet/getsourcefilter.c: Likewise.
46236         * inet/htonl.c: Likewise.
46237         * inet/setipv4sourcefilter.c: Likewise.
46238         * inet/setsourcefilter.c: Likewise.
46239         * inet/test-inet6_opt.c: Likewise.
46240         * inet/tst-network.c: Likewise.
46241         * locale/C-collate.c: Likewise.
46242         * locale/C-ctype.c: Likewise.
46243         * locale/C-time.c: Likewise.
46244         * locale/C-translit.h: Likewise.
46245         * locale/loadarchive.c: Likewise.
46246         * locale/programs/3level.h: Likewise.
46247         * locale/programs/charmap.c: Likewise.
46248         * locale/programs/charmap.h: Likewise.
46249         * locale/programs/ld-address.c: Likewise.
46250         * locale/programs/ld-collate.c: Likewise.
46251         * locale/programs/ld-ctype.c: Likewise.
46252         * locale/programs/ld-identification.c: Likewise.
46253         * locale/programs/ld-measurement.c: Likewise.
46254         * locale/programs/ld-messages.c: Likewise.
46255         * locale/programs/ld-monetary.c: Likewise.
46256         * locale/programs/ld-name.c: Likewise.
46257         * locale/programs/ld-numeric.c: Likewise.
46258         * locale/programs/ld-paper.c: Likewise.
46259         * locale/programs/ld-telephone.c: Likewise.
46260         * locale/programs/ld-time.c: Likewise.
46261         * locale/programs/linereader.c: Likewise.
46262         * locale/programs/locale.c: Likewise.
46263         * locale/programs/locarchive.c: Likewise.
46264         * locale/programs/locfile.h: Likewise.
46265         * locale/programs/repertoire.c: Likewise.
46266         * locale/programs/simple-hash.c: Likewise.
46267         * locale/programs/simple-hash.h: Likewise.
46268         * malloc/memusage.c: Likewise.
46269         * malloc/memusagestat.c: Likewise.
46270         * nis/nis_defaults.c: Likewise.
46271         * nis/nis_hash.c: Likewise.
46272         * nis/nis_print.c: Likewise.
46273         * nis/nis_xdr.c: Likewise.
46274         * nscd/connections.c: Likewise.
46275         * nscd/hstcache.c: Likewise.
46276         * nscd/nscd_gethst_r.c: Likewise.
46277         * nscd/nscd_getserv_r.c: Likewise.
46278         * nscd/nscd_helper.c: Likewise.
46279         * nscd/servicescache.c: Likewise.
46280         * nss/makedb.c: Likewise.
46281         * nss/nss_db/db-XXX.c: Likewise.
46282         * nss/nss_db/db-initgroups.c: Likewise.
46283         * nss/nss_db/db-netgrp.c: Likewise.
46284         * nss/nss_files/files-network.c: Likewise.
46285         * nss/nss_files/files-parse.c: Likewise.
46286         * posix/bug-regex5.c: Likewise.
46287         * posix/fnmatch_loop.c: Likewise.
46288         * posix/regcomp.c: Likewise.
46289         * posix/regexec.c: Likewise.
46290         * posix/tst-rfc3484-2.c: Likewise.
46291         * posix/tst-rfc3484-3.c: Likewise.
46292         * posix/tst-rfc3484.c: Likewise.
46293         * resolv/nss_dns/dns-canon.c: Likewise.
46294         * resolv/nss_dns/dns-network.c: Likewise.
46295         * resolv/res_init.c: Likewise.
46296         * resolv/res_mkquery.c: Likewise.
46297         * resolv/tst-aton.c: Likewise.
46298         * stdlib/cxa_atexit.c: Likewise.
46299         * stdlib/cxa_finalize.c: Likewise.
46300         * stdlib/gen-fpioconst.c: Likewise.
46301         * stdlib/strtol_l.c: Likewise.
46302         * string/tst-endian.c: Likewise.
46303         * sunrpc/auth_des.c: Likewise.
46304         * sunrpc/clnt_udp.c: Likewise.
46305         * sunrpc/rtime.c: Likewise.
46306         * sunrpc/svcauth_des.c: Likewise.
46307         * sunrpc/xdr.c: Likewise.
46308         * sunrpc/xdr_intXX_t.c: Likewise.
46309         * sunrpc/xdr_rec.c: Likewise.
46310         * sysdeps/generic/ldconfig.h: Likewise.
46311         * sysdeps/generic/ldsodefs.h: Likewise.
46312         * sysdeps/generic/memusage.h: Likewise.
46313         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46316         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46322         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46323         * sysdeps/posix/getaddrinfo.c: Likewise.
46324         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46325         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46326         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46327         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46328         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46329         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46330         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46331         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46332         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46333         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46334         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46335         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46336         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46337         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46338         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46339         * sysdeps/x86_64/dl-tls.h: Likewise.
46340         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46341         * time/alt_digit.c: Likewise.
46342         * time/era.c: Likewise.
46343         * wcsmbs/tst-c16c32-1.c: Likewise.
46345 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46347         * math/libm-test.inc (struct test_sincos_data): New type.
46348         (RUN_TEST_LOOP_sincos): New macro.
46349         (sincos_test_data): New variable.
46350         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46352 2013-05-16  Richard Henderson  <rth@redhat.com>
46354         * math/atest-exp2.c (LIMB64): New macro.
46355         (CONSTSZ): New macro.
46356         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46357         (hexdig): Move ...
46358         (print_mpn_fp): ... to function scope.
46359         (read_mpn_hex): Remove.
46360         (get_log2): Remove.
46361         (exp2_mpn): Use mp_log2.
46362         (main): Use mp_exp1.
46364 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46366         * math/libm-test.inc: Remove comment about not testing "inexact"
46367         exceptions.
46368         (INEXACT_EXCEPTION): New macro.
46369         (NO_INEXACT_EXCEPTION): Likewise.
46370         (INVALID_EXCEPTION_OK): Update value.
46371         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46372         (OVERFLOW_EXCEPTION_OK): Likewise.
46373         (UNDERFLOW_EXCEPTION_OK): Likewise.
46374         (IGNORE_ZERO_INF_SIGN): Likewise.
46375         (ERRNO_UNCHANGED): Likewise.
46376         (ERRNO_EDOM): Likewise.
46377         (ERRNO_ERANGE): Likewise.
46378         (test_exceptions): Handle testing "inexact" exceptions.
46379         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46380         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46381         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46382         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46383         INEXACT_EXCEPTION.
46384         (rint_towardzero_test_data): Likewise.
46385         (rint_downward_test_data): Likewise.
46386         (rint_upward_test_data): Likewise.
46388         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46389         with OVERFLOW_EXCEPTION.
46390         (exp10_test_data): Likewise.
46391         (exp2_test_data): Likewise.
46392         (expm1_test_data): Likewise.
46393         (lgamma_test_data): Likewise.
46394         (pow_test_data): Likewise.
46395         (tgamma_test_data): Likewise.
46396         (yn_test_data): Remove duplicate test of overflow.
46398         * math/libm-test.inc (struct test_cc_c_data): New type.
46399         (RUN_TEST_LOOP_cc_c): New macro.
46400         (cpow_test_data): New variable.
46401         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46403         * math/libm-test.inc (struct test_f_L_data): New type.
46404         (RUN_TEST_LOOP_f_L): New macro.
46405         (llrint_test_data): New variable.
46406         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46407         (llrint_tonearest_test_data): New variable.
46408         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46409         (llrint_towardzero_test_data): New variable.
46410         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46411         (llrint_downward_test_data): New variable.
46412         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46413         (llrint_upward_test_data): New variable.
46414         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46415         (llround_test_data): New variable.
46416         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46418 2013-05-13  Peter Collingbourne  <pcc@google.com>
46420         * math/atest-exp2.c (get_log2): Remove const attribute.
46422 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46424         * math/libm-test.inc (struct test_f_l_data): New type.
46425         (RUN_TEST_LOOP_f_l): New macro.
46426         (lrint_test_data): New variable.
46427         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46428         (lrint_tonearest_test_data): New variable.
46429         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46430         (lrint_towardzero_test_data): New variable.
46431         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46432         (lrint_downward_test_data): New variable.
46433         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46434         (lrint_upward_test_data): New variable.
46435         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46436         (lround_test_data): New variable.
46437         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46439 2013-05-15  Peter Collingbourne  <pcc@google.com>
46441         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46442         (EXTRACT_WORDS64) Use where appropriate.
46443         (INSERT_WORDS64) Likewise.
46445         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46446         constraints with x constraints.
46447         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46449         * malloc/obstack.c (_obstack_compat): Add initializer.
46451 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46453         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46454         si_trapno and add si_addr_lsb to _sifields.sigfault.
46455         (si_trapno): Remove macro.
46456         (si_addr_lsb): Define new macro.
46457         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46459 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46461         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46462         instead of TEST_f_l.
46463         (llrint_test_tonearest): Likewise.
46464         (llrint_test_towardzero): Likewise.
46465         (llrint_test_downward): Likewise.
46466         (llrint_test_upward): Likewise.
46467         (llround_test): Likewise.
46469         * math/libm-test.inc (struct test_f_i_data): Add comment.
46470         (RUN_TEST_LOOP_f_b): New macro.
46471         (RUN_TEST_LOOP_f_b_tg): Likewise.
46472         (finite_test_data): New variable.
46473         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46474         (isfinite_test_data): New variable.
46475         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46476         (isinf_test_data): New variable.
46477         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46478         (isnan_test_data): New variable.
46479         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46480         (isnormal_test_data): New variable.
46481         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46482         (issignaling_test_data): New variable.
46483         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46484         (signbit_test_data): New variable.
46485         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46487         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46488         with INVALID_EXCEPTION.
46489         (acosh_test_data): Likewise.
46490         (asin_test_data): Likewise.
46491         (atanh_test_data): Likewise.
46492         (fmod_test_data): Likewise.
46493         (log_test_data): Likewise.
46494         (log10_test_data): Likewise.
46495         (log2_test_data): Likewise.
46496         (pow_test_data): Likewise.
46497         (sqrt_test_data): Likewise.
46498         (y0_test_data): Likewise.
46499         (y1_test_data): Likewise.
46500         (yn_test_data): Likewise.
46502         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46503         function contents.
46505         * math/libm-test.inc (struct test_ff_i_data): New type.
46506         (RUN_TEST_LOOP_ff_i_tg): New macro.
46507         (isgreater_test_data): New variable.
46508         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46509         (isgreaterequal_test_data): New variable.
46510         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46511         (isless_test_data): New variable.
46512         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46513         (islessequal_test_data): New variable.
46514         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46515         (islessgreater_test_data): New variable.
46516         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46517         (isunordered_test_data): New variable.
46518         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46520 2013-05-14  David S. Miller  <davem@davemloft.net>
46522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46524 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46526         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46528         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46529         extra_test to int.
46530         (struct test_f_i_data): Change type of max_ulp to int.
46532         * math/libm-test.inc (test_ffI_f1_data): New type.
46533         (RUN_TEST_LOOP_ffI_f1): New macro.
46534         (remquo_test_data): New variable.
46535         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46537         * setjmp/tst-setjmp-fp.c: New file.
46538         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46539         (link-libm): New variable.
46540         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46542         * math/libm-test.inc (struct test_f_i_data): New type.
46543         (RUN_TEST_LOOP_f_i): New macro.
46544         (RUN_TEST_LOOP_f_i_tg): Likewise.
46545         (fpclassify_test_data): New variable.
46546         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46547         (ilogb_test_data): New variable.
46548         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46550         * math/libm-test.inc (scalbln_test): Correct function name in END
46551         call.
46553         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46554         (RUN_TEST_LOOP_fI_f1): New macro.
46555         (frexp_test_data): New variable.
46556         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46558         * math/libm-test.inc (struct test_fF_f1_data): New type.
46559         (RUN_TEST_LOOP_fF_f1): New macro.
46560         (modf_test_data): New variable.
46561         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46563         * math/libm-test.inc (struct test_f_f1_data): New type.
46564         (RUN_TEST_LOOP_f_f1): New macro.
46565         (gamma_test_data): New variable.
46566         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46567         (lgamma_test_data): New variable.
46568         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46570 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46572         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46573         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46574         (main): Comment "tls" pseudo-hwcap.
46576 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46578         * math/libm-test.inc (struct test_fl_f_data): New type.
46579         (RUN_TEST_LOOP_fl_f): New variable.
46580         (scalbln_test_data): New variable.
46581         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46583         * math/libm-test.inc (struct test_fi_f_data): New type.
46584         (RUN_TEST_LOOP_fi_f): New macro.
46585         (ldexp_test_data): New variable.
46586         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46587         (scalbn_test_data): New variable.
46588         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46590         * math/libm-test.inc (struct test_c_f_data): New type.
46591         (RUN_TEST_LOOP_c_f): New macro.
46592         (cabs_test_data): New variable.
46593         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46594         (carg_test_data): New variable.
46595         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46596         (cimag_test_data): New variable.
46597         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46598         (creal_test_data): New variable.
46599         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46601         * math/libm-test.inc (struct test_if_f_data): New type.
46602         (RUN_TEST_LOOP_if_f): New macro.
46603         (jn_test_data): New variable.
46604         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46605         (yn_test_data): New variable.
46606         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46608         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46610 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46612         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46613         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46615 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46617         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46618         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46619         (bench-deps): Add bench-timing.h.
46620         * benchtests-bench-skeleton.c: Include bench-timing.h.
46621         (main): Use TIMING_* macros instead of clock_gettime.
46622         * benchtests/bench-timing.h: New file.
46624         [BZ #14582]
46625         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46626         Renamed from _LIB_VERSION.
46627         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46629 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46631         * math/libm-test.inc (struct test_fff_f_data): New type.
46632         (RUN_TEST_LOOP_fff_f): New macro.
46633         (fma_test_data): New variable.
46634         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46635         (fma_towardzero_test_data): New variable.
46636         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46637         (fma_downward_test_data): New variable.
46638         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46639         (fma_upward_test_data): New variable.
46640         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46642         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46643         (struct test_c_c_data): New type.
46644         (RUN_TEST_LOOP_c_c): New macro.
46645         (cacos_test_data): New variable.
46646         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46647         (cacosh_test_data): New variable.
46648         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46649         (casin_test_data): New variable.
46650         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46651         (casinh_test_data): New variable.
46652         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46653         (catan_test_data): New variable.
46654         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46655         (catanh_test_data): New variable.
46656         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46657         (ccos_test_data): New variable.
46658         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46659         (ccosh_test_data): New variable.
46660         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46661         (cexp_test_data): New variable.
46662         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46663         (clog_test_data): New variable.
46664         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46665         (clog10_test_data): New variable.
46666         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46667         (conj_test_data): New variable.
46668         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46669         (cproj_test_data): New variable.
46670         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46671         (csin_test_data): New variable.
46672         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46673         (csinh_test_data): New variable.
46674         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46675         (csqrt_test_data): New variable.
46676         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46677         (ctan_test_data): New variable.
46678         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46679         (ctan_tonearest_test_data): New variable.
46680         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46681         (ctan_towardzero_test_data): New variable.
46682         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46683         (ctan_downward_test_data): New variable.
46684         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46685         (ctan_upward_test_data): New variable.
46686         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46687         (ctanh_test_data): New variable.
46688         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46689         (ctanh_tonearest_test_data): New variable.
46690         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46691         (ctanh_towardzero_test_data): New variable.
46692         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46693         (ctanh_downward_test_data): New variable.
46694         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46695         (ctanh_upward_test_data): New variable.
46696         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46697         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46698         of BUILD_COMPLEX.
46700         * math/libm-test.inc (struct test_ff_f_data): New type.
46701         (struct test_ff_f_data_nexttoward): Likewise.
46702         (RUN_TEST_LOOP_2_f): New macro.
46703         (RUN_TEST_LOOP_ff_f): Likewise.
46704         (atan2_test_data): New variable.
46705         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46706         (copysign_test_data): New variable.
46707         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46708         (fdim_test_data): New variable.
46709         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46710         (fmax_test_data): New variable.
46711         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46712         (fmin_test_data): New variable.
46713         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46714         (fmod_test_data): New variable.
46715         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46716         (hypot_test_data): New variable.
46717         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46718         (nextafter_test_data): New variable.
46719         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46720         (nexttoward_test_data): New variable.
46721         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46722         (pow_test_data): New variable.
46723         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46724         (pow_tonearest_test_data): New variable.
46725         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46726         (pow_towardzero_test_data): New variable.
46727         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46728         (pow_downward_test_data): New variable.
46729         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46730         (pow_upward_test_data): New variable.
46731         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46732         (remainder_test_data): New variable.
46733         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46734         (scalb_test_data): New variable.
46735         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46736         * sysdeps/i386/fpu/libm-test-ulps: Update.
46738 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46740         * math/libm-test.inc (fma_test): Use max_value instead of local
46741         variable fltmax.
46742         (nextafter_test): Likewise.
46744         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46745         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46746         (acos_downward_test_data): New variable.
46747         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46748         (acos_upward_test_data): New variable.
46749         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46750         (acosh_test_data): New variable.
46751         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46752         (asin_test_data): New variable.
46753         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46754         (asin_tonearest_test_data): New variable.
46755         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46756         (asin_towardzero_test_data): New variable.
46757         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46758         (asin_downward_test_data): New variable.
46759         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46760         (asin_upward_test_data): New variable.
46761         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46762         (asinh_test_data): New variable.
46763         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46764         (atan_test_data): New variable.
46765         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46766         (atanh_test_data): New variable.
46767         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46768         (cbrt_test_data): New variable.
46769         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46770         (ceil_test_data): New variable.
46771         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46772         (cos_test_data): New variable.
46773         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46774         (cos_tonearest_test_data): New variable.
46775         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46776         (cos_towardzero_test_data): New variable.
46777         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46778         (cos_downward_test_data): New variable.
46779         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46780         (cos_upward_test_data): New variable.
46781         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46782         (cosh_test_data): New variable.
46783         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46784         (cosh_tonearest_test_data): New variable.
46785         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46786         (cosh_towardzero_test_data): New variable.
46787         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46788         (cosh_downward_test_data): New variable.
46789         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46790         (cosh_upward_test_data): New variable.
46791         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46792         (erf_test_data): New variable.
46793         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46794         (erfc_test_data): New variable.
46795         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46796         (exp_test_data): New variable.
46797         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46798         (exp_tonearest_test_data): New variable.
46799         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46800         (exp_towardzero_test_data): New variable.
46801         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46802         (exp_downward_test_data): New variable.
46803         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46804         (exp_upward_test_data): New variable.
46805         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46806         (exp10_test_data): New variable.
46807         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46808         (exp2_test_data): New variable.
46809         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46810         (expm1_test_data): New variable.
46811         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46812         (fabs_test_data): New variable.
46813         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46814         (floor_test_data): New variable.
46815         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46816         (j0_test_data): New variable.
46817         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46818         (j1_test_data): New variable.
46819         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46820         (log_test_data): New variable.
46821         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46822         (log10_test_data): New variable.
46823         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46824         (log1p_test_data): New variable.
46825         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46826         (log2_test_data): New variable.
46827         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46828         (logb_test_data): New variable.
46829         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46830         (logb_downward_test_data): New variable.
46831         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46832         (nearbyint_test_data): New variable.
46833         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46834         (rint_test_data): New variable.
46835         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46836         (rint_tonearest_test_data): New variable.
46837         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46838         (rint_towardzero_test_data): New variable.
46839         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46840         (rint_downward_test_data): New variable.
46841         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46842         (rint_upward_test_data): New variable.
46843         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46844         (round_test_data): New variable.
46845         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46846         (sin_test_data): New variable.
46847         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46848         (sin_tonearest_test_data): New variable.
46849         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46850         (sin_towardzero_test_data): New variable.
46851         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46852         (sin_downward_test_data): New variable.
46853         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46854         (sin_upward_test_data): New variable.
46855         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46856         (sinh_test_data): New variable.
46857         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46858         (sinh_tonearest_test_data): New variable.
46859         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46860         (sinh_towardzero_test_data): New variable.
46861         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46862         (sinh_downward_test_data): New variable.
46863         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46864         (sinh_upward_test_data): New variable.
46865         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46866         (sqrt_test_data): New variable.
46867         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46868         (tan_test_data): New variable.
46869         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46870         (tan_tonearest_test_data): New variable.
46871         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46872         (tan_towardzero_test_data): New variable.
46873         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46874         (tan_downward_test_data): New variable.
46875         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46876         (tan_upward_test_data): New variable.
46877         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46878         (tanh_test_data): New variable.
46879         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46880         (tgamma_test_data): New variable.
46881         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46882         (trunc_test_data): New variable.
46883         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46884         (y0_test_data): New variable.
46885         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46886         (y1_test_data): New variable.
46887         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46888         (significand_test_data): New variable.
46889         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46891 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46893         [BZ #12387]
46894         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46896 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46898         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46900 2013-05-10  Andreas Jaeger  <aj@suse.de>
46902         [BZ #15448]
46903         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46904         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46906 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46908         * math/gen-libm-test.pl (adjust_arg): New function.
46909         (special_functions): Handle generating output in both functions
46910         and arrays.
46911         (parse_args): Likewise.
46912         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46913         $in_func argument to parse_args.
46914         * math/libm-test.inc (struct test_f_f_data): New type.
46915         (IF_ROUND_INIT_): New macro.
46916         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46917         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46918         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46919         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46920         (ROUND_RESTORE_): Likewise.
46921         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46922         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46923         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46924         (ROUND_RESTORE_FE_UPWARD): Likewise.
46925         (RUN_TEST_LOOP_f_f): New macro.
46926         (acos_test_data): New variable.
46927         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46928         (acos_tonearest_test_data): New variable.
46929         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46931 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * benchtests/bench-skeleton.c (startup): Fix coding style.
46935 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46937         [BZ #6809]
46938         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46939         negative infinity argument.
46940         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46941         negative infinity argument.
46942         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46943         negative infinity argument.
46944         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46945         domain errors.
46947 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46949         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46950         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46951         * iconv/iconv_prog.c (main): Likewise.
46952         * locale/programs/charmap-dir.c (charmap_readdir)
46953         (fopen_uncompressed): Likewise.
46954         * locale/programs/locfile.c (siblings_uncached)
46955         (write_locale_data): Use lstat64 instead of lstat.
46956         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46957         stat.
46959 2013-05-10  Andreas Jaeger  <aj@suse.de>
46961         [BZ #15395]
46962         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46963         localization.
46964         Include <locale.h>.
46966 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46968         * elf/dl-close.c (_dl_close_worker): Add comments.
46970 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46972         [BZ #15359]
46973         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46974         high part of pi/2.
46975         (__ieee754_rem_pio2l): Update comments.
46977         [BZ #15429]
46978         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46979         high part of pi/2.
46980         (__ieee754_rem_pio2l): Update comments.
46982         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46983         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46985         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46986         M_PI_4l.
46988         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46989         (M_PI_34_LOG10El): Likewise.
46990         (M_PI2_LOG10El): Likewise.
46991         (M_PI4_LOG10El): Likewise.
46992         (M_PI_LOG10El): Likewise.
46994 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46998 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47000         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47001         (MINUS_ZERO_INIT): Likewise.
47002         (PLUS_INFTY_INIT): Likewise.
47003         (MINUS_INFTY_INIT): Likewise.
47004         (QNAN_VALUE_INIT): Likewise.
47005         (MAX_VALUE_INIT): Likewise.
47006         (MIN_VALUE_INIT): Likewise.
47007         (MIN_SUBNORM_VALUE_INIT): Likewise.
47008         (plus_zero): Initialize with PLUS_ZERO_INIT.
47009         (minus_zero): Initialize with MINUS_ZERO_INIT.
47010         (plus_infty): Initialize with PLUS_INFTY_INIT.
47011         (minus_infty): Initialize with MINUS_INFTY_INIT.
47012         (qnan_value): Initialize with QNAN_VALUE_INIT.
47013         (max_value): Initialize with MAX_VALUE_INIT.
47014         (min_value): Initialize with MIN_VALUE_INIT.
47015         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47017         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47018         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47019         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47020         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47022         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47023         (RUN_TEST_2_f): Likewise.
47024         (RUN_TEST_ff_f): Likewise.
47025         (RUN_TEST_fi_f): Likewise.
47026         (RUN_TEST_fl_f): Likewise.
47027         (RUN_TEST_fff_f): Likewise.
47028         (RUN_TEST_c_f): Likewise.
47029         (RUN_TEST_f_f1): Likewise.
47030         (RUN_TEST_fF_f1): Likewise.
47031         (RUN_TEST_fI_f1): Likewise.
47032         (RUN_TEST_ffI_f1): Likewise.
47033         (RUN_TEST_c_c): Likewise.
47034         (RUN_TEST_cc_c): Likewise.
47035         (RUN_TEST_f_i): Likewise.
47036         (RUN_TEST_f_i_tg): Likewise.
47037         (RUN_TEST_ff_i_tg): Likewise.
47038         (RUN_TEST_f_b): Likewise.
47039         (RUN_TEST_f_b_tg): Likewise.
47040         (RUN_TEST_f_l): Likewise.
47041         (RUN_TEST_f_L): Likewise.
47042         (RUN_TEST_sincos): Likewise.
47043         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47044         whether to show exceptions.  Do not include ");\n" in return
47045         value.
47046         (special_functions): Output call to RUN_TEST_sincos instead of
47047         check_float calls.  Update calls to new_test.
47048         (parse_args): Output call to single RUN_TEST_* macro instead of
47049         check_* calls and other assignments.  Update calls to new_test.
47051         [BZ #2546]
47052         [BZ #2560]
47053         [BZ #5159]
47054         [BZ #15426]
47055         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47056         input to result for tgamma overflow.
47057         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47058         (gamma_coeff): New variable.
47059         (NCOEFF): New macro.
47060         (gamma_positive): New function.
47061         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47062         underflow here.  Use gamma_positive instead of exp (lgamma) for
47063         other arguments.
47064         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47065         (gamma_coeff): New variable.
47066         (NCOEFF): New macro.
47067         (gammaf_positive): New function.
47068         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47069         underflow here.  Use gamma_positive instead of exp (lgamma) for
47070         other arguments.
47071         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47072         (gamma_coeff): New variable.
47073         (NCOEFF): New macro.
47074         (gammal_positive): New function.
47075         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47076         underflow here.  Use gamma_positive instead of exp (lgamma) for
47077         other arguments.
47078         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47079         (gamma_coeff): New variable.
47080         (NCOEFF): New macro.
47081         (gammal_positive): New function.
47082         (__ieee754_gammal_r): Handle positive infinity, overflow and
47083         underflow here.  Handle NaN the same as positive infinity.  Remove
47084         check x < 0xffffffff for negative integers.  Use gamma_positive
47085         instead of exp (lgamma) for other arguments.
47086         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47087         (gamma_coeff): New variable.
47088         (NCOEFF): New macro.
47089         (gammal_positive): New function.
47090         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47091         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47092         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47093         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47094         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47095         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47096         * sysdeps/generic/math_private.h (__gamma_productf): New
47097         prototype.
47098         (__gamma_product): Likewise.
47099         (__gamma_productl): Likewise.
47100         * math/Makefile (libm-calls): Add gamma_product.
47101         * math/libm-test.inc (tgamma_test): Add more tests.
47102         * sysdeps/i386/fpu/libm-test-ulps: Update.
47103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47105 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47107         * benchtests/bench-skeleton.c (main): Preheat CPU.
47109 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47111         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47113 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47115         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47116         and _dl_skip_args_internal.
47118 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47120         * manual/message.texi (Message Translation): Talk about users.
47121         Message to key mapping impacts design.
47123 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47125         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47127         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47129         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47130         * sysdeps/wordsize-64/glob64.c: ... here.
47132         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47133         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47134         New macros.
47136         * debug/getlogin_r_chk.c: Moved to ...
47137         * login/getlogin_r_chk.c: ... here.
47138         * debug/Makefile (routines): Move getlogin_r_chk to ...
47139         * login/Makefile (routines): ... here.
47140         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47141         * login/Versions (libc: GLIBC_2.4): ... here.
47143         * io/poll.c (__poll): Renamed from poll.
47144         Add libc_hidden_def.
47145         (poll): Define as weak alias.
47147         * debug/ptsname_r_chk.c: Moved to ...
47148         * login/ptsname_r_chk.c: ... here.
47149         * debug/Makefile (routines): Move ptsname_r_chk to ...
47150         * login/Makefile (routines): ... here.
47151         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47152         * login/Versions (libc: GLIBC_2.4): ... here.
47154         * posix/getlogin.c: Moved to ...
47155         * login/getlogin.c: ... here.
47156         * posix/getlogin_r.c: Moved to ...
47157         * login/getlogin_r.c: ... here.
47158         * posix/getlogin_r.c: Moved to ...
47159         * login/getlogin_r.c: ... here.
47160         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47161         * login/Makefile (routines): ... here.
47162         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47163         * login/Versions (libc: GLIBC_2.0): ... here.
47165         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47166         (setrlimit): Define as weak alias.
47168         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47169         Call __ names for open, ftruncate, and close.
47170         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47171         (truncate): Define as weak alias.
47173 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47175         * math/gen-libm-test.pl (parse_args): Initialize x before each
47176         test of frexp, modf and remquo.
47178         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47179         test signgam value.
47181 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47183         [BZ #15418]
47184         [BZ #15419]
47185         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47186         internal tests.
47187         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47189 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47191         * elf/dl-writev.h: New file.
47192         * elf/dl-misc.c: Include it.
47193         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47194         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47196 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47198         * math/libm-test.inc (noXFails): Remove variable.
47199         (noXPasses): Likewise.
47200         (BUILD_COMPLEX_INT): Remove macro.
47201         (print_screen): Remove xfail argument.
47202         (print_screen_max_error): Likewise.
47203         (update_stats): Likewise.
47204         (print_max_error): Likewise.  Update calls to other affected
47205         functions.
47206         (print_complex_max_error): Likewise.
47207         (test_single_exception): Update calls to print_screen.
47208         (test_single_errno): Likewise.
47209         (check_float_internal): Remove xfail argument.  Update calls to
47210         other affected functions.
47211         (check_float): Likewise.
47212         (check_complex): Likewise.
47213         (check_int): Likewise.
47214         (check_long): Likewise.
47215         (check_bool): Likewise.
47216         (check_longlong): Likewise.
47217         (main): Don't print noXFails and noXPasses.
47218         * math/gen-libm-test.pl (top level): Don't mention expected
47219         failure handling in comment.
47220         (new_test): Don't handle expected failures.
47221         (parse_args): Don't mention expected failure handling in comment.
47222         (generate_testfile): Don't handle expected failures.
47223         (parse_ulps): Likewise.
47224         (print_ulps_file): Likewise.
47225         (get_failure): Remove function.
47226         (output_test): Don't handle expected failures.
47227         * make/README.libm-test: Don't mention expected failure handling.
47229         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47230         (minus_zero): Likewise.
47231         (plus_infty): Likewise.
47232         (minus_infty): Likewise.
47233         (qnan_value): Likewise.
47234         (max_value): Likewise.
47235         (min_value): Likewise.
47236         (min_subnorm_value): Likewise.
47237         (initialize): Do not initialize those variables dynamically.
47239 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47241         * io/open.c (__open_2): Moved to ...
47242         * io/open_2.c: ... this new file.
47243         * io/open64.c (__open64_2): Moved to ...
47244         * io/open64_2.c: ... this new file.
47245         * io/openat.c (__openat_2): Moved to ...
47246         * io/openat_2.c: ... this new file.
47247         * io/openat64.c (__openat64_2): Moved to ...
47248         * io/openat64_2.c: ... this new file.
47249         * io/Makefile (routines): Add them.
47250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47251         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47252         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47253         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47254         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47255         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47256         (__openat64): Add hidden_ver.
47257         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47258         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47260         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47261         Separately conditionalize setting of GLRO(dl_sysinfo) so
47262         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47263         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47265 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47267         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47268         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47269         definition.
47270         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47271         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47272         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47273         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47274         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47276 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47278         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47279         test signgam value.
47281         * math/libm-test.inc (hypot_test): Do not use
47282         IGNORE_ZERO_INF_SIGN.
47284 2013-05-03  Andreas Jaeger  <aj@suse.de>
47286         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47287         Linux 3.9.
47288         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47289         (PF_MAX): Adjust for VSOCK change.
47291 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47295 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47297         [BZ #15264]
47298         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47299         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47300         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47302 2013-05-02  David S. Miller  <davem@davemloft.net>
47304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47306 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47308         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47310 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47312         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47314 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47316         [BZ #14952]
47317         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47318         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47319         Use __attribute__ ((__gnu_inline__)).
47320         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47321         Don't use __attribute__ ((__gnu_inline__)).
47323 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47325         [BZ #15423]
47326         * math/s_catan.c (__catan): Handle small real or imaginary part of
47327         input specially to avoid spurious underflow.
47328         * math/s_catanf.c (__catanf): Likewise.
47329         * math/s_catanh.c (__catanh): Likewise.
47330         * math/s_catanhf.c (__catanhf): Likewise.
47331         * math/s_catanhl.c (__catanhl): Likewise.
47332         * math/s_catanl.c (__catanl): Likewise.
47333         * math/libm-test.inc (catan_test): Add more tests.
47334         (catanh_test): Likewise.
47335         * sysdeps/i386/fpu/libm-test-ulps: Update.
47336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47338 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47342 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47344         [BZ #15416]
47345         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47346         accurately for denominator in atan2.
47347         * math/s_catanf.c (__catanf): Likewise.
47348         * math/s_catanh.c (__catanh): Likewise.
47349         * math/s_catanhf.c (__catanhf): Likewise.
47350         * math/s_catanhl.c (__catanhl): Likewise.
47351         * math/s_catanl.c (__catanl): Likewise.
47352         * math/libm-test.inc (catan_test): Add more tests.
47353         (catanh_test): Likewise.
47354         * sysdeps/i386/fpu/libm-test-ulps: Update.
47355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47357 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47359         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47361         * benchtests/Makefile (bench): Remove slow benchmarks.
47362         * benchtests/atan-inputs: Add slow benchmark inputs.
47363         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47364         (BENCH_FUNC): Accept variant offset.
47365         (VARIANT): Define.
47366         * benchtests/bench-skeleton.c (main): Run benchmark for each
47367         variant.
47368         * benchtests/cos-inputs: Add slow benchmark inputs.
47369         * benchtests/exp-inputs: Likewise.
47370         * benchtests/pow-inputs: Likewise.
47371         * benchtests/sin-inputs: Likewise.
47372         * benchtests/slowatan-inputs: Remove.
47373         * benchtests/slowatan.c: Remove.
47374         * benchtests/slowcos-inputs: Remove.
47375         * benchtests/slowcos.c: Remove.
47376         * benchtests/slowexp-inputs: Remove.
47377         * benchtests/slowexp.c: Remove.
47378         * benchtests/slowpow-inputs: Remove.
47379         * benchtests/slowpow.c: Remove.
47380         * benchtests/slowsin-inputs: Remove.
47381         * benchtests/slowsin.c: Remove.
47382         * benchtests/slowtan-inputs: Remove.
47383         * benchtests/slowtan.c: Remove.
47384         * benchtests/tan-inputs: Add slow benchmark inputs.
47385         * scripts/bench.pl: Parse comments and directives.
47387         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47388         in CPPFLAGS.
47389         ($(objpfx)bench-%.c): Remove *-ITER.
47390         * benchtests/bench-modf.c: Remove definition of ITER.
47391         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47392         (main): Loop for DURATION seconds instead of fixed number of
47393         iterations.
47394         * scripts/bench.pl: Don't expect iterations in parameters.
47396 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47398         * io/fchdir.c (__fchdir): Renamed from fchdir.
47399         (fchdir): Define as weak alias.
47401 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47403         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47404         (ERRNO_EDOM): Likewise.
47405         (ERRNO_ERANGE): Likewise.
47406         (noErrnoTests): New variable.
47407         (init_max_error): Set errno to 0.
47408         (test_single_errno): New function.
47409         (test_errno): Likewise.
47410         (check_float_internal): Call test_errno.  Set errno to 0.
47411         (check_complex): Refer to errno tests in comment.
47412         (check_int): Call test_errno.  Set errno to 0.
47413         (check_long): Likewise.
47414         (check_bool): Likewise.
47415         (check_longlong): Likewise.
47416         (cos_test): Use ERRNO_* flags for errno tests instead of
47417         check_int.
47418         (expm1_test): Likewise.
47419         (fmod_test): Likewise.
47420         (ilogb_test): Likewise.
47421         (lgamma_test): Likewise.
47422         (pow_test): Likewise.
47423         (remainder_test): Likewise.
47424         (sin_test): Likewise.
47425         (tan_test): Likewise.
47426         (yn_test): Likewise.
47427         (initialize): Set errno to 0.
47428         (main): Print number of errno tests.
47429         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47431 2013-04-29  Andreas Jaeger  <aj@suse.de>
47433         [BZ #15084]
47434         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47435         and RES_USEVC.
47437         [BZ #15085]
47438         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47439         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47440         unimplemented.
47442         [BZ #15380]
47443         * stdlib/random.c (__initstate): Return NULL if
47444         __initstate fails.
47446         [BZ #15086]
47447         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47448         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47449         RES_SNGLKUPREOP.
47451 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47455 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47457         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47458         of individual tests.
47459         (casin_test): Likewise.
47460         (casinh_test): Likewise.
47462 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47464         [BZ #15409]
47465         * math/s_catan.c (__catan): Handle arguments with large real or
47466         imaginary part separately without squaring.
47467         * math/s_catanf.c (__catanf): Likewise.
47468         * math/s_catanh.c (__catanh): Likewise.
47469         * math/s_catanhf.c (__catanhf): Likewise.
47470         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47471         and redefine.
47472         (__catanhl): Handle arguments with large real or imaginary part
47473         separately without squaring.
47474         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47475         and redefine.
47476         (__catanl): Handle arguments with large real or imaginary part
47477         separately without squaring.
47478         * math/libm-test.inc (catan_test): Add more tests.
47479         (catanh_test): Likewise.
47480         * sysdeps/i386/fpu/libm-test-ulps: Update.
47481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47483 2013-04-27  Andreas Jaeger  <aj@suse.de>
47485         [BZ #15007]
47486         * stdlib/stdlib.h: Update guards for qecvt.
47487         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47488         <stdlib.h>.
47490 2013-04-27  Allan McRae  <allan@archlinux.org>
47492         * sysdeps/i386/fpu/libm-test-ulps: Update.
47494 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47496         [BZ #15406]
47497         * math/s_catan.c: Include <float.h>.
47498         (__catan): Ensure underflow exception occurs for underflowed
47499         result.
47500         * math/s_catanf.c: Include <float.h>.
47501         (__catanf): Ensure underflow exception occurs for underflowed
47502         result.
47503         * math/s_catanh.c: Include <float.h>.
47504         (__catanh): Ensure underflow exception occurs for underflowed
47505         result.
47506         * math/s_catanhf.c: Include <float.h>.
47507         (__catanhf): Ensure underflow exception occurs for underflowed
47508         result.
47509         * math/s_catanhl.c: Include <float.h>.
47510         (__catanhl): Ensure underflow exception occurs for underflowed
47511         result.
47512         * math/s_catanl.c: Include <float.h>.
47513         (__catanl): Ensure underflow exception occurs for underflowed
47514         result.
47515         * math/libm-test.inc (catan_test): Add more tests.
47516         (catanh_test): Likewise.
47518         [BZ #15405]
47519         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47520         underflowed result.
47521         * math/s_ccoshf.c (__ccoshf): Likewise.
47522         * math/s_ccoshl.c (__ccoshl): Likewise.
47523         * math/s_csin.c (__csin): Likewise.
47524         * math/s_csinf.c (__csinf): Likewise.
47525         * math/s_csinh.c (__csinh): Likewise.
47526         * math/s_csinhf.c (__csinhf): Likewise.
47527         * math/s_csinhl.c (__csinhl): Likewise.
47528         * math/s_csinl.c (__csinl): Likewise.
47529         * math/libm-test.inc (ccos_test): Add more tests.
47530         (ccosh_test): Likewise.
47531         (csin_test): Likewise.
47532         (csinh_test): Likewise.
47534 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47536         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47537         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47538         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47539         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47540         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47541         powerpc/power5+/fpu folders.
47542         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47545 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47549 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47551         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47552         additions to variable.
47553         [$(config-machine) = x86_64] (modules-names): Likewise.
47554         ($(objpfx)tst-audit3): Remove dependency.
47555         ($(objpfx)tst-audit3.out): Likewise.
47556         ($(objpfx)tst-audit4): Likewise.
47557         ($(objpfx)tst-audit4.out): Likewise.
47558         ($(objpfx)tst-audit5): Likewise.
47559         ($(objpfx)tst-audit5.out): Likewise.
47560         ($(objpfx)tst-audit6): Likewise.
47561         ($(objpfx)tst-audit6.out): Likewise.
47562         ($(objpfx)tst-audit7): Likewise.
47563         ($(objpfx)tst-audit7.out): Likewise.
47564         (tst-audit3-ENV): Remove variable.
47565         (tst-audit4-ENV): Likewise.
47566         (tst-audit5-ENV): Likewise.
47567         (tst-audit6-ENV): Likewise.
47568         (tst-audit7-ENV): Likewise.
47569         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47570         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47571         addition to variable.
47572         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47573         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47574         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47575         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47576         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47577         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47578         tst-audit3, tst-audit4 and tst-audit5.
47579         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47580         tst-audit6 and tst-audit7.
47581         [$(subdir) = elf] (modules-names): Add audit modules for those
47582         tests.
47583         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47584         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47585         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47586         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47587         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47588         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47589         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47590         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47591         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47592         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47593         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47594         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47595         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47596         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47597         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47598         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47599         Likewise.
47600         [$(subdir) = elf && $(config-cflags-avx) = yes]
47601         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47602         [$(subdir) = elf && $(config-cflags-avx) = yes]
47603         (CFLAGS-tst-auditmod4a.c): Likewise.
47604         [$(subdir) = elf && $(config-cflags-avx) = yes]
47605         (CFLAGS-tst-auditmod4b.c): Likewise.
47606         [$(subdir) = elf && $(config-cflags-avx) = yes]
47607         (CFLAGS-tst-auditmod6b.c): Likewise.
47608         [$(subdir) = elf && $(config-cflags-avx) = yes]
47609         (CFLAGS-tst-auditmod6c.c): Likewise.
47610         [$(subdir) = elf && $(config-cflags-avx) = yes]
47611         (CFLAGS-tst-auditmod7b.c): Likewise.
47612         * elf/tst-audit3.c: Move to ...
47613         * sysdeps/x86_64/tst-audit3.c: ... here.
47614         * elf/tst-audit4.c: Move to ...
47615         * sysdeps/x86_64/tst-audit4.c: ... here.
47616         * elf/tst-audit5.c: Move to ...
47617         * sysdeps/x86_64/tst-audit5.c: ... here.
47618         * elf/tst-audit6.c: Move to ...
47619         * sysdeps/x86_64/tst-audit6.c: ... here.
47620         * elf/tst-audit7.c: Move to ...
47621         * sysdeps/x86_64/tst-audit7.c: ... here.
47622         * elf/tst-auditmod3a.c: Move to ...
47623         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47624         * elf/tst-auditmod3b.c: Move to ...
47625         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47626         * elf/tst-auditmod4a.c: Move to ...
47627         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47628         * elf/tst-auditmod4b.c: Move to ...
47629         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47630         * elf/tst-auditmod5a.c: Move to ...
47631         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47632         * elf/tst-auditmod5b.c: Move to ...
47633         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47634         * elf/tst-auditmod6a.c: Move to ...
47635         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47636         * elf/tst-auditmod6b.c: Move to ...
47637         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47638         * elf/tst-auditmod6c.c: Move to ...
47639         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47640         * elf/tst-auditmod7a.c: Move to ...
47641         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47642         * elf/tst-auditmod7b.c: Move to ...
47643         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47645 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47647         [BZ #15366]
47648         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47649         define unconditionally.
47650         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47651         define unconditionally.
47652         (INT8_C, INT16_C, etc.): Likewise.
47654 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47656         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47657         __ehdr_start with hidden visibility.
47659         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47661 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47663         * math/libm-test.inc (cos_test): Use accurate hex constants.
47664         (sincost_test): Likewise.
47666 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47668         * math/libm-test.inc (catan_test): Add more tests.
47669         (catanh_test): Likewise.
47671         * math/s_catanf.c (__catanf): Use suffixed floating-point
47672         constants.
47673         * math/s_catanhf.c (__catanhf): Likewise.
47674         * math/s_catanhl.c (__catanhl): Likewise.
47675         * math/s_catanl.c (__catanl): Likewise.
47677         [BZ #15394]
47678         * math/s_catan.c (__catan): Calculate imaginary part of result
47679         with log1p not log unless computing log of number close to 0.
47680         * math/s_catanf.c (__catanf): Likewise.
47681         * math/s_catanl.c (__catanl): Likewise.
47682         * math/s_catanh.c (__catanh): Calculate real part of result with
47683         log1p not log unless computing log of number close to 0.
47684         * math/s_catanhf.c (__catanhf): Likewise.
47685         * math/s_catanhl.c (__catanhl): Likewise.
47686         * math/libm-test.inc (catan_test): Add more tests.
47687         (catanh_test): Likewise.
47688         * sysdeps/i386/fpu/libm-test-ulps: Update.
47689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47691 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47693         * benchtests/Makefile: Mention files in which fast and slow
47694         paths of math functions are implemented.
47696 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47698         * sysdeps/posix/timespec_get.c: New file.
47700 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47702         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47703         POWER.
47704         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47705         for POWER.
47706         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47707         powerpc/power5/fpu folders.
47708         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47709         * benchtests/Makefile: Add modf testcase.
47710         * benchtests/bench-modf.c: New file: Benchmark test for mo
47712 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47714         [BZ #14888]
47715         * time/Makefile (tests): Add tst-strptime-whitespace.
47716         * time/strptime_l.c (get_number): Use ISSPACE.
47717         (__strptime_internal): Likewise.
47718         * time/tst-strptime-whitespace.c: New test case.
47720 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47722         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47723         member.
47724         (_nss_files_init): Set it here.
47726 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47728         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47729         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47730         unsigned.
47732 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47734         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47736 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47738         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47739         size just once.
47741 2013-04-21  David S. Miller  <davem@davemloft.net>
47743         * po/ru.po: Update Russion translation from translation project.
47745 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47747         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47748         and setfsgid.
47750 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47752         * configure.in: Remove i386 configure warning. Remove i386 case.
47753         * configure: Regenerate.
47754         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47755         Add example to error message.
47756         * sysdeps/i386/configure: Regenerate.
47758 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47760         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47761         slowtan.
47762         * benchtests/cos-inputs: New file.
47763         * benchtests/slowcos-inputs: New file.
47764         * benchtests/slowcos.c: New file.
47765         * benchtests/slowtan-inputs: New file.
47766         * benchtests/slowtan.c: New file.
47767         * benchtests/tan-inputs: New file.
47769 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47771         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47772         considered kosher.
47774 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47776         * benchtests/Makefile: Include cppflags-iterator.mk to add
47777         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47779         * Makefile.in (bench-clean): New target.
47780         * benchtests/Makefile (bench-clean): Likewise.
47782 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47784         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47786 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47788         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47790 2013-04-15  Andreas Schwab  <schwab@suse.de>
47792         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47793         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47794         * nscd/pwdcache.c (cache_addpw): Likewise.
47795         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47796         more than recsize.
47798 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47800         * benchtests/Makefile (bench): Write all output to
47801         bench-out.tmp together.
47803 2013-04-15  Andreas Schwab  <schwab@suse.de>
47805         * nscd/nscd.c (main): Don't fork again after closing files.
47807 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47809         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47811         * benchtests/Rules (bench-deps): Collect dependencies into a
47812         single variable.  Add Makefile to dependencies.
47813         ($(objpfx)bench-%.c): Depend on bench-deps.
47815 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47816             Xavier Roche  <roche+kml2@exalead.com>
47818         [BZ #15361]
47819         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47820         just that it's a file descriptor.
47821         * manual/llio.texi (Synchronizing AIO Operations): Update description
47822         for EBADF error from aio_fsync.
47824 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47826         * Rules (bench): Move target definition...
47827         * benchtests/Makefile: ... here.
47829 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47831         * math/libm-test.inc (cos_test): Fix PI/2 test.
47832         (sincos_test): Likewise.
47833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47834         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47836 2013-04-11  Andreas Schwab  <schwab@suse.de>
47838         [BZ #13988]
47839         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47840         accept exponent character only when digits were seen.
47841         * stdio-common/Makefile (tests): Add bug26.
47842         * stdio-common/bug26.c: New file.
47844         [BZ #14293]
47845         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47846         non-freeable.
47848 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47850         * Makeconfig (rtld-prefix): Define built linker prefix.
47851         * Rules (run-bench): Use it.
47852         * math/Makefile (run-regen-ulps): Likewise.
47854         * Rules (bench): Remove eval.
47856 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47857             Roland McGrath  <roland@hack.frob.com>
47858             Ondrej Bilka  <neleai@seznam.cz>
47860         [BZ #15346]
47861         * time/getdate.c: Include ctype.h and alloca.h.
47862         (__getdate_r): Trim leading and trailing spaces of input.
47863         * time/tst-getdate.c (tests): Add tests with leading and
47864         trailing spaces.
47866 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47868         [BZ #14280]
47869         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47870         when computing value.
47872 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47874         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47875         Use testrun.sh to run libm tests.
47877         [BZ #15309]
47878         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47880 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47882         [BZ #15264]
47883         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47885 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47887         * Makefile.in (regen-ulps): New target.
47888         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47889         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47890         [ifneq (no,$(PERL)] (regen-ulps): New target.
47891         [ifeq (no,$(PERL)] (regen-ulps): New target.
47892         * math/libm-test.inc (ulps_file_name): Define.
47893         (output_dir): New variable.
47894         (options): Add "output-dir" option.
47895         (parse_opt): Handle 'o' case.
47896         (main): If output_dir is non-NULL use it as a prefix
47897         otherwise use "".
47898         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47900 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47902         [BZ #10060, #10062]
47903         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47904         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47905         fail configure if __sync_val_compare_and_swap is not inlined.
47906         * sysdeps/i386/configure: Regenerate.
47907         * configure.in: Build for i686 when configured for i386.
47908         * configure: Regenerate.
47909         * README: Remove i386 reference.
47911 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47913         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47914         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47916 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47918         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47919         (lmsnanval): New variables.
47920         (F): Add conversion tests.
47921         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47922         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47924         * stdio-common/tstdiomisc.c (F): Properly collect individual
47925         tests' results.
47927         [BZ #14686, #15336]
47928         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47929         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47930         Instead, use input NaN values or generate a qNaN by arithmetic
47931         operation.  Also fix bugs to comply with the standard.
47932         * math/libm-test.inc (remainder_test): Add more tests.
47934         [BZ #15335, #15342]
47935         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47936         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47937         input NaN values or generate a qNaN by arithmetic operation.
47939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47940         unreachable code.
47942         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47943         definitions.
47945 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47947         [BZ #14478]
47948         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47949         underflowed result.
47950         * math/s_cexpf.c (__cexpf): Likewise.
47951         * math/s_cexpl.c (__cexpl): Likewise.
47952         * math/libm-test.inc (cexp_test): Add more tests.
47954 2013-04-03  Andreas Schwab  <schwab@suse.de>
47956         [BZ #15330]
47957         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47958         order arrays from heap if bigger than alloca cutoff.
47960 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47962         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47963         (SNAN_TESTS_double): Refer to GCC PR56831.
47964         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47965         GCC PR56828.
47967 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47969         * Rules (bench): Move bench.out after the run is complete.
47971         * Rules (bench): Echo currently running benchmark.
47973         * benchtests/Makefile (bench): Add atan and slowatan.
47974         * benchtests/atan-inputs: New file.
47975         * benchtests/slowatan-inputs: New file.
47976         * benchtests/slowatan.c: New file.
47978         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47979         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47980         its value.
47982         [BZ #15305]
47983         * sysdeps/unix/sysv/linux/kernel-features.h
47984         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47985         __ASSUME_XFS_RESTRICTED_CHOWN.
47986         * sysdeps/unix/sysv/linux/pathconf.c
47987         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47988         Save and restore errno.
47990 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47992         [BZ #15327]
47993         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47994         arguments using __kernel_casinh.
47995         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47996         arguments using __kernel_casinhf.
47997         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47998         arguments using __kernel_casinhl.
47999         * math/libm-test.inc (cacosh_test): Add more tests.
48000         * sysdeps/i386/fpu/libm-test-ulps: Update.
48001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48003 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48005         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48008         * bench/Makefile (bench): Add sin and slowsin.
48009         * benchtests/sin-inputs: New file.
48010         * benchtests/slowsin-inputs: New file.
48011         * benchtests/slowsin.c: New file.
48013         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48014         (bench): Add slowexp and slowpow.
48015         (exp-ITER): Increase iterations.
48016         (pow-ITER): Likewise.
48017         * benchtests/exp-inputs: Change input.
48018         * benchtests/pow-inputs: Likewise.
48019         * benchtests/slowexp-inputs: New file.
48020         * benchtests/slowexp.c: New file.
48021         * benchtests/slowpow-inputs: New file.
48022         * benchtests/slowpow.c: New file.
48024 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48026         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48027         instructions.
48028         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48029         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48030         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48031         * benchtests/Makefile: Add rint benchtest.
48032         * benchtests/rint-inputs: Input for rint benchtest.
48034 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48036         * Versions.def (libm): Add GLIBC_2.18.
48037         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48038         hidden libm prototypes.
48039         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48040         * math/Makefile (libm-calls): Add s_issignaling.
48041         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48042         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48043         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48044         declaration.
48045         * math/math.h [__USE_GNU] (issignaling): New macro.
48046         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48047         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48048         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48049         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48050         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48051         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48052         * manual/arith.texi (issignaling): New section.
48053         * manual/libm-err-tab.pl (@all_functions): Update comment.
48054         * math/gen-libm-test.pl (parse_args): Apply special handling for
48055         issignaling.
48056         * math/libm-test.inc (print_float, issignaling_test): New
48057         functions.
48058         (check_float_internal): Add issignaling checks.
48059         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48060         default definition.
48061         * sysdeps/powerpc/math-tests.h: New file.
48062         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48063         tests.
48064         * math/test-snan.c (TEST_FUNC): Likewise.
48066 2013-03-30  David S. Miller  <davem@davemloft.net>
48068         * po/de.po: Update from translation team.
48070 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48072         [BZ #10357]
48073         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48074         imaginary part less than 1.0 and real part less than 0.5
48075         specially.
48076         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48077         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48078         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48079         (cacos_test): Add more tests.
48080         (casin_test): Likewise.
48081         (casinh_test): Likewise.
48082         * sysdeps/i386/fpu/libm-test-ulps: Update.
48083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48087         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48088         ONE with its value.
48090         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48091         (__pow_mp): Replace ONE and MONE with their values.
48092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48093         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48094         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48095         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48096         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48097         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48099         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48101         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48102         (__pow_mp): Replace ZERO and MZERO with their values.
48103         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48106         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48107         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48108         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48109         (__sqr): Likewise.
48111         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48113         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48115 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48117         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48118         Declare with __attribute__ ((weak)).
48119         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48120         Call __call_tls_dtors only if it's not NULL.
48122 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48124         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48125         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48126         magic __ehdr_start linker symbol if it's defined.
48127         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48128         them up here if it was already done.
48130         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48131         (_dl_aux_init): Use const in cast when setting it.
48132         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48133         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48134         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48136         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48137         Declare them here.
48138         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48139         * csu/libc-tls.c: Nor here.
48140         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48142         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48143         (__libc_message): Never call vsyslog.
48145 2013-03-28  Alan Modra  <amodra@gmail.com>
48147         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48148         Define as empty.
48149         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48150         Likewise.
48152 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48154         [BZ #15214]
48155         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48156         underflow.
48157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48159 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48161         [BZ #15304]
48162         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48163         Don't add gid passed as argument.
48165         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48167 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48169         [BZ #15307]
48170         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48171         imaginary part between 1.0 and 1.5 and real part less than 0.5
48172         specially.
48173         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48174         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48175         * math/libm-test.inc (cacos_test): Add more tests.
48176         (casin_test): Likewise.
48177         (casinh_test): Likewise.
48178         * sysdeps/i386/fpu/libm-test-ulps: Update.
48179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48181 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48183         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48184         constants.
48185         (norm): Likewise.
48186         (denorm): Likewise.
48187         (__dbl_mp): Likewise.
48188         (add_magnitudes): Likewise.
48189         (sub_magnitudes): Likewise.
48190         (__add): Likewise.
48191         (__sub): Likewise.
48192         (__mul): Likewise.
48193         (__sqr): Likewise.
48194         (__inv): Likewise.
48195         (__dvd): Likewise.
48197         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48198         commented code.
48199         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48200         (__dubcos): Likewise.
48201         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48202         (__ieee754_acos): Likewise.
48203         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48204         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48205         (__exp1): Likewise.
48206         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48208         (log1): Likewise.
48209         (my_log2): Likewise.
48210         (checkint): Likewise.
48211         * sysdeps/ieee754/dbl-64/e_remainder.c
48212         (__ieee754_remainder): Likewise.
48213         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48215         (bsloww): Likewise.
48216         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48218         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48219         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48220         MANTISSA_STORE_T to store computations on mantissa.  Use
48221         macros for rounding and division.
48222         (denorm): Likewise.
48223         (__dbl_mp): Likewise.
48224         (add_magnitudes): Likewise.
48225         (sub_magnitudes): Likewise.
48226         (__mul): Likewise.
48227         (__sqr): Likewise.
48228         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48229         powers of two in terms of TWOPOW macro.
48230         (mp_no): Make type of mantissa as MANTISSA_T.
48231         [!RADIXI]: Define RADIXI.
48232         [!TWO52]: Define TWO52.
48233         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48235 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48237         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48238         llroundl symbol when building for PPC32.
48240 2013-03-24  Mark H Weaver  <mhw@netris.org>
48242         * manual/arith.texi (Normalization Functions): Fix prototypes for
48243         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48245 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48247         [BZ #13889]
48248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48249         high value to check if expl overflow.
48250         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48251         to check for underflow and overflow.
48252         * math/libm-test.inc: Add exp test.
48254 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48256         [BZ #11120]
48257         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48258         with NOT_IN_libc.
48260 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48262         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48263         symbol.
48265 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48267         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48268         wrap blocks consisting of several statements.
48270         * sysdeps/generic/math-tests.h: New file.
48271         * sysdeps/i386/fpu/math-tests.h: Likewise.
48272         * math/test-snan.c: Include it.
48273         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48275 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48277         [BZ #15285]
48278         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48279         (__ieee754_j0l): Do not improve calculations using cos of twice
48280         input for inputs above LDBL_MAX / 2.0L.
48281         (__ieee754_y0l): Likewise.
48282         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48283         (__ieee754_j1l): Do not improve calculations using cos of twice
48284         input for inputs above LDBL_MAX / 2.0L.
48285         (__ieee754_y1l): Likewise.
48286         * math/libm-test.inc (j0_test): Add another test.
48287         (j1_test): Likewise.
48288         (y0_test): Likewise.
48289         (y1_test): Likewise.
48290         * sysdeps/i386/fpu/libm-test-ulps: Update.
48292 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48294         * Rules ($(objpfx)bench-%.c): Include code from a C source
48295         file.
48297 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48299         [BZ #15287]
48300         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48301         imaginary part 1.0 and real part less than 0.5 specially.
48302         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48303         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48304         * math/libm-test.inc (cacos_test): Add more tests.
48305         (casin_test): Likewise.
48306         (casinh_test): Likewise.
48307         * sysdeps/i386/fpu/libm-test-ulps: Update.
48308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48310 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48312         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48313         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48315 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48317         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48318         * config.make.in (config-cflags-sse4): Remove variable.
48319         (config-cflags-avx): Likewise.
48320         (config-cflags-sse2avx): Likewise.
48321         (config-cflags-novzeroupper): Likewise.
48322         (config-asflags-i686): Likewise.
48323         (have-mfma4): Likewise.
48324         (have-as-vis3): Likewise.
48325         (MIG): Likewise.
48326         * configure.in (MIG): Do not AC_SUBST.
48327         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48328         (libc_cv_cc_sse4): Do not AC_SUBST.
48329         (libc_cv_cc_avx): Likewise.
48330         (libc_cv_cc_sse2avx): Likewise.
48331         (libc_cv_cc_novzeroupper): Likewise.
48332         (libc_cv_cc_fma4): Likewise.
48333         (libc_cv_as_i686): Likewise.
48334         (libc_cv_sparc_as_vis3): Likewise.
48335         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48336         LIBC_CONFIG_VAR.
48337         (config-asflags-i686): Likewise.
48338         (config-cflags-avx): Likewise.
48339         (config-cflags-sse2avx): Likewise.
48340         (have-mfma4): Likewise.
48341         (config-cflags-novzeroupper): Likewise.
48342         * sysdeps/mach/configure.in (MIG): Likewise.
48343         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48344         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48345         LIBC_CONFIG_VAR.
48346         (config-cflags-avx): Likewise.
48347         (config-cflags-sse2avx): Likewise.
48348         (have-mfma4): Likewise.
48349         (config-cflags-novzeroupper): Likewise.
48350         * configure: Regenerated.
48351         * sysdeps/i386/configure: Likewise.
48352         * sysdeps/mach/configure: Likewise.
48353         * sysdeps/sparc/configure: Likewise.
48354         * sysdeps/x86_64/configure: Likewise.
48356 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48358         [BZ #14812]
48359         * locale/programs/localedef.c (options): Put N_ translation marker
48360         on argument names, not just descriptions.
48362 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48364         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48366 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48368         [BZ #14176]
48369         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48371 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48373         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48374         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48375         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48376         [!BEFORE_ABORT] (before_abort): New function.
48377         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48378         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48379         (writev_for_fatal): New function.
48380         (WRITEV_FOR_FATAL): New macro; call that.
48381         (backtrace_and_maps): New function.
48382         (BEFORE_ABORT): New macro; call that.
48383         (struct str_list): Type removed.
48384         (__libc_message, __libc_fatal): Functions removed.
48385         Include <sysdeps/posix/libc_fatal.c> instead.
48387 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48389         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48390         constants.
48391         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48392         double constants.
48394 2013-03-19  Andreas Schwab  <schwab@suse.de>
48396         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48397         * sysdeps/gnu/configure: Regenerate.
48399         * configure.in: Substitute libc_cv_rtlddir.
48400         * configure: Regenerate.
48401         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48402         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48403         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48404         * elf/Makefile (install-others, CFLAGS-interp.c)
48405         (ldso_install, common-ldd-rewrite): Likewise.
48406         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48407         $(inst_slibdir)/$(rtld-installed-name).
48408         * scripts/rellns-sh: Add -p option.
48409         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48410         for source.
48412 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48414         * manual/nptl.texi: Renamed to ...
48415         * manual/threads.texi: ... this.
48416         * manual/Makefile (chapters): Update.
48418 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48420         [BZ #14812]
48421         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48422         on argument names, not just descriptions.
48423         * malloc/memusagestat.c (options): Likewise.
48424         * nss/getent.c (options): Likewise.
48426 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48428         [BZ #14812]
48429         * iconv/iconv_prog.c (options): Put N_ translation marker
48430         on argument names, not just descriptions.
48431         * iconv/iconvconfig.c (options): Likewise.
48433 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48435         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48436         implementation which is faster on all x86_64 architectures.
48437         Tested on AMD, Intel Nehalem, SNB, IVB.
48438         * sysdeps/x86_64/strnlen.S: Likewise.
48440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48441         Remove all multiarch strlen and strnlen versions.
48442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48443         Remove strlen and strnlen related parts.
48445         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48446         Inline strlen part.
48447         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48449         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48450         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48451         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48452         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48453         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48454         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48456 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48458         * manual/memory.texi (Malloc Tunable Parameters):
48459         Sort parameters alphabetically. Add comments for missing entries.
48461 2013-03-17  David S. Miller  <davem@davemloft.net>
48463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48465 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48467         [BZ #15283]
48468         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48469         for arguments at most half maximum finite value.
48470         * math/libm-test.inc (j0_test): Add more tests.
48471         (j1_test): Likewise.
48472         (y0_test): Likewise.
48473         (y1_test): Likewise.
48474         * sysdeps/i386/fpu/libm-test-ulps: Update.
48475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48477         [BZ #14155]
48478         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48479         1 / x and functions P and Q for arguments above 0x1p256L.
48480         (__ieee754_y0l): Likewise.
48481         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48482         (__ieee754_y1l): Likewise.
48483         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48484         (j1_test): Likewise.
48485         (y0_test): Likewise.
48486         (y1_test): Likewise.
48488 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48490         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48491         variable.
48493 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48495         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48496         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48497         zero since it's initialized to EXEC_PAGESIZE.
48499         * sysdeps/unix/sysv/linux/ldsodefs.h
48500         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48501         * sysdeps/generic/ldsodefs.h: ... here.
48503 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48505         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48507         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48508         math/test-snan.c.
48509         * math/test-snan.c: Renamed from
48510         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48511         * math/Makefile (tests): Add test-snan.
48512         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48513         test-powerpc-snan.
48515         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48516         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48517         functions.
48518         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48519         __builtin_nan family of functions.
48520         * math/libm-test.inc (initialize): Initialize qnan_value with
48521         __builtin_nan family of functions.
48522         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48523         Remove variables.
48524         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48525         Remove functions.
48526         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48527         storage class.  Initialize qNaN_var and sNaN_var with
48528         __builtin_nan and __builtin_nans families of functions,
48529         respectively.
48531         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48532         (sqrt_test): Remove duplicate test with qNaN input.
48533         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48534         (round_test, signbit_test, significand_test): Note missing +/-Inf
48535         as well as qNaN tests.
48537         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48538         qNaN_var.  Fix a few strings, too.
48539         * math/libm-test.inc (nan_value): Rename to qnan_value.
48540         * math/gen-libm-test.pl (%beautify): Adjust to that.
48541         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48542         * math/test-misc.c (main): Likewise.
48543         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48544         to __qnan_bytes, and __qnan_union, respectively.
48545         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48546         Likewise.
48547         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48548         and lqnanval, respectively.
48549         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48550         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48551         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48552         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48554         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48555         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48556         doubles.
48558         * math/test-misc.c (main): Fix copy'n'pastos.
48559         * misc/tst-efgcvt.c (special): Likewise.
48561         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48562         Remove declarations.
48564 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48567         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48568         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48569         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48571 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48573         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48574         macro to return vdso values correctly in IFUNC implementations.
48575         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48576         Optimization by using IFUNC.
48578 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48579             Richard Henderson  <rth@redhat.com>
48580             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48582         * Makefile.in (bench): New target.
48583         * NEWS: Mention the benchmark framework.
48584         * Rules (bench): Likewise.
48585         (binaries-bench): Generate binaries for functions to
48586         benchmark.
48587         * benchtests/Makefile: New makefile for benchmark tests.
48588         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48589         programs.
48590         * benchtests/exp-inputs: New input file for EXP function.
48591         * benchtests/pow-inputs: New input file for POW function.
48592         * scripts/bench.pl: New script to generate source files for
48593         benchmark programs.
48595 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48597         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48598         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48599         computations on mantissa.  Use macros for rounding and
48600         division.
48601         (denorm): Likewise.
48602         (__dbl_mp): Likewise.
48603         (add_magnitudes): Likewise.
48604         (sub_magnitudes): Likewise.
48605         (__mul): Likewise.
48606         (__sqr): Likewise.
48607         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48608         powers of two in terms of TWOPOW macro.
48609         (mp_no): Make type of mantissa as MANTISSA_T.
48610         [!RADIXI]: Define RADIXI.
48611         [!TWO52]: Define TWO52.
48612         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48614         * manual/nptl.texi (cindex): Modify threads to pthreads.
48616 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48618         * sysdeps/x86_64/preconfigure: Regenerated.
48620 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48622         [BZ #14155]
48623         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48624         0x1p28 and above.
48625         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48626         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48627         0x1p28 and above.
48628         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48629         * math/libm-test.inc (j0_test): Do not allow one spurious
48630         underflow exception.
48631         (y1_test): Likewise.
48633 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48635         * manual/Makefile (chapters): Add nptl.
48636         * manual/debug.texi (Debugging Support): Add link to Threads
48637         chapter.
48638         * manual/nptl.texi: New file.
48640         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48642 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48644         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48645         for non-NULL pointer before the memory validity test. Pointed
48646         out by Holger Brunck <holger.brunck@keymile.com>.
48648 2013-03-13  Andreas Schwab  <schwab@suse.de>
48650         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48651         instead of .os.
48653 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48655         * timezone/zic.c: Update from tzcode 2013b.
48657 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48659         * manual/install.texi (Configuring and compiling):
48660         Mention i686 and i586.
48661         * INSTALL: Regenerate.
48663 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48665         * sysdeps/init_array/elf-init.c: New file.
48666         * csu/elf-init.c
48667         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48668         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48670         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48671         __gmon_start__ as global, but as static with a .preinit_array pointer.
48672         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48673         * sysdeps/init_array/crti.S: New file, empty except for comments.
48674         * sysdeps/init_array/crtn.S: Likewise.
48676 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48678         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48679         definining bcopy.
48680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48681         Remove Prefer_SSE_for_memop.
48682         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48683         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48684         HAS_PREFER_SSE_FOR_MEMOP.
48685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48686         memset-x86-64.
48687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48688         Remove bzero, memset ifunc support.
48689         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48690         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48691         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48692         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48694 2013-03-11  Andreas Schwab  <schwab@suse.de>
48696         [BZ #15234]
48697         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48698         by SHLIB_COMPAT.
48699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48700         (GLIBC_2.16): Remove pthread_atfork.
48702 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48704         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48705         (ptestcases.h): Likewise.
48707 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48709         * Makeconfig ($(common-objpfx)config.status): Depend on
48710         sysdeps/*/preconfigure{,.in} too.
48712 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48714         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48715         (__free_hook): Use void * instead of __malloc_ptr_t.
48716         (__malloc_hook): Likewise.
48717         (__realloc_hook): Likewise.
48718         (__memalign_hook): Likewise.
48719         (__after_morecore_hook): Likewise.
48720         * malloc/arena.c (save_malloc_hook): Likewise.
48721         (save_free_hook): Likewise.
48722         * malloc/hooks.c (malloc_hook_ini): Likewise.
48723         (realloc_hook_ini): Likewise.
48724         (memalign_hook_ini): Likewise.
48725         * malloc/malloc.c (malloc_hook_ini): Likewise.
48726         (realloc_hook_ini): Likewise.
48727         (memalign_hook_ini): Likewise.
48728         (__free_hook): Likewise.
48729         (__malloc_hook): Likewise.
48730         (__realloc_hook): Likewise.
48731         (__memalign_hook): Likewise.
48732         (__libc_malloc): Likewise.
48733         (__libc_free): Likewise.
48734         (__libc_realloc): Likewise.
48735         (__libc_memalign): Likewise.
48736         (__libc_valloc): Likewise.
48737         (__libc_pvalloc): Likewise.
48738         (__libc_calloc): Likewise.
48739         (__posix_memalign): Likewise.
48740         * malloc/morecore.c (__sbrk): Likewise.
48741         (__default_morecore): Likewise.
48743         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48745         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48746         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48747         __malloc_ptrdiff_t.
48749         * malloc/malloc.h (__malloc_size_t): Remove macro.
48750         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48751         __malloc_size_t.
48752         (old_memalign_hook): Likewise.
48753         (old_realloc_hook): Likewise.
48754         (struct hdr): Likewise.
48755         (flood): Likewise.
48756         (mallochook): Likewise.
48757         (memalignhook): Likewise.
48758         (reallochook): Likewise.
48759         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48760         (tr_old_realloc_hook): Likewise.
48761         (tr_old_memalign_hook): Likewise.
48762         (tr_mallochook): Likewise.
48763         (tr_reallochook): Likewise.
48764         (tr_memalignhook): Likewise.
48766 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48768         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48769         default_ldbl_pack and using as default implementation.
48770         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48771         implementation.
48772         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48773         redundant definition.
48774         (ldbl_insert_mantissa): Likewise.
48775         (ldbl_canonicalize): Likewise.
48776         (ldbl_nearbyint): Likewise.
48777         (ldbl_pack): Rename to ldbl_pack_ppc.
48778         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48779         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48780         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48782 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48785         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48786         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48787         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48789         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48790         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48791         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48793 2013-03-07  Andreas Jaeger  <aj@suse.de>
48795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48796         bits/mman-linux.h.
48798 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48800         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48801         Include mpa.h and declare __MPEXP.
48802         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48803         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48804         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48805         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48806         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48807         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48808         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48810         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48811         (__slowpow): Use long double EXPL and LOGL functions to
48812         compute POW.
48813         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48814         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48815         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48816         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48817         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48818         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48821         intermediate variable to calculate exponent.
48822         (__sqr): Likewise.
48823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48824         Likewise.
48825         (__sqr): Likewise.
48827         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48828         [!NO__SQR]: Define __sqr.
48829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48830         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48831         sysdeps/ieee754/dbl-64/mpa.c.
48832         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48834         [BZ #12723]
48835         * posix/Makefile (tests): Add tst-pathconf.
48836         * posix/tst-pathconf.c: New test case.
48837         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48838         _PC_PIPE_BUF.
48839         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48841 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48843         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48845 2013-03-06  Andreas Jaeger  <aj@suse.de>
48847         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48848         definition via __MAP_ANONYMOUS.
48850         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48851         it's not part of Linux headers.
48853         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48854         (MAP_HUGE_MASK): Define.
48856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48857         Define.
48858         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48859         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48860         Define.
48861         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48862         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48863         Define.
48864         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48866         Define.
48867         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48869         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48870         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48871         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48872         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48873         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48874         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48876         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48877         Handle f2fs.
48879         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48880         Handle f2fs and efivarfs.
48882         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48883         f2fs.
48885         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48886         (EFIVARFS_MAGIC): Add.
48887         (F2FS_LINK_MAX): Add.
48889 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48891         * stdio-common/vfprintf.c: Replace __builtin_expect with
48892         __glibc_unlikely.
48894 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48896         [BZ #13550]
48897         * sysdeps/generic/bp-sym.h: Remove file.
48898         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48899         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48900         <bp-sym.h> and <bp-asm.h>.
48901         (__longjmp): Don't use BP_SYM.
48902         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48903         and <bp-asm.h>.
48904         (memcpy): Don't use BP_SYM.
48905         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48906         <bp-sym.h> and <bp-asm.h>.
48907         (memcpy): Don't use BP_SYM.
48908         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48909         <bp-asm.h>.
48910         (memcpy): Don't use BP_SYM.
48911         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48912         <bp-asm.h>.
48913         (memset): Don't use BP_SYM.
48914         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48915         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48916         (__bzero): Don't use BP_SYM.
48917         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48918         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48919         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48920         <bp-sym.h> and <bp-asm.h>.
48921         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48922         pointers.
48923         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48924         <bp-sym.h> and <bp-asm.h>.
48925         (memcpy): Don't use BP_SYM.
48926         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48927         <bp-sym.h> and <bp-asm.h>.
48928         (memset): Don't use BP_SYM.
48929         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48930         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48931         (__bzero): Don't use BP_SYM.
48932         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48933         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48934         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48935         <bp-sym.h> and <bp-asm.h>.
48936         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48937         pointers.
48938         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48939         <bp-sym.h> and <bp-asm.h>.
48940         (memcpy): Don't use BP_SYM.
48941         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48942         <bp-sym.h> and <bp-asm.h>.
48943         (memset): Don't use BP_SYM.
48944         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48945         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48946         (__bzero): Don't use BP_SYM.
48947         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48948         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48949         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48950         <bp-sym.h> and <bp-asm.h>.
48951         (__memchr): Don't use BP_SYM.
48952         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48953         <bp-sym.h> and <bp-asm.h>.
48954         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48955         pointers.
48956         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48957         <bp-sym.h> and <bp-asm.h>.
48958         (memcpy): Don't use BP_SYM.
48959         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48960         <bp-sym.h> and <bp-asm.h>.
48961         (__mempcpy): Don't use BP_SYM.
48962         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48963         <bp-sym.h> and <bp-asm.h>.
48964         (__memrchr): Don't use BP_SYM.
48965         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48966         <bp-sym.h> and <bp-asm.h>.
48967         (memset): Don't use BP_SYM.
48968         (__bzero): Likewise.
48969         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48970         <bp-sym.h> and <bp-asm.h>.
48971         (__rawmemchr): Don't use BP_SYM.
48972         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48973         <bp-sym.h> and <bp-asm.h>.
48974         (__STRCMP): Don't use BP_SYM.
48975         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48976         <bp-sym.h> and <bp-asm.h>.
48977         (strchr): Don't use BP_SYM.
48978         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48979         <bp-sym.h> and <bp-asm.h>.
48980         (__strchrnul): Don't use BP_SYM.
48981         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48982         <bp-sym.h> and <bp-asm.h>.
48983         (strlen): Don't use BP_SYM.
48984         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48985         <bp-sym.h> and <bp-asm.h>.
48986         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48987         pointers.
48988         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48989         <bp-sym.h> and <bp-asm.h>.
48990         (__strnlen): Don't use BP_SYM.
48991         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48992         <bp-sym.h> and <bp-asm.h>.
48993         (__GI__setjmp): Don't use BP_SYM.
48994         (_setjmp): Likewise.
48995         (__sigsetjmp): Likewise.
48996         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48997         (L(start_addresses)): Don't use BP_SYM.
48998         (_start): Likewise.
48999         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49000         <bp-asm.h>.
49001         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49002         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49003         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49004         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49005         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49006         <bp-asm.h>.
49007         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49008         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49009         about bounded pointers.
49010         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49011         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49012         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49013         <bp-asm.h>.
49014         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49015         about bounded pointers.  Remove GKM FIXME comments.
49016         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49017         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49018         <bp-asm.h>.
49019         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49020         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49021         Remove GKM FIXME comments.
49022         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49023         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49024         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49025         <bp-asm.h>.
49026         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49027         about bounded pointers.  Remove GKM FIXME comment.
49028         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49029         and <bp-asm.h>.
49030         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49031         pointers.
49032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49033         <bp-sym.h> and <bp-asm.h>.
49034         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49036         <bp-sym.h> and <bp-asm.h>.
49037         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49038         comment.
49040 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49042         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49043         call free(NULL).
49045 2013-03-05  David S. Miller  <davem@davemloft.net>
49047         * po/es.po: Update from translation team.
49049 2013-03-05  Andreas Jaeger  <aj@suse.de>
49051         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49052         <bits/mman-linux.h>.
49053         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49054         is fine.
49055         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49056         <bits/mman-linux.h> to end of file.
49057         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49058         is fine.
49059         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49060         <bits/mman-linux.h> to end of file.
49061         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49062         is fine.
49063         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49064         <bits/mman-linux.h> to end of file.
49066         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49067         (MCL_CURRENT, MCL_FUTURE): Define here.
49069 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49071         [BZ #15232]
49072         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49073         attribute_hidden.
49074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49076 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49078         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49079         fourth parameter needed for rt_sigprocmask syscall.
49080         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49081         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49082         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49083         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49084         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49085         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49087 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49089         [BZ #13550]
49090         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49091         comment about bounded pointers.
49092         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49093         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49095 2013-03-04  Andreas Jaeger  <aj@suse.de>
49097         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49098         common definitions.
49100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49101         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49102         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49103         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49105         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49107 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49109         [BZ #15055]
49110         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49111         __ieee754_sqrl instead of __sqrl.
49113 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49115         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49116         * sysdeps/powerpc/fpu_control.h: ... here.
49117         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49118         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49119         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49120         * sysdeps/powerpc/bits/mathinline.h: ... here.
49122 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49124         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49125         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49126         to just [NEED_DL_SYSINFO_DSO].
49127         * elf/dl-support.c: Likewise.
49128         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49129         * elf/rtld.c (dl_main): Likewise.
49130         * elf/setup-vdso.h (setup_vdso): Likewise.
49131         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49132         * sysdeps/unix/sysv/linux/dl-sysdep.c
49133         (_dl_discover_osversion): Likewise.
49135 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49137         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49138         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49140 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49142         * NEWS: Mention libm performance improvements and non-x86 PI
49143         futex support.
49145         * csu/libc-start.c (__pthread_initialize_minimal): Change
49146         function arguments.
49147         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49149 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49151         [BZ #13550]
49152         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49153         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49154         <bp-sym.h> and <bp-asm.h>.
49155         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49156         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49157         and <bp-asm.h>.
49158         (memcpy): Don't use BP_SYM.
49159         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49160         <bp-asm.h>.
49161         (__mpn_add_n): Don't use BP_SYM.
49162         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49163         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49164         and <bp-asm.h>.
49165         (__mpn_addmul_1): Don't use BP_SYM.
49166         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49167         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49168         <bp-sym.h>.
49169         (_setjmp): Don't use BP_SYM.
49170         (__novmx_setjmp): Likewise.
49171         (__GI__setjmp): Likewise.
49172         (__vmx_setjmp): Likewise.
49173         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49174         <bp-sym.h>.
49175         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49176         (__bzero): Don't use BP_SYM.
49177         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49178         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49179         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49180         <bp-sym.h> and <bp-asm.h>.
49181         (memcpy): Don't use BP_SYM.
49182         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49183         <bp-sym.h> and <bp-asm.h>.
49184         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49185         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49186         <bp-sym.h> and <bp-asm.h>.
49187         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49188         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49189         <bp-asm.h>.
49190         (__mpn_lshift): Don't use BP_SYM.
49191         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49192         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49193         <bp-asm.h>.
49194         (memset): Don't use BP_SYM.
49195         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49196         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49197         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49198         <bp-asm.h>.
49199         (__mpn_mul_1): Don't use BP_SYM.
49200         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49201         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49202         <bp-sym.h> and <bp-asm.h>.
49203         (memcmp): Don't use BP_SYM.
49204         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49205         <bp-sym.h> and <bp-asm.h>.
49206         (memcpy): Don't use BP_SYM.
49207         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49208         <bp-sym.h> and <bp-asm.h>.
49209         (memset): Don't use BP_SYM.
49210         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49211         <bp-sym.h> and <bp-asm.h>.
49212         (strncmp): Don't use BP_SYM.
49213         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49214         <bp-sym.h> and <bp-asm.h>.
49215         (memcpy): Don't use BP_SYM.
49216         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49217         <bp-sym.h> and <bp-asm.h>.
49218         (memset): Don't use BP_SYM.
49219         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49220         <bp-sym.h> and <bp-asm.h>.
49221         (__memchr): Don't use BP_SYM.
49222         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49223         <bp-sym.h> and <bp-asm.h>.
49224         (memcmp): Don't use BP_SYM.
49225         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49226         <bp-sym.h> and <bp-asm.h>.
49227         (memcpy): Don't use BP_SYM.
49228         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49229         <bp-sym.h> and <bp-asm.h>.
49230         (__mempcpy): Don't use BP_SYM.
49231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49232         <bp-sym.h> and <bp-asm.h>.
49233         (__memrchr): Don't use BP_SYM.
49234         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49235         <bp-sym.h> and <bp-asm.h>.
49236         (memset): Don't use BP_SYM.
49237         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49238         <bp-sym.h> and <bp-asm.h>.
49239         (__rawmemchr): Don't use BP_SYM.
49240         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49241         <bp-sym.h> and <bp-asm.h>.
49242         (__STRCMP): Don't use BP_SYM.
49243         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49244         <bp-sym.h> and <bp-asm.h>.
49245         (strchr): Don't use BP_SYM.
49246         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49247         <bp-sym.h> and <bp-asm.h>.
49248         (__strchrnul): Don't use BP_SYM.
49249         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49250         <bp-sym.h> and <bp-asm.h>.
49251         (strlen): Don't use BP_SYM.
49252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49253         <bp-sym.h> and <bp-asm.h>.
49254         (strncmp): Don't use BP_SYM.
49255         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49256         <bp-sym.h> and <bp-asm.h>.
49257         (__strnlen): Don't use BP_SYM.
49258         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49259         <bp-asm.h>.
49260         (__mpn_rshift): Don't use BP_SYM.
49261         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49262         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49263         <bp-sym.h> and <bp-asm.h>.
49264         (__sigsetjmp): Don't use BP_SYM.
49265         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49266         (L(start_addresses)): Don't use BP_SYM.
49267         (_start): Likewise.
49268         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49269         <bp-asm.h>.
49270         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49271         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49272         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49273         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49274         <bp-asm.h>.
49275         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49276         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49277         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49278         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49279         <bp-asm.h>.
49280         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49281         comments.
49282         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49283         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49284         <bp-asm.h>.
49285         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49286         FIXME comments.
49287         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49288         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49289         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49290         <bp-asm.h>.
49291         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49292         comment.
49293         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49294         and <bp-asm.h>.
49295         (strncmp): Don't use BP_SYM,
49296         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49297         <bp-asm.h>.
49298         (__mpn_sub_n): Don't use BP_SYM.
49299         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49300         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49301         and <bp-asm.h>.
49302         (__mpn_submul_1): Don't use BP_SYM.
49303         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49305         <bp-sym.h> and <bp-asm.h>.
49306         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49308         <bp-sym.h> and <bp-asm.h>.
49309         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49310         comment.
49312 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49315         Use ZK to minimize writes to Z.
49316         (sub_magnitudes): Simplify code a bit.
49317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49318         Use ZK to minimize writes to Z.
49319         (sub_magnitudes): Simplify code a bit.
49321 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49323         * csu/gmon-start.c: Add special exception to license text.
49325 2013-02-27  Richard Henderson  <rth@redhat.com>
49327         * scripts/config.guess: Update from config.git.
49328         * scripts/config.sub: Likewise.
49330 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49332         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49334         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49336         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49338         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49340         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49342 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49344         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49345         [$(build-shared = yes].
49347 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49349         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49350         (__mul): Reduce iterations for calculating mantissa.
49352         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49353         MPTWO.
49354         (__mpranred): Likewise.
49356         [BZ #15160]
49357         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49358         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49360 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49362         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49363         Define __attribute__.
49365 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49367         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49368         unused.
49369         * posix/regex_internal.h (__attribute): Remove.
49370         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49371         (re_string_context_at): Likewise.
49372         (bitset_not): Use __attribute__ and mark function as possibly
49373         unused.
49374         (bitset_merge): Likewise.
49375         (bitset_mask): Likewise.
49376         (re_string_char_size_at): Likewise.
49377         (re_string_wchar_at): Likewise.
49378         (re_string_elem_size_at): Likewise.
49380 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49382         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49383         code.
49384         (cc32): Likewise.
49386         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49387         (__acr): Likewise.
49388         (__cpy): Likewise.
49389         (norm): Likewise.
49390         (denorm): Likewise.
49391         (__dbl_mp): Likewise.
49392         (add_magnitudes): Likewise.
49393         (sub_magnitudes): Likewise.
49394         (__mul): Likewise.
49395         (__inv): Likewise.
49397         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49398         style.
49400         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49401         style.
49403         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49404         code.
49406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49407         up changes with default code.
49408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49409         Likewise.
49411 2013-02-24  Allan McRae  <allan@archlinux.org>
49413         * manual/socket.texi (The Internet Namespace): Order menu items
49414         to match that in the file.
49416         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49417         node listing of the info page menu.
49419 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49421         [BZ #13550]
49422         * sysdeps/i386/bp-asm.h: Remove file.
49423         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49424         (PARMS): Do not use macros from bp-asm.h.
49425         (S1): Likewise.
49426         (S2): Likewise.
49427         (SIZE): Likewise.
49428         (__mpn_add_n): Do not use BP_SYM
49429         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49430         "bp-asm.h".
49431         (PARMS): Do not use macros from bp-asm.h.
49432         (S1): Likewise.
49433         (SIZE): Likewise.
49434         (__mpn_addmul_1): Do not use BP_SYM
49435         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49436         "bp-asm.h".
49437         (PARMS): Do not use macros from bp-asm.h.
49438         (SIGMSK): Likewise.
49439         (_setjmp): Likewise.  Do not use BP_SYM.
49440         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49441         "bp-asm.h".
49442         (PARMS): Do not use macros from bp-asm.h.
49443         (SIGMSK): Likewise.
49444         (setjmp): Likewise.  Do not use BP_SYM.
49445         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49446         "bp-asm.h".
49447         (PARMS): Do not use macros from bp-asm.h.
49448         (__frexp): Do not use BP_SYM.
49449         (frexp): Likewise.
49450         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49451         "bp-asm.h".
49452         (PARMS): Do not use macros from bp-asm.h.
49453         (__frexpf): Do not use BP_SYM.
49454         (frexpf): Likewise.
49455         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49456         "bp-asm.h".
49457         (PARMS): Do not use macros from bp-asm.h.
49458         (__frexpl): Do not use BP_SYM.
49459         (frexpl): Likewise.
49460         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49461         "bp-asm.h".
49462         (PARMS): Do not use macros from bp-asm.h.
49463         (__remquo): Do not use BP_SYM.
49464         (remquo): Likewise.
49465         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49466         "bp-asm.h".
49467         (PARMS): Do not use macros from bp-asm.h.
49468         (__remquof): Do not use BP_SYM.
49469         (remquof): Likewise.
49470         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49471         "bp-asm.h".
49472         (PARMS): Do not use macros from bp-asm.h.
49473         (__remquol): Do not use BP_SYM.
49474         (remquol): Likewise.
49475         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49476         "bp-asm.h".
49477         (PARMS): Do not use macros from bp-asm.h.
49478         (DEST): Likewise.
49479         (SRC): Likewise.
49480         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49481         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49482         "bp-asm.h".
49483         (PARMS): Do not use macros from bp-asm.h.
49484         (strlen): Do not use BP_SYM.
49485         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49486         "bp-asm.h".
49487         (PARMS): Do not use macros from bp-asm.h.
49488         (S1): Likewise.
49489         (S2): Likewise.
49490         (SIZE): Likewise.
49491         (__mpn_add_n): Do not use BP_SYM.
49492         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49493         "bp-asm.h".
49494         (PARMS): Do not use macros from bp-asm.h.
49495         (S1): Likewise.
49496         (SIZE): Likewise.
49497         (__mpn_addmul_1): Do not use BP_SYM.
49498         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49499         weak_alias.
49500         (bzero): Likewise.
49501         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49502         "bp-asm.h".
49503         (PARMS): Do not use macros from bp-asm.h.
49504         (S): Likewise.
49505         (SIZE): Likewise.
49506         (__mpn_lshift): Do not use BP_SYM.
49507         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49508         "bp-asm.h".
49509         (PARMS): Do not use macros from bp-asm.h.
49510         (DEST): Likewise.
49511         (SRC): Likewise.
49512         (LEN): Likewise.
49513         (memcpy): Likewise.  Do not use BP_SYM.
49514         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49515         libc_hidden_def and weak_alias.
49516         (mempcpy): Do not use BP_SYM in weak_alias.
49517         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49518         "bp-asm.h".
49519         (PARMS): Do not use macros from bp-asm.h.
49520         (DEST): Likewise.
49521         (LEN): Likewise.
49522         [!BZERO_P] (CHR): Likewise.
49523         (memset): Likewise.  Do not use BP_SYM.
49524         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49525         "bp-asm.h".
49526         (PARMS): Do not use macros from bp-asm.h.
49527         (S1): Likewise.
49528         (SIZE): Likewise.
49529         (__mpn_mul_1): Do not use BP_SYM.
49530         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49531         "bp-asm.h".
49532         (PARMS): Do not use macros from bp-asm.h.
49533         (S): Likewise.
49534         (SIZE): Likewise.
49535         (__mpn_rshift): Do not use BP_SYM.
49536         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49537         "bp-asm.h".
49538         (PARMS): Do not use macros from bp-asm.h.
49539         (STR): Likewise.
49540         (CHR): Likewise.
49541         (strchr): Likewise.  Do not use BP_SYM.
49542         (index): Do not use BP_SYM in weak_alias.
49543         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49544         "bp-asm.h".
49545         (PARMS): Do not use macros from bp-asm.h.
49546         (DEST): Likewise.
49547         (SRC): Likewise.
49548         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49549         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49550         "bp-asm.h".
49551         (PARMS): Do not use macros from bp-asm.h.
49552         (strlen): Do not use BP_SYM.
49553         * sysdeps/i386/i586/sub_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_sub_n): Do not use BP_SYM.
49560         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49561         "bp-asm.h".
49562         (PARMS): Do not use macros from bp-asm.h.
49563         (S1): Likewise.
49564         (SIZE): Likewise.
49565         (__mpn_submul_1): Do not use BP_SYM.
49566         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49567         "bp-asm.h".
49568         (PARMS): Do not use macros from bp-asm.h.
49569         (S1): Likewise.
49570         (S2): Likewise.
49571         (SIZE): Likewise.
49572         (__mpn_add_n): Do not use BP_SYM.
49573         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49574         weak_alias.
49575         (bzero): Likewise.
49576         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49577         "bp-asm.h".
49578         (PARMS): Do not use macros from bp-asm.h.
49579         (BLK2): Likewise.
49580         (LEN): Likewise.
49581         (memcmp): Do not use BP_SYM.
49582         (bcmp): Do not use BP_SYM in weak_alias.
49583         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49584         "bp-asm.h".
49585         (PARMS): Do not use macros from bp-asm.h.
49586         (DEST): Likewise.
49587         (SRC): Likewise.
49588         (LEN): Likewise.
49589         (memcpy): Likewise.  Do not use BP_SYM.
49590         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49591         "bp-asm.h".
49592         (PARMS): Do not use macros from bp-asm.h.
49593         (DEST): Likewise.
49594         (SRC): Likewise.
49595         (LEN): Likewise.
49596         (memmove): Likewise.  Do not use BP_SYM.
49597         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49598         "bp-asm.h".
49599         (PARMS): Do not use macros from bp-asm.h.
49600         (DEST): Likewise.
49601         (SRC): Likewise.
49602         (LEN): Likewise.
49603         (__mempcpy): Likewise.  Do not use BP_SYM.
49604         (mempcpy): Do not use BP_SYM in weak_alias.
49605         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49606         "bp-asm.h".
49607         (PARMS): Do not use macros from bp-asm.h.
49608         (DEST): Likewise.
49609         (LEN): Likewise.
49610         [!BZERO_P] (CHR): Likewise.
49611         (memset): Likewise.  Do not use BP_SYM.
49612         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49613         "bp-asm.h".
49614         (PARMS): Do not use macros from bp-asm.h.
49615         (STR2): Likewise.
49616         (strcmp): Do not use BP_SYM.
49617         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49618         "bp-asm.h".
49619         (PARMS): Do not use macros from bp-asm.h.
49620         (STR): Likewise.
49621         (DELIM): Likewise.
49622         [USE_AS_STRTOK_R] (SAVE): Likewise.
49623         (FUNCTION): Likewise.  Do not use BP_SYM.
49624         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49625         aliases.
49626         (strtok_r): Likewise.
49627         (__GI___strtok_r): Likewise.
49628         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49629         (PARMS): Do not use macros from bp-asm.h.
49630         (S): Likewise.
49631         (SIZE): Likewise.
49632         (__mpn_lshift): Do not use BP_SYM.
49633         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49634         (PARMS): Do not use macros from bp-asm.h.
49635         (STR): Likewise.
49636         (CHR): Likewise.
49637         (__memchr): Do not use BP_SYM.
49638         (memchr): Do not use BP_SYM in weak_alias.
49639         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49640         (PARMS): Do not use macros from bp-asm.h.
49641         (BLK2): Likewise.
49642         (LEN): Likewise.
49643         (memcmp): Do not use BP_SYM.
49644         (bcmp): Do not use BP_SYM in weak_alias.
49645         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49646         (PARMS): Do not use macros from bp-asm.h.
49647         (S1): Likewise.
49648         (SIZE): Likewise.
49649         (__mpn_mul_1): Do not use BP_SYM.
49650         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49651         "bp-asm.h".
49652         (PARMS): Do not use macros from bp-asm.h.
49653         (STR): Likewise.
49654         (CHR): Likewise.
49655         (__rawmemchr): Do not use BP_SYM.
49656         (rawmemchr): Do not use BP_SYM in weak_alias.
49657         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49658         (PARMS): Do not use macros from bp-asm.h.
49659         (S): Likewise.
49660         (SIZE): Likewise.
49661         (__mpn_rshift): Do not use BP_SYM.
49662         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49663         (PARMS): Do not use macros from bp-asm.h.
49664         (SIGMSK): Likewise.
49665         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49666         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49667         (_start): Do not use BP_SYM.
49668         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49669         (PARMS): Do not use macros from bp-asm.h.
49670         (DEST): Likewise.
49671         (SRC): Likewise.
49672         (__stpcpy): Likewise.  Do not use BP_SYM.
49673         (stpcpy): Do not use BP_SYM in weak_alias.
49674         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49675         "bp-asm.h".
49676         (PARMS): Do not use macros from bp-asm.h.
49677         (DEST): Likewise.
49678         (SRC): Likewise.
49679         (LEN): Likewise.
49680         (__stpncpy): Likewise.  Do not use BP_SYM.
49681         (stpncpy): Do not use BP_SYM in weak_alias.
49682         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49683         (PARMS): Do not use macros from bp-asm.h.
49684         (STR): Likewise.
49685         (CHR): Likewise.
49686         (strchr): Likewise.  Do not use BP_SYM.
49687         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49688         "bp-asm.h".
49689         (PARMS): Do not use macros from bp-asm.h.
49690         (STR): Likewise.
49691         (CHR): Likewise.
49692         (__strchrnul): Likewise.  Do not use BP_SYM.
49693         (strchrnul): Do not use BP_SYM in weak_alias.
49694         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49695         "bp-asm.h".
49696         (PARMS): Do not use macros from bp-asm.h.
49697         (STOP): Likewise.
49698         (strcspn): Do not use BP_SYM.
49699         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49700         "bp-asm.h".
49701         (PARMS): Do not use macros from bp-asm.h.
49702         (STR): Likewise.
49703         (STOP): Likewise.
49704         (strpbrk): Likewise.  Do not use BP_SYM.
49705         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49706         "bp-asm.h".
49707         (PARMS): Do not use macros from bp-asm.h.
49708         (STR): Likewise.
49709         (CHR): Likewise.
49710         (strrchr): Likewise.  Do not use BP_SYM.
49711         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49712         (PARMS): Do not use macros from bp-asm.h.
49713         (SKIP): Likewise.
49714         (strspn): Do not use BP_SYM.
49715         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49716         (PARMS): Do not use macros from bp-asm.h.
49717         (STR): Likewise.
49718         (DELIM): Likewise.
49719         (SAVE): Likewise.
49720         (FUNCTION): Likewise.  Do not use BP_SYM.
49721         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49722         aliases.
49723         (strtok_r): Likewise.
49724         (__GI___strtok_r): Likewise.
49725         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49726         (PARMS): Do not use macros from bp-asm.h.
49727         (S1): Likewise.
49728         (S2): Likewise.
49729         (SIZE): Likewise.
49730         (__mpn_sub_n): Do not use BP_SYM.
49731         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49732         "bp-asm.h".
49733         (PARMS): Do not use macros from bp-asm.h.
49734         (S1): Likewise.
49735         (SIZE): Likewise.
49736         (__mpn_submul_1): Do not use BP_SYM.
49737         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49738         <bp-sym.h>.
49739         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49740         and <bp-asm.h>.
49741         (PARMS): Do not use macros from bp-asm.h.
49742         (FLAGS): Likewise.
49743         (PTID): Likewise.
49744         (TLS): Likewise.
49745         (CTID): Likewise.
49746         (__clone): Do not use BP_SYM.
49747         (clone): Do not use BP_SYM in weak_alias.
49748         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49749         and <bp-asm.h>.
49750         (PARMS): Do not use macros from bp-asm.h.
49751         (LEN): Likewise.
49752         (__mmap64): Do not use BP_SYM.
49753         (mmap64): Do not use BP_SYM in weak_alias.
49754         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49755         <bp-sym.h> and <bp-asm.h>.
49756         (PARMS): Do not use macros from bp-asm.h.
49757         (__posix_fadvise64_l64): Do not use BP_SYM.
49758         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49759         (PARMS): Do not use macros from bp-asm.h.
49760         (NSOPS): Likewise.
49761         (semtimedop): Do not use BP_SYM.
49762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49763         and <bp-asm.h>.
49765 2013-02-21  Allan McRae  <allan@archlinux.org>
49767         * manual/message.texi (Charset conversion in gettext):
49768         Move @end statement to beginning of line.
49770 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49773         static.
49774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49775         Likewise.
49777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49778         (denorm): Likewise.
49779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49782 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49784         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49785         tail-call to the resolved function if pltexit isn't needed.
49787 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49790         or Y being zero as being unlikely.
49791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49792         Likewise.
49794 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49796         * manual/nss.texi (System Databases and Name Service Switch):
49797         Remove frobnicate @pxref.
49799 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49801         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49802         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49804 2013-02-20  Petr Machata  <pmachata@redhat.com>
49806         * elf/elf.h (R_ARM_TARGET1): New macro.
49807         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49808         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49809         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49810         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49811         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49812         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49813         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49814         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49815         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49816         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49817         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49818         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49819         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49820         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49821         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49822         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49823         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49824         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49825         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49826         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49827         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49828         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49829         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49830         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49831         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49832         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49833         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49834         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49835         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49836         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49837         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49838         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49839         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49840         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49841         (R_ARM_THM_GOT_BREL12): Likewise.
49842         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49843         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49844         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49845         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49846         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49847         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49848         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49849         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49850         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49852 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49854         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49855         __attribute_used__ to __attribute__ ((unused)).
49857 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49859         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49860         powerpc mpa.c.
49861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49862         comment formatting.
49863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49865 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49867         [BZ #13550]
49868         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49869         Remove macro.
49870         (ENTER): Remove both macro definitions.
49871         (LEAVE): Likewise.
49872         (CHECK_BOUNDS_LOW): Likewise.
49873         (CHECK_BOUNDS_HIGH): Likewise.
49874         (CHECK_BOUNDS_BOTH): Likewise.
49875         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49876         (RETURN_BOUNDED_POINTER): Likewise.
49877         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49878         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49879         (POP_ERRNO_LOCATION_RETURN): Likewise.
49880         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49881         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49882         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49883         macros.
49884         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49885         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49886         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49887         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49888         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49889         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49890         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49891         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49892         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49893         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49894         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49895         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49896         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49897         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49898         removed macros.
49899         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49900         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49901         macros.
49902         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49903         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49904         * sysdeps/i386/i586/memset.S (memset): Likewise.
49905         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49906         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49907         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49908         macros.
49909         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49910         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49911         Change uses of L(2) to L(out).
49912         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49913         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49914         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49915         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49916         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49917         removed macros.
49918         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49919         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49920         macros.
49921         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49922         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49923         (RETURN): Do not use macro LEAVE.
49924         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49925         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49926         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49927         * sysdeps/i386/i686/memset.S (memset): Likewise.
49928         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49929         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49930         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49931         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49932         Likewise.
49933         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49934         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49935         L(1_2) and L(1_3) into L(1).
49936         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49937         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49938         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49939         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49940         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49941         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49942         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49943         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49944         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49945         macros.
49946         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49947         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49948         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49949         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49950         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49951         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49952         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49953         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49954         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49955         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49956         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49957         * sysdeps/i386/strspn.S (strspn): Likewise.
49958         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49959         conditional code.
49960         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49961         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49962         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49963         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49964         L(1_3) into L(1_1).
49965         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49966         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49967         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49968         macros.
49969         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49971 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49973         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49974         macro.
49976 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49978         * math/atest-exp.c (exp_mpn): Remove ROUND.
49979         * math/atest-exp2.c (exp_mpn): Likewise.
49980         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49982         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49983         * stdlib/tst-tls-atexit-lib.c: Likewise.
49984         * stdlib/tst-tls-atexit.c: Likewise.
49986 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49988         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49989         and __attribute_alloc_size__.
49991 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49993         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49994         __attribute_alloc_size__.
49995         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49996         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49998 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50000         * include/programs/xmalloc.h: New file.
50001         * catgets/gencat.c: Include it.
50002         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50003         * elf/pldd.c: Likewise.
50004         * iconv/iconv_charmap.c: Likewise.
50005         * iconv/iconvconfig.c: Likewise.
50006         * iconv/strtab.c: Likewise.
50007         * locale/programs/locale.c: Likewise.
50008         * locale/programs/localedef.h: Likewise.
50009         * locale/programs/simple-hash.c: Likewise.
50010         * nscd/nscd.h: Likewise.
50011         * nss/makedb.c: Likewise.
50012         * sysdeps/generic/ldconfig.h: Likewise.
50014 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50016         * Versions.def: Add GLIBC_2.18.
50017         * include/link.h (struct link_map): New member l_tls_dtor_count.
50018         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50019         (__call_tls_dtors): Likewise.
50020         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50021         __cxa_thread_atexit_impl.
50022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50023         Likewise.
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50025         Likewise.
50026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50027         Likewise.
50028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50029         Likewise.
50030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50032         Likewise.
50033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50034         Likewise.
50035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50037         Likewise.
50038         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50039         (tests): Add test case tst-tls-atexit.
50040         (modules-names): Add shared library for tst-tls-atexit.
50041         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50042         (GLIBC_PRIVATE): Add __call_tls_dtors.
50043         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50044         for libstdc++.
50045         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50046         * stdlib/tst-tls-atexit.c: New test case.
50047         * stdlib/tst-tls-atexit-lib.c: New test case.
50049         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50051         * elf/Versions (ld): Add _dl_find_dso_for_object.
50052         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50053         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50054         (dl_open_worker): Use _dl_find_dso_for_object.
50055         * elf/dl-sym.c (do_sym): Likewise.
50056         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50058 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50060         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50061         Syntactic changes only.
50062         (_dl_runtime_profile): Do a tail-call to the resolved function.
50064 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50066         [BZ #13550]
50067         * sysdeps/x86_64/bp-asm.h: Remove file.
50068         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50069         <bp-sym.h> and <bp-asm.h>.
50070         (__clone): Do not use BP_SYM.
50071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50072         <bp-sym.h> and <bp-asm.h>.
50073         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50074         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50075         "bp-asm.h".
50076         (_setjmp): Do not use BP_SYM.
50077         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50078         "bp-asm.h".
50079         (setjmp): Do not use BP_SYM.
50080         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50081         libc_hidden_def.
50082         (mempcpy): Do not use BP_SYM in weak_alias.
50083         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50084         "bp-asm.h".
50085         (strchr): Do not use BP_SYM.
50086         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50087         "bp-asm.h".
50088         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50089         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50090         (_start): Do not use BP_SYM.
50091         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50092         "bp-asm.h".
50093         (strcat): Do not use BP_SYM.
50094         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50095         "bp-asm.h".
50096         (STRCMP): Do not use BP_SYM.
50097         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50098         "bp-asm.h".
50099         (STRCPY): Do not use BP_SYM.
50100         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50101         "bp-asm.h".
50102         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50103         "bp-asm.h".
50104         (FUNCTION): Do not use BP_SYM.
50105         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50106         weak_alias.
50107         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50109 2013-02-17  Andreas Jaeger  <aj@suse.de>
50111         * time/Versions: Sort entries.
50112         * string/Versions: Likewise.
50113         * resolv/Versions: Likewise.
50114         * posix/Versions: Likewise.
50115         * iconv/Versions: Likewise.
50116         * elf/Versions: Likewise.
50117         * wcsmbs/Versions: Likewise.
50119 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50121         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50122         loop termination condition.
50124         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50125         variable to calculate EZ.
50126         (__sqr): Likewise.
50128         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50129         the lower precision input.
50131 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50133         [BZ #13550]
50134         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50135         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50136         (run-via-rtld-prefix): Do not handle %-bp tests.
50137         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50138         (all-object-suffixes): Remove .ob.
50139         (bppfx): Remove variable.
50140         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50141         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50142         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50143         [$(build-bounded) = yes] (libtype.ob): Likewise.
50144         * Makerules (elide-routines.ob): Remove variable.
50145         (do-tests-clean): Do not handle *-bp.out.
50146         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50147         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50148         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50149         (tests): Do not include $(tests-bp.out).
50150         (xtests): Do not include $(xtests-bp.out).
50151         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50152         [$(build-bounded) = yes] ($(addprefix
50153         $(objpfx),$(binaries-bounded))): Remove rule.
50154         ($(objpfx)%-bp.out): Remove rule.
50155         * config.make.in (build-bounded): Remove variable.
50156         * crypt/Makefile [$(build-bounded) = yes]
50157         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50158         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50159         append to variable.
50160         [$(build-bounded) = yes] (install-lib): Likewise.
50161         [$(build-bounded) = yes] (generated): Likewise.
50162         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50163         Remove rule.
50164         * intl/Makefile [$(build-bounded) = yes]
50165         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50166         * math/Makefile [$(build-bounded) = yes]
50167         ($(tests:%=$(objpfx)%-bp): Likewise.
50168         * misc/Makefile [$(build-bounded) = yes]
50169         ($(objpfx)tst-tsearch-bp): Likewise.
50170         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50171         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50172         Remove dependency.
50173         * string/Makefile (o-objects.ob): Remove variable.
50174         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50175         (CFLAGS-.ob): Remove variable.
50176         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50177         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50178         both definitions of variable.
50179         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50180         (ASFLAGS-.ob): Remove variable.
50182 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50184         [BZ #13550]
50185         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50186         Remove __BOUNDED_POINTERS__ from condition.
50187         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50188         * string/bits/string2.h [!__NO_STRING_INLINES &&
50189         !__BOUNDED_POINTERS__]: Likewise.
50190         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50191         Likewise.
50192         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50193         Remove conditional code.
50194         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50195         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50196         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50197         condition.
50199         [BZ #13550]
50200         * csu/libc-start.c: Do not include <bp-sym.h>.
50201         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50202         * elf/dl-open.c: Do not include <bp-sym.h>.
50203         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50204         * math/fegetenv.c: Do not include <bp-sym.h>.
50205         (fegetenv): Do not use BP_SYM in versioned symbols.
50206         * nptl/sysdeps/pthread/bits/libc-lockP.h
50207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50208         <bp-sym.h>.
50209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50210         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50212         (__pthread_mutex_destroy): Likewise.
50213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50214         (__pthread_mutex_lock): Likewise.
50215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50216         (__pthread_mutex_trylock): Likewise.
50217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50218         (__pthread_mutex_unlock): Likewise.
50219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50220         (__pthread_mutexattr_init): Likewise.
50221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50222         (__pthread_mutexattr_destroy): Likewise.
50223         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50224         (__pthread_mutexattr_settype): Likewise.
50225         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50226         (__pthread_rwlock_init): Likewise.
50227         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50228         (__pthread_rwlock_destroy): Likewise.
50229         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50230         (__pthread_rwlock_rdlock): Likewise.
50231         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50232         (__pthread_rwlock_tryrdlock): Likewise.
50233         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50234         (__pthread_rwlock_wrlock): Likewise.
50235         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50236         (__pthread_rwlock_trywrlock): Likewise.
50237         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50238         (__pthread_rwlock_unlock): Likewise.
50239         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50240         (__pthread_key_create): Likewise.
50241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50242         (__pthread_setspecific): Likewise.
50243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50244         (__pthread_getspecific): Likewise.
50245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50246         Likewise.
50247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50248         (_pthread_cleanup_push_defer): Likewise.
50249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50250         (_pthread_cleanup_pop_restore): Likewise.
50251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50252         (pthread_setcancelstate): Likewise.
50253         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50254         <bp-sym.h>.
50255         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50256         (memchr): Do not use BP_SYM in weak_alias.
50257         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50258         (fegetenv): Do not use BP_SYM in versioned symbols.
50259         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50260         (fesetenv): Do not use BP_SYM in versioned symbols.
50261         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50262         (feupdateenv): Do not use BP_SYM in versioned symbols.
50263         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50264         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50265         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50266         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50267         (open64): Do not use BP_SYM in weak_alias.
50268         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50269         (fegetenv): Do not use BP_SYM in versioned symbols.
50270         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50271         (fesetenv): Do not use BP_SYM in versioned symbols.
50272         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50273         (feupdateenv): Do not use BP_SYM in versioned symbols.
50274         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50275         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50276         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50277         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50278         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50279         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50280         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50281         <bp-sym.h>.
50282         (__libc_start_main): Do not use BP_SYM.
50284 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50287         redundant return line.
50288         (norm): Likewise.
50289         (denorm): Likewise.
50290         (dbl_mp): Likewise.
50291         (sub_magnitudes): Likewise.
50292         (__add): Likewise.
50293         (__sub): Likewise.
50294         (__mul): Likewise.
50295         (__inv): Likewise.
50296         (__dvd): Likewise.
50297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50298         (norm): Likewise.
50299         (denorm): Likewise.
50300         (dbl_mp): Likewise.
50301         (sub_magnitudes): Likewise.
50302         (__add): Likewise.
50303         (__sub): Likewise.
50304         (__mul): Likewise.
50305         (__inv): Likewise.
50306         (__dvd): Likewise.
50308         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50309         instead of __mul.
50310         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50311         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50312         (cc32): Likewise.
50314         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50315         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50317         of __mul for squares.
50318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50319         function
50320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50321         Likewise.
50322         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50325 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50327         [BZ #13550]
50328         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50329         code.
50330         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50331         prototype or function definition.  Rename ubp_* variables and
50332         parameters.  Remove argv definitions conditional on
50333         [__BOUNDED_POINTERS__].
50334         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50335         * elf/dl-runtime.c (_dl_fixup): Likewise.
50336         * include/set-hooks.h (RUN_HOOK): Likewise.
50337         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50338         definition.
50339         * string/strcpy.c (strcpy): Do not use __unbounded.
50340         * sysdeps/generic/frame.h (struct layout): Likewise.
50341         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50342         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50343         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50344         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50345         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50346         (__backtrace): Likewise.
50347         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50348         use __ptrvalue.
50349         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50350         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50351         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50352         Likewise.
50353         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50354         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50355         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50356         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50357         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50358         Do not use __unbounded.
50359         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50360         Rename __unboundedrlimits parameter to rlimits in prototype.
50361         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50362         Do not use __unbounded.
50363         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50364         not use __ptrvalue.
50365         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50366         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50367         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50368         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50369         __ptrvalue or __unbounded.
50370         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50371         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50372         use __unbounded.
50373         (__new_msgctl): Do not use __ptrvalue.
50374         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50375         __unbounded.
50376         (__libc_msgrcv): Do not use __ptrvalue.
50377         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50378         startup_info): Do not use __unbounded.
50379         (__libc_start_main): Likewise.  Rename ubp_* variables and
50380         parameters.  Remove argv definitions conditional on
50381         [__BOUNDED_POINTERS__].
50382         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50383         __ptrvalue.
50384         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50385         use __unbounded.
50386         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50387         or __ptrvalue.
50388         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50389         use __unbounded.
50390         (__new_shmctl): Do not use __ptrvalue.
50391         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50392         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50393         Likewise.
50394         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50395         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50396         (__libc_sigaction): Likewise.
50397         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50398         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50399         Likewise.
50400         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50402 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50404         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50406         * string/mempcpy.c: Implement by calling memcpy.
50408 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50410         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50413         evaluation.
50415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50416         values in the mantissa.
50418         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50419         minimize writes to Z.
50420         (sub_magnitudes): Simplify code a bit.
50422 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50424         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50425         from the message.  The linker prefixes all warnings with that already.
50427 2013-02-12  Andreas Schwab  <schwab@suse.de>
50429         [BZ #15078]
50430         * posix/regexec.c (extend_buffers): Add parameter min_len.
50431         (check_matching): Pass minimum needed length.
50432         (clean_state_log_if_needed): Likewise.
50433         (get_subexp): Likewise.
50434         * posix/Makefile (tests): Add bug-regex34.
50435         (bug-regex34-ENV): Define.
50436         * posix/bug-regex34.c: New file.
50438         [BZ #11561]
50439         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50440         elements compare against the byte sequence of it, not its name.
50441         * posix/Makefile (tests): Add bug-regex35.
50442         (bug-regex35-ENV): Define.
50443         * posix/bug-regex35.c: New file.
50445 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50447         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50448         comment.
50449         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50450         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50451         (CHECK_EOL): Add undef.
50453 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50455         * bits/stdlib-bsearch.h: New file.
50456         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50457         * stdlib/stdlib.h: Likewise.
50459 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50461         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50462         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50463         declaration.
50464         * manual/search.texi (Array Search Function): Add missing const in
50465         lfind prototype.
50466         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50467         declaration to use rlim_t.
50468         (Basic Scheduling Functions): Remove erroneous const from
50469         sched_getparam prototype.  Remove erroneous * from
50470         sched_get_priority_max and sched_get_priority_min prototypes.
50471         (Resource Usage): Fix summary @comment on vtimes to refer to
50472         sys/vtimes.h rather than vtimes.h.
50473         Add missing *s in vtimes prototype.
50474         (Limits on Resources): Fix ulimit prototype to return long int.
50475         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50476         prototypes to use long int rather than double.
50477         (BSD Random): Fix initstate and setstate to use char *, not void *.
50478         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50479         prototype to make second argument 'struct aiocb64 *const[]'.
50480         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50481         (Status of AIO Operations): Remove erroneous const in aio_return and
50482         aio_return64 prototypes.
50483         (Synchronizing I/O): Fix sync prototype to return void.
50484         * manual/startup.texi (Suboptions): Remove an erroneous const in
50485         getsubopt prototype.
50486         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50487         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50488         use size_t rather than int.
50489         (Scanning All Users): Likewise for getpwent_r.
50490         (Setting Groups): Add missing const to setgroups prototype.
50491         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50492         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50493         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50494         'const void *' rather than 'const char *'.
50495         (Host Address Functions): Likewise for inet_ntop.
50496         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50497         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50498         ssize_t for return value.
50499         (Sending Data): Likewise for send, sendto, sendmsg.
50500         (Socket Option Functions): Add a missing const in setsockopt prototype.
50501         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50502         use wchar_t for the argument.
50503         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50504         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50505         take no arguments.
50506         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50507         double/float/long double for second argument.
50508         Fix return types of significand, significandf, significandl.
50509         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50510         argument in fchmod prototype.
50511         (File Owner): Use uid_t and gid_t in fchown prototype.
50512         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50513         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50514         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50515         use 'const struct dirent **' as argument types to CMP function pointer
50516         argument.
50517         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50518         (File Times): Fix summary magic @comment for struct utimbuf and utime
50519         to refer to utime.h, not time.h.
50520         * manual/string.texi (Argz Functions): Add missing const in
50521         argz_extract and argz_next prototypes.
50522         (Finding Tokens in a String): Likewise for basename.
50523         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50524         (Copying and Concatenation): Fix typo in wmemmove prototype.
50525         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50526         (Signal Stack): Remove erroneous const in sigstack prototype.
50527         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50528         prototype.
50529         (Simple Calendar Time): Likewise for stime.
50530         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50531         prototype.
50532         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50533         say sys/sysctl.h instead.
50534         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50535         and vsyslog prototypes.
50537 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50539         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50540         Remove.
50542 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50544         * misc/sys/mman.h: Fix typo in mremap comment.
50546 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50548         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50549         the '\0' terminator.
50551 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50553         [BZ #13550]
50554         * debug/segfault.c: Don't include <bp-checks.h>.
50555         * sysdeps/generic/bp-checks.h: Remove file.
50556         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50557         (__GETDENTS): Don't use CHECK_N.
50558         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50559         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50560         (__getgroups): Don't use CHECK_N.
50561         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50562         (setgroups): Don't use CHECK_N.
50563         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50564         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50565         (__libc_msgrcv): Don't use CHECK_N.
50566         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50567         (__libc_msgsnd): Don't use CHECK_N.
50568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50569         <bp-checks.h>.
50570         (__libc_pread): Don't use CHECK_N.
50571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50572         include <bp-checks.h>.
50573         (__libc_pread64): Don't use CHECK_N.
50574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50575         include <bp-checks.h>.
50576         (__libc_pwrite): Don't use CHECK_N.
50577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50578         include <bp-checks.h>.
50579         (__libc_pwrite64): Don't use CHECK_N.
50580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50581         <bp-checks.h>.
50582         (__libc_pread): Don't use CHECK_N.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50584         include <bp-checks.h>.
50585         (__libc_pread64): Don't use CHECK_N.
50586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50587         include <bp-checks.h>.
50588         (__libc_pwrite): Don't use CHECK_N.
50589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50590         include <bp-checks.h>.
50591         (__libc_pwrite64): Don't use CHECK_N.
50592         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50593         (do_pread): Don't use CHECK_N.
50594         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50595         (do_pread64): Don't use CHECK_N.
50596         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50597         (do_pwrite): Don't use CHECK_N.
50598         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50599         (do_pwrite64): Don't use CHECK_N.
50600         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50601         (__libc_readv): Don't use CHECK_N.
50602         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50603         (semop): Don't use CHECK_N.
50604         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50605         <bp-checks.h>.
50606         (semtimedop): Don't use CHECK_N.
50607         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50608         (__libc_pread): Don't use CHECK_N.
50609         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50610         <bp-checks.h>.
50611         (__libc_pread64): Don't use CHECK_N.
50612         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50613         <bp-checks.h>.
50614         (__libc_pwrite): Don't use CHECK_N.
50615         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50616         <bp-checks.h>.
50617         (__libc_pwrite64): Don't use CHECK_N.
50618         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50619         <bp-checks.h>.
50620         (__libc_msgrcv): Don't use CHECK_N.
50621         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50622         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50623         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50624         (__libc_writev): Don't use CHECK_N.
50626 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50628         * string/strcpy.c: Removed unused variable.
50630         * Makeconfig (+sysdep-includes): Define with := rather than =.
50631         Use an existing include/ subdir of each sysdeps dir before it.
50633 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50635         * nscd/connection.c (register_traced_file): Comment function.
50636         [HAVE_INOTIFY] (union __inev): Define.
50637         [HAVE_INOTIFY] (inotify_check_files): New function.
50638         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50639         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50640         clear_db_cache.
50641         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50643 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50645         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50646         loaded if not already and that a failure is permanent.
50648 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50650         [BZ #15006]
50651         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50652         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50654 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50656         [BZ #13550]
50657         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50658         (CHECK_1_NULL_OK): Likewise.
50659         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50660         (__fxstat): Do not use CHECK_1.
50661         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50662         <bp-checks.h>.
50663         (___fxstat64): Do not use CHECK_1.
50664         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50665         <bp-checks.h>.
50666         (__fxstatat): Do not use CHECK_1.
50667         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50668         <bp-checks.h>.
50669         (__fxstatat64): Do not use CHECK_1.
50670         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50671         <bp-checks.h>.
50672         (__fxstat): Do not use CHECK_1.
50673         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50674         <bp-checks.h>.
50675         (__fxstatat): Do not use CHECK_1.
50676         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50677         <bp-checks.h>.
50678         (__getresgid): Do not use CHECK_1.
50679         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50680         <bp-checks.h>.
50681         (__getresuid): Do not use CHECK_1.
50682         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50683         <bp-checks.h>.
50684         (__lxstat): Do not use CHECK_1.
50685         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50686         <bp-checks.h>.
50687         (__old_msgctl): Do not use CHECK_1.
50688         (__new_msgctl): Likewise.
50689         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50690         <bp-checks.h>.
50691         (__new_setrlimit): Do not use CHECK_1.
50692         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50693         <bp-checks.h>.
50694         (__old_shmctl): Do not use CHECK_1.
50695         (__new_shmctl): Likewise.
50696         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50697         <bp-checks.h>.
50698         (__xstat): Do not use CHECK_1.
50699         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50700         (__lxstat): Do not use CHECK_1.
50701         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50702         <bp-checks.h>.
50703         (___lxstat64): Do not use CHECK_1.
50704         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50705         (__old_msgctl): Do not use CHECK_1.
50706         (__new_msgctl): Likewise.
50707         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50708         <bp-checks.h>.
50709         (__gettimeofday): Do not use CHECK_1.
50710         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50711         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50712         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50713         <bp-checks.h>.
50714         (__gettimeofday): Do not use CHECK_1.
50715         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50716         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50717         (__new_shmctl): Do not use CHECK_1.
50718         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50719         <bp-checks.h>.
50720         (do_sigtimedwait): Do not use CHECK_1.
50721         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50722         <bp-checks.h>.
50723         (do_sigwaitinfo): Do not use CHECK_1.
50724         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50725         <bp-checks.h>.
50726         (msgctl): Do not use CHECK_1.
50727         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50728         <bp-checks.h>.
50729         (shmctl): Do not use CHECK_1.
50730         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50731         (ustat): Do not use CHECK_1.
50732         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50733         <bp-checks.h>.
50734         (__fxstat): Do not use CHECK_1.
50735         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50736         <bp-checks.h>.
50737         (__fxstatat): Do not use CHECK_1.
50738         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50739         <bp-checks.h>.
50740         (__lxstat): Do not use CHECK_1.
50741         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50742         <bp-checks.h>.
50743         (__xstat): Do not use CHECK_1.
50744         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50745         (__xstat): Do not use CHECK_1.
50746         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50747         (___xstat64): Do not use CHECK_1.
50749         [BZ #13550]
50750         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50751         definitions.
50752         (CHECK_BOUNDS_HIGH): Likewise.
50753         * string/strcpy.c: Do not include <bp-checks.h>.
50754         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50756 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50758         * nscd/nscd-client.h (__nscd_drop_map_ref):
50759         Add __attribute__ ((unused)).
50760         * nis/nss-nisplus.h (niserr2nss): Likewise.
50762         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50763         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50765         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50766         Remove inline keyword.
50767         * include/rounding-mode.h (round_away): Likewise.
50768         * libio/wfileops.c (adjust_wide_data): Likewise.
50769         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50770         (__m128i_strloadu_tolower): Likewise.
50771         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50772         (__m128i_strloadu_tolower): Likewise.
50773         * time/mktime.c (ydhms_diff): Likewise.
50774         * locale/elem-hash.h (elem_hash): Likewise.
50775         * locale/setlocale.c (setdata): Likewise.
50776         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50777         (re_string_wchar_at): Likewise.
50778         (bitset_not, bitset_merge, bitset_mask): Likewise.
50779         [!(__GNUC__ > 3)] (inline): Remove macro.
50780         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50781         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50782         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50783         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50784         * string/memcmp.c (memcmp_bytes): Likewise.
50785         * locale/programs/locarchive.c (compute_hashval): Likewise.
50786         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50787         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50788         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50789         * nss/getent.c (print_rpc, print_protocols): Likewise.
50790         (print_passwd, print_group, print_aliases): Likewise.
50791         * nis/nss-nisplus.h (niserr2nss): Likewise.
50792         * nscd/connections.c (restart_p): Likewise.
50793         Change return type to bool.
50795 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50797         * Makeconfig (all-Depend-files): Add existing
50798         $(sorted-subdirs:=/Depend) files.
50799         (all-subdirs): Remove nss.
50800         * sysdeps/unix/inet/Subdirs: Add it here instead.
50801         * hesiod/Depend: New file.
50803         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50804         instead of calling alloca.
50806         * io/lseek.c (__lseek): Rename to __libc_lseek.
50807         Define __lseek as an alias.
50809         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50811 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50813         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50814         else clause and remove check for non-standard endianness.
50816 2013-02-04  David S. Miller  <davem@davemloft.net>
50818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50820 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50822         [BZ #13550]
50823         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50824         (__ubp_memchr): Remove prototype.
50825         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50826         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50827         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50828         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50829         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50830         Remove alias.
50831         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50832         (__ubp_memchr): Likewise.
50833         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50834         (__ubp_memchr): Likewise.
50835         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50836         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50837         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50838         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50839         CHECK_STRING.
50840         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50841         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50842         (__getcwd): Do not use CHECK_STRING.
50843         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50844         <bp-checks.h>.
50845         (__real_chown): Do not use CHECK_STRING.
50846         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50847         <bp-checks.h>.
50848         (fchownat): Do not use CHECK_STRING.
50849         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50850         CHECK_STRING.
50851         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50852         <bp-checks.h>.
50853         (__lchown): Do not use CHECK_STRING.
50854         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50855         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50856         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50857         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50859         include <bp-checks.h>.
50860         (truncate64): Do not use CHECK_STRING.
50861         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50862         <bp-checks.h>.
50863         (__real_chown): Do not use CHECK_STRING.
50864         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50865         <bp-checks.h>.
50866         (__lchown): Do not use CHECK_STRING.
50867         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50868         <bp-checks.h>.
50869         (__chown): Do not use CHECK_STRING.
50870         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50871         <bp-checks.h>.
50872         (truncate64): Do not use CHECK_STRING.
50873         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50874         Likewise.
50875         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50876         (__xmknod): Do not use CHECK_STRING.
50877         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50878         <bp-checks.h>.
50879         (__xmknodat): Do not use CHECK_STRING.
50880         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50881         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50883 2013-02-04  Andreas Schwab  <schwab@suse.de>
50885         [BZ #14142]
50886         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50887         * include/netdb.h: Likewise for h_errno.
50888         * elf/tst-stackguard1.c: Include <tls.h>.
50890 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50892         * elf/link.h (struct link_map): Extend the l_addr comment.
50893         * include/link.h (struct link_map): Likewise.
50895 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50897         [BZ #13550]
50898         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50899         (BOUNDED_1): Remove macro.
50900         * debug/backtrace.c: Don't include <bp-checks.h>.
50901         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50902         (__backtrace): Likewise.
50903         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50904         <bp-checks.h>.
50905         (__backtrace): Don't use BOUNDED_1.
50906         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50907         <bp-checks.h>.
50908         (__backtrace): Don't use BOUNDED_1.
50909         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50910         (__backtrace): Don't use BOUNDED_1.
50911         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50912         (shmat): Don't use BOUNDED_N.
50914 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50916         [BZ #13550]
50917         * sysdeps/generic/bp-start.h: Remove file.
50918         * csu/libc-start.c: Don't include <bp-start.h>.
50919         (LIBC_START_MAIN): Set up __environ directly instead of using
50920         INIT_ARGV_and_ENVIRON.
50921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50922         <bp-start.h>.
50924         [BZ #13550]
50925         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50926         definitions.
50927         (CHECK_FCNTL): Likewise.
50928         (CHECK_N_PAGES): Likewise.
50930         [BZ #13550]
50931         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50932         definitions.
50933         (CHECK_SIGSET_NULL_OK): Likewise.
50934         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50935         <bp-checks.h>.
50936         (sigpending): Don't use CHECK_SIGSET.
50937         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50938         <bp-checks.h>.
50939         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50940         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50941         <bp-checks.h>.
50942         (do_sigsuspend): Don't use CHECK_SIGSET.
50943         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50944         use CHECK_SIGSET.
50945         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50946         (do_sigwait): Don't use CHECK_SIGSET.
50947         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50948         use CHECK_SIGSET.
50949         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50950         include <bp-checks.h>.
50951         (sigpending): Don't use CHECK_SIGSET.
50952         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50953         include <bp-checks.h>.
50954         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50955         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50956         <bp-checks.h>.
50957         (sigpending): Don't use CHECK_SIGSET.
50958         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50959         <bp-checks.h>.
50960         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50962         [BZ #13550]
50963         * sysdeps/generic/bp-semctl.h: Remove file.
50964         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50965         <bp-checks.h> and <bp-semctl.h>.
50966         (__old_semctl): Don't use CHECK_SEMCTL.
50967         (__new_semctl): Likewise.
50968         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50969         and <bp-semctl.h>.
50970         (__old_semctl): Don't use CHECK_SEMCTL.
50971         (__new_semctl): Likewise.
50972         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50973         <bp-checks.h> and <bp-semctl.h>.
50974         (__old_semctl): Don't use CHECK_SEMCTL.
50975         (__new_semctl): Likewise.
50976         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50977         <bp-checks.h> and <bp-semctl.h>.
50978         (semctl): Don't use CHECK_SEMCTL.
50980         [BZ #13550]
50981         * Makerules (elide-bp-thunks): Remove variable.
50982         (elide-routines.oS): Don't use $(elide-bp-thunks).
50983         (elide-routines.os): Likewise.
50984         (elide-routines.o): Likewise.
50985         (elide-routines.op): Likewise.
50986         (elide-routines.og): Likewise.
50987         (objects): Don't use $(bp-thunks).
50988         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50989         include.
50990         (common-generated): Do not add s-proto-bp.d.
50991         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50992         (int): Likewise.
50993         (typ): Likewise.
50994         Do not generate makefile rules for bounded-pointer thunks.
50995         * sysdeps/generic/bp-thunks.h: Remove file.
50996         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50997         * sysdeps/unix/s-proto-bp.S: Likewise.
50999         [BZ #15062]
51000         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51001         parts of result separately when argument is not close to line from
51002         -i to i and one part of argument is small.
51003         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51004         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51005         * math/libm-test.inc (cacos_test): Add more tests.
51006         (casin_test): Likewise.
51007         (casinh_test): Likewise.
51008         * sysdeps/i386/fpu/libm-test-ulps: Update.
51009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51011 2013-01-31  David S. Miller  <davem@davemloft.net>
51013         * po/de.po: Update from translation team.
51015 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51017         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51019 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51021         * configure.in (_AC_PROG_CC_C89): New definition.
51022         * configure: Regenerate.
51024         * configure.in (AC_PROG_CPP): New definition.
51025         * configure: Regenerate.
51027 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51029         * debug/tst-backtrace.h: New file.
51030         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51031         (ret): Remove variable.
51032         (x): Likewise.
51033         (FAIL): Remove macro.
51034         (NO_INLINE): Likewise.
51035         (fn1): Use match function instead of strstr.
51036         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51037         (ret): Remove variable.
51038         (x): Likewise.
51039         (FAIL): Remove macro.
51040         (NO_INLINE): Likewise.
51041         (fn): Use match function instead of strstr.
51042         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51043         (ret): Remove variable.
51044         (x): Likewise.
51045         (FAIL): Remove macro.
51046         (NO_INLINE): Likewise.
51047         (handle_signal): Use match function instead of strstr.
51048         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51049         (ret): Remove variable.
51050         (x): Likewise.
51051         (FAIL): Remove macro.
51052         (NO_INLINE): Likewise.
51053         (handle_signal): Use match function instead of strstr.
51055 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51057         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51059 2013-01-23  David S. Miller  <davem@davemloft.net>
51061         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51062         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51063         argument of CAS if possible.
51064         * sysdeps/sparc/sparc64/bits/atomic.h
51065         (__arch_compare_and_exchange_val_32_acq): Likewise.
51066         (__arch_compare_and_exchange_val_64_acq): Likewise.
51068 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51070         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51071         * sysdeps/posix/ulimit.c: ... this.
51072         Include <limits.h>.
51073         * sysdeps/unix/bsd/ulimit.c: Remove file.
51075 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51077         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51078         (LDFLAGS-tst-array5): Likewise.
51080 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51082         [BZ #15036]
51083         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51084         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51085         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51086         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51088 2013-01-21  David S. Miller  <davem@davemloft.net>
51090         * sysdeps/sparc/backtrace.c: New file.
51091         * sysdeps/sparc/sparc32/backtrace.h: New file.
51092         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51093         * sysdeps/sparc/sparc64/backtrace.h: New file.
51094         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51095         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51096         -funwind-tables.
51098 2013-01-21  Andreas Schwab  <schwab@suse.de>
51100         [BZ #15020]
51101         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51102         closed its stdout.
51104 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51107         "mpa2.h".
51108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51110 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51111             Mark Mitchell  <mark@codesourcery.com>
51112             Tom de Vries  <tom@codesourcery.com>
51113             Paul Pluzhnikov  <ppluzhnikov@google.com>
51115         * debug/tst-backtrace2.c: New file.
51116         * debug/tst-backtrace3.c: Likewise.
51117         * debug/tst-backtrace4.c: Likewise.
51118         * debug/tst-backtrace5.c: Likewise.
51119         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51120         (CFLAGS-tst-backtrace3.c): Likewise.
51121         (CFLAGS-tst-backtrace4.c): Likewise.
51122         (CFLAGS-tst-backtrace5.c): Likewise.
51123         (LDFLAGS-tst-backtrace2): Likewise.
51124         (LDFLAGS-tst-backtrace3): Likewise.
51125         (LDFLAGS-tst-backtrace4): Likewise.
51126         (LDFLAGS-tst-backtrace5): Likewise.
51127         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51128         tst-backtrace4 and tst-backtrace5.
51130 2013-01-18  Anton Blanchard  <anton@samba.org>
51131             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51133         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51134         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51135         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51136         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51138         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51139         "+r" and remove output regs list as redundant.  Add explicit inline
51140         asm to specify register of return val to work around compiler codegen
51141         bug.  Remove (int) cast on return value.  Add return type parameter to
51142         use in macro so that this macro does not truncate return value for
51143         64-bit values.
51144         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51145         pass to INTERNAL_VSYSCALL_NCS.
51146         (INLINE_VSYSCALL): Add 'long int' as return type to
51147         INTERNAL_VSYSCALL_NCS macro invocation.
51148         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51149         INTERNAL_VSYSCALL_NCS macro invocation.
51150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51152 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51154         [BZ #14496]
51155         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51156         Fix application of SIMD FP exception mask.
51158         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51159         mp_no from a power of two.
51160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51161         __mpexp_twomm1.  Use __pow_mp.
51163         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51164         multiplication.
51166 2013-01-17  David S. Miller  <davem@davemloft.net>
51168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51170 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51172         [BZ #15023]
51173         * include/complex.h: Condition contents on [!_COMPLEX_H].
51174         (__kernel_casinhf): New prototype.
51175         (__kernel_casinh): Likewise.
51176         (__kernel_casinhl): Likewise.
51177         * math/Makefile (libm_calls): Add k_casinh.
51178         * math/k_casinh.c: New file.
51179         * math/k_casinhf.c: Likewise.
51180         * math/k_casinhl.c: Likewise.
51181         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51182         finite nonzero arguments.
51183         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51184         finite nonzero arguments.
51185         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51186         finite nonzero arguments.
51187         * math/s_casinh.c: Do not include <float.h>.
51188         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51189         * math/s_casinhf.c: Do not include <float.h>.
51190         (__casinhf): Move code for finite nonzero arguments to
51191         k_casinhf.c.
51192         * math/s_casinhl.c: Do not include <float.h>.
51193         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51194         redefine.
51195         (__casinhl): Move code for finite nonzero arguments to
51196         k_casinhl.c.
51197         * math/libm-test.inc (cacos_test): Add more tests.
51198         * sysdeps/i386/fpu/libm-test-ulps: Update.
51199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51201 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51203         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51204         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51205         [!HAVE_MREMAP]: Remove [defined linux] case.
51206         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51208 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51210         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51212 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51214         * elf/elf.h (R_386_SIZE32): New relocation.
51215         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51216         R_386_SIZE32.
51217         (elf_machine_rela): Likewise.
51218         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51219         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51221 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51223         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51224         (FP_FAST_FMA): Do not define.
51225         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51226         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51227         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51228         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51229         !_SOFT_FLOAT]: Likewise.
51230         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51231         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51232         value.
51233         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51234         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51235         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51236         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51237         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51238         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51239         file.
51241 2013-01-16  Andreas Schwab  <schwab@suse.de>
51243         [BZ #14327]
51244         * include/stdlib.h (__mktemp): Add declaration.
51245         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51246         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51248 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51250         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51251         definitions.
51252         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51253         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51254         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51255         definitions here.
51256         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51257         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51258         definitions.
51259         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51260         and ONE.
51261         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51262         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51263         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51264         definitions.
51265         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51266         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51267         definitions.
51268         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51270         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51272 2013-01-15  David S. Miller  <davem@davemloft.net>
51274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51275         trunc{,f} to libm-sysdep_routes.
51276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51278         file.
51279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51281         file.
51282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51283         file.
51284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51286         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51287         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51288         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51289         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51290         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51291         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51294         nearbyint{,f} to libm-sysdep_routes.
51295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51297         New file.
51298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51299         file.
51300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51301         New file.
51302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51303         file.
51304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51306         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51307         file.
51308         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51309         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51310         file.
51311         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51312         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51313         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51315         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51316         libc_feholdexcept and libc_fesetenv.
51318 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51320         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51322 2013-01-14  David S. Miller  <davem@davemloft.net>
51324         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51325         (SPARC_ASM_VIS2_IFUNC): Likewise.
51326         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51328         use of 'siam' instruction.
51329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51330         Likewise.
51331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51332         Likewise.
51333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51334         Likewise.
51335         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51336         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51340         file.
51341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51342         file.
51343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51344         file.
51345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51346         file.
51347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51348         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51349         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51352         new VIS2 routines.
51353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51356         Likewise.
51357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51362         routines to libm-sysdep_routines.
51363         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51366         fdim/fdimf to libm-sysdep_routines.
51367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51368         file.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51371         file.
51372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51375         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51376         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51377         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51378         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51380 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51382         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51383         to optimize copies.
51385         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51386         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51387         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51390         local variable MPTWO.
51391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51392         Likewise.
51394 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51396         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51397         GLOB_NOESCAPE.
51399 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51401         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51403 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51405         * manual/pattern.texi (glob_t): Document gl_flags.
51406         (glob64_t): Likewise.
51408 2013-01-11  David S. Miller  <davem@davemloft.net>
51410         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51411         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51412         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51413         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51414         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51415         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51416         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51417         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51418         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51419         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51420         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51421         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51422         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51424         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51425         sparc V9 rather than using V8 code.
51426         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51427         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51429         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51430         Move to...
51431         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51432         Here.
51434 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51436         [BZ #14941]
51437         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51438         not in the main loop.
51439         * configure: Regenerated.
51441 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51443         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51444         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51445         to just #else.
51446         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51447         [!__GLIBC_HAVE_LONG_LONG] case.
51448         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51449         condition to just #else.
51450         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51451         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51452         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51453         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51454         unconditional.
51455         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51456         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51457         #elif condition to just #else.
51458         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51459         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51460         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51461         #elif condition to just #else.
51463 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51465         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51466         (EF_MIPS_ARCH_64): Fix value.
51467         (EF_MIPS_ARCH_32R2): New.
51468         (EF_MIPS_ARCH_64R2): New.
51470 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51472         * Makeconfig (+link-pie-before-libc): New.
51473         (+link-pie-after-libc): Likewise.
51474         (+link-pie-tests): Likewise.
51475         (+link-pie): Rewritten.
51476         (link-before-libc): Remove $(config-LDFLAGS).
51477         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51478         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51479         (config-LDFLAGS): Renamed to ...
51480         (rtld-LDFLAGS): This.
51481         (rtld-tests-LDFLAGS): New macro.
51482         (link-libc-rpath-link): Likewise.
51483         (link-libc-tests-rpath-link): Likewise.
51484         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51485         (link-libc): Prepand $(link-libc-rpath-link).
51486         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51487         (test-program-prefix): New macro.
51488         (test-via-rtld-prefix): Likewise.
51489         (test-program-cmd): Likewise.
51490         (host-test-program-cmd): Likewise.
51491         * Makefile ($(common-objpfx)testrun.sh): Replace
51492         $(run-program-prefix) with $(test-program-prefix).
51493         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51494         $(rtld-LDFLAGS).
51495         ($(common-objpfx)shlib.lds): Likewise.
51496         (build-module-helper): Likewise.
51497         ($(common-objpfx)format.lds): Likewise.
51498         * Rules (binaries-pie-tests): New.
51499         (binaries-pie-notests): Likewise.
51500         (binaries-pie): Rewritten.
51501         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51502         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51503         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51504         (make-test-out): Replace $(host-built-program-cmd) with
51505         $(host-test-program-cmd).
51506         * config.make.in (build-hardcoded-path-in-tests): New variable.
51507         * configure.in (--enable-hardcoded-path-in-tests): New configure
51508         option.
51509         (hardcoded_path_in_tests): New AC_SUBST.
51510         * configure: Regenerated.
51511         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51512         $(built-program-cmd) with $(test-program-cmd).
51513         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51514         (test_program_cmd): This.
51515         * elf/Makefile ($(objpfx)order.out): Run test with
51516         $(test-program-prefix).
51517         ($(objpfx)order2.out): Likewise.
51518         ($(objpfx)tst-initorder.out): Likewise.
51519         ($(objpfx)tst-initorder2.out): Likewise.
51520         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51521         $(test-program-cmd).
51522         ($(objpfx)tst-array1-static.out): Likewise.
51523         ($(objpfx)tst-array2.out): Likewise.
51524         ($(objpfx)tst-array3.out): Likewise.
51525         ($(objpfx)tst-array4.out): Likewise.
51526         ($(objpfx)tst-array5.out): Likewise.
51527         ($(objpfx)tst-array5-static.out): Likewise.
51528         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51529         $(test-program-cmd).
51530         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51531         $(run-program-prefix) with $(test-program-prefix).
51532         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51533         (test_program_prefix): This.
51534         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51535         $(run-program-prefix) with $(test-program-prefix).
51536         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51537         (test_program_prefix): This.
51538         * iconvdata/tst-tables.sh: Likewise.
51539         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51540         $(run-program-prefix) with $(test-program-prefix).
51541         ($(objpfx)tst-translit.out): Likewise.
51542         ($(objpfx)tst-gettext2.out): Likewise.
51543         ($(objpfx)tst-gettext4.out): Likewise.
51544         ($(objpfx)tst-gettext6.out): Likewise.
51545         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51546         (test_program_prefix): This.
51547         * intl/tst-gettext2.sh: Likewise.
51548         * intl/tst-gettext4.sh  Likewise.
51549         * intl/tst-gettext6.sh: Likewise.
51550         * intl/tst-translit.sh: Likewise.
51551         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51552         with $(test-program-cmd).
51553         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51554         $(run-program-prefix) with $(test-program-prefix).
51555         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51556         (test_program_prefix): This.
51557         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51558         $(run-program-prefix) with $(test-program-prefix).
51559         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51560         (test_program_prefix): This.
51561         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51562         * posix/Makefile ($(objpfx)globtest.out): Replace
51563         $(run-via-rtld-prefix) and $(test-wrapper) with
51564         $(test-program-prefix) and $(test-via-rtld-prefix).
51565         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51566         $(test-program-prefix).
51567         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51568         $(host-test-program-cmd).
51569         (tst-spawn-ARGS): Likewise.
51570         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51571         $(test-program-prefix).
51572         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51573         (test_via_rtld_prefix): This.
51574         (test_wrapper): Renamed to ...
51575         (test_program_prefix): This.
51576         (run_program_prefix): Replaced by test_program_prefix.
51577         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51578         (test_program_prefix): This.
51579         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51580         with $(host-test-program-cmd).
51581         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51582         $(run-program-prefix) with $(test-program-prefix).
51583         ($(objpfx)tst-printf.out): Likewise.
51584         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51585         $(test-program-cmd).
51586         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51587         (test_program_prefix): This.
51588         * stdio-common/tst-unbputc.sh: Likewise.
51589         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51590         $(run-program-prefix) with $(test-program-prefix).
51591         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51592         (test_program_prefix): This.
51593         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51594         $(built-program-cmd) with $(test-program-cmd).
51596 2013-01-11  Andreas Jaeger  <aj@suse.de>
51598         [BZ #15003]
51599         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51600         value. Sync with Linux 3.7.
51602 2013-01-10  David S. Miller  <davem@davemloft.net>
51604         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51611         never set.
51612         * configure: Regenerated.
51614 2013-01-10  David S. Miller  <davem@davemloft.net>
51616         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51617         sparc V9 rather than using V8 code.
51618         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51619         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51621 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51623         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51624         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51625         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51626         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51627         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51628         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51629         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51630         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51631         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51632         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51633         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51634         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51635         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51636         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51637         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51638         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51639         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51640         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51641         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51642         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51643         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51644         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51645         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51646         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51647         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51648         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51649         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51651 2013-01-10  David S. Miller  <davem@davemloft.net>
51653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51655 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51657         * posix/Makefile (tests-static): New variable.
51658         (tests): Add $(tests-static).
51659         (tst-exec-static-ARGS): New variable.
51660         (tst-spawn-static-ARGS): Likewise.
51661         * posix/tst-exec-static.c: New file.
51662         * posix/tst-spawn-static.c: Likewise.
51663         * posix/tst-exec.c: Support run directly.
51664         * posix/tst-spawn.c: Likewise.
51666 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51668         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51669         long.
51670         * math/bits/mathcalls.h (llrint): Likewise.
51671         (llround): Likewise.
51672         * stdlib/stdlib.h (struct drand48_data): Likewise.
51673         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51674         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51675         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51676         Likewise.
51677         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51678         Likewise.
51679         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51680         (elf_greg_t): Likewise.
51681         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51682         (__jmp_buf): Likewise.
51683         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51684         definitions.
51685         (llrint): Likewise, for all definitions.
51686         (llrintl): Likewise.
51688         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51689         Remove [__GNUC__] condition.
51690         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51691         condition to just [__USE_ISOC99].
51692         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51694 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51696         [BZ #14200]
51697         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51698         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51699         defined.
51700         (_POSIX_V6_ILP32_OFF32): Likewise.
51701         (_XBS5_ILP32_OFF32): Likewise.
51702         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51703         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51705 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51707         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51709         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51710         doubles __mpexp_twomm1.  Adjust usage.
51711         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51712         Remove.
51714 2013-01-10  Andreas Schwab  <schwab@suse.de>
51716         [BZ #14964]
51717         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51718         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51720 2013-01-09  David S. Miller  <davem@davemloft.net>
51722         [BZ #15003]
51723         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51724         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51725         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51726         (TCP_FASTOPEN): Define.
51727         (tcp_repair_opt): New structure.
51728         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51729         enum values.
51730         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51731         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51732         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51733         (tcp_cookie_transactions): New structure.
51735 2013-01-09  Anton Blanchard  <anton@samba.org>
51737         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51738         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51739         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51740         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51742 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51744         * include/features.h (__USE_ANSI): Remove.
51746 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51748         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51750         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51752 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51754         * sysdeps/s390/fpu/libm-test-ulps: Update.
51756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51758         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51759         (__acr): Likewise.
51760         (__cpy): Likewise.
51761         (norm): Likewise.
51762         (denorm): Likewise.
51763         (__mp_dbl): Likewise.
51764         (__dbl_mp): Likewise.
51765         (add_magnitudes): Likewise.
51766         (sub_magnitudes): Likewise.
51767         (__add): Likewise.
51768         (__sub): Likewise.
51769         (__mul): Likewise.
51770         (__inv): Likewise.
51771         (__dvd): Likewise.
51772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51773         (__acr): Likewise.
51774         (__cpy): Likewise.
51775         (norm): Likewise.
51776         (denorm): Likewise.
51777         (__mp_dbl): Likewise.
51778         (__dbl_mp): Likewise.
51779         (add_magnitudes): Likewise.
51780         (sub_magnitudes): Likewise.
51781         (__add): Likewise.
51782         (__sub): Likewise.
51783         (__mul): Likewise.
51784         (__inv): Likewise.
51785         (__dvd): Likewise.
51786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51787         (__acr): Likewise.
51788         (__cpy): Likewise.
51789         (norm): Likewise.
51790         (denorm): Likewise.
51791         (__mp_dbl): Likewise.
51792         (__dbl_mp): Likewise.
51793         (add_magnitudes): Likewise.
51794         (sub_magnitudes): Likewise.
51795         (__add): Likewise.
51796         (__sub): Likewise.
51797         (__mul): Likewise.
51798         (__inv): Likewise.
51799         (__dvd): Likewise.
51801 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51803         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51804         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51805         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51806         2 && __USE_EXTERN_INLINES]: Likewise.
51808 2013-01-08  Andreas Jaeger  <aj@suse.de>
51810         [BZ# 14985]
51811         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51812         Remove.
51813         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51814         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51816 2013-01-07  Anton Blanchard  <anton@samba.org>
51818         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51819         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51820         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51821         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51822         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51823         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51824         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51825         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51827         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51828         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51829         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51830         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51831         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51832         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51833         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51834         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51835         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51836         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51837         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51838         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51839         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51840         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51841         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51842         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51843         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51845         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51846         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51847         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51848         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51850         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51851         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51852         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51853         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51854         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51855         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51856         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51857         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51858         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51859         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51860         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51862 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51864         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51865         (__MALLOC_PMT): Likewise.
51866         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51867         [__GNUC__], only on [_LIBC].
51868         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51869         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51870         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51871         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51872         forward declaration.
51873         (realloc_hook_ini): Likewise.
51874         (memalign_hook_ini): Likewise.
51875         (__libc_memalign): Do not use __MALLOC_PMT in variable
51876         declaration.
51877         (__libc_valloc): Likewise.
51878         (__libc_pvalloc): Likewise.
51879         (__libc_calloc): Likewise.
51880         (__posix_memalign): Likewise.
51882         [BZ #14996]
51883         * math/s_casinh.c: Include <float.h>.
51884         (__casinh): Do not do computation with squaring and square root
51885         for large arguments.
51886         * math/s_casinhf.c: Include <float.h>.
51887         (__casinhf): Do not do computation with squaring and square root
51888         for large arguments.
51889         * math/s_casinhl.c: Include <float.h>.
51890         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51891         (__casinhl): Do not do computation with squaring and square root
51892         for large arguments.
51893         * math/libm-test.inc (casin_test): Add more tests.
51894         (casinh_test): Likewise.
51895         * sysdeps/i386/fpu/libm-test-ulps: Update.
51896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51898 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51900         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51901         (__x86_64_raw_data_cache_size): Likewise.
51902         (__x86_64_data_cache_size_half): Likewise.
51903         (__x86_64_raw_data_cache_size_half): Likewise.
51904         (__x86_64_shared_cache_size): Likewise.
51905         (__x86_64_raw_shared_cache_size): Likewise.
51906         (__x86_64_shared_cache_size_half): Likewise.
51907         (__x86_64_raw_shared_cache_size_half): Likewise.
51908         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51909         to ...
51910         (__x86_data_cache_size): This.
51911         (__x86_64_raw_data_cache_size): Renamed to ...
51912         (__x86_raw_data_cache_size): This.
51913         (__x86_64_data_cache_size_half): Renamed to ...
51914         (__x86_data_cache_size_half): This.
51915         (__x86_64_raw_data_cache_size_half): Renamed to ...
51916         (__x86_raw_data_cache_size_half): This.
51917         (__x86_64_shared_cache_size): Renamed to ...
51918         (__x86_shared_cache_size): This.
51919         (__x86_64_raw_shared_cache_size): Renamed to ...
51920         (__x86_raw_shared_cache_size): This.
51921         (__x86_64_shared_cache_size_half): Renamed to ...
51922         (__x86_shared_cache_size_half): This.
51923         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51924         (__x86_raw_shared_cache_size_half): This.
51925         * sysdeps/x86_64/memcpy.S: Updated.
51926         * sysdeps/x86_64/memset.S: Likewise.
51927         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51928         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51931 2013-01-04  David S. Miller  <davem@davemloft.net>
51933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51935 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51937         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51938         1 to avoid redefinition warning.
51939         (__USE_GNU): Don't define.
51940         (init_signaling_nan): Protoize.
51942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51944 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51946         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51948         (__cpymn): Likewise.
51949         (norm): Remove commented code.
51950         (denorm): Likewise.
51951         (__mp_dbl): Likewise.
51952         (__inv): Likewise.
51953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51954         (__cpymn): Likewise.
51955         (norm): Remove commented code.
51956         (denorm): Likewise.
51957         (__mp_dbl): Likewise.
51958         (__inv): Likewise.
51960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51961         mp_no value for 1.0 and 2.0.
51962         (norm): Use RADIXI instead of radixi.d.
51963         (denorm): Likewise.
51964         (__mul): Use 0.0 instead of zero.d.
51965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51966         mp_no value for 1.0 and 2.0.
51967         (norm): Use RADIXI instead of radixi.d.
51968         (denorm): Likewise.
51969         (__mul): Use 0.0 instead of zero.d.
51971 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51973         [BZ #14994]
51974         * math/s_casinh.c (__casinh): Reduce finite argument to first
51975         quadrant then set signs of results at the end.
51976         * math/s_casinhf.c (__casinhf): Likewise.
51977         * math/s_casinhl.c (__casinhl): Likewise.
51978         * math/libm-test.inc (casin_test): Add more tests.
51979         (casinh_test): Likewise.
51980         * sysdeps/i386/fpu/libm-test-ulps: Update.
51981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51983 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51985         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51987         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51989         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51990         declarations.
51991         (denorm): Likewise.
51992         (__mp_dbl): Likewise.
51993         (__inv): Likewise.
51995         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51996         and adjust the header comment.
51998         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51999         variable name from declaration.
52001 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52004         Initialize COMMON_CPUID_INDEX_7 element.
52005         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52006         (CPUID_RTM): Likewise.
52007         (HAS_RTM): Likewise.
52008         (COMMON_CPUID_INDEX_7): New enum.
52010 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52012         [BZ #14981]
52013         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52014         size is zero, record memory as freed.
52016 2013-01-03  Andreas Jaeger  <aj@suse.de>
52018         * po/ia.po: Add new Interlingua translation.
52020 2012-01-03  Allan McRae  <allan@archlinux.org>
52022         * locale/programs/localedef.c: Fix description of '--posix' flag.
52024 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52026         * NEWS: Update dates in second copyright notice.
52027         * README: Update copyright dates in example.
52028         * manual/libc.texinfo: Update copyright dates.
52029         * scripts/test-installation.pl: Update copyright date in --version
52030         output.
52032         * hurd/ctty-input.c: Fix copyright notice formatting.
52033         * hurd/ctty-output.c: Likewise.
52034         * hurd/dtable.c: Likewise.
52035         * hurd/hurd-raise.c: Likewise.
52036         * hurd/hurdprio.c: Likewise.
52037         * hurd/msgportdemux.c: Likewise.
52038         * misc/sys/file.h: Likewise.
52039         * misc/sys/ioctl.h: Likewise.
52040         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52041         * sysdeps/mach/hurd/chdir.c: Likewise.
52042         * sysdeps/mach/hurd/fchdir.c: Likewise.
52043         * sysdeps/mach/hurd/rename.c: Likewise.
52044         * sysdeps/mach/hurd/rmdir.c: Likewise.
52045         * sysdeps/mach/hurd/seekdir.c: Likewise.
52046         * sysdeps/mach/hurd/setsid.c: Likewise.
52047         * sysdeps/posix/wait3.c: Likewise.
52049         * All files with FSF copyright notices: Update copyright dates
52050         using scripts/update-copyrights.
52051         * intl/plural.c: Regenerated.
52052         * locale/programs/charmap-kw.h: Likewise.
52053         * locale/programs/locfile-kw.h: Likewise.
52055 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52057         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52058         four values.
52060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52061         calculation loop and add branch prediction.
52063         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52064         check access beyond bounds of m1np.
52066         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52067         MPTWO.
52068         (__inv): Remove local variable MPTWO to use the global
52069         constant.
52070         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52072         variable MPTWO.
52073         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52074         MP3HALFS static const.
52076 2013-01-01  David S. Miller  <davem@davemloft.net>
52078         * po/ca.po: Update from translation team.
52080 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52082         * scripts/update-copyrights: New file.
52083         * Makeconfig: Reformat copyright notice.
52084         * ctype/ctype.h: Likewise.
52085         * debug/swprintf_chk.c: Likewise.
52086         * elf/dl-cache.c: Likewise.
52087         * elf/dl-debug.c: Likewise.
52088         * elf/dl-object.c: Likewise.
52089         * grp/initgroups.c: Likewise.
52090         * hurd/Makefile: Likewise.
52091         * hurd/hurd/signal.h: Likewise.
52092         * hurd/hurdfault.c: Likewise.
52093         * hurd/hurdioctl.c: Likewise.
52094         * hurd/hurdlookup.c: Likewise.
52095         * hurd/intr-msg.c: Likewise.
52096         * iconv/gconv_open.c: Likewise.
52097         * libio/swprintf.c: Likewise.
52098         * locale/lc-ctype.c: Likewise.
52099         * locale/nl_langinfo.c: Likewise.
52100         * mach/Machrules: Likewise.
52101         * mach/Makefile: Likewise.
52102         * malloc/obstack.h: Likewise.
52103         * manual/Makefile: Likewise.
52104         * manual/tsort.awk: Likewise.
52105         * misc/bits/stab.def: Likewise.
52106         * nis/nis_print_group_entry.c: Likewise.
52107         * nis/nis_table.c: Likewise.
52108         * nis/nss_compat/compat-pwd.c: Likewise.
52109         * nis/nss_compat/compat-spwd.c: Likewise.
52110         * po/Makefile: Likewise.
52111         * posix/fnmatch.c: Likewise.
52112         * posix/regex.h: Likewise.
52113         * resolv/Makefile: Likewise.
52114         * resolv/nss_dns/dns-network.c: Likewise.
52115         * resolv/res_hconf.c: Likewise.
52116         * scripts/gen-sorted.awk: Likewise.
52117         * soft-fp/soft-fp.h: Likewise.
52118         * stdio-common/printf.h: Likewise.
52119         * stdlib/monetary.h: Likewise.
52120         * stdlib/random.c: Likewise.
52121         * stdlib/random_r.c: Likewise.
52122         * sysdeps/generic/Makefile: Likewise.
52123         * sysdeps/gnu/Makefile: Likewise.
52124         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52125         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52126         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52127         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52128         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52132         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52133         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52134         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52135         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52136         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52137         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52138         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52139         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52140         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52141         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52142         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52143         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52144         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52145         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52146         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52147         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52148         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52149         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52150         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52151         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52152         * sysdeps/mach/hurd/errnos.awk: Likewise.
52153         * sysdeps/mach/hurd/fork.c: Likewise.
52154         * sysdeps/mach/hurd/getcwd.c: Likewise.
52155         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52156         * sysdeps/mach/hurd/mmap.c: Likewise.
52157         * sysdeps/mach/hurd/utimes.c: Likewise.
52158         * sysdeps/mach/hurd/xmknod.c: Likewise.
52159         * sysdeps/posix/profil.c: Likewise.
52160         * sysdeps/posix/readdir_r.c: Likewise.
52161         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52162         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52163         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52164         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52166         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52167         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52168         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52170         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52171         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52172         * sysdeps/pthread/lio_listio.c: Likewise.
52173         * sysdeps/sparc/dl-procinfo.h: Likewise.
52174         * sysdeps/unix/i386/sysdep.S: Likewise.
52175         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52176         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52177         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52178         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52180         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52181         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52182         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52183         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52184         * sysdeps/wordsize-32/divdi3.c: Likewise.
52185         * time/sys/time.h: Likewise.
52186         * wcsmbs/Makefile: Likewise.
52188 2013-01-01  David S. Miller  <davem@davemloft.net>
52190         * po/fr.po: Update from translation team.
52192         * catgets/gencat.c: Update copyright year.
52193         * csu/version.c: Likewise.
52194         * debug/catchsegv.sh: Likewise.
52195         * debug/pcprofiledump.c: Likewise.
52196         * debug/xtrace.sh: Likewise.
52197         * elf/ldconfig.c: Likewise.
52198         * elf/ldd.bash.in: Likewise.
52199         * elf/pldd.c: Likewise.
52200         * elf/sotruss.ksh: Likewise.
52201         * elf/sprof.c: Likewise.
52202         * iconv/iconv_prog.c: Likewise.
52203         * iconv/iconvconfig.c: Likewise.
52204         * locale/programs/locale.c: Likewise.
52205         * locale/programs/localedef.c: Likewise.
52206         * login/programs/pt_chown.c: Likewise.
52207         * malloc/memusage.sh: Likewise.
52208         * malloc/memusagestat.c: Likewise.
52209         * malloc/mtrace.pl: Likewise.
52210         * nscd/nscd.c: Likewise.
52211         * nss/getent.c: Likewise.
52212         * nss/makedb.c: Likewise.
52213         * posix/getconf.c: Likewise.
52215 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52217         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52218         numbers.
52220 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52222         * math/bits/mathcalls.h (modf): Use __nonnull.
52224 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52226         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52227         (split): Use macro CN instead of the bare value.
52228         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52229         could be used.
52230         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52231         instead of the bare value.
52232         (power1): Likewise.
52234 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52236         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52237         __ATAN_TWOM.
52238         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52240         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52241         their values.
52242         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52243         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52244         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52245         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52247 2012-12-28  Andreas Jaeger  <aj@suse.de>
52249         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52250         values are from Linux 3.7.
52252         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52253         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52255 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52257         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52258         TRUE case.
52260         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52261         (norm): Likewise.
52262         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52263         variables with preprocessor constants.
52264         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52265         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52266         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52268 2012-12-27  Bruno Haible  <bruno@clisp.org>
52270         [BZ #14317]
52271         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52272         only if needed.
52274 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52277         and use variable directly.
52278         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52280         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52281         MPONE.
52282         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52283         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52284         variable MPONE.
52285         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52287         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52288         include directive.  Remove local variable MPONE.
52289         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52290         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52291         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52293 2012-12-25  David S. Miller  <davem@davemloft.net>
52295         * version.h (RELEASE): Set to "development".
52296         (VERSION): Set to "2.17.90".
52297         * NEWS: Add 2.18 section.
52299 2012-12-21  David S. Miller  <davem@davemloft.net>
52301         * po/hr.po: Update from translation team.
52303 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52305         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52307 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52309         * NEWS:  Mention new memcpy for MIPS.
52311 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52313         * manual/contrib.texi (Contributors): Spelling correction.
52315 2012-12-15  David S. Miller  <davem@davemloft.net>
52317         * po/ru.po: Update from translation team.
52319 2012-12-13  David S. Miller  <davem@davemloft.net>
52321         * NEWS: Mention IFUNC testsuite enhancements.
52323         * po/pl.po: Update from translation team.
52324         * po/bg.po: Likewise.
52326         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52327         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52329 2012-12-11  David S. Miller  <davem@davemloft.net>
52331         * po/sv.po: Update from translation team.
52333         * po/vi.po: Update from translation team.
52335         * po/cs.po: Update from translation team.
52337         * po/de.po: Update from translation team.
52338         * po/eo.po: Likewise.
52339         * po/nl.po: Likewise.
52341 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52343         [BZ #14246]
52344         * manual/argp.texi (Argp Helper Functions): Move node to follow
52345         Argp Parsing State.
52347         [BZ #14872]
52348         * manual/conf.texi (Limits on File System Capacity): Mention if
52349         terminating null is included in the max size.
52351 2012-12-10  Andreas Jaeger  <aj@suse.de>
52353         * po/cs.po: Update from translation team.
52355 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52357         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52358         void pointer and cast to uintptr_t.
52359         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52360         path.
52361         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52362         * sysdeps/s390/s390-64/memset.S: Likewise.
52364 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52366         [BZ #14833]
52367         * menual/message.texi (Message Translation): Fix typos.
52368         (Helper programs for gettext): Likewise.
52370 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52372         [BZ #14898]
52373         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52374         Change to -1.
52376 2012-12-07  David S. Miller  <davem@davemloft.net>
52378         * po/libc.pot: Update.
52380 2012-12-07  Richard Henderson  <rth@redhat.com>
52382         [BZ #10114]
52383         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52384         normal/normal case to before the switch.
52385         (_FP_DIV): Likewise.
52387 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52388             Mike Frysinger  <vapier@gentoo.org>
52390         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52391         check for __NR_fadvise64_64.
52393 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52395         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52396         0, not just to plain "0" as a statement.
52397         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52398         with cw.
52400 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52402         * NEWS: Use sourceware.org in Bugzilla URL.
52404 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52407         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52409         * stdio-common/tst-put-error.c (do_test): Add newline to the
52410         padded test to ensure flush.
52412 2012-12-05  Jeff Law  <law@redhat.com>
52414         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52416 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52418         * README: Don't refer to ports add-on as distributed separately.
52419         Mention AArch64 in list of systems supported in the ports add-on.
52421         * LICENSES: Add more non-FSF copyright and license notices.
52423         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52424         ((unused)).
52426         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52428         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52429         10000 as width of padded output.
52431 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52433         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52435         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52436         variable LX with __attribute__ ((unused)).
52437         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52438         Likewise.
52439         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52440         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52441         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52442         with __attribute__ ((unused)).
52444 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52446         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52448 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52450         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52451         (CFLAGS-nldbl-acos.c): New variable.
52452         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52453         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52454         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52455         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52456         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52457         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52458         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52459         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52460         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52461         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52462         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52463         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52464         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52465         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52466         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52467         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52468         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52469         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52470         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52471         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52472         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52473         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52474         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52475         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52476         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52477         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52478         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52479         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52480         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52481         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52482         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52483         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52484         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52485         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52486         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52487         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52488         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52489         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52490         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52491         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52492         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52493         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52494         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52495         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52496         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52497         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52498         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52499         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52500         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52501         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52502         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52503         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52504         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52505         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52506         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52507         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52508         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52509         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52510         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52511         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52512         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52513         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52514         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52515         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52516         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52517         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52518         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52519         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52520         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52521         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52522         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52523         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52524         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52525         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52526         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52527         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52528         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52529         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52530         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52531         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52532         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52533         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52534         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52535         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52536         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52537         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52538         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52539         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52540         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52541         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52542         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52543         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52544         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52545         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52546         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52547         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52548         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52551         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52553         [BZ #14914]
52554         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52555         whole low double instead of just low 47 bits when splitting values
52556         into two parts.
52558 2012-12-03  Allan McRae  <allan@archlinux.org>
52560         * manual/stdio.texi (Predefined Printf Handlers): Remove
52561         @hsep and @vsep usage.
52563 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52565         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52566         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52568 2012-12-03  Jeff Law  <law@redhat.com>
52570         * time/sys/time.h (settimeofday): Do not mark TV argument
52571         as __nonnull.
52573 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52575         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52576         when currently writing and seek to current position when not.
52577         * libio/Makefile (tests): Remove bug-fclose1.
52578         * libio/bug-fclose1.c: Delete.
52580 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52582         * manual/arith.texi (feenableexcept): Fix typo.
52583         (fedisableexcept): Likewise.
52585 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52587         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52588         second, differently-typed declaration, rather than a cast.
52590 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52592         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52593         * include/rpc/svc.h: ... here.
52595 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52597         [BZ #13013]
52598         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52599         depending n and resplen2 to catch cases where answer
52600         equals answerp2.
52602 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52604         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52605         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52607 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52611 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52613         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52615 2012-11-28  Jeff Law  <law@redhat.com>
52617         [BZ #13761]
52618         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52619         dataset_temporary.  Track alloca usage into alloca_used.
52620         If dataset is large allocate and release it via malloc/free.
52622 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52624         [BZ #14197]
52625         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52627 2012-11-28  David S. Miller  <davem@davemloft.net>
52629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52631 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52633         [BZ #14803]
52634         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52635         of pi/2 rounded to nearest to 64 bits.
52636         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52637         nearest to 64 bits.
52638         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52639         bits.
52641 2012-11-28  Jeff Law <law@redhat.com>
52642             Martin Osvald <mosvald@redhat.com>
52644         [BZ #14889]
52645         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52646         * sunrpc/svc.c: Include time.h.
52647         (__svc_accept_failed): New function.
52648         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52649         any reason other than EINTR, call __svc_accept_failed.
52650         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52651         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52653 2012-11-28  Andreas Schwab  <schwab@suse.de>
52655         * scripts/abilist.awk: Also handle indirect functions in .opd
52656         section.
52658 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52660         [BZ #13881]
52661         * sysdeps/x86/fpu/powl_helper.c: New file.
52662         * sysdeps/x86/fpu/Makefile: Likewise.
52663         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52664         (p3): New object.
52665         (__ieee754_powl): Use __powl_helper for finite arguments except
52666         integer exponents below 8.
52667         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52668         (p3): New object.
52669         (__ieee754_powl): Use __powl_helper for finite arguments except
52670         integer exponents below 8.
52671         * math/libm-test.inc (pow_test): Add more tests and enable some
52672         previously disabled tests.
52673         * sysdeps/i386/fpu/libm-test-ulps: Update.
52674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52676 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52677             Carlos O'Donell  <carlos_odonell@mentor.com>
52679         * nss/makedb.c (is_prime): Assert that input is odd and greater
52680         than 4.  Note that fact in a comment too.
52681         (next_prime): Add 4 to input.
52683 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52685         [BZ #11741]
52686         * libio/Makefile (tests): Add test case tst-fwrite-error.
52687         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52688         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52689         * libio/tst-fwrite-error.c: New test case.
52691 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52693         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52694         before casting to void *.
52695         * include/libc-internal.h (__pointer_type): New macro.
52696         (__integer_if_pointer_type_sub): Likewise.
52697         (__integer_if_pointer_type): Likewise.
52698         (cast_to_integer): Likewise.
52699         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52700         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52701         before casting to atomic64_t.
52702         (atomic_exchange_acq): Likewise.
52703         (__arch_exchange_and_add_body): Likewise.
52704         (__arch_add_body): Likewise.
52705         (atomic_add_negative): Likewise.
52706         (atomic_add_zero): Likewise.
52708 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52710         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52711         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52712         (add_fdes): Likewise.
52713         (linear_search_fdes): Likewise.
52714         (binary_search_unencoded_fdes): Likewise.
52716 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52718         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52720 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52722         * configure.in: Autodetect C++ header directories.
52723         * configure: Regenerated.
52725 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52727         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52729 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52733 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52735         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52736         LDBL_MANT_DIG == 106]: Disable some tests.
52737         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52738         Likewise.
52739         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52740         Likewise.
52742         [BZ #14871]
52743         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52744         input for small inputs.  Return +/- pi/2 for large inputs.
52745         * math/libm-test.inc (atan_test): Add more tests.
52747         * sysdeps/generic/unwind-dw2-fde-glibc.c
52748         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52749         __attribute__ ((unused)).
52751         [BZ #14645]
52752         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52753         x * y if x and y are nonzero and z is zero.
52755         [BZ #14811]
52756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52757         nonzero exponents with absolute value below 0x1p-117 to +/-
52758         0x1p-117.
52760         [BZ #14869]
52761         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52762         up arguments below 2**-450, not just those below 2**-500.
52763         * math/libm-test.inc (hypot_test): Add another test.
52765         [BZ #14868]
52766         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52767         Return a+b for ratio over 2**120, not 2**60.
52768         * math/libm-test.inc (hypot_test): Add another test.
52770         * math/libm-test.inc (clog_test): Use
52771         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52772         (clog10_test): Likewise.
52774         [BZ #6778]
52775         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52777 2012-11-22  Andreas Schwab  <schwab@suse.de>
52779         * sysdeps/i386/fpu/libm-test-ulps: Update.
52781 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52783         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52784         printf output with newline.
52786 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52788         [BZ #14865]
52789         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52790         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52791         -z nodlopen, -z initfirst and -z execstack support.
52792         * configure: Regenerated.
52794         * elf/elf.h (DF_1_NODIRECT): New macro.
52795         (DF_1_IGNMULDEF): Likewise.
52796         (DF_1_NOKSYMS): Likewise.
52797         (DF_1_NOHDR): Likewise.
52798         (DF_1_EDITED): Likewise.
52799         (DF_1_NORELOC): Likewise.
52800         (DF_1_SYMINTPOSE): Likewise.
52801         (DF_1_GLOBAUDIT): Likewise.
52802         (DF_1_SINGLETON): Likewise.
52803         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52804         DT_1_SUPPORTED_MASK bits.
52805         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52807 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52809         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52811 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52813         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52814         macro.
52816         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52817         (sendmmsg): Move declarations...
52818         * socket/sys/socket.h: ... here.
52819         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52820         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52821         include it from...
52822         * socket/recvmmsg.c: ... this new file.
52823         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52824         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52825         definition of __sendmmsg hidden.
52826         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52827         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52828         Move ENOSYS stub into and include it from...
52829         * socket/sendmmsg.c: ... this new file.
52830         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52831         (sysdep_routines): Move recvmmsg and sendmmsg...
52832         * socket/Makefile (routines): ... here.
52833         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52834         (GLIBC_PRIVATE): Add __sendmmsg.
52835         * include/sys/socket.h (__sendmmsg): Add declarations.
52836         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52837         sendmmsg.
52839 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52841         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52842         variable I1 with __attribute__ ((unused)).
52843         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52845 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52847         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52848         DUMMY variables with __attribute__ ((unused)).
52850         * bits/byteswap.h: Include <bits/types.h>.
52851         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52853 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52855         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52856         string_t.  Do not manually set errno.
52857         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52858         length with __strnlen.  Make sure to both set errno and return it on
52859         failure.
52861 2012-11-19  David S. Miller  <davem@davemloft.net>
52863         With help from Joseph Myers.
52864         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52865         very large arguments properly.
52866         * math/libm-test.inc (atan_test): New tests.
52867         (atan2_test): New tests.
52868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52871 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52873         [BZ #14856]
52874         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52875         Define to 3.
52877         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52878         [POSIX] (EADDRNOTAVAIL): Likewise.
52879         [POSIX] (EAFNOSUPPORT): Likewise.
52880         [POSIX] (EALREADY): Likewise.
52881         [POSIX] (ECONNABORTED): Likewise.
52882         [POSIX] (ECONNREFUSED): Likewise.
52883         [POSIX] (ECONNRESET): Likewise.
52884         [POSIX] (EDESTADDRREQ): Likewise.
52885         [POSIX] (EDQUOT): Likewise.
52886         [POSIX] (EHOSTUNREACH): Likewise.
52887         [POSIX] (EIDRM): Likewise.
52888         [POSIX] (EISCONN): Likewise.
52889         [POSIX] (ELOOP): Likewise.
52890         [POSIX] (EMULTIHOP): Likewise.
52891         [POSIX] (ENETDOWN): Likewise.
52892         [POSIX] (ENETUNREACH): Likewise.
52893         [POSIX] (ENOBUFS): Likewise.
52894         [POSIX] (ENODATA): Likewise.
52895         [POSIX] (ENOLINK): Likewise.
52896         [POSIX] (ENOMSG): Likewise.
52897         [POSIX] (ENOPROTOOPT): Likewise.
52898         [POSIX] (ENOSR): Likewise.
52899         [POSIX] (ENOSTR): Likewise.
52900         [POSIX] (ENOTCONN): Likewise.
52901         [POSIX] (ENOTSOCK): Likewise.
52902         [POSIX] (EOPNOTSUPP): Likewise.
52903         [POSIX] (EOVERFLOW): Likewise.
52904         [POSIX] (EPROTO): Likewise.
52905         [POSIX] (EPROTONOSUPPORT): Likewise.
52906         [POSIX] (EPROTOTYPE): Likewise.
52907         [POSIX] (ESTALE): Likewise.
52908         [POSIX] (ETIME): Likewise.
52909         [POSIX] (ETXTBSY): Likewise.
52910         [POSIX] (EWOULDBLOCK): Likewise.
52911         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52912         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52913         [POSIX] (SEEK_CUR): Likewise.
52914         [POSIX] (SEEK_END): Likewise.
52915         [POSIX || UNIX98] (mode_t): Do not require.
52916         [POSIX] (off_t): Likewise.
52917         [POSIX] (pid_t): Likewise.
52918         [POSIX] (sys/stat.h): Do not allow header.
52919         [POSIX] (unistd.h): Likewise.
52920         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52921         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52922         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52923         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52924         require.
52925         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52926         sigevent): Specify elements.
52927         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52928         entry.
52929         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52930         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52932         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52933         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52934         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52935         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52936         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52937         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52938         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52939         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52940         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52941         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52942         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52943         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52944         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52945         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52946         Likewise.
52947         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52948         Likewise.
52949         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52950         Likewise.
52951         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52952         Likewise.
52953         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52954         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52955         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52956         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52957         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52958         Specify lower bound on value.
52959         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52960         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52961         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52962         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52963         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52964         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52965         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52966         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52967         value.
52968         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52969         as optional.
52970         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52971         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52972         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52973         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52974         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52975         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52976         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52977         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52978         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52979         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52980         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52981         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52982         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52983         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52984         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52985         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52986         entry.
52987         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52988         optional.
52989         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52990         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52991         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52992         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52993         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52994         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52995         Likewise.
52996         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52997         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52998         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52999         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53000         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53001         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53002         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53003         as optional.
53004         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53005         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53006         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53007         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53008         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53009         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53010         specify as optional.
53011         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53012         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53013         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53014         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53015         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53016         [XPG3] (NL_LANGMAX): Likewise.
53017         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53018         [POSIX || XPG3] (NL_NMAX): Likewise.
53019         [POSIX || XPG3] (NL_SETMAX): Likewise.
53020         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53021         [XPG3] (NZERO): Likewise.
53022         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53023         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53024         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53025         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53026         (REG_ERANGE): Expect.
53027         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53028         optional-constant.
53029         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53030         Use (void) in prototype.
53031         [POSIX] (*_t): Allow.
53032         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53033         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53034         (WRDE_BADVAL): Expect.
53036         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53037         expect.
53038         [XPG3 || XPG4] (O_RSYNC): Likewise.
53039         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53040         Likewise.
53041         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53042         [XPG3 || XPG4] (sigqueue): Likewise.
53043         [XPG3 || XPG4] (sigtimedwait): Likewise.
53044         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53045         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53046         [XPG3 || XPG4] (vsnprintf): Likewise.
53047         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53048         Likewise.
53049         [XPG3 || XPG4] (blksize_t): Likewise.
53050         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53051         Likewise.
53052         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53053         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53054         [XPG3 || XPG4] (struct itimerspec): Likewise.
53055         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53056         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53057         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53058         [XPG3 || XPG4] (clockid_t): Likewise.
53059         [XPG3 || XPG4] (timer_t): Likewise.
53060         [XPG3 || XPG4] (clock_getres): Likewise.
53061         [XPG3 || XPG4] (clock_gettime): Likewise.
53062         [XPG3 || XPG4] (clock_settime): Likewise.
53063         [XPG3 || XPG4] (nanosleep): Likewise.
53064         [XPG3 || XPG4] (timer_create): Likewise.
53065         [XPG3 || XPG4] (timer_delete): Likewise.
53066         [XPG3 || XPG4] (timer_gettime): Likewise.
53067         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53068         [XPG3 || XPG4] (timer_settime): Likewise.
53069         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53070         [XPG3 || XPG4] (getlogin_r): Likewise.
53071         [XPG3 || XPG4] (pread): Likewise.
53072         [XPG3 || XPG4] (pthread_atfork): Likewise.
53073         [XPG3 || XPG4] (pwrite): Likewise.
53075         [BZ #14835]
53076         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53077         <bits/siginfo.h>.
53079 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53081         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53082         finalizing MALLSTREAM.
53084         * sysdeps/mach/hurd/syncfs.c: New file.
53086 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53088         [BZ #14719]
53089         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53090         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53091         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53092         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53093         (_nss_dns_gethostbyname4_r): Likewise.
53094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53095         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53097 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53099         [BZ #13763]
53100         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53102 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53104         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53105         * elf/cache.c (print_entry): Print ",AArch64" for
53106         FLAG_AARCH64_LIB64
53108         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53109         * elf/cache.c (print_entry): Print ",hard-float" for
53110         FLAG_ARM_LIBHF.
53112 2012-11-18  David S. Miller  <davem@davemloft.net>
53114         With help from Joseph Myers.
53115         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53116         cutoff to 2**-13.
53117         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53118         cutoff to 2**-25.
53119         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53120         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53121         small.
53122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53123         * math/libm-test.inc (y0_test): New tests.
53124         (y1_test): New tests.
53125         * sysdeps/i386/fpu/libm-test-ulps: Update.
53126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53129 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53131         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53132         64-bit targets.
53133         * configure: Regenerated.
53135 2012-11-17  David S. Miller  <davem@davemloft.net>
53137         [BZ #14811]
53138         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53139         nonzero exponents with absolute value below 0x1p-128 to +/-
53140         0x1p-128.
53142 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53144         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53146         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53148         * posix/getconf-speclist.c: New file.
53149         * posix/posix-envs.def: Likewise.
53150         * posix/confstr.c (START_ENV_GROUP): New macro.
53151         (END_ENV_GROUP): Likewise.
53152         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53153         (KNOWN_PRESENT_ENV_STRING): Likewise.
53154         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53155         (UNKNOWN_ENVIRONMENT): Likewise.
53156         (confstr): Include posix-envs.def instead of handling
53157         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53158         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53159         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53160         (END_ENV_GROUP): Likewise.
53161         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53162         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53163         (UNKNOWN_ENVIRONMENT): Likewise.
53164         (__sysconf): Include posix-envs.def instead of handling associated
53165         cases directly here.
53166         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53167         preprocessing getconf-speclist.c rather than running getconf or
53168         generating empty file.
53170 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53172         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53174 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53176         [BZ #14672]
53177         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53179 2012-11-16  David S. Miller  <davem@davemloft.net>
53181         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53182         smaller than LDBL_EPSILON/2.0L, just return xm1.
53184 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53186         * elf/tst-array1.c (init): Set constructor priority to 1000.
53187         (fini): Set destructor priority to 1000.
53188         * elf/tst-array2dep.c: Likewise.
53190 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53192         [BZ #11741]
53193         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53194         (_IO_new_file_xsputn): Also return EOF if none of the input
53195         data was written when overflow failed.
53196         * libio/iopadn.c (_IO_padn): Likewise.
53197         * libio/iowpadn.c (_IO_wpadn): Likewise.
53198         * stdio-common/tst-put-error.c: Add copyright notice.
53199         (do_test): Add case for printing padded string.
53200         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53201         _IO_padn returned error.
53202         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53203         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53204         return EOF.
53206 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53208         * libio/libioP.h: Add comment note that the references to C++
53209         bits are now obsolete.
53211 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53213         * math/libm-test.inc (check_complex): Use asprintf.
53215 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53217         * debug/pcprofiledump.c (print_version): Update copyright year.
53218         * malloc/memusagestat.c (print_version): Likewise.
53220 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53222         [BZ #14831]
53223         * elf/Makefile (tests): Add tst-audit8.
53224         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53225         ($(objpfx)tst-audit8.out): New target.
53226         (tst-audit8-ENV): New variable.
53227         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53228         audit if l_reloc_result is NULL.
53229         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53230         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53231         * elf/tst-audit8.c: New file.
53233 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53235         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53236         * misc/Makefile (CFLAGS-select.c): Define.
53237         * posix/Makefile (CFLAGS-pause.c): Define.
53239 2012-11-13  David S. Miller  <davem@davemloft.net>
53241         * crypt/Makefile: Move test targets after toplevel Rules
53242         inclusion.  Grab any necessary sysdep routines when linking.
53243         * crypt/md5.c (md5_process_block): Remove define, we will always
53244         name it __md5_process_block.
53245         (md5_finish_ctx): Update md5_process_block call.
53246         (md5_stream): Likewise.
53247         (md5_process_bytes): Likewise.
53248         (md5_process_block): Rename to __md5_process_block and move to ...
53249         * crypt/md5-block.c: ... here.
53250         * crypt/sha256.c (sha256_process_block): Move to ...
53251         * crypt/sha256-block.c: ... here.
53252         * crypt/sha512.c (sha512_process_block): Move to ...
53253         * crypt/sha512-block.c: ... here.
53254         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53255         path.
53256         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53257         * sysdeps/sparc/sparc64/multiarch/Makefile
53258         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53259         crypt subdir.
53260         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53261         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53262         multiarch changes.
53263         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53264         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53265         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53266         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53267         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53268         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53269         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53270         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53271         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53272         file.
53273         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53274         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53275         file.
53276         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53278 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53280         * timezone/tzselect.ksh: Update from tzcode git revision
53281         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53282         * timezone/zdump.c: Likewise.
53283         * timezone/zic.c: Likewise.
53284         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53285         in TZVERSION setting, not $(PKGVERSION).
53286         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53287         REPORT_BUGS_TO settings.
53289         [BZ #14838]
53290         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53291         macro.
53293 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53295         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53296         detection to immediately after _FP_ROUND().
53297         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53298         bits are 0.
53300 2012-11-11  David S. Miller  <davem@davemloft.net>
53302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53303         inttypes.h
53304         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53305         __close rather than their public counterparts.
53307 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53309         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53310         file.
53311         [UNIX98] (sem_timedwait): Do not expect.
53312         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53313         [XPG4 || UNIX98] (sockatmark): Do not expect.
53314         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53315         (clock_getcpuclockid): Do not expect.
53316         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53317         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53318         Do not expect.
53319         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53320         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53321         [UNIX98] (vwscanf): Likewise.
53322         [UNIX98] (vswscanf): Likewise.
53324 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53326         * timezone/version.h: Remove file.
53327         * timezone/README: Do not refer to version.h.
53328         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53329         $(objpfx)version.h.
53330         ($(objpfx)zdump.o): Likewise.
53331         ($(objpfx)version.h): New target.
53333         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53334         2012i.
53335         * timezone/README: Don't mention modification to tzselect.ksh.
53336         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53337         work on unmodified tzselect.ksh.  Substitute version numbers in
53338         tzselect.ksh.
53340         * Makefile (format-me): Remove.
53341         (INSTALL): Adjust indentation.  Use commands directly instead of
53342         using $(format-me).
53344         * aclocal.m4 (ACX_PKGVERSION): New macro.
53345         (ACX_BUGURL): Likewise.
53346         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53347         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53348         (REPORT_BUGS_TO): Likewise.
53349         * configure: Regenerated.
53350         * config.h.in (PKGVERSION): New macro.
53351         (REPORT_BUGS_TO): Likewise.
53352         * config.make.in (PKGVERSION): New variable.
53353         (PKGVERSION_TEXI): Likewise.
53354         (REPORT_BUGS_TO): Likewise.
53355         (REPORT_BUGS_TEXI): Likewise.
53356         * Makefile (format-me): Use -I$(common-objpfx)manual.
53357         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53358         ($(common-objpfx)manual/%): New target.
53359         (manual/%): Remove target.
53360         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53361         (print_version): Use PKGVERSION.
53362         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53363         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53364         and REPORT_BUGS_TO.
53365         ($(objpfx)xtrace): Likewise.
53366         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53367         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53368         (print_version): Use PKGVERSION.
53369         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53370         (do_version): Use PKGVERSION.
53371         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53372         REPORT_BUGS_TO.
53373         (common-ldd-rewrite): Likewise.
53374         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53375         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53376         (print_version): Use PKGVERSION.
53377         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53378         * elf/pldd.c (argp_program_bug_address): Remove variable.
53379         (more_help): New function.
53380         (argp): Use more_help.
53381         (print_version): Use PKGVERSION.
53382         * elf/sln.c (main): Use PKGVERSION.
53383         (usage): Use REPORT_BUGS_TO.
53384         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53385         (top level): Use PKGVERSION.
53386         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53387         (print_version): Use PKGVERSION.
53388         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53389         (print_version): Use PKGVERSION.
53390         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53391         (print_version): Use PKGVERSION.
53392         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53393         (print_version): Use PKGVERSION.
53394         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53395         (print_version): Use PKGVERSION.
53396         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53397         (print_version): Use PKGVERSION.
53398         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53399         and BUGURL.
53400         ($(objpfx)memusage): Likewise.
53401         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53402         (do_version): Use PKGVERSION.
53403         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53404         (print_version): Use PKGVERSION.
53405         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53406         ($PKGVERSION): New variable.
53407         ($REPORT_BUGS_TO): Likewise.
53408         (usage): Use $REPORT_BUGS_TO.
53409         (top level): Use $PKGVERSION.
53410         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53411         ($(objpfx)pkgvers.texi): New rule.
53412         ($(objpfx)stamp-pkgvers): Likewise.
53413         * manual/install.texi: Include pkgvers.texi.
53414         (--with-pkgversion): Document new configure option.
53415         (--with-bugurl): Likewise.
53416         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53417         than necessarily for this particular distribution.  Use
53418         REPORT_BUGS_TO for where to report bugs.
53419         * INSTALL: Regenerated.
53420         * manual/libc.texinfo: Include pkgvers.texi.
53421         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53422         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53423         (print_version): Use PKGVERSION.
53424         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53425         (print_version): Use PKGVERSION.
53426         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53427         (print_version): Use PKGVERSION.
53428         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53429         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53430         macro.
53431         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53432         (print_version): Use PKGVERSION.
53433         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53434         (print_version): Use PKGVERSION.
53435         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53436         and PKGVERSION.
53438         * timezone/checktab.awk: Update from tzcode 2012i.
53439         * timezone/ialloc.c: Likewise.
53440         * timezone/private.h: Likewise.
53441         * timezone/scheck.c: Likewise.
53442         * timezone/tzfile.h: Likewise.
53443         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53444         (TZVERSION): Hardcode tzcode version number.
53445         * timezone/zdump.c: Update from tzcode 2012i.
53446         * timezone/zic.c: Likewise.
53447         * timezone/version.h: New file.
53448         * timezone/README: Describe version.h.  Update upstream location.
53450         [BZ #14824]
53451         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53452         (mktemp): Enable declaration.
53453         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53454         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53455         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53456         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53457         Likewise.
53458         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53459         Likewise.
53460         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53461         Likewise.
53462         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53463         Likewise.
53464         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53465         Likewise.
53466         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53467         Likewise.
53469         [BZ #14821]
53470         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53471         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53472         for copies of such integer values.
53473         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53474         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53476 2012-11-09  Andreas Jaeger  <aj@suse.de>
53478         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53479         definitions and declarations that are provided by
53480         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53482 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53484         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53485         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53486         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53487         definition.
53489 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53491         * elf/elf.h: Update comment before AArch64 relocations.
53493 2012-11-07  David S. Miller  <davem@davemloft.net>
53495         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53496         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53497         (__start_context): Declare.
53498         (__makecontext_ret): Delete.
53499         (__makecontext): Hook up __start_context instead of
53500         __makecontext_ret.
53501         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53502         (sysdep_routines): Add __start_context when in stdlib.
53504 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53506         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53507         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53508         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53509         hardcoded "nm".
53510         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53511         (READELF): New variable.  Use it instead of hardcoded "readelf".
53513 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53515         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53516         * sysdeps/x86/Makefile: Here.
53517         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53518         * sysdeps/x86/tst-xmmymm.sh: This.
53520 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53522         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53523         expectations.
53524         [UNIX98] (pthread_barrier_t): Do not expect.
53525         [UNIX98] (pthread_barrierattr_t): Likewise.
53526         [UNIX98] (pthread_spinlock_t): Likewise.
53527         [UNIX98] (pthread_barrier_destroy): Likewise.
53528         [UNIX98] (pthread_barrier_init): Likewise.
53529         [UNIX98] (pthread_barrier_wait): Likewise.
53530         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53531         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53532         [UNIX98] (pthread_barrierattr_init): Likewise.
53533         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53534         [UNIX98] (pthread_getcpuclockid): Likewise.
53535         [UNIX98] (pthread_mutex_timedlock): Likewise.
53536         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53537         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53538         [UNIX98] (pthread_sigmask): Likewise.
53539         [UNIX98] (pthread_spin_destroy): Likewise.
53540         [UNIX98] (pthread_spin_init): Likewise.
53541         [UNIX98] (pthread_spin_lock): Likewise.
53542         [UNIX98] (pthread_spin_trylock): Likewise.
53543         [UNIX98] (pthread_spin_unlock): Likewise.
53544         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53545         Do not expect.
53546         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53547         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53548         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53549         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53550         [XPG3 || XPG4] (pthread_key_t): Likewise.
53551         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53552         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53553         [XPG3 || XPG4] (pthread_once_t): Likewise.
53554         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53555         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53556         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53557         [XPG3 || XPG4] (pthread_t): Likewise.
53559         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53560         not expect.
53561         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53563         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53564         Change function return type to int.
53566         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53567         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53568         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53569         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53570         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53571         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53572         [!POSIX] (posix_madvise): Likewise.
53573         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53574         && !UNIX98].
53575         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53576         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53577         (mode_t): Likewise.
53578         (posix_mem_offset): Likewise.
53579         (posix_typed_mem_get_info): Likewise.
53580         (posix_typed_mem_open): Likewise.
53582         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53583         Change condition to [XOPEN2K8].
53585         * conform/conformtest.pl: Preprocess allow-header data with -x c
53586         instead of from stdin.
53587         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53588         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53589         [C99-based standards] (cerfc): Likewise.
53590         [C99-based standards] (cexp2): Likewise.
53591         [C99-based standards] (cexpm1): Likewise.
53592         [C99-based standards] (clog10): Likewise.
53593         [C99-based standards] (clog1p): Likewise.
53594         [C99-based standards] (clog2): Likewise.
53595         [C99-based standards] (clgamma): Likewise.
53596         [C99-based standards] (ctgamma): Likewise.
53597         [C99-based standards] (cerff): Likewise.
53598         [C99-based standards] (cerfcf): Likewise.
53599         [C99-based standards] (cexp2f): Likewise.
53600         [C99-based standards] (cexpm1f): Likewise.
53601         [C99-based standards] (clog10f): Likewise.
53602         [C99-based standards] (clog1pf): Likewise.
53603         [C99-based standards] (clog2f): Likewise.
53604         [C99-based standards] (clgammaf): Likewise.
53605         [C99-based standards] (ctgammaf): Likewise.
53606         [C99-based standards] (cerfl): Likewise.
53607         [C99-based standards] (cerfcl): Likewise.
53608         [C99-based standards] (cexp2l): Likewise.
53609         [C99-based standards] (cexpm1l): Likewise.
53610         [C99-based standards] (clog10l): Likewise.
53611         [C99-based standards] (clog1pl): Likewise.
53612         [C99-based standards] (clog2l): Likewise.
53613         [C99-based standards] (clgammal): Likewise.
53614         [C99-based standards] (ctgammal): Likewise.
53615         * conform/data/inttypes.h-data [C99-based standards]: Include
53616         stdint.h-data.  Remove all expectations for stdint.h contents.
53617         [C99-based standards] (PRI*): Do not allow.
53618         [C99-based standards] (SCN*): Likewise.
53619         [C99-based standards] (*_t): Likewise.
53620         [C99-based-standards] (PRId8): Expect macro.
53621         [C99-based-standards] (PRIi8): Likewise.
53622         [C99-based-standards] (PRIo8): Likewise.
53623         [C99-based-standards] (PRIu8): Likewise.
53624         [C99-based-standards] (PRIx8): Likewise.
53625         [C99-based-standards] (PRIX8): Likewise.
53626         [C99-based-standards] (SCNd8): Likewise.
53627         [C99-based-standards] (SCNi8): Likewise.
53628         [C99-based-standards] (SCNo8): Likewise.
53629         [C99-based-standards] (SCNu8): Likewise.
53630         [C99-based-standards] (SCNx8): Likewise.
53631         [C99-based-standards] (PRIdLEAST8): Likewise.
53632         [C99-based-standards] (PRIiLEAST8): Likewise.
53633         [C99-based-standards] (PRIoLEAST8): Likewise.
53634         [C99-based-standards] (PRIuLEAST8): Likewise.
53635         [C99-based-standards] (PRIxLEAST8): Likewise.
53636         [C99-based-standards] (PRIXLEAST8): Likewise.
53637         [C99-based-standards] (SCNdLEAST8): Likewise.
53638         [C99-based-standards] (SCNiLEAST8): Likewise.
53639         [C99-based-standards] (SCNoLEAST8): Likewise.
53640         [C99-based-standards] (SCNuLEAST8): Likewise.
53641         [C99-based-standards] (SCNxLEAST8): Likewise.
53642         [C99-based-standards] (PRIdFAST8): Likewise.
53643         [C99-based-standards] (PRIiFAST8): Likewise.
53644         [C99-based-standards] (PRIoFAST8): Likewise.
53645         [C99-based-standards] (PRIuFAST8): Likewise.
53646         [C99-based-standards] (PRIxFAST8): Likewise.
53647         [C99-based-standards] (PRIXFAST8): Likewise.
53648         [C99-based-standards] (SCNdFAST8): Likewise.
53649         [C99-based-standards] (SCNiFAST8): Likewise.
53650         [C99-based-standards] (SCNoFAST8): Likewise.
53651         [C99-based-standards] (SCNuFAST8): Likewise.
53652         [C99-based-standards] (SCNxFAST8): Likewise.
53653         [C99-based-standards] (PRId16): Likewise.
53654         [C99-based-standards] (PRIi16): Likewise.
53655         [C99-based-standards] (PRIo16): Likewise.
53656         [C99-based-standards] (PRIu16): Likewise.
53657         [C99-based-standards] (PRIx16): Likewise.
53658         [C99-based-standards] (PRIX16): Likewise.
53659         [C99-based-standards] (SCNd16): Likewise.
53660         [C99-based-standards] (SCNi16): Likewise.
53661         [C99-based-standards] (SCNo16): Likewise.
53662         [C99-based-standards] (SCNu16): Likewise.
53663         [C99-based-standards] (SCNx16): Likewise.
53664         [C99-based-standards] (PRIdLEAST16): Likewise.
53665         [C99-based-standards] (PRIiLEAST16): Likewise.
53666         [C99-based-standards] (PRIoLEAST16): Likewise.
53667         [C99-based-standards] (PRIuLEAST16): Likewise.
53668         [C99-based-standards] (PRIxLEAST16): Likewise.
53669         [C99-based-standards] (PRIXLEAST16): Likewise.
53670         [C99-based-standards] (SCNdLEAST16): Likewise.
53671         [C99-based-standards] (SCNiLEAST16): Likewise.
53672         [C99-based-standards] (SCNoLEAST16): Likewise.
53673         [C99-based-standards] (SCNuLEAST16): Likewise.
53674         [C99-based-standards] (SCNxLEAST16): Likewise.
53675         [C99-based-standards] (PRIdFAST16): Likewise.
53676         [C99-based-standards] (PRIiFAST16): Likewise.
53677         [C99-based-standards] (PRIoFAST16): Likewise.
53678         [C99-based-standards] (PRIuFAST16): Likewise.
53679         [C99-based-standards] (PRIxFAST16): Likewise.
53680         [C99-based-standards] (PRIXFAST16): Likewise.
53681         [C99-based-standards] (SCNdFAST16): Likewise.
53682         [C99-based-standards] (SCNiFAST16): Likewise.
53683         [C99-based-standards] (SCNoFAST16): Likewise.
53684         [C99-based-standards] (SCNuFAST16): Likewise.
53685         [C99-based-standards] (SCNxFAST16): Likewise.
53686         [C99-based-standards] (PRId32): Likewise.
53687         [C99-based-standards] (PRIi32): Likewise.
53688         [C99-based-standards] (PRIo32): Likewise.
53689         [C99-based-standards] (PRIu32): Likewise.
53690         [C99-based-standards] (PRIx32): Likewise.
53691         [C99-based-standards] (PRIX32): Likewise.
53692         [C99-based-standards] (SCNd32): Likewise.
53693         [C99-based-standards] (SCNi32): Likewise.
53694         [C99-based-standards] (SCNo32): Likewise.
53695         [C99-based-standards] (SCNu32): Likewise.
53696         [C99-based-standards] (SCNx32): Likewise.
53697         [C99-based-standards] (PRIdLEAST32): Likewise.
53698         [C99-based-standards] (PRIiLEAST32): Likewise.
53699         [C99-based-standards] (PRIoLEAST32): Likewise.
53700         [C99-based-standards] (PRIuLEAST32): Likewise.
53701         [C99-based-standards] (PRIxLEAST32): Likewise.
53702         [C99-based-standards] (PRIXLEAST32): Likewise.
53703         [C99-based-standards] (SCNdLEAST32): Likewise.
53704         [C99-based-standards] (SCNiLEAST32): Likewise.
53705         [C99-based-standards] (SCNoLEAST32): Likewise.
53706         [C99-based-standards] (SCNuLEAST32): Likewise.
53707         [C99-based-standards] (SCNxLEAST32): Likewise.
53708         [C99-based-standards] (PRIdFAST32): Likewise.
53709         [C99-based-standards] (PRIiFAST32): Likewise.
53710         [C99-based-standards] (PRIoFAST32): Likewise.
53711         [C99-based-standards] (PRIuFAST32): Likewise.
53712         [C99-based-standards] (PRIxFAST32): Likewise.
53713         [C99-based-standards] (PRIXFAST32): Likewise.
53714         [C99-based-standards] (SCNdFAST32): Likewise.
53715         [C99-based-standards] (SCNiFAST32): Likewise.
53716         [C99-based-standards] (SCNoFAST32): Likewise.
53717         [C99-based-standards] (SCNuFAST32): Likewise.
53718         [C99-based-standards] (SCNxFAST32): Likewise.
53719         [C99-based-standards] (PRId64): Likewise.
53720         [C99-based-standards] (PRIi64): Likewise.
53721         [C99-based-standards] (PRIo64): Likewise.
53722         [C99-based-standards] (PRIu64): Likewise.
53723         [C99-based-standards] (PRIx64): Likewise.
53724         [C99-based-standards] (PRIX64): Likewise.
53725         [C99-based-standards] (SCNd64): Likewise.
53726         [C99-based-standards] (SCNi64): Likewise.
53727         [C99-based-standards] (SCNo64): Likewise.
53728         [C99-based-standards] (SCNu64): Likewise.
53729         [C99-based-standards] (SCNx64): Likewise.
53730         [C99-based-standards] (PRIdLEAST64): Likewise.
53731         [C99-based-standards] (PRIiLEAST64): Likewise.
53732         [C99-based-standards] (PRIoLEAST64): Likewise.
53733         [C99-based-standards] (PRIuLEAST64): Likewise.
53734         [C99-based-standards] (PRIxLEAST64): Likewise.
53735         [C99-based-standards] (PRIXLEAST64): Likewise.
53736         [C99-based-standards] (SCNdLEAST64): Likewise.
53737         [C99-based-standards] (SCNiLEAST64): Likewise.
53738         [C99-based-standards] (SCNoLEAST64): Likewise.
53739         [C99-based-standards] (SCNuLEAST64): Likewise.
53740         [C99-based-standards] (SCNxLEAST64): Likewise.
53741         [C99-based-standards] (PRIdFAST64): Likewise.
53742         [C99-based-standards] (PRIiFAST64): Likewise.
53743         [C99-based-standards] (PRIoFAST64): Likewise.
53744         [C99-based-standards] (PRIuFAST64): Likewise.
53745         [C99-based-standards] (PRIxFAST64): Likewise.
53746         [C99-based-standards] (PRIXFAST64): Likewise.
53747         [C99-based-standards] (SCNdFAST64): Likewise.
53748         [C99-based-standards] (SCNiFAST64): Likewise.
53749         [C99-based-standards] (SCNoFAST64): Likewise.
53750         [C99-based-standards] (SCNuFAST64): Likewise.
53751         [C99-based-standards] (SCNxFAST64): Likewise.
53752         [C99-based-standards] (PRIdMAX): Likewise.
53753         [C99-based-standards] (PRIiMAX): Likewise.
53754         [C99-based-standards] (PRIoMAX): Likewise.
53755         [C99-based-standards] (PRIuMAX): Likewise.
53756         [C99-based-standards] (PRIxMAX): Likewise.
53757         [C99-based-standards] (PRIXMAX): Likewise.
53758         [C99-based-standards] (SCNdMAX): Likewise.
53759         [C99-based-standards] (SCNiMAX): Likewise.
53760         [C99-based-standards] (SCNoMAX): Likewise.
53761         [C99-based-standards] (SCNuMAX): Likewise.
53762         [C99-based-standards] (SCNxMAX): Likewise.
53763         [C99-based-standards] (PRIdPTR): Likewise.
53764         [C99-based-standards] (PRIiPTR): Likewise.
53765         [C99-based-standards] (PRIoPTR): Likewise.
53766         [C99-based-standards] (PRIuPTR): Likewise.
53767         [C99-based-standards] (PRIxPTR): Likewise.
53768         [C99-based-standards] (PRIXPTR): Likewise.
53769         [C99-based-standards] (SCNdPTR): Likewise.
53770         [C99-based-standards] (SCNiPTR): Likewise.
53771         [C99-based-standards] (SCNoPTR): Likewise.
53772         [C99-based-standards] (SCNuPTR): Likewise.
53773         [C99-based-standards] (SCNxPTR): Likewise.
53774         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53775         allow.
53776         * conform/data/stdint.h-data: Update comments to clarify
53777         requirements.
53778         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53779         type.
53780         [C99-based standards] (INT8_MAX): Likewise.
53781         [C99-based standards] (INT16_MIN): Likewise.
53782         [C99-based standards] (INT16_MAX): Likewise.
53783         [C99-based standards] (INT32_MIN): Likewise.
53784         [C99-based standards] (INT32_MAX): Likewise.
53785         [C99-based standards] (INT64_MIN): Likewise.
53786         [C99-based standards] (INT64_MAX): Likewise.
53787         [C99-based standards] (UINT8_MAX): Likewise.
53788         [C99-based standards] (UINT16_MAX): Likewise.
53789         [C99-based standards] (UINT32_MAX): Likewise.
53790         [C99-based standards] (UINT64_MAX): Likewise.
53791         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53792         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53793         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53794         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53795         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53796         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53797         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53798         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53799         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53800         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53801         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53802         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53803         [C99-based standards] (INT_FAST8_MIN): Likewise.
53804         [C99-based standards] (INT_FAST8_MAX): Likewise.
53805         [C99-based standards] (INT_FAST16_MIN): Likewise.
53806         [C99-based standards] (INT_FAST16_MAX): Likewise.
53807         [C99-based standards] (INT_FAST32_MIN): Likewise.
53808         [C99-based standards] (INT_FAST32_MAX): Likewise.
53809         [C99-based standards] (INT_FAST64_MIN): Likewise.
53810         [C99-based standards] (INT_FAST64_MAX): Likewise.
53811         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53812         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53813         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53814         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53815         [C99-based standards] (INTPTR_MIN): Likewise.
53816         [C99-based standards] (INTPTR_MAX): Likewise.
53817         [C99-based standards] (UINTPTR_MAX): Likewise.
53818         [C99-based standards] (INTMAX_MIN): Likewise.
53819         [C99-based standards] (INTMAX_MAX): Likewise.
53820         [C99-based standards] (UINTMAX_MAX): Likewise.
53821         [C99-based standards] (PTRDIFF_MIN): Likewise.
53822         [C99-based standards] (PTRDIFF_MAX): Likewise.
53823         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53824         [C99-based standards] (SIZE_MAX): Likewise.
53825         [C99-based standards] (WCHAR_MAX): Likewise.
53826         [C99-based standards] (WINT_MAX): Likewise.
53827         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53828         constraint on value.
53829         [C99-based standards] (WCHAR_MIN): Likewise.
53830         [C99-based standards] (WINT_MIN): Likewise.
53831         [C99-based standards] (*_t): Allow.
53832         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53833         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53834         Include math.h-data and complex.h-data.  Remove all expectations
53835         of math.h and complex.h contents.
53836         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53837         at end of line.
53838         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53839         (struct tm): Expect tag.
53840         [C99-based-standards] (wcstof): Expect function.
53841         [C99-based-standards] (wcstold): Likewise.
53842         [C99-based-standards] (wcstoll): Likewise.
53843         [C99-based-standards] (wcstoull): Likewise.
53844         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53845         macro-int-constant.  Specify type.
53846         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53847         constraint on value.
53848         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53849         Specify type.
53850         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53851         Specify value.
53852         [ISO C standards]: Do not allow headers.
53853         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53854         wcs[abcdefghijklmnopqrstuvwxyz]*.
53855         [ISO C standards] (*_t): Do not allow.
53856         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53857         Expect function.
53858         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53859         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53860         Specify type.
53861         [ISO C standards]: Do not allow headers.
53862         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53863         is[abcdefghijklmnopqrstuvwxyz]*.
53864         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53865         to[abcdefghijklmnopqrstuvwxyz]*.
53866         [ISO C standards] (*_t): Do not allow.
53867         * conform/data/stdalign.h-data: New file.
53868         * conform/data/stdbool.h-data: Likewise.
53869         * conform/data/stdnoreturn.h-data: Likewise.
53871 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53873         [BZ #14815]
53874         * manual/filesys.texi (Directory Entries): Typo fix.
53875         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53877 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53879         * elf/elf.h (EM_AARCH64): New macro.
53880         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53881         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53882         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53883         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53884         (R_AARCH64_TLSDESC): Likewise.
53885         (NT_ARM_TLS): Likewise.
53886         (NT_ARM_HW_BREAK): Likewise.
53887         (NT_ARM_HW_WATCH): Likewise.
53889 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53891         [BZ #14811]
53892         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53893         (__ieee754_powl): Saturate nonzero exponents with absolute value
53894         below 0x1p-79 to +/- 0x1p-79.
53895         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53896         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53897         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53898         nonzero exponents with absolute value below 0x1p-32 to +/-
53899         0x1p-32.
53900         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53901         (__ieee754_powl): Saturate nonzero exponents with absolute value
53902         below 0x1p-79 to +/- 0x1p-79.
53903         * math/libm-test.inc (pow_test): Add more tests.
53905 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53907         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53908         _dl_s390_cap_flags with kernel. Increase string length.
53909         (_dl_s390_platforms): Add z196 and zEC12.
53911 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53913         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53914         Change XOPEN21K to XOPEN2K.
53916 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53918         * string/memmove.c: Use memcpy when possible.
53920 2012-11-06  Andreas Jaeger  <aj@suse.de>
53922         * po/eo.po: Update from translation team.
53924 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53926         [BZ #14793]
53927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53928         exponent and small x and y exponents, scale x or y up.  Increase
53929         by 2 the exponent used in scaling up.
53930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53932         * math/libm-test.inc (fma_test): Add more tests.
53933         (fma_test_towardzero): Likewise.
53934         (fma_test_downward): Likewise.
53935         (fma_test_upward): Likewise.
53937 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53939         [BZ #14805]
53940         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53941         fenv_t *.
53943         [BZ #14801]
53944         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53945         namespace for names of struct fields.
53946         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53947         fenv_t fields.
53948         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53949         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53951 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53953         [BZ #3665]
53954         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53956 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53958         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53959         PTR_DEMANGLE.
53961         [BZ #5246]
53962         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53963         PTR_DEMANGLE.
53965 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53967         [BZ #14797]
53968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53969         definitely overflow as x * y not x * y + z.
53970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53972         * math/libm-test.inc (fma_test): Add more tests.
53973         (fma_test_towardzero): Likewise.
53974         (fma_test_downward): Likewise.
53975         (fma_test_upward): Likewise.
53977 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53979         [BZ #157]
53981         * include/stub-tag.h: Remove file.
53982         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53983         '#include' of it.
53984         * manual/maint.texi (Porting): Don't reference it.
53985         * Makerules ($(objpfx)stubs): Likewise.
53986         * dirent/closedir.c: Don't include <stub-tag.h>.
53987         * dirent/dirfd.c: Likewise.
53988         * dirent/fdopendir.c: Likewise.
53989         * dirent/getdents.c: Likewise.
53990         * dirent/getdents64.c: Likewise.
53991         * dirent/opendir.c: Likewise.
53992         * dirent/readdir.c: Likewise.
53993         * dirent/readdir64.c: Likewise.
53994         * dirent/readdir64_r.c: Likewise.
53995         * dirent/readdir_r.c: Likewise.
53996         * dirent/rewinddir.c: Likewise.
53997         * dirent/seekdir.c: Likewise.
53998         * dirent/telldir.c: Likewise.
53999         * gmon/profil.c: Likewise.
54000         * grp/setgroups.c: Likewise.
54001         * inet/if_index.c: Likewise.
54002         * io/access.c: Likewise.
54003         * io/chdir.c: Likewise.
54004         * io/chmod.c: Likewise.
54005         * io/chown.c: Likewise.
54006         * io/close.c: Likewise.
54007         * io/dup.c: Likewise.
54008         * io/dup2.c: Likewise.
54009         * io/dup3.c: Likewise.
54010         * io/euidaccess.c: Likewise.
54011         * io/faccessat.c: Likewise.
54012         * io/fchdir.c: Likewise.
54013         * io/fchmod.c: Likewise.
54014         * io/fchmodat.c: Likewise.
54015         * io/fchown.c: Likewise.
54016         * io/fchownat.c: Likewise.
54017         * io/fcntl.c: Likewise.
54018         * io/flock.c: Likewise.
54019         * io/fstatfs.c: Likewise.
54020         * io/fstatfs64.c: Likewise.
54021         * io/fstatvfs.c: Likewise.
54022         * io/fstatvfs64.c: Likewise.
54023         * io/futimens.c: Likewise.
54024         * io/fxstat.c: Likewise.
54025         * io/fxstat64.c: Likewise.
54026         * io/fxstatat.c: Likewise.
54027         * io/fxstatat64.c: Likewise.
54028         * io/getcwd.c: Likewise.
54029         * io/isatty.c: Likewise.
54030         * io/lchmod.c: Likewise.
54031         * io/lchown.c: Likewise.
54032         * io/link.c: Likewise.
54033         * io/linkat.c: Likewise.
54034         * io/lseek.c: Likewise.
54035         * io/lseek64.c: Likewise.
54036         * io/lxstat64.c: Likewise.
54037         * io/mkdir.c: Likewise.
54038         * io/mkdirat.c: Likewise.
54039         * io/mkfifo.c: Likewise.
54040         * io/mkfifoat.c: Likewise.
54041         * io/open.c: Likewise.
54042         * io/open64.c: Likewise.
54043         * io/openat.c: Likewise.
54044         * io/openat64.c: Likewise.
54045         * io/pipe.c: Likewise.
54046         * io/pipe2.c: Likewise.
54047         * io/poll.c: Likewise.
54048         * io/posix_fadvise.c: Likewise.
54049         * io/posix_fadvise64.c: Likewise.
54050         * io/posix_fallocate.c: Likewise.
54051         * io/posix_fallocate64.c: Likewise.
54052         * io/read.c: Likewise.
54053         * io/readlink.c: Likewise.
54054         * io/readlinkat.c: Likewise.
54055         * io/rmdir.c: Likewise.
54056         * io/sendfile.c: Likewise.
54057         * io/sendfile64.c: Likewise.
54058         * io/statfs.c: Likewise.
54059         * io/statfs64.c: Likewise.
54060         * io/statvfs.c: Likewise.
54061         * io/statvfs64.c: Likewise.
54062         * io/symlink.c: Likewise.
54063         * io/symlinkat.c: Likewise.
54064         * io/ttyname.c: Likewise.
54065         * io/ttyname_r.c: Likewise.
54066         * io/umask.c: Likewise.
54067         * io/unlink.c: Likewise.
54068         * io/unlinkat.c: Likewise.
54069         * io/utime.c: Likewise.
54070         * io/utimensat.c: Likewise.
54071         * io/write.c: Likewise.
54072         * io/xmknod.c: Likewise.
54073         * io/xmknodat.c: Likewise.
54074         * io/xstat.c: Likewise.
54075         * io/xstat64.c: Likewise.
54076         * login/getpt.c: Likewise.
54077         * login/grantpt.c: Likewise.
54078         * login/unlockpt.c: Likewise.
54079         * math/e_acoshl.c: Likewise.
54080         * math/e_acosl.c: Likewise.
54081         * math/e_asinl.c: Likewise.
54082         * math/e_atan2l.c: Likewise.
54083         * math/e_atanhl.c: Likewise.
54084         * math/e_coshl.c: Likewise.
54085         * math/e_expl.c: Likewise.
54086         * math/e_fmodl.c: Likewise.
54087         * math/e_gammal_r.c: Likewise.
54088         * math/e_hypotl.c: Likewise.
54089         * math/e_j0l.c: Likewise.
54090         * math/e_j1l.c: Likewise.
54091         * math/e_jnl.c: Likewise.
54092         * math/e_lgammal_r.c: Likewise.
54093         * math/e_log10l.c: Likewise.
54094         * math/e_log2l.c: Likewise.
54095         * math/e_logl.c: Likewise.
54096         * math/e_powl.c: Likewise.
54097         * math/e_rem_pio2l.c: Likewise.
54098         * math/e_sinhl.c: Likewise.
54099         * math/e_sqrtl.c: Likewise.
54100         * math/fclrexcpt.c: Likewise.
54101         * math/fedisblxcpt.c: Likewise.
54102         * math/feenablxcpt.c: Likewise.
54103         * math/fegetenv.c: Likewise.
54104         * math/fegetexcept.c: Likewise.
54105         * math/fegetround.c: Likewise.
54106         * math/feholdexcpt.c: Likewise.
54107         * math/fesetenv.c: Likewise.
54108         * math/fesetround.c: Likewise.
54109         * math/feupdateenv.c: Likewise.
54110         * math/fgetexcptflg.c: Likewise.
54111         * math/fraiseexcpt.c: Likewise.
54112         * math/fsetexcptflg.c: Likewise.
54113         * math/ftestexcept.c: Likewise.
54114         * math/k_cosl.c: Likewise.
54115         * math/k_rem_pio2l.c: Likewise.
54116         * math/k_sinl.c: Likewise.
54117         * math/k_tanl.c: Likewise.
54118         * math/s_asinhl.c: Likewise.
54119         * math/s_atanl.c: Likewise.
54120         * math/s_cbrtl.c: Likewise.
54121         * math/s_erfl.c: Likewise.
54122         * math/s_expm1l.c: Likewise.
54123         * math/s_log1pl.c: Likewise.
54124         * math/s_tanhl.c: Likewise.
54125         * misc/acct.c: Likewise.
54126         * misc/brk.c: Likewise.
54127         * misc/chflags.c: Likewise.
54128         * misc/chroot.c: Likewise.
54129         * misc/fchflags.c: Likewise.
54130         * misc/fgetxattr.c: Likewise.
54131         * misc/flistxattr.c: Likewise.
54132         * misc/fremovexattr.c: Likewise.
54133         * misc/fsetxattr.c: Likewise.
54134         * misc/fsync.c: Likewise.
54135         * misc/ftruncate.c: Likewise.
54136         * misc/futimes.c: Likewise.
54137         * misc/futimesat.c: Likewise.
54138         * misc/getdomain.c: Likewise.
54139         * misc/getdtsz.c: Likewise.
54140         * misc/gethostid.c: Likewise.
54141         * misc/gethostname.c: Likewise.
54142         * misc/getloadavg.c: Likewise.
54143         * misc/getpagesize.c: Likewise.
54144         * misc/getsysstats.c: Likewise.
54145         * misc/getxattr.c: Likewise.
54146         * misc/gtty.c: Likewise.
54147         * misc/ioctl.c: Likewise.
54148         * misc/lgetxattr.c: Likewise.
54149         * misc/listxattr.c: Likewise.
54150         * misc/llistxattr.c: Likewise.
54151         * misc/lremovexattr.c: Likewise.
54152         * misc/lsetxattr.c: Likewise.
54153         * misc/lutimes.c: Likewise.
54154         * misc/madvise.c: Likewise.
54155         * misc/mincore.c: Likewise.
54156         * misc/mlock.c: Likewise.
54157         * misc/mlockall.c: Likewise.
54158         * misc/mmap.c: Likewise.
54159         * misc/mprotect.c: Likewise.
54160         * misc/msync.c: Likewise.
54161         * misc/munlock.c: Likewise.
54162         * misc/munlockall.c: Likewise.
54163         * misc/munmap.c: Likewise.
54164         * misc/preadv.c: Likewise.
54165         * misc/preadv64.c: Likewise.
54166         * misc/ptrace.c: Likewise.
54167         * misc/pwritev.c: Likewise.
54168         * misc/pwritev64.c: Likewise.
54169         * misc/readv.c: Likewise.
54170         * misc/reboot.c: Likewise.
54171         * misc/remap_file_pages.c: Likewise.
54172         * misc/removexattr.c: Likewise.
54173         * misc/revoke.c: Likewise.
54174         * misc/select.c: Likewise.
54175         * misc/setdomain.c: Likewise.
54176         * misc/setegid.c: Likewise.
54177         * misc/seteuid.c: Likewise.
54178         * misc/sethostid.c: Likewise.
54179         * misc/sethostname.c: Likewise.
54180         * misc/setregid.c: Likewise.
54181         * misc/setreuid.c: Likewise.
54182         * misc/setxattr.c: Likewise.
54183         * misc/sstk.c: Likewise.
54184         * misc/stty.c: Likewise.
54185         * misc/swapoff.c: Likewise.
54186         * misc/swapon.c: Likewise.
54187         * misc/sync.c: Likewise.
54188         * misc/syncfs.c: Likewise.
54189         * misc/syscall.c: Likewise.
54190         * misc/truncate.c: Likewise.
54191         * misc/ualarm.c: Likewise.
54192         * misc/usleep.c: Likewise.
54193         * misc/ustat.c: Likewise.
54194         * misc/utimes.c: Likewise.
54195         * misc/vhangup.c: Likewise.
54196         * misc/writev.c: Likewise.
54197         * posix/_exit.c: Likewise.
54198         * posix/alarm.c: Likewise.
54199         * posix/execve.c: Likewise.
54200         * posix/fexecve.c: Likewise.
54201         * posix/fork.c: Likewise.
54202         * posix/fpathconf.c: Likewise.
54203         * posix/getaddrinfo.c: Likewise.
54204         * posix/getegid.c: Likewise.
54205         * posix/geteuid.c: Likewise.
54206         * posix/getgid.c: Likewise.
54207         * posix/getgroups.c: Likewise.
54208         * posix/getlogin.c: Likewise.
54209         * posix/getlogin_r.c: Likewise.
54210         * posix/getpgid.c: Likewise.
54211         * posix/getpid.c: Likewise.
54212         * posix/getppid.c: Likewise.
54213         * posix/getresgid.c: Likewise.
54214         * posix/getresuid.c: Likewise.
54215         * posix/getsid.c: Likewise.
54216         * posix/getuid.c: Likewise.
54217         * posix/glob64.c: Likewise.
54218         * posix/nanosleep.c: Likewise.
54219         * posix/pathconf.c: Likewise.
54220         * posix/pause.c: Likewise.
54221         * posix/posix_madvise.c: Likewise.
54222         * posix/pread.c: Likewise.
54223         * posix/pread64.c: Likewise.
54224         * posix/pwrite.c: Likewise.
54225         * posix/pwrite64.c: Likewise.
54226         * posix/sched_getaffinity.c: Likewise.
54227         * posix/sched_getp.c: Likewise.
54228         * posix/sched_gets.c: Likewise.
54229         * posix/sched_primax.c: Likewise.
54230         * posix/sched_primin.c: Likewise.
54231         * posix/sched_rr_gi.c: Likewise.
54232         * posix/sched_setaffinity.c: Likewise.
54233         * posix/sched_setp.c: Likewise.
54234         * posix/sched_sets.c: Likewise.
54235         * posix/sched_yield.c: Likewise.
54236         * posix/setgid.c: Likewise.
54237         * posix/setlogin.c: Likewise.
54238         * posix/setpgid.c: Likewise.
54239         * posix/setresgid.c: Likewise.
54240         * posix/setresuid.c: Likewise.
54241         * posix/setsid.c: Likewise.
54242         * posix/setuid.c: Likewise.
54243         * posix/sleep.c: Likewise.
54244         * posix/spawni.c: Likewise.
54245         * posix/sysconf.c: Likewise.
54246         * posix/times.c: Likewise.
54247         * posix/wait.c: Likewise.
54248         * posix/wait3.c: Likewise.
54249         * posix/wait4.c: Likewise.
54250         * posix/waitpid.c: Likewise.
54251         * resolv/gai_sigqueue.c: Likewise.
54252         * resource/getpriority.c: Likewise.
54253         * resource/getrlimit.c: Likewise.
54254         * resource/getrusage.c: Likewise.
54255         * resource/nice.c: Likewise.
54256         * resource/setpriority.c: Likewise.
54257         * resource/setrlimit.c: Likewise.
54258         * resource/ulimit.c: Likewise.
54259         * rt/aio_cancel.c: Likewise.
54260         * rt/aio_fsync.c: Likewise.
54261         * rt/aio_read.c: Likewise.
54262         * rt/aio_sigqueue.c: Likewise.
54263         * rt/aio_suspend.c: Likewise.
54264         * rt/aio_write.c: Likewise.
54265         * rt/clock_getres.c: Likewise.
54266         * rt/clock_gettime.c: Likewise.
54267         * rt/clock_nanosleep.c: Likewise.
54268         * rt/clock_settime.c: Likewise.
54269         * rt/lio_listio.c: Likewise.
54270         * rt/mq_close.c: Likewise.
54271         * rt/mq_getattr.c: Likewise.
54272         * rt/mq_notify.c: Likewise.
54273         * rt/mq_open.c: Likewise.
54274         * rt/mq_receive.c: Likewise.
54275         * rt/mq_send.c: Likewise.
54276         * rt/mq_setattr.c: Likewise.
54277         * rt/mq_timedreceive.c: Likewise.
54278         * rt/mq_timedsend.c: Likewise.
54279         * rt/mq_unlink.c: Likewise.
54280         * rt/shm_open.c: Likewise.
54281         * rt/shm_unlink.c: Likewise.
54282         * rt/timer_create.c: Likewise.
54283         * rt/timer_delete.c: Likewise.
54284         * rt/timer_getoverr.c: Likewise.
54285         * rt/timer_gettime.c: Likewise.
54286         * rt/timer_settime.c: Likewise.
54287         * setjmp/__longjmp.c: Likewise.
54288         * setjmp/setjmp.c: Likewise.
54289         * signal/kill.c: Likewise.
54290         * signal/killpg.c: Likewise.
54291         * signal/raise.c: Likewise.
54292         * signal/sigaction.c: Likewise.
54293         * signal/sigaltstack.c: Likewise.
54294         * signal/sigblock.c: Likewise.
54295         * signal/sigignore.c: Likewise.
54296         * signal/sigintr.c: Likewise.
54297         * signal/signal.c: Likewise.
54298         * signal/sigpause.c: Likewise.
54299         * signal/sigpending.c: Likewise.
54300         * signal/sigqueue.c: Likewise.
54301         * signal/sigreturn.c: Likewise.
54302         * signal/sigset.c: Likewise.
54303         * signal/sigsetmask.c: Likewise.
54304         * signal/sigstack.c: Likewise.
54305         * signal/sigsuspend.c: Likewise.
54306         * signal/sigtimedwait.c: Likewise.
54307         * signal/sigvec.c: Likewise.
54308         * signal/sigwait.c: Likewise.
54309         * signal/sigwaitinfo.c: Likewise.
54310         * signal/sysv_signal.c: Likewise.
54311         * socket/accept.c: Likewise.
54312         * socket/accept4.c: Likewise.
54313         * socket/bind.c: Likewise.
54314         * socket/connect.c: Likewise.
54315         * socket/getpeername.c: Likewise.
54316         * socket/getsockname.c: Likewise.
54317         * socket/getsockopt.c: Likewise.
54318         * socket/isfdtype.c: Likewise.
54319         * socket/listen.c: Likewise.
54320         * socket/recv.c: Likewise.
54321         * socket/recvfrom.c: Likewise.
54322         * socket/recvmsg.c: Likewise.
54323         * socket/send.c: Likewise.
54324         * socket/sendmsg.c: Likewise.
54325         * socket/sendto.c: Likewise.
54326         * socket/setsockopt.c: Likewise.
54327         * socket/shutdown.c: Likewise.
54328         * socket/sockatmark.c: Likewise.
54329         * socket/socket.c: Likewise.
54330         * socket/socketpair.c: Likewise.
54331         * stdio-common/ctermid.c: Likewise.
54332         * stdio-common/cuserid.c: Likewise.
54333         * stdio-common/remove.c: Likewise.
54334         * stdio-common/rename.c: Likewise.
54335         * stdio-common/renameat.c: Likewise.
54336         * stdio-common/tempname.c: Likewise.
54337         * stdlib/getcontext.c: Likewise.
54338         * stdlib/makecontext.c: Likewise.
54339         * stdlib/setcontext.c: Likewise.
54340         * stdlib/swapcontext.c: Likewise.
54341         * stdlib/system.c: Likewise.
54342         * streams/fattach.c: Likewise.
54343         * streams/fdetach.c: Likewise.
54344         * streams/getmsg.c: Likewise.
54345         * streams/getpmsg.c: Likewise.
54346         * streams/putmsg.c: Likewise.
54347         * streams/putpmsg.c: Likewise.
54348         * sysdeps/unix/bsd/getpt.c: Likewise.
54349         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54350         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54351         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54353         Likewise.
54354         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54355         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54356         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54357         * sysvipc/msgctl.c: Likewise.
54358         * sysvipc/msgget.c: Likewise.
54359         * sysvipc/msgrcv.c: Likewise.
54360         * sysvipc/msgsnd.c: Likewise.
54361         * sysvipc/semctl.c: Likewise.
54362         * sysvipc/semget.c: Likewise.
54363         * sysvipc/semop.c: Likewise.
54364         * sysvipc/semtimedop.c: Likewise.
54365         * sysvipc/shmat.c: Likewise.
54366         * sysvipc/shmctl.c: Likewise.
54367         * sysvipc/shmdt.c: Likewise.
54368         * sysvipc/shmget.c: Likewise.
54369         * termios/tcdrain.c: Likewise.
54370         * termios/tcflow.c: Likewise.
54371         * termios/tcflush.c: Likewise.
54372         * termios/tcgetattr.c: Likewise.
54373         * termios/tcgetpgrp.c: Likewise.
54374         * termios/tcsendbrk.c: Likewise.
54375         * termios/tcsetattr.c: Likewise.
54376         * termios/tcsetpgrp.c: Likewise.
54377         * time/adjtime.c: Likewise.
54378         * time/clock.c: Likewise.
54379         * time/getitimer.c: Likewise.
54380         * time/gettimeofday.c: Likewise.
54381         * time/setitimer.c: Likewise.
54382         * time/settimeofday.c: Likewise.
54383         * time/stime.c: Likewise.
54384         * time/time.c: Likewise.
54386 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54388         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54389         /usr/old/bin.
54391         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54392         instead of spaces.
54393         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54395 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54397         [BZ #14796]
54398         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54399         FE_TONEAREST before applying Dekker multiplication and Knuth
54400         addition.  Clear inexact exceptions and check for exact zero
54401         results afterwards.
54402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54403         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54404         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54405         * math/libm-test.inc (fma_test): Add more tests.
54406         (fma_test_towardzero): Likewise.
54407         (fma_test_downward): Likewise.
54408         (fma_test_upward): Likewise.
54409         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54410         function.
54411         (libc_fesetround): New macro.
54412         (libc_fesetroundf): Likewise.
54413         (libc_fesetroundl): Likewise.
54414         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54415         function.
54416         (libc_fesetround_387): Likewise.
54417         (libc_fesetroundf): New macro.
54418         (libc_fesetround): Likewise.
54419         (libc_fesetroundl): Likewise.
54420         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54421         function.
54422         (libc_fesetroundf): New macro.
54423         (libc_fesetround): Likewise.
54424         (libc_fesetroundl): Likewise.
54425         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54426         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54427         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54428         libm_hidden_ver.
54429         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54430         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54431         libm_hidden_def.
54432         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54433         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54434         libm_hidden_ver.
54435         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54436         libm_hidden_def.
54438         [BZ #3439]
54439         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54440         integer constant usable in #if and use that to give value to enum
54441         constant.
54442         (FE_DIVBYZERO): Likewise.
54443         (FE_UNDERFLOW): Likewise.
54444         (FE_OVERFLOW): Likewise.
54445         (FE_INVALID): Likewise.
54446         (FE_INVALID_SNAN): Likewise.
54447         (FE_INVALID_ISI): Likewise.
54448         (FE_INVALID_IDI): Likewise.
54449         (FE_INVALID_ZDZ): Likewise.
54450         (FE_INVALID_IMZ): Likewise.
54451         (FE_INVALID_COMPARE): Likewise.
54452         (FE_INVALID_SOFTWARE): Likewise.
54453         (FE_INVALID_SQRT): Likewise.
54454         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54455         (FE_TONEAREST): Likewise.
54456         (FE_TOWARDZERO): Likewise.
54457         (FE_UPWARD): Likewise.
54458         (FE_DOWNWARD): Likewise.
54459         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54460         (FE_DIVBYZERO): Likewise.
54461         (FE_OVERFLOW): Likewise.
54462         (FE_UNDERFLOW): Likewise.
54463         (FE_INEXACT): Likewise.
54464         (FE_TONEAREST): Likewise.
54465         (FE_DOWNWARD): Likewise.
54466         (FE_UPWARD): Likewise.
54467         (FE_TOWARDZERO): Likewise.
54468         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54469         (FE_UNDERFLOW): Likewise.
54470         (FE_OVERFLOW): Likewise.
54471         (FE_DIVBYZERO): Likewise.
54472         (FE_INVALID): Likewise.
54473         (FE_TONEAREST): Likewise.
54474         (FE_TOWARDZERO): Likewise.
54475         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54476         (FE_OVERFLOW): Likewise.
54477         (FE_UNDERFLOW): Likewise.
54478         (FE_DIVBYZERO): Likewise.
54479         (FE_INEXACT): Likewise.
54480         (FE_TONEAREST): Likewise.
54481         (FE_TOWARDZERO): Likewise.
54482         (FE_UPWARD): Likewise.
54483         (FE_DOWNWARD): Likewise.
54484         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54485         (FE_DIVBYZERO): Likewise.
54486         (FE_OVERFLOW): Likewise.
54487         (FE_UNDERFLOW): Likewise.
54488         (FE_INEXACT): Likewise.
54489         (FE_TONEAREST): Likewise.
54490         (FE_DOWNWARD): Likewise.
54491         (FE_UPWARD): Likewise.
54492         (FE_TOWARDZERO): Likewise.
54494 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54496         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54498 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54500         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54501         commands.  Quote $PWD.
54502         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54503         -x" by "export".
54504         (remove_newlines): Remove.
54506 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54508         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54509         * stdlib/stdlib.h (atof): Moved to ...
54510         * include/bits/stdlib-float.h: Here.  New file.
54511         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54512         * stdlib/bits/stdlib-float.h: New file.
54513         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54514         -mno-sse -mno-mmx.
54515         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54516         <xmmintrin.h>.
54518 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54520         * conform/conformtest.pl (@headers): Add fenv.h.
54521         * conform/data/fenv.h-data: New file.
54522         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54523         include of <math/fenv.h>.
54525         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54526         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54527         && !UNIX98].  Enables tests for XOPEN2K8.
54528         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54529         POSIX2008]: Likewise.
54531         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54532         (struct rusage): Do not expect type or its members.
54534         [BZ #3439]
54535         * math/math.h (FP_NAN): Define macro to integer constant usable in
54536         #if and use that to give value to enum constant.
54537         (FP_INFINITE): Likewise.
54538         (FP_ZERO): Likewise.
54539         (FP_SUBNORMAL): Likewise.
54540         (FP_NORMAL): Likewise.
54542 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54544         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54545         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54546         arguments.
54548 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54550         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54551         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54552         autoconf-time if not.
54553         * configure.in: Remove AC_PREREQ.
54555 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54557         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54558         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54559         of the internal implementation.
54561 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54563         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54564         except include of <misc/sys/syslog.h>.
54566 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54569         function returns with a NULL context exit with zero.
54571 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54573         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54575 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54577         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54578         (run_program_cmd): This.
54579         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54580         (tst_langinfo): New variable.  Use it.
54582 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54584         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54585         floating point opcodes.
54587 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54589         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54590         variable.
54592         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54594         * sysdeps/mach/hurd/powerpc: Remove directory.
54595         * sysdeps/mach/powerpc: Likewise.
54597 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54599         * scripts/check-local-headers.sh: Ignore c++ headers.
54601 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54603         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54604         __libc_cleanup_region_start argument.
54606 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54608         [BZ #14784]
54609         [BZ #14785]
54610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54611         x * y using scaling, not as x * y + z.
54612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54614         * math/libm-test.inc (fma_test): Add more tests.
54615         (fma_test_towardzero): Likewise.
54616         (fma_test_downward): Likewise.
54617         (fma_test_upward): Likewise.
54619 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54621         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54623 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54625         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54626         New variable.
54628 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54630         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54632 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54635         Fix sort order.
54636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54637         Likewise.
54639 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54642         Fix the order of the list for glibc 2.17.
54643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54644         Likewise.
54646 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54650 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54652         [BZ #14610]
54653         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54654         for low part of x being zero before using __atanl (y).
54655         * math/libm-test.inc (atan2_test): Add another test.
54657         * manual/install.texi (Configuring and compiling): Document
54658         general use of test-wrapper and test-wrapper-env.
54659         * INSTALL: Regenerated.
54661         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54662         (__fma): Do not extract and scale down low bits on after-rounding
54663         systems when result rounded to normal precision would have normal
54664         exponent.
54665         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54666         (__fmal): Do not extract and scale down low bits on after-rounding
54667         systems when result rounded to normal precision would have normal
54668         exponent.
54669         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54670         (__fmal): Do not extract and scale down low bits on after-rounding
54671         systems when result rounded to normal precision would have normal
54672         exponent.
54673         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54674         macro.
54675         (fma_test): Add more tests.
54676         (fma_test_towardzero): Likewise.
54677         (fma_test_downward): Likewise.
54678         (fma_test_upward): Likewise.
54680 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54682         * sysdeps/i386/tininess.h: Renamed to ...
54683         * sysdeps/x86/tininess.h: This.
54684         * sysdeps/x86_64/tininess.h: Removed.
54686 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54688         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54689         input.  Use $(build-program-cmd).
54690         ($(objpfx)tst-array1-static.out): Likewise.
54691         ($(objpfx)tst-array2.out): Likewise.
54692         ($(objpfx)tst-array3.out): Likewise.
54693         ($(objpfx)tst-array4.out): Likewise.
54694         ($(objpfx)tst-array5.out): Likewise.
54695         ($(objpfx)tst-array5-static.out): Likewise.
54697 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54699         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54700         if defined.
54702         * nss/nsswitch.h (nss_interface_function): Provide new
54703         macro for use with NSS functions.
54704         * grp/initgroups.c: Use new macro.
54705         * nss/getXXbyYY.c: Likewise.
54706         * nss/getXXbyYY_r.c: Likewise.
54707         * nss/getXXent.c: Likewise.
54708         * nss/getXXent_r.c: Likewise.
54709         * sysdeps/posix/getaddrinfo.c: Likewise.
54711 2012-10-30  Andreas Jaeger  <aj@suse.de>
54713         * po/ru.po: Update Russion translation from translation project.
54715 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54717         [BZ #14152]
54718         [BZ #14783]
54719         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54720         result and shift together with sticky bit instead of replicating
54721         round-to-nearest rounding.
54722         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54723         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54724         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54725         missing underflow exceptions.
54726         (fma_test_towardzero): Add more tests.
54727         (fma_test_downward): Likewise.
54728         (fma_test_upward): Likewise.
54730         [BZ #14047]
54731         * sysdeps/generic/tininess.h: New file.
54732         * sysdeps/i386/tininess.h: Likewise.
54733         * sysdeps/sh/tininess.h: Likewise.
54734         * sysdeps/x86_64/tininess.h: Likewise.
54735         * stdlib/tst-strtod-underflow.c: Likewise.
54736         * stdlib/tst-tininess.c: Likewise.
54737         * stdlib/strtod_l.c: Include <tininess.h>.
54738         (round_and_return): Do not set errno for exact underflow cases.
54739         Force an underflow exception when setting errno for underflow.
54740         Determine underflow based on rounding to normal precision if
54741         TININESS_AFTER_ROUNDING.
54742         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54743         ERANGE for exact underflow cases.
54744         * stdlib/Makefile (tests): Add tst-tininess and
54745         tst-strtod-underflow.
54746         ($(objpfx)tst-tininess): Use $(link-libm).
54747         ($(objpfx)tst-strtod-underflow): Likewise.
54749 2012-10-30  Andreas Jaeger  <aj@suse.de>
54751         [BZ#14767]
54752         * elf/Makefile (tests): Remove conditional for have-initfini-array
54753         since this is now always required and the variable does not exist
54754         anymore.
54755         (tests-static): Likewise.
54756         (modules-names): Likewise.
54758         * po/eo.po: Add Esperanto translation from translation project.
54760         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54761         merged with constructor/destructor.
54762         (init_array): Likewise.
54763         * elf/tst-array2dep.c (fini_array): Likewise.
54764         (init_array): Likewise.
54766 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54768         * manual/message.texi: Delete @cartouche tags.
54770 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54772         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54773         EOPNOTSUPP.
54774         * sysdeps/mach/hurd/fsync.c: Likewise.
54776         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54777         [_POSIX_REALTIME_SIGNALS]: Change condition to
54778         [_POSIX_REALTIME_SIGNALS > 0].
54780 2012-10-27  Andreas Jaeger  <aj@suse.de>
54782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54783         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54785         [__WORDSIZE != 64]: Likewise.
54787 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54789         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54790         *  iconvdata/tst-tables.sh: Likewise.
54792 2012-10-25  David S. Miller  <davem@davemloft.net>
54794         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54795         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54796         of strtoull.
54798         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54799         ifunc-impl-list.c
54800         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54801         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54802         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54803         file.
54805 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54807         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54808         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54809         __getdirentries.
54811 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54812             Jim Blandy  <jimb@codesourcery.com>
54814         * scripts/cross-test-ssh.sh: New file.
54815         * manual/install.texi (Configuring and compiling): Document use of
54816         cross-test-ssh.sh.
54817         * INSTALL: Regenerated.
54819 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54821         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54822         EOPNOTSUPP.
54824 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54826         * Makeconfig (run-program-prefix): Fix comment.
54828 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54829             Jim Blandy  <jimb@codesourcery.com>
54831         * Makeconfig (test-wrapper): New variable,
54832         (test-wrapper-env): Likewise.
54833         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54834         (run-built-tests): Define to yes.
54835         (run-program-prefix): Use $(test-wrapper).
54836         (built-program-cmd): Likewise.
54837         * Rules (make-test-out): Use $(test-wrapper-env) and
54838         $(host-built-program-cmd).
54839         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54840         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54841         tst-pathopt.sh.
54842         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54843         $(test-wrapper-env) to tst-rtld-load-self.sh.
54844         ($(objpfx)order2.out): Use $(test-wrapper).
54845         ($(objpfx)tst-initorder.out): Likewise.
54846         ($(objpfx)tst-initorder2.out): Likewise.
54847         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54848         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54849         (test_wrapper_env): New variable.  Use it to run ld.so.
54850         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54851         Use it to run ld.so.
54852         (test_wrapper_env): Likewise.
54853         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54854         $(test-wrapper) to run-iconv-test.sh.
54855         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54856         (ICONV): Use $test_wrapper.
54857         * posix/Makefile ($(objpfx)globtest.out): Pass
54858         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54859         globtest.sh, not $(run-program-prefix).
54860         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54861         (test_wrapper): Likewise.
54862         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54863         set together with run_via_rtld_prefix.
54864         (run_program_prefix): Define in terms of test_wrapper and
54865         run_via_rtld_prefix.
54867 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54869         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54870         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54871         Targets removed.
54873         [BZ #14743]
54874         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54875         Declare __clock_getres, __clock_gettime, __clock_settime,
54876         __clock_nanosleep, and __clock_getcpuclockid.
54877         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54878         Remove librt_hidden_def (clock_gettime).
54879         * sysdeps/unix/clock_gettime.c: Likewise.
54880         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54881         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54882         * rt/clock_getres.c: Define __clock_getres as an alias.
54883         * sysdeps/posix/clock_getres.c: Likewise.
54884         * rt/clock_settime.c: Define __clock_settime as an alias.
54885         * sysdeps/unix/clock_settime.c: Likewise.
54886         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54887         * sysdeps/unix/clock_nanosleep.c: Likewise.
54888         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54889         * rt/clock-compat.c: New file.
54890         * rt/Makefile (librt-routines): Add clock-compat and move
54891         $(clock-routines) to ...
54892         (routines): ... here, new variable.
54893         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54894         Don't add get_clockfreq here.
54895         * rt/Versions (libc: GLIBC_2.17): New version set.
54896         Add clock_* symbols here.
54897         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54899         (GLIBC_2.17): Add clock_* symbols.
54900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54904         Likewise.
54905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54906         Likewise.
54907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54911         * NEWS: Mention the move.
54913         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54914         Use __open, __read, __close rather than their public counterparts.
54915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54916         (__get_clockfreq_via_cpuinfo): Likewise.
54917         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54918         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54920         * config.h.in (HAVE_IFUNC): New #undef.
54921         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54922         was successful.
54923         * configure: Regenerated.
54925 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54927         * configure.in: Move READELF check to start of file.
54928         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54929         libc_cv_asm_gnu_indirect_function in the process.
54930         * configure: Regenerated.
54932 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54934         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54935         send the output to /dev/null.
54936         (libc_cv_cc_with_libunwind): Likewise.
54937         (libc_cv_as_noexecstack): Likewise.
54938         * configure: Regenerate.
54940 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54942         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54944         * posix/globtest.sh (TMPDIR): Do not set.
54945         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54946         (testout): Likewise.
54948 2012-10-24  Andreas Jaeger  <aj@suse.de>
54950         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54951         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54952         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54953         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54954         posix_fadvise64, posix_fallocate64.
54956         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54957         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54958         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54959         Likewise.
54960         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54961         Likewise.
54962         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54964         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54965         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54966         <bits/fcntl-linux.h>.
54967         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54970         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54971         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54972         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54973         [__WORDSIZE != 64]: Likewise.
54975 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54977         * Makeconfig (run-built-tests): New variable.
54978         * Rules [$(cross-compiling) = yes]: Change condition to
54979         [$(run-built-tests) = no].
54980         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54981         to [$(run-built-tests) = yes].
54982         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54983         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54984         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54985         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54986         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54987         * io/Makefile [$(cross-compiling) = no]: Likewise.
54988         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54989         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54990         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54991         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54992         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54993         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54994         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54995         * string/Makefile [$(cross-compiling) = no]: Likewise.
54997         * posix/Makefile ($(objpfx)globtest.out): Pass
54998         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54999         $(rtld-installed-name).
55000         * posix/globtest.sh (elf_objpfx): Remove variable.
55001         (rtld_installed_name): Likewise.
55002         (library_path): Likewise.
55003         (run_program_prefix): New variable.  Use for running globtest
55004         binary.
55006 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55007             Joseph Myers  <joseph@codesourcery.com>
55009         * Makeconfig (host-built-program-cmd): New variable.
55010         * elf/Makefile (tst-stackguard1-ARGS): Use
55011         $(host-built-program-cmd).
55012         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55013         (tst-spawn-ARGS): Likewise.
55014         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55016 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55017             Jim Blandy  <jimb@codesourcery.com>
55019         * Makeconfig (run-via-rtld-prefix): New variable.
55020         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55021         (built-program-cmd): Likewise.
55023 2012-10-22  Andreas Jaeger  <aj@suse.de>
55025         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55026         __O_RSYNC if it exists, otherwise to O_SYNC.
55028 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55029             Joseph Myers  <joseph@codesourcery.com>
55031         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55032         /dev/null.
55033         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55034         from /dev/null
55035         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55036         /dev/null.
55038 2012-10-22  Andreas Jaeger  <aj@suse.de>
55040         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55041         Define always.
55042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55044         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55045         bits/fcntl-linux.h.
55047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55048         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55051         to __O_LARGEFILE.
55052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55053         to __O_LARGEFILE.
55055 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55056             Joseph Myers  <joseph@codesourcery.com>
55058         * config.make.in (NM): New variable.
55060 2012-10-21  Andreas Jaeger  <aj@suse.de>
55062         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55063         definitions and declarations that are provided by
55064         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55066 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55068         [BZ #14683]
55069         * elf/Makefile (tests-static): Add tst-leaks1-static.
55070         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55071         ($(objpfx)tst-leaks1-static): New rule.
55072         ($(objpfx)tst-leaks1-static-mem): Likewise.
55073         (tst-leaks1-static-ENV): New macro.
55074         * elf/dl-open.c (dl_open_worker): Check the main application
55075         only if SHARED is defined.
55076         * elf/tst-leaks1-static.c: New file.
55078 2012-10-20  Andreas Jaeger  <aj@suse.de>
55080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55081         generic values for Linux.
55082         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55083         and declarations that are provided by <bits/fcntl-linux.h> and
55084         include <bits/fcntl-linux.h>.
55085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55088 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55090         * io/fcntl.h: Move include of <bits/types.h> to the top and
55091         include it unconditionally.
55093 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55095         * wcsmbs/Makefile (tests-ifunc): New variable.
55096         (tests): Add $(tests-ifunc).
55097         * wcsmbs/test-wcschr-ifunc.c: New file.
55098         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55099         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55100         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55101         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55102         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55104         * string/Makefile (tests-ifunc): New variable.
55105         (tests): Add $(tests-ifunc).
55106         * string/test-memccpy.c (TEST_NAME): New macro.
55107         * string/test-memchr.c (TEST_NAME): Likewise.
55108         * string/test-memcmp.c (TEST_NAME): Likewise.
55109         * string/test-memcpy.c (TEST_NAME): Likewise.
55110         * string/test-memmem.c (TEST_NAME): Likewise.
55111         * string/test-memmove.c (TEST_NAME): Likewise.
55112         * string/test-memset.c (TEST_NAME): Likewise.
55113         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55114         * string/test-stpcpy.c (TEST_NAME): Likewise.
55115         * string/test-stpncpy.c (TEST_NAME): Likewise.
55116         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55117         * string/test-strcasestr.c (TEST_NAME): Likewise.
55118         * string/test-strcat.c (TEST_NAME): Likewise.
55119         * string/test-strchr.c (TEST_NAME): Likewise.
55120         * string/test-strcmp.c(TEST_NAME): Likewise.
55121         * string/test-strcpy.c (TEST_NAME): Likewise.
55122         * string/test-strcspn.c (TEST_NAME): Likewise.
55123         * string/test-strlen.c (TEST_NAME): Likewise.
55124         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55125         * string/test-strncmp.c (TEST_NAME): Likewise.
55126         * string/test-strncpy.c (TEST_NAME): Likewise.
55127         * string/test-strnlen.c (TEST_NAME): Likewise.
55128         * string/test-strpbrk.c (TEST_NAME): Likewise.
55129         * string/test-strrchr.c (TEST_NAME): Likewise.
55130         * string/test-strspn.c (TEST_NAME): Likewise.
55131         * string/test-strstr.c (TEST_NAME): Likewise.
55132         * string/test-bcopy-ifunc.c: New file.
55133         * string/test-bzero-ifunc.c: Likewise.
55134         * string/test-memccpy-ifunc.c: Likewise.
55135         * string/test-memchr-ifunc.c: Likewise.
55136         * string/test-memcmp-ifunc.c: Likewise.
55137         * string/test-memcpy-ifunc.c: Likewise.
55138         * string/test-memmem-ifunc.c: Likewise.
55139         * string/test-memmove-ifunc.c: Likewise.
55140         * string/test-mempcpy-ifunc.c: Likewise.
55141         * string/test-memset-ifunc.c: Likewise.
55142         * string/test-rawmemchr-ifunc.c: Likewise.
55143         * string/test-stpcpy-ifunc.c: Likewise.
55144         * string/test-stpncpy-ifunc.c: Likewise.
55145         * string/test-strcasecmp-ifunc.c: Likewise.
55146         * string/test-strcasestr-ifunc.c: Likewise.
55147         * string/test-strcat-ifunc.c: Likewise.
55148         * string/test-strchr-ifunc.c: Likewise.
55149         * string/test-strchrnul-ifunc.c: Likewise.
55150         * string/test-strcmp-ifunc.c: Likewise.
55151         * string/test-strcpy-ifunc.c: Likewise.
55152         * string/test-strcspn-ifunc.c: Likewise.
55153         * string/test-strlen-ifunc.c: Likewise.
55154         * string/test-strncasecmp-ifunc.c: Likewise.
55155         * string/test-strncat-ifunc.c: Likewise.
55156         * string/test-strncmp-ifunc.c: Likewise.
55157         * string/test-strncpy-ifunc.c: Likewise.
55158         * string/test-strnlen-ifunc.c: Likewise.
55159         * string/test-strpbrk-ifunc.c: Likewise.
55160         * string/test-strrchr-ifunc.c: Likewise.
55161         * string/test-strspn-ifunc.c: Likewise.
55162         * string/test-strstr-ifunc.c: Likewise.
55164         * debug/Makefile (tests-ifunc): New variable.
55165         (tests): Add $(tests-ifunc).
55166         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55167         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55168         * debug/test-stpcpy_chk-ifunc.c: New file.
55169         * debug/test-strcpy_chk-ifunc.c: Likewise.
55171 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55173         [BZ #13601]
55174         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55175         header is not read in.
55177 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55179         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55180         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55181         directly.  Pass built executable to script as
55182         $(built-program-cmd).
55183         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55184         $testprogram without using LD_LIBRARY_PATH and $ldso.
55186         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55187         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55188         $(rtld-installed-name).
55189         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55190         (rtld_installed_name): Likewise.
55191         (library_path): Likewise.
55192         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55193         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55194         $(run-program-prefix) to tst-tables.sh.
55195         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55196         it to run tst-table-from and tst-table-to.
55197         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55198         Pass it to tst-table.sh.
55199         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55200         $(run-program-prefix) to tst-gettext.sh.
55201         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55202         tst-translit.sh.
55203         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55204         tst-gettext2.sh.
55205         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55206         to run tst-gettext.
55207         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55208         to run tst-gettext2.
55209         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55210         to run tst-translit.
55211         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55212         $(run-program-prefix) to tst-mtrace.sh.
55213         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55214         to run tst-mtrace.
55215         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55216         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55217         $(rtld-installed-name).
55218         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55219         (rtld_installed_name): Likewise.
55220         (run_program_prefix): New variable.  Use it to run wordexp-test.
55222         * Makeconfig (ARCH): Remove all definitions.
55223         (machine): Likewise.
55224         [ARCH]: Remove conditional code.
55225         [!objdir]: Give error.
55226         [!objdir] (objpfx): Remove.
55227         [!objdir] (common-objpfx): Likewise.
55228         [!objdir] (common-objdir): Likewise.
55229         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55230         AC_CONFIG_FILES call.
55231         * configure: Regenerated.
55233         [BZ #13888]
55234         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55235         or TMPDIR.
55236         (testout): Likewise.
55238         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55239         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55240         $(rtld-installed-name).
55241         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55242         (rtld_installed_name): Likwise.
55243         (runit): Remove function.
55244         (run_getconf): New variable,  Use it for running getconf binary.
55246 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55248         [BZ #14716]
55249         * string/test-memmem.c (check_result): New function.
55250         (do_one_test): Use it.
55251         (check1): New function.
55252         (test_main): Use it.
55254 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55256         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55258 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55260         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55261         (_G_LSEEK64): Likewise.
55262         (_G_MMAP64): Likewise.
55263         (_G_FSTAT64): Likewise.
55264         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55265         (_G_LSEEK64): Likewise.
55266         (_G_MMAP64): Likewise.
55267         (_G_FSTAT64): Likewise.
55268         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55269         unconditional.  Call __mmap64 directly.
55270         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55271         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55272         __lseek64 directly.
55273         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55274         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55275         __mmap64 directly.
55276         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55277         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55278         __lseek64 directly.
55279         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55280         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55281         __lseek64 directly.
55282         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55283         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55284         __lseek64 directly.
55285         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55286         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55287         __fxstat64 directly.
55288         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55289         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55290         unconditional.
55291         (freopen64) [!_G_OPEN64]: Remove conditional code.
55292         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55293         unconditional.
55294         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55295         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55296         unconditional.
55297         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55298         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55299         unconditional.
55300         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55301         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55302         unconditional.
55303         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55304         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55305         unconditional.
55306         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55307         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55308         unconditional.
55309         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55310         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55311         unconditional.
55312         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55314 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55316         [BZ #12140]
55317         * manual/memory.texi (Malloc Tunable Parameters): Add note
55318         about free list pointers overwriting some perturb bytes.
55319         Wording suggested by Roland McGrath.
55321 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55323         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55324         (lgamma_test): Likewise.
55325         (tgamma_test): Likewise.
55327 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55329         [BZ #14700]
55330         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55331         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55333 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55335         * NEWS: Mention BZ #14716.
55336         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55337         when removing AVAILABLE1_USES_J macro.
55339 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55341         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55342         (__bswap_64): __uint64_t for unsigned 64-bit int.
55344 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55346         * include/string.h (memmem): Declare libc hidden alias.
55347         * string/memmem.c (memmem): Define libc hidden alias.
55348         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55349         __read, __close instead of open, read, close.
55351 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55354         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55355         global and hidden.
55356         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55357         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55358         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55359         Likewise.
55360         (__rawmemchr_sse2): Likewise.
55361         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55362         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55363         (__strchr_sse2): Likewise.
55364         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55365         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55366         (__strcasecmp_sse2): Likewise.
55367         (__strncasecmp_sse2): Likewise.
55368         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55369         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55370         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55371         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55372         (__strrchr_sse2): Likewise.
55373         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55374         ifunc-impl-list.c.
55375         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55376         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55377         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55378         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55379         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55380         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55381         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55382         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55383         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55384         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55385         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55386         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55387         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55388         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55389         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55390         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55391         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55392         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55393         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55394         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55395         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55396         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55397         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55398         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55399         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55400         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55401         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55402         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55403         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55404         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55406         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55407         global and hidden.
55408         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55409         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55410         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55411         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55412         Likewise.
55413         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55414         Likewise.
55415         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55416         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55417         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55418         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55419         ifunc-impl-list.c.
55420         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55421         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55422         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55423         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55424         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55425         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55426         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55427         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55428         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55429         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55430         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55431         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55432         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55433         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55434         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55436         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55437         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55438         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55439         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55440         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55441         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55442         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55443         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55444         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55445         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55446         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55447         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55448         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55449         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55450         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55451         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55452         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55453         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55454         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55455         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55456         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55457         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55458         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55459         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55460         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55462         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55463         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55464         * include/ifunc-impl-list.h: New file.
55465         * misc/ifunc-impl-list.c: Likewise.
55466         * misc/Makefile (routines): Add ifunc-impl-list.
55467         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55468         * string/test-string.h: Include <ifunc-impl-list.h>.
55469         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55470         TEST_NAME]: New variables.
55471         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55472         are defined.
55473         (test_init): Call __libc_ifunc_impl_list to initialize
55474         func_list if TEST_IFUNC and TEST_NAME are defined.
55476         * string/Makefile (strop-tests): Add bcopy and bzero.
55477         * string/test-bcopy.c: New file.
55478         * string/test-bzero.c: Likewise.
55479         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55480         defined.
55481         * string/test-memset.c: Support bzero test if TEST_BZERO is
55482         defined.
55483         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55484         __libc_memmove.
55485         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55486         __libc_memset.
55487         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55488         of memset.
55490 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55492         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55493         * configure: Regenerated.
55495         * Makeconfig (+link-static-before-libc): Don't include
55496         $(link-static-libc).
55498         * libio/libio.h (_IO_pos_t): Remove.
55500 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55502         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55503         McGrath.
55505 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55507         * crypt/crypt-entry.c: Include fips-private.h.
55508         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55509         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55510         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55511         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55513 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55515         * crypt/crypt-private.h: Include stdbool.h.
55516         (_ufc_setup_salt_r): Return bool.
55517         * crypt/crypt-entry.c: Include errno.h.
55518         (__crypt_r): Return NULL with EINVAL for bad salt.
55519         * crypt/crypt_util.c (bad_for_salt): New.
55520         (_ufc_setup_salt_r): Check that salt is long enough and within
55521         the specified alphabet.
55522         * crypt/badsalttest.c: New file.
55523         * crypt/Makefile (tests): Add it.
55524         ($(objpfx)badsalttest): New.
55526 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55528         * NEWS: Add entry for BZ #14602.
55530 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55532         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55533         type-generic.
55534         * math/libm-test.inc: Update comment listing what functions and
55535         macros are tested.
55536         (isgreater_test): New function.
55537         (isgreaterequal_test): Likewise.
55538         (isless_test): Likewise.
55539         (islessequal_test): Likewise.
55540         (islessgreater_test): Likewise.
55541         (isunordered_test): Likewise.
55542         (main): Call the new functions.
55544 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55546         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55547         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55548         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55549         * sysdeps/i386/configure: Regenerated.
55550         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55551         * sysdeps/mach/configure: Regenerated.
55552         * sysdeps/mach/hurd/configure: Regenerated.
55553         * sysdeps/powerpc/configure: Regenerated.
55554         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55555         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55556         * sysdeps/s390/s390-32/configure: Regenerated.
55557         * sysdeps/s390/s390-64/configure: Regenerated.
55558         * sysdeps/sh/configure: Regenerated.
55559         * sysdeps/sparc/configure: Regenerated.
55560         * sysdeps/unix/sysv/linux/configure: Regenerated.
55561         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55562         * sysdeps/x86_64/configure: Regenerated.
55564         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55565         defined.  Don't check if MAP is NULL.
55567 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55569         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55570         (_G_stat64): Likewise.
55571         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55572         (_G_stat64): Likewise.
55573         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55574         instead of struct _G_stat64.
55575         * libio/fileops.c (mmap_remap_check): Likewise.
55576         (decide_maybe_mmap): Likewise.
55577         (_IO_new_file_seekoff): Likewise.
55578         (_IO_file_stat): Likewise.
55579         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55580         _G_off64_t.
55581         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55582         instead of struct _G_stat64.
55583         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55585 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55587         [BZ #14602]
55588         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55589         Replace with ...
55590         (CHECK_EOL): New macro.
55591         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55592         CHECK_EOL.
55593         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55594         Replace with CHECK_EOL.
55595         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55596         Replace with CHECK_EOL.
55598 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55600         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55601         type-generic.
55602         * math/libm-test.inc: Update comment listing what functions and
55603         macros are tested.
55604         (finite_test): New function.
55605         (isinf_test): Likewise.
55606         (isnan_test): Likewise.
55607         (fpclassify_test): Test subnormal input.
55608         (isfinite_test): Likewise.
55609         (isnormal_test): Likewise.
55610         (main): Call the new functions.
55612 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55614         [BZ #14660]
55615         * Makerules (%.dynsym): Force C locale when running
55616         $(OBJDUMP) --dynamic-syms.
55618 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55620         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55621         <stdint.h>.
55623 2012-10-06  David S. Miller  <davem@davemloft.net>
55625         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55626         upper 32-bits of the length value in %o2 since we use branch-on-register
55627         tests which consider the entire 64-bit register.
55629 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55631         * string/test-strstr.c (check2): Add a test for page boundary.
55633 2012-10-05  David S. Miller  <davem@davemloft.net>
55635         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55636         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55637         file.
55638         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55639         sysdep_routines.
55640         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55641         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55642         and bzero when HWCAP_SPARC_CRYPTO is present.
55644 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55646         [BZ #14602]
55647         * string/test-strstr.c (check2): New function.
55648         (test_main): Call check2.
55650         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55651         and bug-strchr1.
55652         * string/bug-strcasestr1.c (do_test): Moved to ...
55653         * string/test-strcasestr.c (check1): Here.  New function.
55654         (do_one_test): Break out result checking code into ...
55655         (check_result): This.  New function.
55656         (do_one_test): Call check_result.
55657         (test_main): Call check1.
55658         * string/bug-strchr1.c (do_test): Moved to ...
55659         * string/test-strchr.c (check1): Here.  New function.
55660         (do_one_test): Break out result checking code into ...
55661         (check_result): This.  New function.
55662         (do_one_test): Call check_result.
55663         (test_main): Call check1.
55664         * string/bug-strstr1.c (main): Moved to ...
55665         * string/test-strstr.c (check1): Here.  New function.
55666         (do_one_test): Break out result checking code into ...
55667         (check_result): This.  New function.
55668         (do_one_test): Call check_result.
55669         (test_main): Call check1.
55670         * string/bug-strcasestr1.c: Removed.
55671         * string/bug-strchr1.c: Likewise.
55672         * string/bug-strstr1.c: Likewise.
55674         * elf/Makefile (dl-routines): Add hwcaps.
55675         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55676         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55677         (_dl_important_hwcaps): Moved to ...
55678         * elf/dl-hwcaps.c: Here.  New file.
55679         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55681         [BZ #14557]
55682         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55683         if IS_IN_rtld isn't defined.
55685         * elf/dl-support.c (_dl_sysinfo_map): New.
55686         Include "get-dynamic-info.h" and "setup-vdso.h".
55687         (_dl_non_dynamic_init): Call setup_vdso.
55688         * elf/dynamic-link.h: Don't include <assert.h>.
55689         (elf_get_dynamic_info): Moved to ...
55690         * elf/get-dynamic-info.h: Here.  New file.
55691         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55692         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55693         * elf/setup-vdso.h: Here.  New file.
55694         * elf/rtld.c: Include "setup-vdso.h".
55695         (dl_main): Call setup_vdso.
55697 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55699         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55700         creal in comment listing functions tested.  List finite, isinf,
55701         isnan, isless, islessequal, isgreater, isgreaterequal,
55702         islessgreater, isunordered, lgamma_r and pow10 as functions and
55703         macros not tested.  Mention which functions not tested are aliases
55704         for other functions.  Fix typo.  Note that signs of NaNs are not
55705         tested.
55707         * scripts/config.guess: Update from config.git.
55708         * scripts/config.sub: Likewise.
55710 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55712         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55713         * misc/madvise.c (madvise): Renamed to __madvise.
55714         Make madvise a weak alias.
55715         * include/sys/mman.h: Declare __madvise.
55716         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55717         * sysdeps/unix/syscalls.list
55718         (madvise): Make __madvise the strong name, and madvise a weak alias.
55719         * sysdeps/unix/sysv/linux/syscalls.list
55720         (madvise, mmap): Remove redundant entries.
55721         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55722         * malloc/malloc.c (mtrim): Likewise.
55723         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55725 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55727         * sysdeps/mach/hurd/dl-cache.c: File removed.
55728         * config.h.in (USE_LDCONFIG): New #undef.
55729         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55730         * configure: Regenerated.
55731         * elf/Makefile (dl-routines): Add dl-cache only under
55732         [$(use-ldconfig) = yes].
55733         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55734         cache on [USE_LDCONFIG].
55735         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55736         [USE_LDCONFIG].
55737         * elf/rtld.c (dl_main): Likewise.
55739 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55741         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55742         _SC_LEVEL4_CACHE_LINESIZE.
55744 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55746         * sysdeps/unix/bsd/confstr.h: File removed.
55748 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55750         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55751         sys/sdt-config.h.
55753 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55755         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55756         Make 'mapoff' field ElfW(Off) rather than off_t.
55758 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55760         * nscd/Makefile: Remove nscd-cflags and all its users.
55761         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55762         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55764         [BZ #10631]
55765         * malloc.c (malloc_printerr): Clarify error message.
55767 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55769         [BZ #14648]
55770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55771         Set bit_FMA_Usable if FMA is supported.
55772         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55773         macro.
55774         (bit_FMA4_Usable): Updated.
55775         (index_FMA_Usable): New macro.
55776         (CPUID_FMA): Likewise.
55777         (HAS_FMA): Defined with bit_FMA_Usable.
55779 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55781         * bits/types.h (__swblk_t): Type removed.
55782         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55783         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55785         (__SWBLK_T_TYPE): Likewise.
55786         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55787         (__SWBLK_T_TYPE): Likewise.
55788         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55789         (__SWBLK_T_TYPE): Likewise.
55790         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55791         (__SWBLK_T_TYPE): Likewise.
55793 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55794             Honza Horak <hhorak@redhat.com>
55796         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55797         (xdr_mapname): Use YPMAXMAP as maxsize.
55798         (xdr_peername): Use YPMAXPEER as maxsize.
55799         (xdr_keydat): Use YPAXRECORD as maxsize.
55800         (xdr_valdat): Use YPMAXRECORD as maxsize.
55802 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55804         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55806         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55807         * csu/init-first.c: ... here.
55808         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55809         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55810         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55811         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55812         * sysdeps/i386/init-first.c: File removed.
55813         * sysdeps/sh/init-first.c: File removed.
55815 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55817         [BZ #14645]
55818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55819         if x * y might underflow to zero and z is zero.
55820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55822         * math/libm-test.inc (min_subnorm_value): New variable.
55823         (fma_test): Add more tests.
55824         (fma_test_towardzero): Likewise.
55825         (fma_test_downward): Likewise.
55826         (fma_test_upward): Likewise.
55827         (initialize): Set min_subnorm_value.
55829 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55831         [BZ #14638]
55832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55833         0 + 0.
55834         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55835         mode for addition resulting in exact zero.
55836         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55837         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55838         exact 0 + 0.
55839         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55840         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55841         * math/libm-test.inc (fma_test): Add more tests.
55842         (fma_test_towardzero): New function.
55843         (fma_test_downward): Likewise.
55844         (fma_test_upward): Likewise.
55845         (main): Call the new functions.
55847 2012-09-28  David S. Miller  <davem@davemloft.net>
55849         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55851 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55853         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55854         instead of SIGALRM.
55856         * sysdeps/gnu/_G_config.h: Moved to ...
55857         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55858         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55859         * sysdeps/generic/_G_config.h: ... here.
55861         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55863         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55865         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55866         Conditionalize target on [libnss_test1.so-version].
55868         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55870         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55871         (elfobjdir): Move out of conditionals.
55873         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55874         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55875         (__nss_lookup_function): Conditionalize label remove_from_tree on
55876         [!DO_STATIC_NSS || SHARED], matching its only use.
55878 2012-09-28  David S. Miller  <davem@davemloft.net>
55880         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55881         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55882         file.
55883         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55884         sysdep_routines.
55885         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55887         when HWCAP_SPARC_CRYPTO is present.
55889 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55891         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55893 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55895         [BZ #6530]
55896         * stdio-common/vfprintf.c (process_string_arg): Revert
55897         2000-07-22 change.
55899 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55901         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55902         for testcase.
55903         * stdio-common/tst-sprintf.c: Include <locale.h>
55904         (main): Test sprintf's handling of incomplete multibyte
55905         characters.
55907 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55909         * elf/dl-runtime.c (VERSYMIDX): Removed.
55910         * elf/dl-version.c (VERSYMIDX): Likewise.
55911         * elf/do-rel.h (VERSYMIDX): Likewise.
55912         (VALIDX): Likewise.
55913         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55914         * elf/rtld.c (VALIDX): Likewise.
55915         (ADDRIDX): Likewise.
55916         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55917         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55918         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55919         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55920         (VALIDX): Likewise.
55921         (ADDRIDX): Likewise.
55923 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55925         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55927 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55929         [BZ #11438]
55930         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55931         to global scope.
55932         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55933         addresses are in the same scope as 192.0.2/24.
55934         * posix/gai.conf: Document new scope table defaults.
55936 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55938         [BZ #5298]
55939         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55940         for ftell.  Compute offsets from write pointers instead.
55941         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55943 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55945         [BZ #14543]
55946         * libio/Makefile (tests): New test case tst-fseek.
55947         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55948         combination works in wide mode.
55949         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55950         state when the external buffer state changes.
55952 2012-09-27  David S. Miller  <davem@davemloft.net>
55954         [BZ #14376]
55955         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55956         pass reloc->r_addend in as the 'high' argument to
55957         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55961 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55963         * rt/tst-aio2.c: Include <pthread.h>.
55964         * rt/tst-aio3.c: Likewise.
55966 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55968         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55970 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55972         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55973         contents on [SHARED].
55975 2012-09-26  Marek Polacek  <polacek@redhat.com>
55977         [BZ #14530]
55978         [BZ #13741]
55979         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55980         for C++ and GCC <4.3 as well as for non GCC compilers.
55982 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55986 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55988         * Makefile.in (all, install): Declare with .PHONY.
55989         Reported by Michael Hope <michael.hope@linaro.org>.
55991 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55993         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55994         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55995         system header.
55996         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55997         Likewise.
55998         (sydep_routines): Add the new and the internal functions.
55999         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56000         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56002         (GLIBC_2.17): Add the new function.
56003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56004         (GLIBC_2.17): Likewise.
56005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56006         (GLIBC_2.17): Likewise.
56007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56008         (GLIBC_2.17): Likewise.
56009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56011 2012-09-25  Alan Modra  <amodra@gmail.com>
56013         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56014         Add release barrier before setting once_control to say
56015         initialisation is done.  Add hints on lwarx.  Use macro in
56016         place of isync.
56017         (clear_once_control): Add release barrier.
56019 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56021         [BZ #13629]
56022         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56023         specially.
56024         * math/s_clog10.c (__clog10): Likewise.
56025         * math/s_clog10f.c (__clog10f): Likewise.
56026         * math/s_clog10l.c (__clog10l): Likewise.
56027         * math/s_clogf.c (__clogf): Likewise.
56028         * math/s_clogl.c (__clogl): Likewise.
56029         * math/Makefile (libm-calls): Add x2y2m1.
56030         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56031         (__x2y2m1): Likewise.
56032         (__x2y2m1l): Likewise.
56033         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56034         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56035         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56036         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56037         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56038         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56039         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56040         * sysdeps/i386/fpu/libm-test-ulps: Update.
56041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56043         [BZ #14621]
56044         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56045         int as type of variable DEPTH.
56046         (glob): Use size_t instead of int as type of variables NEWCOUNT
56047         and OLD_PATHC.
56049 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56051         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56052         Add s_sincosf-sse2.
56053         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56054         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56055         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56056         macros for using routine as __sincosf_ia32.
56057         Use macro for function declaration and weak_alias.
56058         * sysdeps/i386/fpu/libm-test-ulps: Update.
56060         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56063         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56064         subnormal argument.
56065         * math/s_cexpf.c (__cexpf): Likewise.
56066         * math/s_csinf.c (__csinf): Likewise.
56067         * math/s_csinhf.c (__csinhf): Likewise.
56068         * math/s_ctanf.c (__ctanf): Likewise.
56069         * math/s_ctanhf.c (__ctanhf): Likewise.
56070         * math/s_ccosh.c (__ccoshf): Likewise.
56071         * math/s_cexp.c (__cexpl): Likewise.
56072         * math/s_csin.c (__csin): Likewise.
56073         * math/s_csinh.c (__csinh): Likewise.
56074         * math/s_ctan.c (__ctan): Likewise.
56075         * math/s_ctanh.c (ctanh): Likewise.
56076         * math/s_ccoshl.c (__ccoshl): Likewise.
56077         * math/s_cexpl.c (__cexpl): Likewise.
56078         * math/s_csinl.c (__csinl): Likewise.
56079         * math/s_csinhl.c (__csinhl): Likewise.
56080         * math/s_ctanl.c (__ctanl): Likewise.
56081         * math/s_ctanhl.c (__ctanhl): Likewise.
56083 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56085         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56086         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56087         (_IO_off_t): Define to __off_t, not _G_off_t.
56088         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56089         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56090         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56091         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56092         type of __dummy and __dummy2 fields.
56093         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56094         (_G_ssize_t): Likewise.
56095         (_G_off_t): Likewise.
56096         (_G_pid_t): Likewise.
56097         (_G_uid_t): Likewise.
56098         (_G_wchar_t): Likewise.
56099         (_G_wint_t): Likewise.
56100         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56101         (_G_ssize_t): Likewise.
56102         (_G_off_t): Likewise.
56103         (_G_pid_t): Likewise.
56104         (_G_uid_t): Likewise.
56105         (_G_wchar_t): Likewise.
56106         (_G_wint_t): Likewise.
56107         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56108         (_G_ssize_t): Likewise.
56109         (_G_off_t): Likewise.
56110         (_G_pid_t): Likewise.
56111         (_G_uid_t): Likewise.
56112         (_G_wchar_t): Likewise.
56113         (_G_wint_t): Likewise.
56115 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56117         * malloc/arena.c: Include malloc-sysdep.h.
56118         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56119         is sufficient to shrink the heap or an unmap is needed.
56120         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56121         new function check_may_shrink_heap.
56122         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56123         new function check_may_shrink_heap.
56125 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56127         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56128         comments.
56130 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56132         * catgets/test-gencat.sh: Add "set -e".
56133         * elf/tst-pathopt.sh: Likewise.
56134         * grp/tst_fgetgrent.sh: Likewise.
56135         * iconvdata/run-iconv-test.sh: Likewise.
56136         * intl/tst-gettext.sh: Likewise.
56137         * intl/tst-gettext2.sh: Likewise.
56138         * intl/tst-gettext4.sh: Likewise.
56139         * intl/tst-gettext6.sh: Likewise.
56140         * intl/tst-translit.sh: Likewise.
56141         * io/ftwtest-sh: Likewise.
56142         * libio/test-freopen.sh: Likewise.
56143         * malloc/tst-mtrace.sh: Likewise.
56144         * posix/globtest.sh: Likewise.
56145         * posix/tst-getconf.sh: Likewise.
56146         * posix/wordexp-tst.sh: Likewise.
56147         * stdio-common/tst-printf.sh: Likewise.
56148         * stdio-common/tst-unbputc.sh: Likewise.
56149         * stdlib/tst-fmtmsg.sh: Likewise.
56150         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56151         * catgets/Makefile: Do not specify -e option when running
56152         testsuite shell scripts.
56153         * elf/Makefile: Likewise.
56154         * grp/Makefile: Likewise.
56155         * iconvdata/Makefile: Likewise.
56156         * intl/Makefile: Likewise.
56157         * io/Makefile: Likewise.
56158         * libio/Makefile: Likewise.
56159         * malloc/Makefile: Likewise.
56160         * posix/Makefile: Likewise.
56161         * stdio-common/Makefile: Likewise.
56162         * stdlib/Makefile: Likewise.
56163         * sysdeps/x86_64/Makefile: Likewise.
56165         * io/ftwtest-sh: Add copyright header.
56166         * posix/globtest.sh: Likewise.
56167         * posix/tst-getconf.sh: Likewise.
56168         * posix/wordexp-tst.sh: Likewise.
56169         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56171 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56173         [BZ #13679]
56174         * Makeconfig (+link): Defined as $(+link-static) if
56175         $(build-shared) isn't yes.
56176         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56177         isn't yes.
56178         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56180         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56182         [BZ #14562]
56183         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56184         new chunk size with MALLOC_ALIGN_MASK.
56186 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56188         [BZ #5044]
56189         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56190         <rounding-mode.h>.
56191         (__printf_fphex): Determine rounding using get_rounding_mode and
56192         round_away.
56193         * stdio-common/tst-printf-round.c (struct hex_test): New
56194         structure.
56195         (hex_tests): New variable.
56196         (test_hex_in_one_mode): New function.
56197         (do_test): Also run tests for hex float output.
56199 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56201         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56202         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56203         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56204         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56205         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56206         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56207         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56208         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56210 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56212         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56213         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56214         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56215         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56217 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56219         [BZ #14579]
56220         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56221         mode only.
56222         * elf/tst-rtld-load-self.sh: New test.
56223         * elf/Makefile: Run it.
56225 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56227         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56228         (tst-writev-ENV): Remove.
56229         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56231 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56233         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56235 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56237         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56238         unconditional.
56239         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56240         Likewise.
56241         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56242         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56243         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56244         Likewise.
56246 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56248         [BZ #14587]
56249         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56250         * config.make.in (have-cpp-asm-debuginfo): Removed.
56251         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56252         * configure: Regenerated.
56254 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56256         [BZ #5044]
56257         * stdio-common/printf_fp.c: Include <stdbool.h> and
56258         <rounding-mode.h>.
56259         (___printf_fp): Determine rounding using get_rounding_mode and
56260         round_away.
56261         * stdio-common/tst-printf-round.c: New file.
56262         * stdio-common/Makefile (tests): Add tst-printf-round.
56263         (link-libm): New variable.
56264         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56266 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56268         [BZ #14576]
56269         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56270         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56271         Likewise.
56272         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56273         Likewise.
56275 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56277         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56278         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56279         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56280         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56282 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56284         [BZ #14518]
56285         * include/rounding-mode.h: New file.
56286         * sysdeps/generic/get-rounding-mode.h: Likewise.
56287         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56288         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56289         (MAX_VALUE): New macro.
56290         (MIN_VALUE): Likewise.
56291         (overflow_value): New function.
56292         (underflow_value): Likewise.
56293         (round_and_return): Use overflow_value and underflow_value to
56294         determine return values in overflow and underflow cases.  Use
56295         round_away to determine rounding depending on rounding mode.
56296         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56297         determine return values in overflow and underflow cases.
56298         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56299         (struct test_results): New structure.
56300         (struct test): Use struct test_results to store expected results
56301         for all rounding modes.
56302         (TEST): Include expected results for all rounding modes.
56303         (test_in_one_mode): New function.
56304         (do_test): Use test_in_one_mode to compute and check results.
56305         Check results for all rounding modes.
56306         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56307         $(link-libm).
56309 2012-12-09  Allan McRae  <allan@archlinux.org>
56311         * sysdeps/i386/fpu/libm-test-ulps: Update
56313 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56315         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56316         (_G_int32_t): Likewise.
56317         (_G_uint16_t): Likewise.
56318         (_G_uint32_t): Likewise.
56319         (_G_HAVE_BOOL): Likewise.
56320         (_G_HAVE_ATEXIT): Likewise.
56321         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56322         (_G_HAVE_IO_FILE_OPEN): Likewise.
56323         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56324         (_G_int32_t): Likewise.
56325         (_G_uint16_t): Likewise.
56326         (_G_uint32_t): Likewise.
56327         (_G_HAVE_BOOL): Likewise.
56328         (_G_HAVE_ATEXIT): Likewise.
56329         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56330         (_G_HAVE_IO_FILE_OPEN): Likewise.
56331         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56332         (_G_int32_t): Likewise.
56333         (_G_uint16_t): Likewise.
56334         (_G_uint32_t): Likewise.
56335         (_G_HAVE_BOOL): Likewise.
56336         (_G_HAVE_ATEXIT): Likewise.
56337         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56338         (_G_HAVE_IO_FILE_OPEN): Likewise.
56340 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56342         * csu/libc-tls.c: Update copyright years.
56344 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56346         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56347         [!_G_USING_THUNKS]: Remove conditional code.
56348         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56349         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56351         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56352         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56353         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56354         (_G_VTABLE_LABEL_PREFIX): Likewise.
56355         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56356         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56357         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56358         (_G_VTABLE_LABEL_PREFIX): Likewise.
56359         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56360         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56361         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56362         (_G_VTABLE_LABEL_PREFIX): Likewise.
56363         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56365 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56367         * libio/Makefile: Include ../Makeconfig before tests.
56368         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56369         only if $(build-shared) is yes.
56371         * iconv/gconv_db.c: Update copyright years.
56373 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56375         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56376         unwind info if defined PIC. Fix special cases description.
56377         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56379         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56380         DP_HI_MASK entry.
56381         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56383 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56385         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56387         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56388         is NULL.
56390         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56391         (LDLIBS-tst-chk4): This.
56392         (LDFLAGS-tst-chk5): Renamed to ...
56393         (LDLIBS-tst-chk5): This.
56394         (LDFLAGS-tst-chk6): Renamed to ...
56395         (LDLIBS-tst-chk6): This.
56396         (LDFLAGS-tst-lfschk4): Renamed to ...
56397         (LDLIBS-tst-lfschk4): This.
56398         (LDFLAGS-tst-lfschk5): Renamed to ...
56399         (LDLIBS-tst-lfschk5): This.
56400         (LDFLAGS-tst-lfschk6): Renamed to ...
56401         (LDLIBS-tst-lfschk6): This.
56403         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56404         on $(common-objpfx)soversions.mk.
56406 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56408         [BZ #10014]
56409         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56410         example host name.
56412 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56414         * malloc/arena.c (arena_get_retry): New function that gets
56415         another arena for the caller to try its request on.
56416         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56417         current arena cannot fulfill the request.
56418         (__libc_memalign): Likewise.
56419         (__libc_memalign): Likewise.
56420         (__libc_pvalloc): Likewise.
56421         (__libc_calloc): Likewise.
56423 2012-09-05  John Tobey  <john.tobey@gmail.com>
56425         [BZ #13542]
56426         * manual/arith.texi (Operations on Complex): Fix description
56427         of carg branch cut.
56429 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56431         [BZ #10014]
56432         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56433         host name.
56435         [BZ #10038]
56436         * manual/memory.texi (Memory): Make order of menu items match
56437         order of sections.
56439 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56441         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56442         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56443         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56445 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56447         * csu/libc-tls.c (static_dtv): Renamed to ...
56448         (_dl_static_dtv): This.  Make it global.
56449         (_dl_initial_dtv): Removed.
56450         (__libc_setup_tls): Updated.
56451         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56452         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56453         DL_INITIAL_DTV.
56455 2012-09-06  Petr Machata  <pmachata@redhat.com>
56457         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56458         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56459         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56460         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56462 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56464         [BZ #14545]
56465         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56466         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56467         freeing dtv[-1].
56469 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56471         [BZ #14544]
56472         * Makeconfig (link-static-before-libc): Replace $(+prector)
56473         with $(+prectorT).
56474         (link-static-after-libc): Replace $(+postctor) with
56475         $(+postctorT).
56476         (link-bounded): Replace $(+prector)/$(+postctor) with
56477         $(+prectorT)/$(+postctorT).
56478         (+prectorT): New macro.
56479         (+postctorT): Likewise.
56481 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56483         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56484         (round_str): Handle values above the maximum for IBM long double
56485         as inexact.
56486         * stdlib/tst-strtod-round.c (tests): Regenerated.
56488 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56490         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56491         assembler flag.
56492         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56493         zarch_nohighgprs around the zarch optimized routines.
56494         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56495         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56497         for zarch.
56499 2012-09-05  David S. Miller  <davem@davemloft.net>
56501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56503         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56504         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56505         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56506         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56507         entries.
56509 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56511         * malloc/arena.c: Fold copyright years.
56512         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56514 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56516         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56518 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56520         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56522 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56524         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56525         change internal state upon failure.
56527 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56529         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56530         * malloc/memusage.c (mmap): Likewise.
56531         (mmap64, mremap): Likewise.  Adjust name in comment.
56533 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56535         * libio/fileops.c: Fix typos in comments.
56536         * libio/oldfileops.c: Likewise.
56537         * libio/wfileops.c: Likewise.
56539 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56541         [BZ #1349]
56542         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56543         (tst-malloc-usable-ENV): Set environment for test case.
56544         * malloc/hooks.c (malloc_check_get_size): New function to get
56545         requested size.
56546         * malloc/malloc.c (musable): Use malloc_check_get_size.
56547         * malloc/tst-malloc-usable.c: New test case.
56549 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56551         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56553 2012-09-05  Allan McRae  <allan@archlinux.org>
56555         [BZ #13966]
56556         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56557         determine header location.
56558         * configure: Regenerated.
56560 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56562         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56563         float format.
56564         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56565         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56566         format.
56567         (test): Regenerate.
56569 2012-09-04  David S. Miller  <davem@davemloft.net>
56571         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56572         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56573         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56575 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56577         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56578         failures.
56580         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56582 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56584         [BZ #9914]
56585         * libio/iogetdelim.c: Include <limits.h>.
56586         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56587         + len + 1 would overflow.
56589 2012-09-03  Andreas Jaeger  <aj@suse.de>
56591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56592         * sysdeps/i386/fpu/libm-test-ulps: Update.
56594 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56596         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56597         Add s_sinf-sse2, s_conf-sse2.
56599         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56600         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56601         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56602         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56604         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56605         for using routine as __sinf_ia32.
56606         Use macro for function declaration and weak_alias.
56607         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56608         for using routine as __cosf_ia32.
56609         Use macro for function declaration and weak_alias.
56611         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56612         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56614         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56615         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56618         * math/libm-test.inc (cos_test): Add more test cases.
56619         (sin_test): Likewise.
56620         (sincos_test): Likewise.
56622 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56624         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56625         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56626         hidden.
56627         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56629 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56631         [BZ #14538]
56632         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56633         first element of the GOT.
56634         (elf_machine_load_address): Return the difference between
56635         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56637 2012-09-01  Allan McRae  <allan@archlinux.org>
56639         [BZ #13412]
56640         * configure.in (AWK): Require gawk version 3.0 or later.
56641         * configure: Regenerated.
56643 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56645         * sysdeps/unix/sysv/linux/kernel-features.h
56646         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56648         [__NR_clock_getres]: Make code unconditional.
56649         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56650         (clock_getcpuclockid): Remove code left unreachable by removal of
56651         conditionals.
56652         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56653         code unconditional.
56654         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56655         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56656         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56657         Make code unconditional.
56658         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56659         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56660         * sysdeps/unix/sysv/linux/clock_settime.c
56661         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56662         conditional code.
56663         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56664         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56666 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56668         [BZ #14476]
56669         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56670         scripts/test-installation.pl.
56672         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56673         and $ld_so_version if it is set.
56675 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56677         [BZ #14516]
56678         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56679         failure if reading from procfs failed.
56680         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56682 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56684         * sysdeps/unix/sysv/linux/kernel-features.h
56685         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56686         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56687         Remove conditional code.
56688         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56689         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56690         Remove conditional code.
56691         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56692         * sysdeps/unix/sysv/linux/i386/fxstat.c
56693         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56694         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56695         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56696         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56697         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56698         * sysdeps/unix/sysv/linux/i386/lxstat.c
56699         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56700         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56701         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56702         Remove conditional code.
56703         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56704         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56705         Remove conditional code.
56706         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56707         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56708         <kernel-features.h>.
56709         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56710         Remove.
56711         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56712         Remove conditional code.
56713         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56714         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56715         Remove conditional.
56717 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56719         [BZ #5400]
56720         * NEWS: Add fixed bug number.
56722 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56724         [BZ #14519]
56725         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56726         underflowing exponent in case of negative sign.
56727         * stdlib/tst-strtod-round-data: Add more tests.
56728         * stdlib/tst-strtod-round.c (tests): Regenerated.
56730         [BZ #3479]
56731         * stdlib/strtod_l.c (NDIG): Remove.
56732         (HEXNDIG): Likewise.
56733         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56734         smallest representable value.
56735         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56736         lie within an exact representation of 1/2 ulp of the result.
56737         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56738         unconditionally.
56739         (TENS_P9_IDX): Define unconditionally.
56740         (TENS_P9_SIZE): Likewise.
56741         (TENS_P10_IDX): Likewise.
56742         (TENS_P10_SIZE): Likewise.
56743         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56744         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56745         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56746         entries for 10^2^13 and 10^2^14.
56747         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56748         (TENS_P13_IDX): Define.
56749         (TENS_P13_SIZE): Likewise.
56750         (TENS_P14_IDX): Likewise.
56751         (TENS_P14_SIZE): Likewise.
56752         (_fpioconst_pow10): Change array size to
56753         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56754         unconditional.
56755         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56756         1024]: Add entries for 10^2^13 and 10^2^14.
56757         [LAST_POW10 > _LAST_POW10]: Remove #error.
56758         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56759         (_fpioconst_pow10): Change array size to
56760         FPIOCONST_POW10_ARRAY_SIZE.
56761         * stdlib/gen-fpioconst.c: New file.
56762         * stdlib/gen-tst-strtod-round.c: Likewise.
56763         * stdlib/tst-strtod-round-data: Likewise.
56764         * stdlib/tst-strtod-round.c: Likewise.
56765         * stdlib/Makefile (tests): Add tst-strtod-round.
56767         [BZ #14459]
56768         * stdlib/strtod_l.c: Include <stdint.h>.
56769         (NDEBUG): Do not define.
56770         (round_and_return): Change EXPONENT parameter to type intmax_t.
56771         Rearrange calculations to avoid internal overflow possibilities.
56772         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56773         Rearrange calculations to avoid internal overflow possibilities.
56774         Assert that number fits inside MPNSIZE limbs.
56775         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56776         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56777         calculations and add assertions to avoid internal overflow
56778         possibilities.  Add casts to avoid signed/unsigned operations.
56779         * stdlib/tst-strtod-overflow.c: New file.
56780         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56782 2012-08-25  Marek Polacek  <polacek@redhat.com>
56784         * time/time.h: Fix some typos in comments.
56786 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56788         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56789         * posix/tst-rfc3484-2.c: Likewise.
56790         * posix/tst-rfc3484-3.c: Likewise.
56792 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56794         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56795         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56797 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56799         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56800         #include of fxstatat64.c.
56802 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56804         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56805         * shadow/getspent_r.c: Likewise.
56806         * shadow/getspnam.c: Likewise.
56807         * shadow/getspnam_r.c: Likewise.
56808         * gshadow/getsgent.c: Likewise.
56809         * gshadow/getsgent_r.c: Likewise.
56810         * gshadow/getsgnam.c: Likewise.
56811         * gshadow/getsgnam_r.c: Likewise.
56812         * inet/getnetbyad.c: Likewise.
56813         * inet/getnetbyad_r.c: Likewise.
56814         * inet/getnetbynm.c: Likewise.
56815         * inet/getnetbynm_r.c: Likewise.
56816         * inet/getnetent.c: Likewise.
56817         * inet/getnetent_r.c: Likewise.
56818         * inet/getproto.c: Likewise.
56819         * inet/getproto_r.c: Likewise.
56820         * inet/getprtent.c: Likewise.
56821         * inet/getprtent_r.c: Likewise.
56822         * inet/getprtname.c: Likewise.
56823         * inet/getprtname_r.c: Likewise.
56824         * inet/getrpcbyname.c: Likewise.
56825         * inet/getrpcbyname_r.c: Likewise.
56826         * inet/getrpcbynumber.c: Likewise.
56827         * inet/getrpcbynumber_r.c: Likewise.
56828         * inet/getrpcent.c: Likewise.
56829         * inet/getrpcent_r.c: Likewise.
56830         * inet/getaliasent.c: Likewise.
56831         * inet/getaliasent_r.c: Likewise.
56832         * inet/getaliasname.c: Likewise.
56833         * inet/getaliasname_r.c: Likewise.
56834         * nscd/getgrgid_r.c: Likewise.
56835         * nscd/getgrnam_r.c: Likewise.
56836         * nscd/gethstbyad_r.c: Likewise.
56837         * nscd/gethstbynm3_r.c: Likewise.
56838         * nscd/getpwnam_r.c: Likewise.
56839         * nscd/getpwuid_r.c: Likewise.
56840         * nscd/getsrvbynm_r.c: Likewise.
56841         * nscd/getsrvbypt_r.c: Likewise.
56842         * nscd/gai.c: Likewise.
56844         * configure.in (build_nscd): New substituted variable, set
56845         by --disable-build-nscd and defaults to $use_nscd.
56846         * configure: Regenerated.
56847         * config.make.in (build-nscd): New substituted variable.
56848         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56849         Change conditional to require [$(build-nscd) = yes] as well.
56850         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56852         [BZ# 13696]
56853         * configure.in (use_nscd): New substituted variable, set by
56854         --disable-nscd.  If enabled, define USE_NSCD.
56855         * configure: Regenerated.
56856         * config.h.in: Add USE_NSCD.
56857         * config.make.in (use-nscd): New substituted variable.
56858         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56859         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56860         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56861         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56862         (CFLAGS-getgrnam_r.c): Likewise.
56863         (CFLAGS-initgroups.c): Likewise.
56864         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56865         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56866         Variables removed.
56867         * inet/getnetgrent_r.c
56868         (nscd_setnetgrent): New function, broken out of ...
56869         (setnetgrent): ... here.  Call it.
56870         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56871         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56872         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56873         * nscd/Makefile (routines, aux): Move definitions after include of
56874         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56875         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56876         Conditionalize on [USE_NSCD].
56877         (is_nscd, nscd_init_cb): Likewise.
56878         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56879         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56880         * nss/nss_db/db-init.c: Likewise.
56881         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56882         [USE_NSCD].
56883         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56884         (make_request): Use it.
56885         (cache_valid_p): New function.
56886         (__check_pf): Use it.
56887         * NEWS: Add item for --disable-nscd.
56889 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56891         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56892         to support sed >= 4.2.1-20-ga9bf076.
56893         * configure: Regenerated.
56895 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56897         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56898         Conditionalize whole body on [IREL].
56900 2012-08-22  Jeff Law <law@redhat.com>
56902         [BZ #14505]
56903         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56904         if the family is PF_UNSPEC.
56906 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56908         * Makerules (lib-version): Rename from V.
56909         (install-lib-nosubdir): Change V to lib-version.
56911 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56913         [BZ #14252]
56914         * powerpc32/power6/wcschr.c: New file.
56915         * powerpc32/power6/wcscpy.c: New file.
56916         * powerpc32/power6/wcsrchr.c: New file.
56917         * powerpc64/power6/wcschr.c: New file.
56918         * powerpc64/power6/wcscpy.c: New file.
56919         * powerpc64/power6/wcsrchr.c: New file.
56921 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56923         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56924         (two_way_short_needle): Use it.
56925         * string/strstr.c (AVAILABLE1_USES_J): Define.
56926         * string/strcasestr.c: Likewise.
56928         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56929         array references.
56930         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56932         [BZ #11607]
56933         * NEWS: Add an entry.
56934         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56935         define their defaults.
56936         (two_way_short_needle): Detect end-of-string on-the-fly.
56937         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56938         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56939         * string/bug-strcasestr1.c: New test.
56940         * string/Makefile: Run it.
56942 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56944         [BZ #11607]
56945         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56946         the first character.
56948 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56950         * csu/elf-init.c (__libc_csu_irel): Function removed.
56951         * csu/libc-start.c (apply_irel): New function.
56952         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56954 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56956         * sysdeps/unix/sysv/linux/kernel-features.h
56957         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56958         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56959         <kernel-features.h>.
56960         [__NR_fadvise64_64]: Make code unconditional.
56961         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56962         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56963         !__NR_fadvise64_64)]: Likewise.
56964         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56965         !__NR_fadvise64_64))]: Likewise.
56966         [__NR_fadvise64]: Make code unconditional.
56967         [!__NR_fadvise64]: Remove conditional code.
56968         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56969         <kernel-features.h>.
56970         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56971         unconditional.
56972         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56973         conditional code.
56974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56975         not include <kernel-features.h>.
56976         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56977         unconditional.
56978         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56979         conditional code.
56980         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56981         include <kernel-features.h>.
56982         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56983         unconditional.
56984         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56985         conditional code.
56987 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56989         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56990         slight instruction rearrangements per scrollpipe analysis.
56991         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56993 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56995         * manual/syslog.texi (syslog; vsyslog, closelog):
56996         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56997         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56999         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57000         DSOCAPS to match condition on defining it.
57002 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57004         * sysdeps/unix/sysv/linux/kernel-features.h
57005         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57007         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57008         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57010         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57011         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57013         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57014         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57016         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57017         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57019         * sysdeps/unix/sysv/linux/kernel-features.h
57020         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57021         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57022         unconditional.
57023         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57024         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57025         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57026         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57027         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57028         Make code unconditional.
57029         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57030         (__mmap64) [!__NR_mmap2]: Likewise.
57031         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57032         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57033         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57034         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57035         [__NR_mmap2]: Make code unconditional.
57036         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57037         (__mmap64) [!__NR_mmap2]: Likewise.
57039 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57041         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57043 2012-08-18  Andreas Jaeger  <aj@suse.de>
57045         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57047 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57049         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57050         * include/unistd.h (__have_sock_cloexec): Likewise.
57051         (__have_pipe2): Likewise.
57052         (__have_dup3): Likewise.
57054 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57056         [BZ #9685]
57057         * include/unistd.h (__have_pipe2): Change define into an extern int.
57058         (__have_dup3): Likewise.
57059         * socket/have_sock_cloexec.c: Include fcntl.h.
57060         (__have_pipe2): New variable.
57061         (__have_dup3): Likewise.
57063 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57065         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57067 2012-08-17  Marek Polacek  <polacek@redhat.com>
57069         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57070         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57072 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57074         * configure.in: Add AC_SUBST for sysheaders.
57075         * configure: Regenerated.
57076         * config.make.in (sysheaders): New substituted variable.
57078         * sysdeps/unix/mkfifo.c: Moved ...
57079         * sysdeps/posix/mkfifo.c: ... here.
57080         * sysdeps/unix/mkfifoat.c: Moved ...
57081         * sysdeps/posix/mkfifoat.c: ... here.
57083         * sysdeps/unix/utime.c: Moved ...
57084         * sysdeps/posix/utime.c: ... here.
57086         * sysdeps/unix/time.c: Moved ...
57087         * sysdeps/posix/time.c: ... here.
57088         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57089         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57091         * sysdeps/unix/nice.c: Moved ...
57092         * sysdeps/posix/nice.c: ... here.
57094         * sysdeps/unix/alarm.c: Moved ...
57095         * sysdeps/posix/alarm.c: ... here.
57097         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57099 2012-08-17  Jeff Law <law@redhat.com>
57101         * intl/Makefile (codeset_mo): New variable.
57102         ($(codeset_mo)): New target.
57103         (tst-codeset.out): Depend on that.  Remove explicit rule.
57104         (tst-gettext3.out, tst-gettext5.out): Likewise.
57105         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57106         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57107         * intl/tst-codeset.sh: Remove.
57108         * intl/tst-gettext3.sh: Likewise.
57109         * intl/tst-gettext5.sh: Likewise.
57111 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57113         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57114         * sysdeps/unix/syscalls.list: ... here.
57116         * sysdeps/posix/getaddrinfo.c
57117         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57118         (gaiconf_init, gaiconf_reload): Use them.
57119         [!_STATBUF_ST_NSEC]
57120         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57121         Define using time_t rather than struct timespec.
57123         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57124         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57125         Macros removed.
57126         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57127         [!NO_THREADS].
57128         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57129         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57130         Likewise.
57132         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57133         __libc_cleanup_push argument.
57135         * bits/param.h: New file.
57136         * misc/sys/param.h: New file.
57137         * include/sys/param.h: New file.
57138         * misc/Makefile (headers): Add bits/param.h.
57139         * sysdeps/generic/sys/param.h: File removed.
57140         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57141         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57142         * sysdeps/mach/hurd/bits/param.h: New file.
57143         * sysdeps/mach/hurd/sys/param.h: File removed.
57145         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57146         last change.
57148         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57149         [_IO_MTSAFE_IO].
57150         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57151         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57152         New macros.
57154         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57155         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57156         rather than -D_IO_MTSAFE_IO conditionally.
57157         * stdio-common/Makefile (CPPFLAGS): Likewise.
57158         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57159         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57160         Use $(libio-mtsafe).
57161         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57162         of -D_IO_MTSAFE_IO.
57163         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57164         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57165         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57166         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57167         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57168         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57169         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57170         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57171         (CFLAGS-fread_u_chk.c): Likewise.
57172         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57173         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57174         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57175         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57176         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57177         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57178         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57179         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57180         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57182         * libio/Makefile: Test [$(libc-reentrant) = yes]
57183         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57185         * Makeconfig
57186         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57187         * sysdeps/pthread/configure: File removed.
57188         * sysdeps/pthread/Makeconfig: New file.
57189         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57190         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57192 2012-08-16  Gary Benson  <gbenson@redhat.com>
57194         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57195         unmapping the first object in a namespace.
57197 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57199         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57200         (__internal_setnetgrent): ... this.  Add internal_function to
57201         definition.  Add libc_hidden_def.
57202         (setnetgrent): Update caller.
57203         (internal_endnetgrent): Renamed to ...
57204         (__internal_endnetgrent): ... this.  Add internal_function to
57205         definition.  Add libc_hidden_def.
57206         (endnetgrent): Update caller.
57207         (internal_getnetgrent_r): Renamed to ...
57208         (__internal_getnetgrent_r): ... this.  Add internal_function to
57209         definition.  Add libc_hidden_def.
57210         (__getnetgrent_r): Update caller.
57211         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57213 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57215         * stdlib/longlong.h: Update from GCC.
57217 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57219         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57220         on _QL, which is set by umul_ppmm but never used.
57221         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57222         variables, which are set by GMP macros but never used.
57223         * stdio-common/_itowa.c (_itowa): Likewise.
57224         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57225         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57227 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57229         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57230         struct La_sh_regs is not constant.
57231         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57232         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57233         and struct La_sparc64_regs are not constant.
57235 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57237         * sysdeps/unix/sysv/linux/kernel-features.h
57238         (__ASSUME_POSIX_TIMERS): Remove.
57239         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57240         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57241         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57242         Make code unconditional.
57243         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57244         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57245         Make code unconditional.
57246         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57247         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57248         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57249         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57250         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57251         Make code unconditional.
57252         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57253         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57254         (__libc_missing_posix_timers): Remove.
57256 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57258         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57259         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57261         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57263         * elf/dl-sym.c: Include <stdlib.h>.
57265         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57266         constants, which avoids warnings in 32-bit builds.
57268         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57269         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57271         * misc/lseek.c: File moved to ...
57272         * io/lseek.c: ... here.
57274         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57276         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57277         shifting LEN more than 31 bits at once.
57279 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57281         [BZ #14195]
57282         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57283         segmentation fault for a case of two empty input strings.
57284         * string/test-strncasecmp.c (check1): Renamed to...
57285         (bz12205): ...this.
57286         (bz14195): Add new testcase for two empty input strings and N > 0.
57287         (test_main): Call new testcase, adapt for renamed function.
57289 2012-08-15  Andreas Jaeger  <aj@suse.de>
57291         [BZ #14090]
57292         * crypt/md5test2.c: New test, based on test supplied by Serge
57293         Belyshev <belyshev@depni.sinp.msu.ru>.
57294         * crypt/Makefile (xtests): Add md5test-giant..
57295         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57297 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57299         [BZ #14090]
57300         * crypt/md5.c (md5_process_block): Don't assume the buffer
57301         length is less than 2**32.
57302         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57303         length is less than 2**64.
57305 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57307         * string/str-two-way.h: Include <sys/param.h>.
57308         (MAX): Macro removed.
57310         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57311         Move #define and #undef of memmove to just before and after
57312         including <string.h>.
57314         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57315         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57316         and after including <string.h>.  Move declarations of
57317         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57318         to before #include "string/memmove.c".
57320         * include/dirent.h: Declare __getdirentries.
57322         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57323         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57325 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57327         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57328         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57329         * sysdeps/i386/configure: Regenerated.
57330         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57331         STABS_CURRENT_FILE, and STABS_FUN.
57332         (END): Remove call to STABS_FUN_END.
57333         (STABS_CURRENT_FILE1): Delete.
57334         (STABS_CURRENT_FILE): Likewise.
57335         (STABS_FUN): Likewise.
57336         (STABS_FUN_END): Likewise.
57337         (STABS_FUN2): Likewise.
57338         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57339         * sysdeps/x86_64/configure: Regenerated.
57341 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57343         * elf/dl-open.c: Include <atomic.h>.
57344         * elf/dl-lookup.c: Likewise.
57346 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57348         * sysdeps/unix/sysv/linux/kernel-features.h
57349         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57350         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57351         unconditionally.
57352         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57353         unconditionally.
57354         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57355         condition on __ASSUME_CLONE_THREAD_FLAGS.
57357 2012-08-14  Andreas Jaeger  <aj@suse.de>
57359         * sysdeps/i386/fpu/libm-test-ulps: Update.
57361 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57363         * include/atomic.h (atomic_exchange_and_add): Split into ...
57364         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57365         New atomic macros.
57367 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57371 2012-08-13  Jeff Law <law@redhat.com>
57373         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57374         null byte in the output string.
57376 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57378         * sysdeps/unix/sysv/linux/kernel-features.h
57379         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57380         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57381         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57382         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57383         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57384         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57385         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57387 2012-08-09  Jeff Law <law@redhat.com>
57389         [BZ #13939]
57390         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57391         When avoid_arena is set, don't retry in the that arena.  Pick the
57392         next one, whatever it might be.
57393         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57394         (arena_lock): Pass in new parameter to arena_get2.
57395         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57396         arena_get2.
57397         (__libc_malloc): Unify retrying after main arena failure with
57398         __libc_memalign version.
57399         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57401 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57403         [BZ #14166]
57404         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57405         to __redirect_strstr.
57406         (__strstr_sse42): Use typeof __redirect_strstr.
57407         (__strstr_ia32): Likewise.
57408         (__libc_strstr): New prototype.
57409         (strstr): Renamed to ...
57410         (__libc_strstr): This.
57411         (strstr): New strong alias of __libc_strstr.
57412         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57413         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57414         __redirect_time.
57415         Include <time.h>.
57416         (__libc_time): New prototype.
57417         (time_ifunc): Replace time with __libc_time.
57418         (time): New strong alias and hidden definition of __libc_time.
57419         (__GI_time): Remove strong alias.
57420         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57421         Include <stddef.h>.
57422         (memmove): Redefined to __redirect_memmove.
57423         (__memmove_sse2): Use typeof __redirect_memmove.
57424         (__memmove_ssse3): Likewise.
57425         (__memmove_ssse3_back): Likewise.
57426         (__libc_memmove): New prototype.
57427         (memmove): Renamed to ...
57428         (__libc_memmove): This.
57429         (memmove): New strong alias of __libc_memmove.
57431 2012-08-08  Mark Salter  <msalter@redhat.com>
57433         * elf/elf.h
57434         (R_MN10300_TLS_GD): Define.
57435         (R_MN10300_TLS_LD): Likewise.
57436         (R_MN10300_TLS_LDO): Likewise.
57437         (R_MN10300_TLS_GOTIE): Likewise.
57438         (R_MN10300_TLS_IE): Likewise.
57439         (R_MN10300_TLS_LE): Likewise.
57440         (R_MN10300_TLS_DTPMOD): Likewise.
57441         (R_MN10300_TLS_DTPOFF): Likewise.
57442         (R_MN10300_TLS_TPOFF): Likewise.
57443         (R_MN10300_SYM_DIFF): Likewise.
57444         (R_MN10300_ALIGN): Likewise.
57445         (R_MN10300_NUM): Update.
57447 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57450         Remove.
57452 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57454         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57456         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57457         sysdeps/unix -> sysdeps/posix move.
57458         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57460 2012-08-07      Allan McRae     <allan@archlinux.org>
57462         [BZ #14303]
57463         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57464         (SUNOS_CPP): Likewise.
57465         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57466         not found.
57467         (open_input): Call CPP using execvp.
57469 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57471         * sysdeps/unix/sysv/linux/kernel-features.h
57472         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57473         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57474         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57475         (__ASSUME_WAITID_SYSCALL): Likewise.
57476         * sysdeps/unix/sysv/linux/dl-execstack.c
57477         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57478         code unconditional.
57479         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57480         conditional code.
57481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57482         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57483         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57484         code.
57485         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57486         unconditional.
57487         [__ASSUME_WAITID_SYSCALL]: Likewise.
57488         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57490 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57492         * sysdeps/unix/closedir.c: Renamed to ...
57493         * sysdeps/posix/closedir.c: ... here.
57494         * sysdeps/unix/dirfd.c: Renamed to ...
57495         * sysdeps/posix/dirfd.c: ... here.
57496         * sysdeps/unix/dirstream.h: Renamed to ...
57497         * sysdeps/posix/dirstream.h: ... here.
57498         * sysdeps/unix/fdopendir.c: Renamed to ...
57499         * sysdeps/posix/fdopendir.c: ... here.
57500         * sysdeps/unix/opendir.c: Renamed to ...
57501         * sysdeps/posix/opendir.c: ... here.
57502         * sysdeps/unix/readdir.c: Renamed to ...
57503         * sysdeps/posix/readdir.c: ... here.
57504         * sysdeps/unix/readdir_r.c: Renamed to ...
57505         * sysdeps/posix/readdir_r.c: ... here.
57506         * sysdeps/unix/rewinddir.c: Renamed to ...
57507         * sysdeps/posix/rewinddir.c: ... here.
57508         * sysdeps/unix/seekdir.c: Renamed to ...
57509         * sysdeps/posix/seekdir.c: ... here.
57510         * sysdeps/unix/telldir.c: Renamed to ...
57511         * sysdeps/posix/telldir.c: ... here.
57512         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57513         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57514         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57515         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57517         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57518         * bits/fcntl.h: ... here.
57520         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57521         not 0.
57522         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57523         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57524         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57525         (struct flock): Move l_start, l_len to the beginning.
57526         Use __pid_t for l_pid.
57527         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57528         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57529         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57530         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57531         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57532         [__USE_LARGEFILE64] (struct flock64): New type.
57533         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57535         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57536         * bits/dirent.h: ... here.
57538         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57539         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57541 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57543         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57544         Change from 2.6.0 to 2.6.16.
57545         * sysdeps/unix/sysv/linux/configure: Regenerated.
57546         * sysdeps/unix/sysv/linux/kernel-features.h
57547         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57548         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57549         version.
57550         (__ASSUME_UTIMES): Likewise.
57551         (__ASSUME_CLONE_STOPPED): Remove.
57552         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57553         architectures, not kernel version.
57554         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57555         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57556         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57557         (__ASSUME_WAITID_SYSCALL): Likewise.
57558         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57559         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57560         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57561         refer to older versions.
57563 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57565         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57566         Define alphasort64 as an alias.
57567         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57568         Define versionsort64 as an alias.
57569         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57570         Define scandir64 as an alias.
57571         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57572         Define scandirat64 as an alias.
57573         * dirent/alphasort64.c (alphasort64):
57574         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57575         * dirent/versionsort64.c: Likewise.
57576         * dirent/scandir64.c: Likewise.
57577         * dirent/scandirat64.c: Likewise.
57578         * sysdeps/wordsize-64/alphasort.c: File removed.
57579         * sysdeps/wordsize-64/alphasort64.c: File removed.
57580         * sysdeps/wordsize-64/scandir.c: File removed.
57581         * sysdeps/wordsize-64/scandir64.c: File removed.
57582         * sysdeps/wordsize-64/scandirat.c: File removed.
57583         * sysdeps/wordsize-64/scandirat64.c: File removed.
57584         * sysdeps/wordsize-64/versionsort.c: File removed.
57585         * sysdeps/wordsize-64/versionsort64.c: File removed.
57586         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57587         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57588         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57589         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57590         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57591         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57592         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57593         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57595         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57596         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57597         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57598         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57599         [defined __arch64__ || defined __sparcv9]
57600         (__INO_T_MATCHES_INO64_T): New macro.
57601         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57602         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57603         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57604         * sysdeps/unix/sysv/linux/bits/dirent.h
57605         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57606         (_DIRENT_MATCHES_DIRENT64): New macro.
57608         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57609         Define lockf64 as an alias.
57610         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57611         Define fseeko64 as an alias.
57612         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57613         Define ftello64 as an alias.
57614         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57615         Define _IO_fgetpos64 and fgetpos64 as aliases.
57616         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57617         Define _IO_fsetpos64 and fsetpos64 as aliases.
57618         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57619         Conditionalize body on this.
57620         * libio/fseeko64.c: Likewise.
57621         * libio/ftello64.c: Likewise.
57622         * libio/iofgetpos64.c: Likewise.
57623         * libio/iofsetpos64.c: Likewise.
57624         * sysdeps/wordsize-64/lockf.c: File removed.
57625         * sysdeps/wordsize-64/lockf64.c: File removed.
57626         * sysdeps/wordsize-64/fseeko.c: File removed.
57627         * sysdeps/wordsize-64/fseeko64.c: File removed.
57628         * sysdeps/wordsize-64/ftello.c: File removed.
57629         * sysdeps/wordsize-64/ftello64.c: File removed.
57630         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57631         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57632         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57633         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57634         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57635         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57636         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57637         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57638         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57639         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57640         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57641         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57642         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57643         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57645         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57646         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57647         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57649         [defined __arch64__ || defined __sparcv9]
57650         (__OFF_T_MATCHES_OFF64_T): New macro.
57651         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57652         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57654         (__OFF_T_MATCHES_OFF64_T): New macro.
57656 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57658         * stdlib/secure-getenv.c (__secure_getenv): Replace
57659         GLIBC_2_16 with GLIBC_2_17.
57661 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57663         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57664         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57666 2012-08-03  David S. Miller  <davem@davemloft.net>
57668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57670 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57672         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57673         Remove.
57674         (__ASSUME_CORRECT_SI_PID): Likewise.
57675         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57676         (__ASSUME_TMPFS_NAME): Likewise.
57677         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57678         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57679         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57680         (HAVE_AUX_SECURE): Make definition unconditional.
57681         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57682         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57684 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57686         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57687         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57688         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57689         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57690         __eloop_threshold instead of SYMLOOP_MAX.
57692         * sysdeps/generic/eloop-threshold.h: New file.
57693         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57694         of MAXSYMLINKS.
57695         * elf/chroot_canon.c (chroot_canon): Likewise.
57697 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57699         [BZ #13717]
57700         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57701         Change to 2.6.0 everywhere.
57702         * sysdeps/unix/sysv/linux/configure: Regenerated.
57703         * sysdeps/unix/sysv/linux/kernel-features.h
57704         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57705         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57706         kernel versions.
57707         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57708         (__ASSUME_FUTEX_REQUEUE): Remove.
57709         (__ASSUME_STATFS64): Define unconditionally.
57710         (__ASSUME_AT_SECURE): Likewise.
57711         (__ASSUME_CORRECT_SI_PID): Likewise.
57712         (__ASSUME_TGKILL): Define without depending on kernel version for
57713         i386.
57714         (__ASSUME_UTIMES): Likewise.
57715         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57716         kernel version.
57717         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57718         (__ASSUME_TMPFS_NAME): Likewise.
57719         * README: Update reference to Linux kernel versions.
57721 2012-08-02  Marek Polacek  <polacek@redhat.com>
57723         [BZ# 14150]
57724         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57725         libc_cv_asm_type_prefix with %.
57726         * configure: Regenerated.
57727         * include/libc-symbols.h: Remove comment about
57728         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57729         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57730         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57731         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57732         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57733         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57734         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57735         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57736         * elf/tst-unique2mod1.c: Likewise.
57737         * elf/tst-unique1mod2.c: Likewise.
57738         * elf/tst-unique1mod1.c: Likewise.
57739         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57740         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57741         Replace ASM_TYPE_DIRECTIVE with .type.
57742         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57743         * sysdeps/i386/sysdep.h: Likewise.
57744         * sysdeps/x86_64/sysdep.h: Likewise.
57745         * sysdeps/sh/sysdep.h: Likewise.
57746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57747         Do not define ASM_TYPE_DIRECTIVE.
57748         * sysdeps/powerpc/sysdep.h: Likewise.
57749         * sysdeps/powerpc/powerpc32/sysdep.h:
57750         Replace ASM_TYPE_DIRECTIVE with .type.
57751         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57752         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57753         * sysdeps/i386/fpu/e_powf.S: Likewise.
57754         * sysdeps/i386/fpu/e_expl.S: Likewise.
57755         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57756         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57757         * sysdeps/i386/fpu/e_pow.S: Likewise.
57758         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57759         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57760         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57761         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57762         * sysdeps/i386/fpu/e_log2.S: Likewise.
57763         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57764         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57765         * sysdeps/i386/fpu/e_powl.S: Likewise.
57766         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57767         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57768         * sysdeps/i386/fpu/e_logl.S: Likewise.
57769         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57770         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57771         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57772         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57773         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57774         * sysdeps/i386/fpu/e_log.S: Likewise.
57775         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57776         * sysdeps/i386/fpu/e_logf.S: Likewise.
57777         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57778         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57779         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57780         * sysdeps/i386/fpu/e_log10.S: Likewise.
57781         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57782         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57783         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57784         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57785         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57786         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57787         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57788         * sysdeps/i386/i686/strtok.S: Likewise.
57789         * sysdeps/i386/i386-mcount.S: Likewise.
57790         * sysdeps/i386/strtok.S: Likewise.
57791         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57792         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57793         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57794         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57795         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57796         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57797         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57798         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57799         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57800         * sysdeps/x86_64/_mcount.S: Likewise.
57801         * sysdeps/x86_64/strtok.S: Likewise.
57802         * sysdeps/sh/_mcount.S: Likewise.
57804 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57806         * libio/iofopen.c: Include <fcntl.h>.
57807         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57808         (_IO_fopen64, fopen64): Define as aliases.
57809         * libio/iofopen64.c: Include <fcntl.h>.
57810         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57811         Conditionalize body on this.
57812         * sysdeps/wordsize-64/iofopen.c: File removed.
57813         * sysdeps/wordsize-64/iofopen64.c: File removed.
57815 2012-08-01  Marek Polacek  <polacek@redhat.com>
57817         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57818         Use dlfcn directly instead of a variable.
57819         (binfmt-subdir): Do not define.
57820         (dlfcn): Likewise.
57822 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57825         Remove all definitions.
57826         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57827         <kernel-features.h>.
57828         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57829         (miss_F_GETOWN_EX): Remove all definitions.
57830         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57831         macro definition.
57832         [!__ASSUME_FCNTL64]: Remove conditional code.
57833         [__ASSUME_FCNTL64]: Make code unconditional.
57834         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57835         <kernel-features.h>.
57836         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57837         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57838         (lockf64) [__NR_fcntl64]: Make code unconditional.
57839         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57841         * sysdeps/unix/sysv/linux/kernel-features.h
57842         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57843         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57844         Make code unconditional.
57845         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57846         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57848         [__NR_vfork]: Make code unconditional.
57849         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57850         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57852         [__NR_vfork]: Make code unconditional.
57853         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57854         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57856 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57858         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57859         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57861         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57862         Define mkstemp64 as an alias.
57863         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57864         Define mkstemps64 as an alias.
57865         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57866         Define mkostemp64 as an alias.
57867         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57868         Define mkostemps64 as an alias.
57869         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57870         Conditionalize body on this.
57871         * misc/mkostemp64.c: Likewise.
57872         * misc/mkostemps64.c: Likewise.
57873         * misc/mkstemps64.c: Likewise.
57874         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57875         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57876         * sysdeps/wordsize-64/mkostemp.c: File removed.
57877         * sysdeps/wordsize-64/mkstemp.c: File removed.
57878         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57879         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57880         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57881         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57883         [BZ #14138]
57884         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57885         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57886         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57887         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57889         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57890         compat_symbol macros from <shlib-compat.h> rather than the underlying
57891         default_symbol_version and symbol_version macros, so that DEFAULT
57892         lines in shlib-versions are respected.
57893         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57895 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57897         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57898         Declare with warn_unused_result.
57899         (setgid, setregid, setegid, setresgid): Likewise.
57900         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57901         Likewise.
57902         * WUR-REPORT: Remove set*id functions.
57904 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57906         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57908 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57910         [BZ #10191]
57911         * include/sys/socket.h (__libc_accept, __libc_accept4):
57912         Add attribute_hidden.
57913         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57915         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57916         use of PTR_MANGLE.
57917         * inet/getnetgrent_r.c (setup): Likewise.
57919         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57921 2012-07-31  David S. Miller  <davem@davemloft.net>
57923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57925 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57927         [BZ #13629]
57928         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57929         value between 1.0 and 2.0 and smaller part has absolute value less
57930         than 1.0.
57931         * math/s_clog10.c (__clog10): Likewise.
57932         * math/s_clog10f.c (__clog10f): Likewise.
57933         * math/s_clog10l.c (__clog10l): Likewise.
57934         * math/s_clogf.c (__clogf): Likewise.
57935         * math/s_clogl.c (__clogl): Likewise.
57936         * math/libm-test.inc (clog_test): Add more tests.
57937         (clog10_test): Likewise.
57938         * sysdeps/i386/fpu/libm-test-ulps: Update.
57939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57941 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57943         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57944         Exit with zero in case no suitable GID is found, and write a
57945         message to standard error.
57947 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57949         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57950         rather than to 1.
57951         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57952         (MAXPATHLEN): Removed.
57953         (NOGROUP, NODEV): New macros.
57954         (setbit, clrbit, isset, isclr): New macros.
57955         (howmany, roundup, powerof2): New macros.
57956         (DEV_BSIZE): New macro.
57958         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57959         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57961         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57962         definition on [!__NO_LONG_DOUBLE_MATH].
57964         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57965         PTR_MANGLE and PTR_DEMANGLE.
57967         * socket/accept4.c (accept4): Rename to __libc_accept4.
57968         Define accept4 as a weak alias.
57970         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57971         on [_DIRENT_HAVE_D_TYPE].
57972         * io/ftw.c (ftw_dir): Likewise.
57974         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57976         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57978         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57979         Use the BSD numbers rather than the arbitrary ones we had.
57980         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57981         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57982         (SIGXCPU, SIGXFSZ): New macros.
57983         (_NSIG): Now 32.
57985         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57986         initializer on [_LIBC_REENTRANT].
57988         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57989         definitions inside [_POSIX_MAPPED_FILES].
57991         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57993         * dirent/opendir.c: Include <fcntl.h>.
57995         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57996         (__libc_getspecific): Likewise.
57997         (__libc_key_create): Likewise.
57999         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58000         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58001         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58002         (tmpfile64): Define as alias.
58003         * sysdeps/wordsize-64/tmpfile.c: File removed.
58004         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58005         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58006         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58008         * stdio-common/vfscanf.c: Include <stdbool.h>.
58009         * nss/makedb.c: Likewise.
58010         * stdio-common/_i18n_number.h: Likewise.
58011         * argp/argp-help.c: Likewise.
58012         * posix/wordexp.c: Likewise.
58013         * sysdeps/posix/spawni.c: Likewise.
58014         * nss/nss_files/files-initgroups.c: Likewise.
58015         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58016         * nss/nss_files/files-initgroups.c: Likewise.
58017         * nss/nss_db/db-netgrp.c: Likewise.
58018         * nss/nss_db/db-initgroups.c: Likewise.
58019         * io/fchmodat.c: Include <sys/stat.h>.
58021         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58022         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58024         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58025         [HAVE_MMAP].
58027         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58028         Add multiple inclusion protection.
58030 2012-07-27  David S. Miller  <davem@davemloft.net>
58032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58034 2012-07-27  Gary Benson  <gbenson@redhat.com>
58036         [BZ #14298]
58037         * elf/rtld.c: Include <stap-probe.h>.
58038         (dl_main): Added static probes "init_start" and "init_complete".
58039         * elf/dl-load.c: Include <stap-probe.h>.
58040         (lose): Take new parameter "nsid".
58041         Added static probe "map_failed".
58042         (_dl_map_object_from_fd): Pass namespace id to lose.
58043         Added static probe "map_start".
58044         (open_verify): Pass namespace id to lose.
58045         * elf/dl-open.c: Include <stap-probe.h>.
58046         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58047         and "reloc_complete".
58048         * elf/dl-close.c: Include <stap-probe.h>.
58049         (_dl_close_worker): Added static probes "unmap_start" and
58050         "unmap_complete".
58051         * elf/rtld-debugger-interface.txt: New file documenting the above.
58053 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58055         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58056         rather than a string variable.
58057         * sunrpc/rpc_main.c (h_output): Likewise.
58058         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58060 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58062         * inet/check_native.c: New file.
58064 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58066         [BZ #13629]
58067         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58068         if larger part has absolute value 1.0.
58069         * math/s_clog10.c (__clog10): Likewise.
58070         * math/s_clog10f.c (__clog10f): Likewise.
58071         * math/s_clog10l.c (__clog10l): Likewise.
58072         * math/s_clogf.c (__clogf): Likewise.
58073         * math/s_clogl.c (__clogl): Likewise.
58074         * math/libm-test.inc (clog_test): Add more tests.
58075         (clog10_test): Likewise.
58076         * sysdeps/i386/fpu/libm-test-ulps: Update.
58077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58079         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58080         (pltexit): Likewise.
58081         (La_regs): Likewise.
58082         (La_retval): Likewise.
58083         (int_retval): Likewise.
58084         Update #error for removed macros to refer only to definitions in
58085         tst-audit.h.
58086         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58087         macro.
58088         (pltexit): Likewise.
58089         (La_regs): Likewise.
58090         (La_retval): Likewise.
58091         (int_retval): Likewise.
58092         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58093         macro.
58094         (pltexit): Likewise.
58095         (La_regs): Likewise.
58096         (La_retval): Likewise.
58097         (int_retval): Likewise.
58098         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58099         macro.
58100         (pltexit): Likewise.
58101         (La_regs): Likewise.
58102         (La_retval): Likewise.
58103         (int_retval): Likewise.
58104         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58105         macro.
58106         (pltexit): Likewise.
58107         (La_regs): Likewise.
58108         (La_retval): Likewise.
58109         (int_retval): Likewise.
58110         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58111         macro.
58112         (pltexit): Likewise.
58113         (La_regs): Likewise.
58114         (La_retval): Likewise.
58115         (int_retval): Likewise.
58116         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58117         macro.
58118         (pltexit): Likewise.
58119         (La_regs): Likewise.
58120         (La_retval): Likewise.
58121         (int_retval): Likewise.
58122         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58123         macro definitions in tst-audit.h.
58124         * sysdeps/i386/tst-audit.h: New file.
58125         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58126         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58127         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58128         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58129         * sysdeps/sh/tst-audit.h: Likewise.
58130         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58131         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58132         * sysdeps/x86_64/tst-audit.h: Likewise.
58134 2012-07-26  Andreas Jaeger  <aj@suse.de>
58136         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58137         ptrace.
58139         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58140         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58141         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58142         PTRACE_O_MASK.
58143         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58144         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58145         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58147         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58148         value.
58150         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58151         _sigsys.
58152         (si_call_addr, si_syscall, si_arch): Define new macro.
58153         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58154         _sigsys.
58155         (si_call_addr, si_syscall, si_arch): Define new marcro.
58156         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58157         _sigsys.
58158         (si_call_addr, si_syscall, si_arch): Define new macro.
58159         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58160         _sigsys.
58161         (si_call_addr, si_syscall, si_arch): Define new macro.
58163 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58165         [BZ #13717]
58166         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58167         Change to 2.4.21 where previously 2.4.1.
58168         * sysdeps/unix/sysv/linux/configure: Regenerated.
58169         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58170         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58171         Linux kernel version.
58172         (__ASSUME_STD_AUXV): Remove.
58173         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58174         kernel version.
58175         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58176         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58177         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58178         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58179         (__ASSUME_NETLINK_SUPPORT): Likewise.
58180         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58181         (__no_netlink_support): Remove conditional definition.
58182         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58183         Remove.
58184         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58185         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58186         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58187         (if_nameindex_ioctl): Remove.
58188         (if_nameindex_netlink): Do not handle __no_netlink_support.
58189         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58190         code.
58191         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58192         Remove conditional code.
58193         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58194         code.
58195         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58196         unconditional.
58197         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58198         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58199         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58200         Remove.
58201         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58202         [!__ASSUME_STD_AUXV]: Remove conditional code.
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58204         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58205         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58207         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58208         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58209         code.
58210         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58212         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58213         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58214         conditional code.
58215         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58217         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58218         code.
58219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58220         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58221         conditional code.
58222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58223         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58224         code unconditional.
58225         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58226         conditional code.
58227         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58228         unconditional.
58229         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58230         conditional code.
58231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58232         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58233         unconditional.
58234         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58235         conditional code.
58236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58237         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58238         code unconditional.
58239         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58240         conditional code.
58241         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58242         unconditional.
58243         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58244         conditional code.
58245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58246         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58247         code unconditional.
58248         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58249         conditional code.
58250         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58251         unconditional.
58252         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58253         conditional code.
58255 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58257         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58258         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58259         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58260         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58261         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58262         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58263         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58264         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58265         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58266         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58267         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58268         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58269         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58270         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58271         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58272         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58273         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58274         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58275         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58277         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58278         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58279         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58281 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58283         * Versions.def: Add GLIBC_2.17.
58284         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58285         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58286         Introduce __libc_secure_getenv.
58287         * stdlib/Versions (2.17): Add secure_getenv
58288         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58289         * stdlib/secure-getenv.c: Rename __secure_getenv to
58290         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58291         symbol __secure_getenv for GLIBC_2.0.
58292         * stdlib/tst-secure-getenv.c: New.
58293         * stdlib/Makefile (tests): Add testcase.
58294         * manual/startup.texi (Environment Access): Document
58295         secure_getenv.
58296         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58297         __libc_secure_getenv.
58298         * inet/ruserpass.c (ruserpass): Likewise.
58299         * malloc/mtrace.c (mtrace): Likewise.
58300         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58301         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58302         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58303         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58304         HAVE_SECURE_GETENV.
58305         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58306         __secure_getenv to __libc_secure_getenv.
58307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58309         Likewise.
58310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58311         Likewise.
58312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58314         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58320 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58322         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58323         (struct La_i86_retval): Likewise.
58324         (struct La_x86_64_regs): Likewise.
58325         (struct La_x86_64_retval): Likewise.
58326         (struct La_x32_regs): Likewise.
58327         (struct La_x32_retval): Likewise.
58328         (struct La_ppc32_regs): Likewise.
58329         (struct La_ppc32_retval): Likewise.
58330         (struct La_ppc64_regs): Likewise.
58331         (struct La_ppc64_retval): Likewise.
58332         (struct La_sh_regs): Likewise.
58333         (struct La_sh_retval): Likewise.
58334         (struct La_s390_32_regs): Likewise.
58335         (struct La_s390_32_retval): Likewise.
58336         (struct La_s390_64_regs): Likewise.
58337         (struct La_s390_64_retval): Likewise.
58338         (struct La_sparc32_regs): Likewise.
58339         (struct La_sparc32_retval): Likewise.
58340         (struct La_sparc64_regs): Likewise.
58341         (struct La_sparc64_retval): Likewise.
58342         (struct audit_ifaces): Remove architecture-specific pltenter and
58343         pltexit members.
58344         * sysdeps/i386/ldsodefs.h: New file.
58345         * sysdeps/powerpc/ldsodefs.h: Likewise.
58346         * sysdeps/s390/ldsodefs.h: Likewise.
58347         * sysdeps/sh/ldsodefs.h: Likewise.
58348         * sysdeps/sparc/ldsodefs.h: Likewise.
58349         * sysdeps/x86_64/ldsodefs.h: Likewise.
58351 2012-07-25  Marek Polacek  <polacek@redhat.com>
58353         [BZ #6808]
58354         * math/libm-test.inc (yn_test): Add another test.
58355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58356         to ERANGE when the result is +-Inf.
58357         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58358         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58359         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58360         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58362 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58364         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58365         equal to 0.
58366         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58367         clock_t.
58368         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58370 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58372         * configure.in <sysdeps resolving>: Correct printing
58373         Implies_before.
58374         * configure: Regenerate.
58376 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58378         * math/w_ilogb.c: Include <limits.h>.
58379         * math/w_ilogbl.c: Likewise.
58381 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58383         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58384         va_copy.  Document allowing for unavailable va_copy only as
58385         pre-C99 compatibility.
58386         * manual/string.texi (Copying and Concatenation): Use va_copy
58387         instead of __va_copy in concat example.
58389 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58391         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58392         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58393         it if not null.
58395         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58396         with O_NOLINK passed to __file_name_lookup.
58398         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58399         with O_NOLINK passed to __file_name_lookup.
58401         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58402         negative N or less than NGIDS.
58404         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58405         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58406         enough.  Use memcpy instead of strncpy.
58408 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58410         * elf/Makefile (check-data): Remove.
58411         (localplt.data): New vpath directive.
58412         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58413         instead of $(check-data).
58414         * scripts/data/localplt-generic.data: Move to ...
58415         * sysdeps/generic/localplt.data: ... here.
58416         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58417         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58418         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58420         ... here.
58421         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58423         ... here.
58424         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58426         ... here.
58427         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58429         ... here.
58430         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58432         ... here.
58433         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58435         ... here.
58437 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58439         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58440         PPC32 and PPC64 files.
58441         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58442         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58444 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58446         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58447         __makecontext_ret to ...
58448         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58449         ... here and call exit if uc_link is NULL.  New file.
58450         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58451         __makecontext_ret.S.
58452         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58453         __makecontext_ret to ...
58454         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58455         ... here and call exit if uc_link is NULL.  New file.
58456         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58457         __makecontext_ret.S.
58459 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58461         * elf/elf.h (R_390_IRELATIVE): New definition.
58462         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58463         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58464         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58465         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58466         (elf_machine_lazy_rel): Likewise.
58467         * sysdeps/s390/dl-irel.h: New file.
58468         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58469         * sysdeps/s390/s390-64/memset.S: New asm code.
58470         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58471         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58472         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58473         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58474         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58475         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58476         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58477         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58478         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58479         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58480         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58481         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58482         * sysdeps/s390/s390-32/memset.S: New asm code.
58483         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58485 2012-07-17  Marek Polacek  <polacek@redhat.com>
58487         [BZ #14349]
58488         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58489         * sysdeps/s390/s390-64/configure.in: Likewise.
58490         * sysdeps/sparc/configure.in: Likewise.
58491         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58492         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58493         * sysdeps/i386/configure.in: Likewise.
58494         * sysdeps/x86_64/configure.in: Likewise.
58495         * sysdeps/sh/configure.in: Likewise.
58496         * sysdeps/s390/s390-32/configure: Regenerated.
58497         * sysdeps/s390/s390-64/configure: Likewise.
58498         * sysdeps/x86_64/configure: Likewise.
58499         * sysdeps/sh/configure: Likewise.
58500         * sysdeps/powerpc/powerpc64/configure: Likewise.
58501         * sysdeps/powerpc/powerpc32/configure: Likewise.
58502         * sysdeps/sparc/configure: Likwise.
58503         * sysdeps/i386/configure: Likewise.
58505         * elf/dl-open.c: Comment fixes.
58507 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58509         * Makefile [CXX] (check-data): Remove.
58510         [CXX] (c++-types.data): New vpath directive.
58511         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58512         vpath.  Do not allow for C++ type data being missing.
58513         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58514         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58515         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58516         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58517         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58518         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58519         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58521         ... here.
58522         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58524         ... here.
58525         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58527         ... here.
58528         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58530         ... here.
58531         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58533         ... here.
58534         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58536         ... here.
58537         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58539         ... here.
58540         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58543         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58544         definitions to architecture-specific files.
58545         (TLS_IE): Likewise.
58546         (TLS_LD): Likewise.
58547         (TLS_GD): Likewise.
58548         * sysdeps/i386/tls-macros.h: New file.
58549         * sysdeps/powerpc/tls-macros.h: Likewise.
58550         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58551         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58552         * sysdeps/sh/tls-macros.h: Likewise.
58553         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58554         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58555         * sysdeps/x86_64/tls-macros.h: Likewise.
58557 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58559         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58560         zero value for regular exit case.
58562         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58563         (__start_context): Preserve zero value for regular exit case.
58565 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58566             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58568         * manual/setjmp.texi (setcontext): Clarify normal process
58569         termination when uc_link is the null pointer.
58570         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58571         exit call.
58573 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58575         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58576         preprocessor.  Test for each exception mask separately.
58578 2012-07-16  Andreas Jaeger  <aj@suse.de>
58580         * po/ru.po: Update from translation team.
58582 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58584         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58585         equal to 0.
58586         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58587         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58588         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58589         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58590         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58592 2012-07-13  Andreas Jaeger  <aj@suse.de>
58594         * po/fr.po: Update from translation team.
58596 2012-07-12  Marek Polacek  <polacek@redhat.com>
58598         [BZ #14173]
58599         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58600         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58601         loop condition.
58603 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58605         [BZ #13717]
58606         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58607         Change to 2.4.1 where previously 2.4.0.
58608         * sysdeps/unix/sysv/linux/configure: Regenerated.
58609         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58610         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58611         version.
58612         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58613         (__ASSUME_AT_CLKTCK): Remove.
58614         (__ASSUME_AT_PAGESIZE): Likewise.
58615         (__ASSUME_AT_XID): Likewise.
58616         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58617         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58618         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58619         unconditionally.
58620         (HAVE_AUX_PAGESIZE): Likewise.
58621         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58622         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58623         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58625 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58627         [BZ #14307]
58628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58629         the temporary buffer used to invoke __gethostbyname2_r,
58630         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58631         host_data / struct gaih_addrtuple.
58632         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58633         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58634         header file nss/nsswitch.h.
58635         * nss/nsswitch.h (global scope): Add definition of implementation
58636         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58637         resolv/nss_dns/dns-host.c).
58639 2012-07-11  Andreas Jaeger  <aj@suse.de>
58641         * po/fr.po: Update from translation team.
58643         * po/sv.po: Update from translation team
58644         * po/fr.po: Another update from translation team.
58646 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58648         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58649         for subnormals or multiply small sinh result by itself.
58650         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58653 2012-07-11  David S. Miller  <davem@davemloft.net>
58655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58657 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58659         [BZ #14347]
58660         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58661         (INTERNAL_MARK): Shift it here.
58663 2012-07-10  Marek Polacek  <polacek@redhat.com>
58665         [BZ #14151]
58666         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58667         libc_cv_asm_global_directive with .globl.
58668         * configure: Regenerated.
58669         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58670         with .globl.
58671         * sysdeps/i386/configure: Regenerated.
58672         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58673         with .globl.
58674         * sysdeps/x86_64/configure: Regenerated.
58675         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58676         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58677         * elf/tst-unique2mod2.c: Likewise.
58678         * elf/tst-unique2mod1.c: Likewise.
58679         * elf/tst-unique1mod2.c: Likewise.
58680         * elf/tst-unique1mod1.c: Likewise.
58681         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58682         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58683         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58684         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58685         * sysdeps/mach/sysdep.h: Likewise.
58686         * sysdeps/i386/sysdep.h: Likewise.
58687         * sysdeps/i386/i386-mcount.S: Likewise.
58688         * sysdeps/x86_64/_mcount.S: Likewise.
58689         * sysdeps/x86_64/sysdep.h: Likewise.
58690         * sysdeps/sh/_mcount.S: Likewise.
58691         * sysdeps/sh/sysdep.h: Likewise.
58692         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58693         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58694         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58695         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58696         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58697         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58698         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58699         * locale/localeinfo.h: Likewise.
58700         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58701         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58703 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58705         [BZ #14336]
58706         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58707         system".
58708         * manual/message.texi (The Uniforum approach): Likewise.
58709         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58710         (glibc iconv Implementation): Likewise.
58712 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58714         [BZ #14337]
58715         * math/s_clog.c (__clog): Avoid scaling a value down where that
58716         could result in underflow.
58717         * math/s_clog10.c (__clog10): Likewise.
58718         * math/s_clog10f.c (__clog10f): Likewise.
58719         * math/s_clog10l.c (__clog10l): Likewise.
58720         * math/s_clogf.c (__clogf): Likewise.
58721         * math/s_clogl.c (__clogl): Likewise.
58722         * math/libm-test.inc (clog_test): Add more tests.
58723         (clog10_test): Likewise.
58724         * sysdeps/i386/fpu/libm-test-ulps: Update.
58725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58727 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58729         [BZ #14283]
58730         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58731         by 7 not 8 to examine high bit of fractional part.
58733         [BZ #14042]
58734         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58735         for call to __mcount_internal.
58736         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58737         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58738         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58740 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58742         [BZ #14154]
58743         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58744         approximation for values within 0x1p-13f of an odd multiple of
58745         pi/4.
58746         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58747         exception.  Add more tests.
58748         * sysdeps/i386/fpu/libm-test-ulps: Update.
58750         [BZ #6778]
58751         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58752         inputs and return -1 for them.  Do not check for +Inf in case not
58753         reachable for +Inf.
58754         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58755         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58756         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58757         and return -1 for them.  Do not check for +Inf in case not
58758         reachable for +Inf.
58759         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58760         define.
58761         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58762         and return -1 for them.  Do not check for +Inf in case not
58763         reachable for +Inf.
58764         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58765         spurious underflow.
58766         * sysdeps/i386/fpu/libm-test-ulps: Update.
58767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58769 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58771         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58773 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58775         [BZ #14157]
58776         [BZ #14331]
58777         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58778         could result in spurious underflow.  Scale down values above
58779         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58780         * math/s_csqrtf.c (__csqrtf): Likewise.
58781         * math/s_csqrtl.c (__csqrtl): Likewise.
58782         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58783         spurious underflow.
58784         * sysdeps/i386/fpu/libm-test-ulps: Update.
58785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58787 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58789         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58790         xopen-msg.sed.
58791         * catgets/xopen-msg.awk: New file.
58792         * catgets/xopen-msg.sed: Removed.
58794         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58795         po2text.sed.
58796         * intl/po2test.awk: New file.
58797         * intl/po2test.sed: Removed.
58799 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58801         [BZ #14328]
58802         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58803         or multiply small sinh result by itself.
58804         * math/s_ctanf.c (__ctanf): Likewise.
58805         * math/s_ctanh.c (__ctanh): Likewise.
58806         * math/s_ctanhf.c (__ctanhf): Likewise.
58807         * math/s_ctanhl.c (__ctanhl): Likewise.
58808         * math/s_ctanl.c (__ctanl): Likewise.
58809         * math/libm-test.inc (ctan_test_tonearest): New function.
58810         (ctan_test_towardzero): Likewise.
58811         (ctan_test_downward): Likewise.
58812         (ctan_test_upward): Likewise.
58813         (ctanh_test_tonearest): Likewise.
58814         (ctanh_test_towardzero): Likewise.
58815         (ctanh_test_downward): Likewise.
58816         (ctanh_test_upward): Likewise.
58817         (main): Call these new functions.
58818         * sysdeps/i386/fpu/libm-test-ulps: Update.
58819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58821 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58823         * .gitignore: Delete /ports entry.
58825 2012-07-03  Andreas Jaeger  <aj@suse.de>
58827         * po/bg.po: Update from translation team.
58828         * po/cs.po: Likewise.
58829         * po/de.po: Likewise.
58830         * po/hr.po: Likewise.
58831         * po/nl.pl: Likewise.
58832         * po/pl.po: Likewise.
58833         * po/vi.po: Likewise.
58835 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58837         * Makeconfig [!+link] (+link-before-libc): New variable.
58838         [!+link] (+link-after-libc): Likewise.
58839         [!+link] (+link-tests): Likewise.
58840         [!+link] (+link): Define in terms of $(+link-before-libc) and
58841         $(+link-after-libc).
58842         [!+link-static] (+link-static-before-libc): New variable.
58843         [!+link-static] (+link-static-after-libc): Likewise.
58844         [!+link-static] (+link-static-tests): Likewise.
58845         [!+link-static] (+link-static): Define in terms of
58846         $(+link-static-before-libc) and $(+link-static-after-libc).
58847         [build-shared] (link-libc-before-gnulib): New variable.
58848         [build-shared] (link-libc-tests): Likewise.
58849         [build-shared] (link-libc): Define in terms of
58850         $(link-libc-before-gnulib).
58851         [!build-shared] (link-libc-tests): New variable.
58852         (link-libc-static-tests): New variable.
58853         [!gnulib] (gnulib-arch): New variable.
58854         [!gnulib] (gnulib-tests): Likewise.
58855         [!gnulib] (static-gnulib-arch): Likewise.
58856         [!gnulib] (static-gnulib-tests): Likewise.
58857         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58858         Define with "=" instead of ":=".
58859         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58860         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58861         * Rules (binaries-all-notests): New variable.
58862         (binaries-all-tests): Likewise.
58863         (binaries-static-notests): Likewise.
58864         (binaries-static-tests): Likewise.
58865         (binaries-all): Define using $(binaries-all-notests) and
58866         $(binaries-all-tests).
58867         (binaries-static): Define using $(binaries-static-notests) and
58868         $(binaries-static-tests).
58869         (binaries-shared-tests): New variable.
58870         (binaries-shared-notests): Likewise.
58871         (binaries-shared): Remove variable.
58872         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58873         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58874         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58875         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58876         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58877         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58878         * elf/Makefile (sln-modules): New variable.
58879         (extra-objs): Add $(sln-modules:=.o).
58880         (ldconfig-modules): Add static-stubs.
58881         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58882         * elf/static-stubs.c: New file.
58884         [BZ #14283]
58885         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58886         by 7 not 8 to examine high bit of fractional part.  Use volatile
58887         variables when splitting into final array of floats if
58888         __FLT_EVAL_METHOD__ != 0.
58889         * math/libm-test.inc (cos_test): Add another test.
58890         (sin_test): Likewise.
58891         * sysdeps/i386/fpu/libm-test-ulps: Update.
58893         [BZ #14273]
58894         * math/libm-test.inc (cosh_test): Add more tests.
58896         * version.h (RELEASE): Set to "development".
58897         (VERSION): Set to "2.16.90".
58899 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58901         * NEWS: Update copyright. Remove last-updated date.
58902         Mention math library bug fixes and timezone data changes.
58903         * README: Mention GNU/Hurd, x32, and HPPA support status.
58905 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58907         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58909 2012-06-27  Andreas Jaeger  <aj@suse.de>
58911         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58913 2012-06-25  Andreas Jaeger  <aj@suse.de>
58915         * sysdeps/s390/fpu/libm-test-ulps: Update.
58917 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58918             Thomas Schwinge  <thomas@codesourcery.com>
58920         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58921         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58922         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58923         fanotify_mark.
58925 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58927         * sysdeps/mach/start.c: Remove file.
58928         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58929         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58930         * sysdeps/sh/init-first.c: Likewise.
58932         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58933         registers for frame unwinding purposes, add CFI directives.
58934         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58935         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58936         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58937         Likewise.
58939         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58940         __fortify_fail returning.
58941         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58943         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58944         sysdeps/sh/____longjmp_chk.S.
58945         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58946         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58947         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58948         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58950         * sysdeps/sh/abort-instr.h: New file.
58951         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58952         process in case exit returns.
58954         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58955         initialize the GOT register before use.
58957         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58958         calculation of ARGC > 4.
58960         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58961         meaningful names to some local labels.
58963 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58964             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58966         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58967         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58968         (__arch_compare_and_exchange_val_16_acq): Likewise.
58969         (__arch_compare_and_exchange_val_32_acq): Likewise.
58970         (atomic_exchange_and_add): Fix gUSA sequence.
58971         (atomic_add): Likewise.
58972         (atomic_add_negative): Likewise.
58973         (atomic_add_zero): Likewise.
58974         (atomic_bit_test_set): Likewise.
58976 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58978         [BZ #13579]
58979         * include/link.h (struct link_map): Add l_free_initfini.
58980         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58981         l_initfini.
58982         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58983         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58984         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58985         set.
58987 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58989         * configure.in: Use AC_LANG_SOURCE.
58990         * configure: Regenerate.
58992 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58994         * configure.in (libc_cv_localstatedir): New substituted variable.
58995         * configure: Regenerated.
58996         * config.make.in (localstatedir): New variable, substituted from
58997         libc_cv_localstatedir.
58998         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58999         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59000         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59001         * sysdeps/gnu/configure: Regenerated.
59003 2012-06-21  Jeff Law  <law@redhat.com>
59005         [BZ #14277]
59006         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59007         free.  Simplify list management for _LIBC case.
59009 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59011         [BZ #14273]
59012         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59013         Clear sign bit of 64-bit integer value before comparing against
59014         overflow value.
59016         * sysdeps/mach/configure: Regenerated.
59018 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59020         [BZ #14278]
59021         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59023 2012-06-21  Jeff Law  <law@redhat.com>
59025         [BZ #13882]
59026         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59027         uint16_t for elements in the "seen" array to avoid char overflows.
59028         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59029         * elf/dl-open.c (dl_open_worker): Likewise.
59031 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59033         * scripts/list-sources.sh: Scan PORTS for translations.
59034         * po/libc.pot: Regenerated.
59036 2012-06-21  Andreas Jaeger  <aj@suse.de>
59038         [BZ #12194]
59039         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59040         warning.
59041         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59042         * bits/byteswap-16.h (__bswap_16): Likewise.
59043         * bits/byteswap.h (__bswap_constant_16): Likewise.
59045 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59047         [BZ #14117]
59048         * sysdeps/i386/fpu_control.h: Removed.
59049         * sysdeps/x86_64/fpu_control.h: Moved to ...
59050         * sysdeps/x86/fpu_control.h: Here.
59052         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59053         (_FPU_SETCW): Likewise.
59055 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59057         [BZ #14117]
59058         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59059         * sysdeps/x86/fpu/bits/mathinline.h: This.
59060         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59062         [BZ #14050]
59063         [BZ #14117]
59064         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59065         functions if __x86_64__ is defined.
59067 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59069         * string/endian.h: Add !__ASSEMBLER__ condition for including
59070         conversion interfaces.
59072 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59074         [BZ #14241]
59075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59076         of ABS(x) in calculating zero to negative powers other than odd
59077         integers.
59078         * math/libm-test.inc (pow_test): Add more tests.
59080 2012-06-15  Andreas Jaeger  <aj@suse.de>
59082         * manual/contrib.texi (Contributors): Update entry of Liubov
59083         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59084         Machado Filho.
59086 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59088         * string/string.h: Add __wur to GNU version of strerror_r.
59090 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59092         [BZ #14229]
59093         * string/Makefile (tests): Add tst-strtok_r.
59094         * string/tst-strtok_r.c: New file.
59095         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59096         RAX_LP/RDX_LP on SAVE_PTR.
59098 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59100         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59102 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59104         * libm_test.inc (csqrt_test): Allow more spurious underflow
59105         exceptions.
59106         (j0_test): Likewise.
59107         (j1_test): Likewise.
59108         (y0_test): Likewise.
59109         (y1_test): Likewise.
59111 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59113         * po/Makefile (libc.pot): Use UTF-8 charset.
59115 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59117         [BZ #14210]
59118         Suppress sign-conversion warning from FD_SET.
59119         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59120         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59121         not unsigned long int.
59122         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59124 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59126         [BZ #14050]
59127         [BZ #14117]
59128         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59129         __extern_always_inline instead of __extern_inline.
59130         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59131         (__signbit): Likewise.
59132         (__signbitl): Support C++ namespace.
59133         (lrintf): New inline function.
59134         (lrint): Likewise.
59135         (llrintf): Likewise.
59136         (llrint): Likewise.
59137         (fmaxf): Likewise.
59138         (fmax): Likewise.
59139         (fminf): Likewise.
59140         (fmin): Likewise.
59141         (rint): Likewise.
59142         (rintf): Likewise.
59143         (ceil): Likewise.
59144         (ceilf): Likewise.
59145         (floor): Likewise.
59146         (floorf): Likewise.
59147         (nearbyint): Likewise.
59148         (nearbyintf): Likewise.
59150 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59152         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59153         non-default versions.
59155 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59157         [BZ #14218]
59158         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59160 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59162         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59163         (FE_UPWARD, FE_DOWNWARD): Don't define.
59164         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59165         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59167         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59168         reading it.
59169         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59170         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59172 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59174         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59177         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59179 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59181         [BZ #14117]
59182         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59183         * sysdeps/i386/fpu/Implies: New file.
59184         * sysdeps/x86_64/fpu/Implies: Likewise.
59185         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59186         * sysdeps/x86/fpu/bits/fenv.h: This.
59188         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59189         __SSE_MATH__.
59191 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59193         [BZ #14134]
59194         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59195         character 0xffff that matches the last element of the
59196         conversion table.
59198 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59201         fmodl commit.
59203 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59205         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59206         values higher than 25.6283.
59208 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59210         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59211         subnormal exponent extraction and add some __builtin_expect.
59212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59213         Fix for subnormal mantissa calculation.
59215 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59217         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59218         cpu2 is -1 and errno is not ENOSYS.
59220 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59222         [BZ #14117]
59223         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59224         * sysdeps/x86/bits/string.h: This.
59225         * sysdeps/x86_64/bits/string.h: Removed.
59227         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59228         if not compiling for x86-64, but compiling for >= i486.
59230         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59231         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59233         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59234         New macro from Linux kernel 3.4.0.
59235         (FP_XSTATE_MAGIC2): Likewise.
59236         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59237         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59238         (struct _fpx_sw_bytes): New struct.
59239         (struct _xsave_hdr): Likewise.
59240         (struct _ymmh_state): Likewise.
59241         (struct _xstate): Likewise.
59243         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59244         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59245         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59246         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59247         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59248         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59250         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59251         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59252         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59253         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59254         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59255         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59257 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59259         [BZ #13743]
59260         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59261         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59262         (sysdep_headers): Include sys/platform/ppc.h.
59263         * sysdeps/powerpc/test-gettimebase.c: Test for
59264         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59265         * manual/Makefile (appendices): Include platform.texi.
59266         * manual/contrib.texi (Contributors): Update @node pointers.
59267         * manual/maint.texi (Maintenance): Likewise.
59268         (Platform): New node.
59269         * manual/platform.texi: New file.  Document the new features.
59271 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59272             Jakub Jelinek  <jakub@redhat.com>
59274         [BZ #14188]
59275         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59276         where __builtin_expect is unavailable.
59278 2012-06-03  David S. Miller  <davem@davemloft.net>
59280         * stdlib/longlong.h: Updated from GCC.
59282 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59284         [BZ #14042]
59285         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59286         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59287         __mcount_internal.
59288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59289         (GLIBC_2.16): Likewise.
59291 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59293         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59295 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59298         (default-abi): New variable.
59299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59300         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59301         variable.
59302         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59303         Likewise.
59304         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59305         Likewise.
59306         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59307         Likewise.
59309         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59310         definition.  Document in comment.
59312 2012-06-01  David S. Miller  <davem@davemloft.net>
59314         * stdlib/longlong.h: Updated from GCC.
59316 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59318         [BZ #14117]
59319         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59320         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59321         sys/debugreg.h sys/io.h here.
59322         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59323         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59324         sys/io.h.
59325         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59326         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59327         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59328         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59329         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59330         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59332         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59333         Define only if __x86_64__ is defined.
59335 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59337         [BZ #14048]
59338         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59339         Use int64_t for variable i.
59340         * math/libm-test.inc (fmod_test): Add more tests.
59342         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59343         z computation is not scheduled after fetestexcept.
59344         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59345         Use math_force_eval instead of asm to ensure calculation scheduled
59346         before exception test.
59347         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59348         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59350 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59353         computation is not scheduled after fetestexcept.
59355 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59357         [BZ #14117]
59358         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59359         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59361 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59363         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59364         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59366 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59368         [BZ #14117]
59369         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59370         <bits/wordsize.h>.
59371         (__WCHAR_MIN): Support __WORDSIZE == 64.
59372         (__WCHAR_MAX): Likewise.
59374         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59375         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59377         [BZ #14183]
59378         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59379         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59381         [BZ #14117]
59382         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59383         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59385         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59386         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59388         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59389         Defined to 1 if __x86_64__ isn't defined.
59390         (_STAT_VER_LINUX_OLD): New.
59391         (st_atime): Remove duplicate.
59392         (st_mtime): Likewise.
59393         (st_ctime): Likewise.
59395 2012-05-31  David S. Miller  <davem@davemloft.net>
59397         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59398         entries.
59400 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59402         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59403         gen-libm-test.pl.
59405         [BZ #14132]
59406         * elf/dl-reloc.c: Include <_itoa.h>.
59407         (_dl_reloc_bad_type): Remove use of INTUSE.
59408         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59409         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59410         * stdio-common/psiginfo.c (psiginfo): Likewise.
59411         * stdio-common/psignal.c (psignal): Likewise.
59412         * string/strsignal.c (strsignal): Likewise.
59413         * include/signal.h (_sys_siglist): Declare hidden proto.
59414         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59415         INTVARDEF with libc_hidden_data_def.
59416         * stdio-common/itoa-udigits.c: Likewise.
59417         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59418         (_itoa_lower_digits_internal): Remove declaration.
59419         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59420         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59421         (_sys_sigabbrev_internal): Remove aliases.
59422         (_sys_siglist): Define hidden alias.
59424 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59426         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59427         bits/sysctl.h.
59429 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59431         [BZ #14117]
59432         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59433         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59435         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59436         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59437         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59438         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59439         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59440         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59442         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59443         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59444         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59446         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59447         with __addr.
59448         (insw): Likewise.
59449         (insl): Likewise.
59450         (outsb): Likewise.
59451         (outsw): Likewise.
59452         (outsl): Likewise.
59454         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59455         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59456         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59458         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59459         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59460         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59461         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59462         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59463         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59466         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59468         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59469         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59472         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59473         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59475         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59476         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59477         to ...
59478         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59480         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59481         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59482         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59484         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59485         for x86-64.
59486         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59488 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59490         * math/math.h (M_El): Use two more decimal places.
59491         (M_LOG2El): Likewise.
59492         (M_LOG10El): Likewise.
59493         (M_LN2l): Likewise.
59494         (M_LN10l): Likewise.
59495         (M_PIl): Likewise.
59496         (M_PI_2l): Likewise.
59497         (M_PI_4l): Likewise.
59498         (M_1_PIl): Likewise.
59499         (M_2_PIl): Likewise.
59500         (M_2_SQRTPIl): Likewise.
59501         (M_SQRT2l): Likewise.
59502         (M_SQRT1_2l): Likewise.
59504 2012-05-31  David S. Miller  <davem@davemloft.net>
59506         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59507         values between float registers.
59508         * sysdeps/sparc/sparc64/memset.S: Likewise.
59509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59511 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59513         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59514         -D_FORTIFY_SOURCE=1.
59515         (CPPFLAGS-tst-longjmp_chk.c): Define.
59516         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59517         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59518         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59519         CFLAGS-tst-wchar-h.c.
59521 2012-05-31  Marek Polacek  <polacek@redhat.com>
59523         [BZ #14132]
59524         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59525         __endmntent_internal): Remove declaration.
59526         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59527         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59528         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59530 2012-05-30  David S. Miller  <davem@davemloft.net>
59532         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59533         (___Q_simulate_exceptions): Use real FP ops rather than writing
59534         into the %fsr.
59535         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59536         Likewise.
59538 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59540         [BZ #14117]
59541         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59542         * sysdeps/x86/bits/xtitypes.h: This.
59544         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59545         * sysdeps/x86/bits/wordsize.h: This.
59547         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59548         * sysdeps/x86/bits/huge_vall.h: This.
59550         * sysdeps/i386/bits/select.h: Removed.
59551         * sysdeps/x86_64/bits/select.h: Renamed to ...
59552         * sysdeps/x86/bits/select.h: This.
59554         * sysdeps/i386/bits/setjmp.h: Removed.
59555         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59556         * sysdeps/x86/bits/setjmp.h: This.
59558         * sysdeps/i386/bits/mathdef.h: Removed.
59559         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59560         * sysdeps/x86/bits/mathdef.h: This.
59562 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59564         [BZ #14132]
59565         * include/sys/socket.h (__connect_internal)
59566         (__libc_sa_len_internal): Remove declaration.
59567         (__connect, __libc_sa_len): Declare hidden_proto.
59568         (SA_LEN): Remove use of INTUSE.
59569         * socket/connect.c: Add libc_hidden_def.
59570         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59571         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59572         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59573         alias.
59574         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59575         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59576         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59577         of adding _internal alias.
59579 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59581         [BZ #14117]
59582         * sysdeps/i386/bits/link.h: Removed.
59583         * sysdeps/i386/bits/linkmap.h: Likewise.
59584         * sysdeps/x86_64/bits/link.h: Renamed to ...
59585         * sysdeps/x86/bits/link.h: This.
59586         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59587         * sysdeps/x86/bits/linkmap.h: This.
59589         * sysdeps/i386/bits/endian.h: Removed.
59590         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59591         * sysdeps/x86/bits/endian.h: This.
59593         * sysdeps/i386/bits/byteswap.h: Removed.
59594         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59595         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59596         * sysdeps/x86/bits/byteswap.h: This.
59597         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59598         * sysdeps/x86/bits/byteswap-16.h: This.
59599         * sysdeps/i386/Implies: Add x86.
59600         * sysdeps/x86_64/Implies: Likewise.
59602 2012-05-30  David S. Miller  <davem@davemloft.net>
59604         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59605         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59606         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59607         (FP_TRAPPING_EXCEPTIONS): Define.
59608         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59609         (FP_TRAPPING_EXCEPTIONS): Define.
59610         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59611         subnormals only when inexact has been signalled or underflow
59612         exceptions are enabled.
59613         (_FP_PACK_CANONICAL): Likewise.
59615 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59617         [BZ #14183]
59618         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59619         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59621 2012-05-30  Richard Henderson  <rth@twiddle.net>
59623         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59624         with #ifndef NOT_IN_libc.
59626         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59627         marked to avoid plt entry.
59629 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59631         [BZ #14112]
59632         * Makeconfig (default-abi): New macro.
59633         (abi-includes): Likewise.
59634         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59635         $(abi-$(default-abi)-lib-soname) for soname if defined.
59636         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59637         abi-variants.
59638         * Makefile (installed-stubs): Likewise.
59639         * include/stubs-biarch.h: Removed.
59640         * scripts/lib-names.awk: Only handle one library at a time.
59641         * scripts/soversions.awk: Remove WORDSIZE support.
59642         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59643         entries.
59644         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59645         Removed.
59646         (syscall-list-default-condition): Likewise.
59647         (syscall-list-default-condition): Likewise.
59648         (syscall-list-includes): Likewise.
59649         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59650         syscall-list-* with abi-*.  Handle undefined abi-variants.
59651         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59652         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59653         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59654         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59655         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59656         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59657         Removed.
59658         (syscall-list-32-options): Likewise.
59659         (syscall-list-32-condition): Likewise.
59660         (syscall-list-64-options): Likewise.
59661         (syscall-list-64-condition): Likewise.
59662         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59663         macro.
59664         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59665         Renamed to ...
59666         (abi-*): This.
59667         (abi-64-ld-soname): New macro.
59668         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59669         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59670         Renamed to ...
59671         (abi-*): This.
59672         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59673         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59675 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59677         * sysdeps/unix/sysv/linux/kernel-features.h
59678         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59679         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59680         include <kernel-features.h>.
59681         [!__NR_ftruncate64]: Remove conditional code.
59682         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59683         [__NR_ftruncate64]: Make code unconditional.
59684         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59685         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59686         include <kernel-features.h>.
59687         [!__NR_ftruncate64]: Remove conditional code.
59688         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59689         [__NR_ftruncate64]: Make code unconditional.
59690         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59692         include <kernel-features.h>.
59693         [!__NR_ftruncate64]: Remove conditional code.
59694         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59695         [__NR_ftruncate64]: Make code unconditional.
59696         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59698         include <kernel-features.h>.
59699         [!__NR_ftruncate64]: Remove conditional code.
59700         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59701         [__NR_ftruncate64]: Make code unconditional.
59702         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59704         * configure.in (libc_cv_fpie): Weaken to a compile test using
59705         LIBC_TRY_CC_OPTION.
59706         * configure: Regenerated.
59708 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59714         Refreshed.
59715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59721         Refreshed.
59723 2012-05-27  David S. Miller  <davem@davemloft.net>
59725         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59726         (___Q_zero): New.
59727         (__Q_simulate_exceptions): Return void.  Change to simulate
59728         exceptions by writing into the %fsr.
59729         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59730         (__Qp_handle_exceptions): Likewise.
59731         (numbers): Delete.
59732         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59733         __Qp_handle_exceptions.
59734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59735         __Qp_handle_exceptions.
59736         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59737         as unused and give dummy FP_RND_NEAREST initializer.
59738         (FP_INHIBIT_RESULTS): Define.
59739         (___Q_simulate_exceptions): Update declaration.
59740         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59741         formatting.
59742         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59743         as unused and give dummy FP_RND_NEAREST initializer.
59744         (__Qp_handle_exceptions): Update declaration.
59745         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59746         formatting.
59748 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59750         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59751         the temporary FPU control word.
59752         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59753         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59754         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59755         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59756         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59757         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59758         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59759         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59760         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59761         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59762         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59764 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59766         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59767         fields.
59769 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59771         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59772         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59773         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59774         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59775         Likewise.
59776         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59777         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59778         Likewise.
59780 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59782         * po/h.po: Update from translation team.
59784 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59786         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59788         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59789         handling of denormals.
59790         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59791         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59792         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59793         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59795         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59796         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59797         Likewise.
59799 2012-05-26  Marek Polacek  <polacek@redhat.com>
59801         [BZ #14152]
59802         * math/libm-test.inc (fma_test): Don't always expect underflow
59803         exception.
59805 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59807         [BZ #12416]
59808         * elf/tst-execstack.c: Include stackinfo.h.
59809         (do_test): Adjust test case to ensure that pthread_getattr_np
59810         behaviour remains the same after marking stack executable.
59812 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59814         * sysdeps/unix/sysv/linux/kernel-features.h
59815         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59816         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59817         kernel-features.h.
59818         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59819         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59820         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59821         kernel-features.h.
59822         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59823         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59825 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59827         * configure.in: Define the default includes to being none.
59828         * configure: Regenerated.
59830 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59832         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59833         * sysdeps/x86_64/setjmp.S: Likewise.
59834         * sysdeps/i386/bsd-setjmp.S: Likewise.
59835         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59836         * sysdeps/i386/setjmp.S: Likewise.
59837         * sysdeps/i386/__longjmp.S: Likewise.
59838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59839         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59841         * include/stap-probe.h: New file.
59842         * configure.in: Handle --enable-systemtap.
59843         * configure: Regenerated.
59844         * config.h.in (USE_STAP_PROBE): New #undef.
59845         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59846         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59847         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59849 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59851         [BZ #13717]
59852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59853         to 2.4.0 where earlier.
59854         * sysdeps/unix/sysv/linux/configure: Regenerated.
59855         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59856         <kernel-features.h>.
59857         [__ASSUME_32BITUIDS]: Make code unconditional.
59858         [!__ASSUME_32BITUIDS]: Remove conditional code.
59859         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59860         <kernel-features.h>.
59861         [__ASSUME_32BITUIDS]: Make code unconditional.
59862         [!__ASSUME_32BITUIDS]: Remove conditional code.
59863         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59864         [__ASSUME_32BITUIDS]: Make code unconditional.
59865         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59866         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59867         <kernel-features.h>.
59868         [__ASSUME_32BITUIDS]: Make code unconditional.
59869         [!__ASSUME_32BITUIDS]: Remove conditional code.
59870         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59871         <kernel-features.h>.
59872         [__ASSUME_32BITUIDS]: Make code unconditional.
59873         [!__ASSUME_32BITUIDS]: Remove conditional code.
59874         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59875         <kernel-features.h>.
59876         [__ASSUME_32BITUIDS]: Make code unconditional.
59877         [!__ASSUME_32BITUIDS]: Remove conditional code.
59878         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59879         <kernel-features.h>.
59880         [__ASSUME_32BITUIDS]: Make code unconditional.
59881         [!__ASSUME_32BITUIDS]: Remove conditional code.
59882         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59883         <kernel-features.h>.
59884         [__ASSUME_32BITUIDS]: Make code unconditional.
59885         [!__ASSUME_32BITUIDS]: Remove conditional code.
59886         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59887         <kernel-features.h>.
59888         [__ASSUME_32BITUIDS]: Make code unconditional.
59889         [!__ASSUME_32BITUIDS]: Remove conditional code.
59890         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59891         <kernel-features.h>.
59892         [__ASSUME_32BITUIDS]: Make code unconditional.
59893         [!__ASSUME_32BITUIDS]: Remove conditional code.
59894         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59895         <kernel-features.h>.
59896         [__ASSUME_32BITUIDS]: Make code unconditional.
59897         [!__ASSUME_32BITUIDS]: Remove conditional code.
59898         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59899         <kernel-features.h>.
59900         [__ASSUME_32BITUIDS]: Make code unconditional.
59901         [!__ASSUME_32BITUIDS]: Remove conditional code.
59902         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59903         <kernel-features.h>.
59904         [__ASSUME_32BITUIDS]: Make code unconditional.
59905         [!__ASSUME_32BITUIDS]: Remove conditional code.
59906         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59907         <kernel-features.h>.
59908         [__NR_setresgid] (__setresgid): Do not declare.
59909         [__ASSUME_32BITUIDS]: Make code unconditional.
59910         [!__ASSUME_32BITUIDS]: Remove conditional code.
59911         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59912         <kernel-features.h>.
59913         [__NR_setresuid] (__setresuid): Do not declare.
59914         [__ASSUME_32BITUIDS]: Make code unconditional.
59915         [!__ASSUME_32BITUIDS]: Remove conditional code.
59916         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59917         <kernel-features.h>.
59918         [__ASSUME_32BITUIDS]: Make code unconditional.
59919         [!__ASSUME_32BITUIDS]: Remove conditional code.
59920         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59921         <kernel-features.h>.
59922         [__ASSUME_32BITUIDS]: Make code unconditional.
59923         [!__ASSUME_32BITUIDS]: Remove conditional code.
59924         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59925         <kernel-features.h>.
59926         [__ASSUME_32BITUIDS]: Make code unconditional.
59927         [!__ASSUME_32BITUIDS]: Remove conditional code.
59928         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59929         <kernel-features.h>.
59930         [__ASSUME_32BITUIDS]: Make code unconditional.
59931         [!__ASSUME_32BITUIDS]: Remove conditional code.
59932         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59933         <kernel-features.h>.
59934         [__ASSUME_32BITUIDS]: Make code unconditional.
59935         [!__ASSUME_32BITUIDS]: Remove conditional code.
59936         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59937         <kernel-features.h>.
59938         [__ASSUME_32BITUIDS]: Make code unconditional.
59939         [!__ASSUME_32BITUIDS]: Remove conditional code.
59940         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59941         <kernel-features.h>.
59942         [__ASSUME_32BITUIDS]: Make code unconditional.
59943         [!__ASSUME_32BITUIDS]: Remove conditional code.
59944         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59945         <kernel-features.h>.
59946         [__ASSUME_32BITUIDS]: Make code unconditional.
59947         [!__ASSUME_32BITUIDS]: Remove conditional code.
59948         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59949         <kernel-features.h>.
59950         [__ASSUME_32BITUIDS]: Make code unconditional.
59951         [!__ASSUME_32BITUIDS]: Remove conditional code.
59952         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59953         <kernel-features.h>.
59954         [__ASSUME_32BITUIDS]: Make code unconditional.
59955         [!__ASSUME_32BITUIDS]: Remove conditional code.
59956         * sysdeps/unix/sysv/linux/kernel-features.h
59957         (__ASSUME_SETRESUID_SYSCALL): Remove.
59958         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59959         (__ASSUME_32BITUIDS): Likewise.
59960         (__ASSUME_LDT_WORKS): Likewise.
59961         (__ASSUME_O_DIRECTORY): Likewise.
59962         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59963         architecture but not kernel version.
59964         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59965         (__ASSUME_MMAP2_SYSCALL): Likewise.
59966         (__ASSUME_STAT64_SYSCALL): Likewise.
59967         (__ASSUME_IPC64): Likewise.
59968         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59969         <kernel-features.h>.
59970         [__ASSUME_32BITUIDS]: Make code unconditional.
59971         [!__ASSUME_32BITUIDS]: Remove conditional code.
59972         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59973         <kernel-features.h>.
59974         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59975         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59976         132096]: Remove conditional code.
59977         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59978         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59979         <kernel-features.h>.
59980         [__ASSUME_32BITUIDS]: Make code unconditional.
59981         [!__ASSUME_32BITUIDS]: Remove conditional code.
59982         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59983         <kernel-features.h>.
59984         [__ASSUME_32BITUIDS]: Make code unconditional.
59985         [!__ASSUME_32BITUIDS]: Remove conditional code.
59986         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59987         <kernel-features.h>.
59988         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59989         unconditional.
59990         (__setresgid): Do not declare.
59991         [__ASSUME_32BITUIDS]: Make code unconditional.
59992         [!__ASSUME_32BITUIDS]: Remove conditional code.
59993         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59994         <kernel-features.h>.
59995         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59996         unconditional.
59997         (__setresuid): Do not declare.
59998         [__ASSUME_32BITUIDS]: Make code unconditional.
59999         [!__ASSUME_32BITUIDS]: Remove conditional code.
60000         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60001         <kernel-features.h>.
60002         [__ASSUME_32BITUIDS]: Make code unconditional.
60003         [!__ASSUME_32BITUIDS]: Remove conditional code.
60004         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60005         <kernel-features.h>.
60006         [__ASSUME_32BITUIDS]: Make code unconditional.
60007         [!__ASSUME_32BITUIDS]: Remove conditional code.
60009 2012-05-25  Richard Henderson  <rth@twiddle.net>
60011         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60012         dl_hwcap to ifunc resolver.
60013         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60014         elf_ifunc_invoke.
60015         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60016         dl_hwcap to ifunc resolver.
60017         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60019 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60021         [BZ #14153]
60022         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60023         for |x| <= 2**-26, not 2**-57.
60024         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60025         exception.
60027 2012-05-24  Jeff Law  <law@redhat.com>
60029         * stdio-common/Makefile (tests): Add bug25.
60030         * stdio-common/bug25.c: New test.
60032 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60034         [BZ #13576]
60035         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60036         multiple of MALLOC_ALIGNMENT in size.
60037         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60039 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60041         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60042         Require >= 256.
60043         (FILENAME_MAX): Use macro-int-constant.
60044         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60045         (_IOFBF): Use macro-int-constant.
60046         (_IOLBF): Likewise.
60047         (_IONBF): Likewise.
60048         (SEEK_CUR): Likewise.
60049         (SEEK_END): Likewise.
60050         (SEEK_SET): Likewise.
60051         (TMP_MAX): Likewise.
60052         (EOF): Use macro-int-constant.  Require < 0.
60053         (NULL): Use macro-constant.  Require == 0.
60054         (stdin): Require type to be FILE *.
60055         (stdout): Likewise.
60056         (stderr): Likewise.
60057         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60058         macro-int-constant.
60059         (EXIT_SUCCESS): Likewise.
60060         (NULL): Use macro-constant.  Require == 0.
60061         (RAND_MAX): Use macro-int-constant.
60062         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60063         [C99-based standards] (strtof): Require function.
60064         [C99-based standards] (strtold): Likewise.
60065         [C99-based standards] (strtoll): Likewise.
60066         [C99-based standards] (strtoull): Likewise.
60067         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60068         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60069         [ISO || ISO99 || ISO11] (math.h): Likewise.
60070         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60071         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60072         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60074 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60076         [BZ #14132]
60077         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60078         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60079         * intl/dgettext.c (DCGETTEXT): Likewise.
60080         * intl/gettext.c (DCGETTEXT): Likewise.
60081         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60082         * posix/regex_internal.h (gettext): Likewise.
60083         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60084         Remove declaration.
60085         * include/argz.h (__argz_count_internal)
60086         (__argz_stringify_internal): Remove declaration.
60087         (__argz_count, __argz_stringify): Declare hidden proto.
60088         * intl/dcgettext.c: Remove use of INTDEF.
60089         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60090         * string/argz-stringify.c: Likewise.
60091         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60092         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60093         Declare hidden proto.
60094         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60095         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60096         Declare hidden proto.
60097         * include/stdio.h (__asprintf_internal): Don't declare.
60098         (__asprintf): Don't define as macro.  Declare hidden proto.
60099         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60100         (__fsetlocking): Declare hidden proto.
60101         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60102         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60103         hidden proto.
60104         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60105         (_IO_setlinebuf): Remove use of INTUSE.
60106         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60107         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60108         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60109         Remove declaration.
60110         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60111         (_IO_do_flush): Remove use of INTUSE.
60112         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60113         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60114         (_IO_adjust_column, _IO_least_wmarker)
60115         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60116         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60117         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60118         (_IO_default_doallocate, _IO_wdefault_doallocate)
60119         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60120         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60121         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60122         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60123         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60124         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60125         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60126         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60127         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60128         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60129         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60130         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60131         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60132         proto.
60133         (_IO_flush_all_internal, _IO_adjust_column_internal)
60134         (_IO_default_uflow_internal, _IO_default_finish_internal)
60135         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60136         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60137         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60138         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60139         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60140         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60141         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60142         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60143         (_IO_file_close_internal, _IO_file_close_it_internal)
60144         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60145         (_IO_file_init_internal, _IO_file_attach_internal)
60146         (_IO_file_fopen_internal, _IO_file_read_internal)
60147         (_IO_file_sync_internal, _IO_file_seek_internal)
60148         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60149         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60150         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60151         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60152         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60153         (_IO_list_all_internal, _IO_link_in_internal)
60154         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60155         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60156         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60157         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60158         (_IO_do_write_internal, _IO_padn_internal)
60159         (_IO_getline_info_internal, _IO_getline_internal)
60160         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60161         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60162         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60163         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60164         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60165         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60166         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60167         with libc_hidden_ver, remove use of INTUSE.
60168         * libio/genops.c: Likewise.
60169         * libio/freopen.c: Likewise.
60170         * libio/freopen64.c: Likewise.
60171         * libio/iofclose.c: Likewise.
60172         * libio/iofdopen.c: Likewise.
60173         * libio/iofflush.c: Likewise.
60174         * libio/iofflush_u.c: Likewise.
60175         * libio/iofgets.c: Likewise.
60176         * libio/iofgets_u.c: Likewise.
60177         * libio/iofopen.c: Likewise.
60178         * libio/iofopncook.c: Likewise.
60179         * libio/iofread.c: Likewise.
60180         * libio/iofread_u.c: Likewise.
60181         * libio/ioftell.c: Likewise.
60182         * libio/iofwrite.c: Likewise.
60183         * libio/iogetline.c: Likewise.
60184         * libio/iogets.c: Likewise.
60185         * libio/iogetwline.c: Likewise.
60186         * libio/iopadn.c: Likewise.
60187         * libio/iopopen.c: Likewise.
60188         * libio/ioseekoff.c: Likewise.
60189         * libio/ioseekpos.c: Likewise.
60190         * libio/iosetbuffer.c: Likewise.
60191         * libio/iosetvbuf.c: Likewise.
60192         * libio/ioungetc.c: Likewise.
60193         * libio/ioungetwc.c: Likewise.
60194         * libio/iovdprintf.c: Likewise.
60195         * libio/iovsprintf.c: Likewise.
60196         * libio/iovsscanf.c: Likewise.
60197         * libio/memstream.c: Likewise.
60198         * libio/obprintf.c: Likewise.
60199         * libio/oldfileops.c: Likewise.
60200         * libio/oldiofclose.c: Likewise.
60201         * libio/oldiofdopen.c: Likewise.
60202         * libio/oldiofopen.c: Likewise.
60203         * libio/oldiopopen.c: Likewise.
60204         * libio/oldstdfiles.c: Likewise.
60205         * libio/putc.c: Likewise.
60206         * libio/setbuf.c: Likewise.
60207         * libio/setlinebuf.c: Likewise.
60208         * libio/stdfiles.c: Likewise.
60209         * libio/strops.c: Likewise.
60210         * libio/vasprintf.c: Likewise.
60211         * libio/vscanf.c: Likewise.
60212         * libio/vsnprintf.c: Likewise.
60213         * libio/vswprintf.c: Likewise.
60214         * libio/wfiledoalloc.c: Likewise.
60215         * libio/wfileops.c: Likewise.
60216         * libio/wgenops.c: Likewise.
60217         * libio/wmemstream.c: Likewise.
60218         * libio/wstrops.c: Likewise.
60219         * libio/__fpurge.c: Likewise.
60220         * libio/__fsetlocking.c: Likewise.
60221         * assert/assert.c: Likewise.
60222         * debug/fgets_chk.c: Likewise.
60223         * debug/fgets_u_chk.c: Likewise.
60224         * debug/fread_chk.c: Likewise.
60225         * debug/fread_u_chk.c: Likewise.
60226         * debug/gets_chk.c: Likewise.
60227         * debug/obprintf_chk.c: Likewise.
60228         * debug/vasprintf_chk.c: Likewise.
60229         * debug/vdprintf_chk.c: Likewise.
60230         * debug/vsnprintf_chk.c: Likewise.
60231         * debug/vsprintf_chk.c: Likewise.
60232         * malloc/mtrace.c: Likewise.
60233         * misc/error.c: Likewise.
60234         * misc/syslog.c: Likewise.
60235         * stdio-common/asprintf.c: Likewise.
60236         * stdio-common/fxprintf.c: Likewise.
60237         * stdio-common/getw.c: Likewise.
60238         * stdio-common/isoc99_fscanf.c: Likewise.
60239         * stdio-common/isoc99_scanf.c: Likewise.
60240         * stdio-common/isoc99_vfscanf.c: Likewise.
60241         * stdio-common/isoc99_vscanf.c: Likewise.
60242         * stdio-common/isoc99_vsscanf.c: Likewise.
60243         * stdio-common/printf-prs.c: Likewise.
60244         * stdio-common/printf_fp.c: Likewise.
60245         * stdio-common/printf_fphex.c: Likewise.
60246         * stdio-common/printf_size.c: Likewise.
60247         * stdio-common/putw.c: Likewise.
60248         * stdio-common/scanf.c: Likewise.
60249         * stdio-common/sprintf.c: Likewise.
60250         * stdio-common/tmpfile.c: Likewise.
60251         * stdio-common/vfprintf.c: Likewise.
60252         * stdio-common/vfscanf.c: Likewise.
60253         * stdlib/strfmon_l.c: Likewise.
60254         * sunrpc/openchild.c: Likewise.
60255         * sunrpc/xdr_stdio.c: Likewise.
60256         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60257         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60259 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60261         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60263         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60264         in the third column, to generate for the shared library an IFUNC
60265         that uses _dl_vdso_vsym.
60266         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60267         * Makeconfig (object-suffixes-noshared): New variable.
60269         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60270         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60271         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60272         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60274         [BZ #14132]
60275         * include/sys/time.h (__gettimeofday): Remove macro.
60276         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60277         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60278         Remove INTDEF.
60279         (__gettimeofday): Add libc_hidden_def.
60280         (gettimeofday): Add libc_hidden_weak.
60281         * sysdeps/mach/gettimeofday.c: Likewise.
60282         * sysdeps/posix/gettimeofday.c: Likewise.
60283         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60284         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60285         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60286         (__gettimeofday_internal): Remove strong_alias.
60287         (__gettimeofday): Add libc_hidden_def.
60288         (gettimeofday): Add libc_hidden_weak.
60289         * sysdeps/unix/syscalls.list (gettimeofday):
60290         Remove __gettimeofday_internal alias.
60292 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60293             H.J. Lu  <hongjiu.lu@intel.com>
60295         [BZ #12495]
60296         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60297         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60298         (largebin_index_32_big): New.
60299         (largebin_index): Use it for 16-byte alignment.
60300         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60301         correction with front_misalign.
60303 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60307         Likewise.
60308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60309         Likewise.
60310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60311         Likewise.
60312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60313         Likewise.
60314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60315         Likewise.
60316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60317         Likewise.
60318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60319         Likewise.
60320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60321         Likewise.
60322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60323         Likewise.
60324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60325         Likewise.
60326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60327         Likewise.
60328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60329         Likewise.
60331         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60332         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60334 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60336         [BZ #10846]
60337         [BZ #14036]
60338         * math/libm-test.inc (exp_test): Add test from bug 14036.
60339         (pow_test): Add test from bug 10846.
60341         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60342         and other flags.
60343         (special_function): Do not include flags in test name.
60344         (parse_args): Likewise.
60345         * sysdeps/i386/fpu/libm-test-ulps: Update.
60346         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60347         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60348         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60351         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60352         exceptions.
60353         * math/libm-test.inc ("Philosophy"): Update comment about
60354         exception testing.
60355         (UNDERFLOW_EXCEPTION): New macro.
60356         (UNDERFLOW_EXCEPTION_OK): Likewise.
60357         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60358         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60359         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60360         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60361         (INVALID_EXCEPTION_OK): Update value.
60362         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60363         (OVERFLOW_EXCEPTION_OK): Likewise.
60364         (IGNORE_ZERO_INF_SIGN): Likewise.
60365         (test_exceptions): Handle underflow exceptions.
60366         (acos_test): Update for underflow exception expectations.
60367         (cexp_test): Likewise.
60368         (clog_test): Likewise.
60369         (clog10_test): Likewise.
60370         (csqrt_test): Likewise.
60371         (ctan_test): Likewise.
60372         (ctanh_test): Likewise.
60373         (exp_test): Likewise.
60374         (exp10_test): Likewise.
60375         (exp2_test): Likewise.
60376         (expm1_test): Likewise.
60377         (fma_test): Likewise.
60378         (j0_test): Likewise.
60379         (jn_test): Likewise.
60380         (nexttoward_test): Likewise.
60381         (pow_test): Likewise.
60382         (scalbn_test): Likewise.
60383         (scalbln_test): Likewise.
60384         (tan_test): Likewise.
60385         (y1_test): Likewise.
60386         * sysdeps/i386/fpu/libm-test-ulps: Update.
60387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60389 2012-05-23  David S. Miller  <davem@davemloft.net>
60391         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60392         (__libc_sigaction): Remove unused local variables.
60394 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60396         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60398 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60400         mktime: avoid signed integer overflow
60401         * time/mktime.c (__mktime_internal): Do not mishandle the case
60402         where diff == INT_MIN.
60404         mktime: simplify computation of average
60405         * time/mktime.c (ranged_convert): Use new time_t_avg function
60406         instead of rolling our own (probably-slower) code.
60408         mktime: do not assume signed right shift propagates sign bit
60409         * time/mktime.c (isdst_differ): New static function.
60410         (__mktime_internal): No need to normalize tm_isdst now.
60411         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60412         tm_isdst values.
60414         mktime: merge another wrapv change from gnulib
60415         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60416         from some compilers.
60418         mktime: remove incorrect attempt at unusual arithmetics
60419         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60420         The code didn't really work on such machines anyway.
60421         (TYPE_MINIMUM): Assume two's complement.
60422         (twos_complement_arithmetic): Verify that long_int and time_t
60423         are two's complement (or unsigned, in the latter case).
60425         mktime: check signed shifts on long_int and time_t, too
60426         * time/mktime.c (SHR): Check that shifts work as desired
60427         on the types long_int and time_t too, as SHR is used on
60428         such types.
60430         mktime: do not assume 'long' is wide enough
60431         * time/mktime.c (verify): Move decl up.
60432         (long_int): New type.
60433         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60434         to remove assumption in the code that 'long' is wide enough to
60435         store year values.  This assumption is not true on x32 and on
60436         some non-glibc platforms.
60438         mktime: merge wrapv change from gnulib
60439         * time/mktime.c (WRAPV): New macro.
60440         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60441         (guess_time_tm, __mktime_internal): Do not assume that signed
60442         integer overflow wraps around; modern compilers generate code
60443         where this assumption is no longer valid.
60445 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60447         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60448         Replace "jmp L(pseudo_end)" with "ret".
60449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60450         Likewise.
60452 2012-05-23  Andreas Jaeger  <aj@suse.de>
60454         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60455         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60457 2012-05-23  Andreas Jaeger  <aj@suse.de>
60458             Maximilian Attems  <max@stro.at>
60460         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60461         New macros.
60463 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60465         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60466         code so that pseudo_end is just ret and the stack pointer is
60467         correct also for static library in error case.
60469 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60471         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60472         move to syscalls.list.
60473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60478         * manual/install.texi (Running make install): Do not mention Linux
60479         kernel version for which pt_chown is not needed.
60480         (Linux): Do not mention problems with nscd with 2.0 kernels.
60481         * INSTALL: Regenerated.
60483 2012-05-23  Andreas Jaeger  <aj@suse.de>
60485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60486         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60487         macro.
60488         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60489         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60490         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60491         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60492         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60493         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60495         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60496         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60497         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60498         * sysdeps/unix/sysv/linux/bits/in.h
60499         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60501 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60503         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60504         (PREPARE_VERSION): Just use assert instead, it will be elided
60505         under [NDEBUG] anyway.
60507 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60509         * sysdeps/unix/sysv/linux/Makefile: Include
60510         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60511         (sysdep_routines): Remove sysctl.
60512         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60513         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60514         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60515         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60516         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60518 2012-05-22  Andreas Jaeger  <aj@suse.de>
60520         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60521         that pseudo_end is just ret and the stack pointer is correct also
60522         for static library in error case.
60524 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60526         [BZ #14122]
60527         * nss/nsswitch.c (defconfig_entries): New variable.
60528         (__nss_database_lookup): Don't leak defconfig entries.
60529         (nss_parse_service_list): Don't leak on error paths.
60530         (free_database_entries): New function.
60531         (free_defconfig): New function.
60532         (free_mem): Move common code to free_database_entries.
60534 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60536         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60537         Add arch_prctl.
60538         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60540         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60541         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60543         New macro.
60544         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60545         (INTERNAL_SYSCALL_TYPES): Likewise.
60546         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60547         (LOAD_REGS_TYPES_[1-6]): Likewise.
60548         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60549         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60551 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60553         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60554         copysignl for GLIBC_2_0.
60555         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60556         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60558         logbl for GLIBC_2_0.
60559         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60560         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60562 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60564         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60565         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60567         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60568         Use "neg %eax".
60570         * time/mktime.c: Update copyright years.
60572 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60574         mktime: merge comment-quoting-style change from gnulib
60575         * time/mktime.c: Quote 'like this' in comments.
60576         The GNU coding standards suggest that we no longer quote `like this',
60577         as "`" and "'" are typically rendered asymmetrically nowadays.
60578         The typical gnulib style is to quote 'like this' when quoting
60579         code, and "like this" when quoting English.
60581         * time/mktime.c (compile-command): Add "-I.".
60583         mktime: merge mktime-internal.h change from gnulib
60584         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60586         mktime: merge time_r change from gnulib
60587         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60589         mktime: merge DEBUG change from gnulib
60590         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60591         case system <time.h> has a #define.
60593         mktime: merge <sys/types.h> change from gnulib
60594         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60595         since <time.t> is now guaranteed to define time_t.
60597         mktime: merge HAVE_CONFIG_H change from gnulib
60598         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60600 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60603         Use "neg %eax".
60605         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60606         __rlim_t cast.
60607         (struct rusage): Use anonymous union to pad each field to
60608         __syscall_slong_t.
60610 2012-05-21  David S. Miller  <davem@davemloft.net>
60612         * Makefules (o-iterator): Remove .s cases.
60613         (compile-command.s): Delete.
60614         (COMPILE.s): Delete.
60615         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60617 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60619         * configure.in (libc_cv_predef_stack_protector): Only consider
60620         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60621         * configure: Regenerated.
60623 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60626         New macro.  Use R*LP on int and pointer.
60627         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60628         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60629         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60630         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60632         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60633         [__WORDSIZE_TIME64_COMPAT32] instead of
60634         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60635         (struct utmp): Likewise.
60636         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60637         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60638         Renamed to ...
60639         (__WORDSIZE_TIME64_COMPAT32): This.
60640         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60641         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60642         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60643         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60644         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60645         (__WORDSIZE_TIME64_COMPAT32): New macro.
60647 2012-05-21  Andreas Jaeger  <aj@suse.de>
60649         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60650         only if [SHARED]. Add prototype for __wcschr_ia32.
60652 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60654         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60655         of %rbp unmolested in the jmp_buf while mangling the low bits.
60656         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60657         unmolested high bits of %rbp while demangling the low bits.
60658         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60660 2012-05-21  Andreas Jaeger  <aj@suse.de>
60662         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60663         * sunrpc/svc_simple.c: Use it for registerrpc.
60664         * sunrpc/xcrypt.c: Use it for passwd2des.
60666         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60668 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60670         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60671         Don't define if [__SYSCALL_WORDSIZE != 32].
60672         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60673         New macro.
60675 2012-05-21  Bruno Haible  <bruno@clisp.org>
60676             Andreas Jaeger  <aj@suse.de>
60678         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60679         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60680         inptr and inend for must_buffer_ch.
60681         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60682         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60683         * stdio-common/Makefile (tests): Remove bug15.
60684         (bug15-ENV): Remove macro.
60685         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60686         anymore.
60688 2012-05-19  Andreas Jaeger  <aj@suse.de>
60689             Roland McGrath  <roland@hack.frob.com>
60691         * manual/contrib.texi: Completely rewritten. It contains now an
60692         alphabetical list of contributors and their contributions.
60694 2012-05-21  Richard Henderson  <rth@twiddle.net>
60696         * misc/getauxval.c (__getauxval): Use unsigned long int.
60697         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60698         (getauxval): Use unsigned long int.
60700 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60702         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60704 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60706         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60707         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60708         __alignof__ (long double).
60710 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60714 2012-05-20  Richard Henderson  <rth@twiddle.net>
60716         * misc/getauxval.c: New file.
60717         * misc/sys/auxv.h: New file.
60718         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60719         (routines): Add getauxval.
60720         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60721         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60722         * elf/dl-sysdep.c (_dl_auxv): Remove.
60723         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60724         * elf/dl-support.c (_dl_auxv): New variable.
60725         (_dl_aux_init): Initialize it.
60726         * manual/startup.texi (Auxiliary Vector): New node.
60727         * sysdeps/generic/bits/hwcap.h: New file.
60728         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60729         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60730         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60731         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60732         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60733         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60735         Update.
60736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60742         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60745 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60749 2012-05-19  David S. Miller  <davem@davemloft.net>
60751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60753 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60755         [BZ #14123]
60756         * math/s_ccosh.c: Include <float.h>
60757         (__ccosh): Avoid internal overflow calculating sinh and cosh
60758         values before multiplying by sin and cos values.
60759         * math/s_ccoshf.c: Likewise.
60760         * math/s_ccoshl.c: Likewise.
60761         * math/s_csin.c: Likewise.
60762         * math/s_csinf.c: Likewise.
60763         * math/s_csinl.c: Likewise.
60764         * math/s_csinh.c: Likewise.
60765         * math/s_csinhf.c: Likewise.
60766         * math/s_csinhl.c: Likewise.
60767         * math/libm-test.inc (ccos_test): Add more tests.
60768         (ccosh_test): Likewise.
60769         (csin_test): Likewise.
60770         (csinh_test): Likewise.
60771         * sysdeps/i386/fpu/libm-test-ulps: Update.
60772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60774 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60776         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60777         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60779         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60781 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60783         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60784         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60785         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60786         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60787         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60788         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60789         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60790         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60791         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60792         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60793         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60794         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60795         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60796         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60797         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60798         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60799         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60800         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60801         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60802         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60803         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60804         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60805         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60806         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60807         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60808         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60809         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60810         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60811         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60812         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60813         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60815 2012-05-18  Andreas Jaeger  <aj@suse.de>
60817         * csu/.gitignore: Delete.
60819 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60821         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60822         (timex): Use __syscall_slong_t.
60824 2012-05-18  Andreas Jaeger  <aj@suse.de>
60825             Carlos O'Donell  <carlos_odonell@mentor.com>
60827         * manual/install.texi (Configuring and compiling): Update
60828         description about files modified in the source directory.
60829         * INSTALL: Regenerated.
60831 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60833         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60834         value.  Use "or" to set return value to -1.
60835         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60836         negate return value.
60838 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60840         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60841         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60842         failure if the compiler has Graphite support disabled.
60843         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60844         Likewise.
60845         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60846         (CFLAGS-memmove.c): Likewise.
60847         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60848         Likewise.
60850 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60852         * sysdeps/x86_64/x32/_itoa.h: New file.
60854         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60855         getdents system call only if kernel and user dirents have the
60856         same d_ino and d_off.
60858         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60859         LLONG_MAX != LONG_MAX.
60860         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60861         (_fitoa_word): Likewise.
60863         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60864         years.
60865         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60866         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60867         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60869         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60870         include <bits/wordsize.h>.  Check __x86_64__ instead of
60871         __WORDSIZE.
60872         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60873         if __x86_64__ is defined.  Use anonymous union on fpstate.
60875         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60876         anonymous union.
60878 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60880         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60881         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60882         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60883         Refer to _rtld_local_ro instead of _rtld_global_ro.
60884         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60885         Likewise.
60886         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60887         Likewise.
60888         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60889         Likewise.
60890         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60891         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60892         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60894         [BZ #10882]
60895         * sysdeps/powerpc/powerpc32/dl-machine.c
60896         (__elf_machine_runtime_setup) [PROF]: Don't reference
60897         _dl_prof_resolve.
60899 2012-05-18  Andreas Jaeger  <aj@suse.de>
60901         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60902         function only available for GCCs before 3.4 since GCC 3.4
60903         introduced a builtin.
60904         (lrint): Likewise.
60905         (llrintf): Likewise.
60906         (llrint): Likewise.
60907         (fmaxf): Likewise.
60908         (fmax): Likewise.
60909         (fminf): Likewise.
60910         (fmin): Likewise.
60911         (rint): Likewise.
60912         (rintf): Likewise.
60913         (nearbyint): Likewise.
60914         (nearbyintf): Likewise.
60915         (ceil): Likewise.
60916         (ceilf): Likewise.
60917         (floor): Likewise.
60918         (floorf): Likewise.
60920 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60922         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60923         on both fields and cast pointer to __syscall_ulong_t.
60925         * bits/types.h (__fsword_t): New type.
60926         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60927         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60928         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60929         (__FSWORD_T_TYPE): Likewise.
60930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60931         (__FSWORD_T_TYPE): Likewise.
60932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60933         (__FSWORD_T_TYPE): Likewise.
60934         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60935         (__FSWORD_T_TYPE): Likewise.
60936         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60937         __SWORD_TYPE with __fsword_t.
60938         (statfs64): Likewise.
60940 2012-05-17  David S. Miller  <davem@davemloft.net>
60942         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60944 2012-05-17  Andreas Jaeger  <aj@suse.de>
60946         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60947         warning.
60949 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60951         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60953 2012-05-17  Andreas Jaeger  <aj@suse.de>
60955         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60956         when it is used.
60958 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60960         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60962 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60964         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60965         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60967 2012-05-17  Andreas Jaeger  <aj@suse.de>
60968             Carlos O'Donell  <carlos_odonell@mentor.com>
60970         [BZ #14059]
60971         * sysdeps/x86_64/multiarch/init-arch.h
60972         (bit_YMM_Usable): Rename to...
60973         (bit_AVX_Usable): ... this.
60974         (bit_FMA4_Usable): New macro.
60975         (bit_XMM_state): New macro.
60976         (bit_YMM_state): New macro.
60977         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60978         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60979         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60980         (CPUID_OSXSAVE): New macro.
60981         (CPUID_AVX): New macro.
60982         (CPUID_FMA4): New macro.
60983         (index_YMM_Usable): Rename to...
60984         (index_AVX_Usable): ... this.
60985         (HAS_AVX): Use HAS_ARCH_FEATURE.
60986         (HAS_FMA4): Likewise.
60987         (HAS_YMM_USABLE): Remove.
60988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60989         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60990         are present.
60991         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60992         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60993         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60994         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60995         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60997 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60999         * math/libm-test.c: Support platforms without multiple rounding modes.
61000         * math/bug-nextafter.c: Support platforms without FP exceptions.
61001         * math/bug-nexttoward.c: Likewise.
61002         * math/test-fenv.c: Likewise.
61003         * math/test-misc.c: Likewise.
61004         * stdlib/bug-getcontext.c: Likewise.
61006 2012-05-17  Andreas Jaeger  <aj@suse.de>
61008         * manual/examples/search.c (critter_cmp): Change signature to
61009         avoid warnings.
61010         * manual/string.texi (Collation Functions): Likewise.
61012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61014         * bits/types.h: Fold copyright years.
61015         * bits/typesizes.h: Likewise.
61016         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61018         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61020         * time/time.h: Likewise.
61022 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61024         [BZ #208]
61025         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61026         in instead of returning them.  Return void.
61027         (__libc_mallinfo): Accumulate over all arenas.
61028         (__malloc_stats): Adjust for change in int_mallinfo interface.
61030 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61032         [BZ #10375]
61033         * configure.in (NM): Add AC_CHECK_TOOL for it.
61034         (libc_extra_cflags): New substituted variable.
61035         Check for -fstack-protector being used implicitly.
61036         * configure: Regenerated.
61037         * config.make.in (config-extra-cflags): New variable,
61038         gets @libc_extra_cflags@.
61039         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61041         [BZ #10375]
61042         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61043         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61044         * configure: Regenerated.
61045         * config.make.in (CPPUNDEFS): New substituted variable.
61046         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61047         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61048         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61050 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61052         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61053         (mq_attr): Use __syscall_slong_t.
61055 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61057         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61058         Check __x86_64__ instead of __WORDSIZE.
61059         (_STAT_VER_LINUX): Likewise.
61060         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61061         __syscall_ulong_t and __syscall_slong_t.
61062         (stat64): Likewise.
61064 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61066         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61068 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61070         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61074         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61075         __syscall_ulong_t.
61077         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61078         include <bits/wordsize.h>.  Check __x86_64__ instead of
61079         __WORDSIZE.
61080         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61081         defined.
61082         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61084         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61085         include <bits/wordsize.h>.  Check __x86_64__ instead of
61086         __WORDSIZE.
61087         (user_regs_struct): Use "__extension__ unsigned long long"
61088         instead of "unsigned long" if __x86_64__ is defined.
61089         (user): Likewise.  Pad after pointer field if __ILP32__ is
61090         defined.
61092 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61094         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61095         versions 5 to 9.
61096         * configure: Regenerated.
61097         * manual/install.texi (texinfo): Increase version requirement to
61098         4.5 or later.
61099         * INSTALL: Regenerated.
61101         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61103 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61105         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61107         * sysdeps/x86_64/x32/ffs.c: New file.
61109         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61110         __syscall_ulong_t.
61111         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61112         defined.  Use __syscall_ulong_t.
61113         (shminfo): Use __syscall_ulong_t.
61114         (shm_info): Likewise.
61116         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61117         __syscall_ulong_t.
61119         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61120         <bits/wordsize.h>.
61121         (msgqnum_t): Use __syscall_ulong_t.
61122         (msglen_t): Likewise.
61123         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61124         __syscall_ulong_t.
61126         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61127         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61129         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61131         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61132         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61134         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61135         __syscall_slong_t.
61137         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61138         include <bits/wordsize.h>.  Check __x86_64__ instead of
61139         __WORDSIZE.
61141         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61142         "unsigned long long int" if __x86_64__ is defined.
61143         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61145         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61146         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61147         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61149         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61150         <stdint.h>.
61151         (GET_PC): Cast to uintptr_t first.
61152         (GET_FRAME): Likewise.
61153         (GET_STACK): Likewise.
61155         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61156         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61157         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61158         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61159         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61160         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61161         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61162         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61163         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61164         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61165         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61166         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61167         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61168         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61169         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61170         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61171         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61172         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61173         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61174         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61175         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61176         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61177         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61178         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61179         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61180         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61181         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61182         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61183         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61185 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61187         * Makerules (+depfiles): Also collect depfiles from .oS in
61188         $(extra-objs).
61189         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61190         .oS, $(libnldbl-routines)).
61192         * Makerules (native-compile-mkdep-flags): Define.
61193         * sunrpc/Makefile (extra-objs): Add $(addprefix
61194         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61195         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61196         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61197         calling $(make-target-directory).
61199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61201         * bits/types.h (__snseconds_t): Removed.
61202         * time/time.h (struct timespec): Replace __snseconds_t with
61203         __syscall_slong_t.
61204         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61205         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61206         Likewise.
61207         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61208         (__SNSECONDS_T_TYPE): Likewise.
61209         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61210         (__SNSECONDS_T_TYPE): Likewise.
61211         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61212         (__SNSECONDS_T_TYPE): Likewise.
61214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61216         * sysdeps/mach/hurd/bits/typesizes.h
61217         (__SYSCALL_SLONG_TYPE): New macro.
61218         (__SYSCALL_ULONG_TYPE): Likewise.
61220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61222         * bits/types.h (__syscall_slong_t): New type.
61223         (__syscall_ulong_t): Likewise.
61225         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61226         (__SYSCALL_ULONG_TYPE): Likewise.
61227         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61228         (__SYSCALL_SLONG_TYPE): Likewise.
61229         (__SYSCALL_ULONG_TYPE): Likewise.
61230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61231         (__SYSCALL_SLONG_TYPE): Likewise.
61232         (__SYSCALL_ULONG_TYPE): Likewise.
61233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61234         (__SYSCALL_SLONG_TYPE): Likewise.
61235         (__SYSCALL_ULONG_TYPE): Likewise.
61237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61239         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61240         Add sigaltstack-offsets.sym.
61241         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61242         <sigaltstack-offsets.h>.
61243         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61244         longjmp_msg pointer.
61245         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61246         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61247         signal stack.
61248         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61250 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61252         * elf/stackguard-macros.h: Remove file.
61253         * sysdeps/generic/stackguard-macros.h: New file.
61254         * sysdeps/i386/stackguard-macros.h: Likewise.
61255         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61256         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61257         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61258         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61259         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61260         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61261         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61262         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61263         <elf/stackguard-macros.h>.
61265         [BZ #14109]
61266         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61267         __aligned__ in attribute.
61268         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61269         (gregset_t): Likewise.
61271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61273         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61274         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61275         * sysdeps/x86_64/x32/Implies-after: New file.
61277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61279         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61280         and access return value for _dl_profile_fixup.  Use R10_LP to
61281         load frame size.
61283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61285         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61289         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61290         * sysdeps/x86_64/x32/sysdep.h: New file.
61292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61294         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61295         * sysdeps/x86_64/setjmp.S: Likewise.
61297 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61299         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61300         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61301         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61302         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61303         remove unused global constant.
61305 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61307         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61308         include of <not-cancel.h>.
61310 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61312         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61314 2012-05-15  Jeff Law  <law@redhat.com>
61315             Andreas Jaeger  <aj@suse.de>
61317         [BZ #13594]
61318         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61319         out from...
61320         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61321         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61322         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61323         code changing __hst_map_handle.map.
61325 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61327         * configure.in (sysnames): Look for Implies-before and Implies-after
61328         files.
61329         * configure: Regenerated.
61331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61333         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61334         8-byte data alignment with LP_SIZE alignment.
61336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61338         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61339         into R10_LP.
61341 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61343         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61347         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61348         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61349         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61350         Likewise.
61351         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61355         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61356         (stackinfo_sub_sp): Likewise.
61358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61360         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61361         RAX_LP.
61363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61365         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61366         into R*_LP.
61368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61370         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61371         sizes into R*_LP.
61373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61375         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61379         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61380         into R11_LP and load __x86_64_shared_cache_size_half into
61381         R8_LP.
61383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61385         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61386         R8_LP.
61388 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61391         logb for POWER7.
61392         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61393         logbf for POWER7.
61394         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61395         logbl for POWER7.
61396         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61397         powerpc32/power7/fpu/s_logb.c via #include.
61398         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61399         powerpc32/power7/fpu/s_logbf.c via #include.
61400         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61401         powerpc32/power7/fpu/s_logbl.c via #include.
61403 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61405         * README.libm: Remove file.
61407 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61409         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61410         count for x32.  Use R*_LP and omit operand-size suffix.
61412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61414         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61415         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61416         * sysdeps/x86_64/x32/shlib-versions: New file.
61418 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61420         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61421         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61422         Use _dl_fatal_printf instead.
61424 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61426         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61427         set if not set by the user.  Do not allow for being unset.
61428         * sysdeps/unix/sysv/linux/configure: Regenerated.
61430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61432         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61433         the `q' suffix from lea and replace .quad with ASM_ADDR.
61435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61438         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61439         instead of $17.
61440         (PTR_DEMANGLE): Likewise.
61442 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61444         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61445         (LP_OP): Likewise.
61446         (ASM_ADDR): Likewise.
61447         (RAX_LP): Likewise.
61448         (RBP_LP): Likewise.
61449         (RBX_LP): Likewise.
61450         (RCX_LP): Likewise.
61451         (RDI_LP): Likewise.
61452         (RSI_LP): Likewise.
61453         (RSP_LP): Likewise.
61454         (R8_LP): Likewise.
61455         (R9_LP): Likewise.
61456         (R10_LP): Likewise.
61457         (R10_LP): Likewise.
61458         (R11_LP): Likewise.
61459         (R12_LP): Likewise.
61460         (R13_LP): Likewise.
61461         (R14_LP): Likewise.
61462         (R15_LP): Likewise.
61464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61466         * sysdeps/x86_64/x32/dl-machine.h: New file.
61468 2012-05-14  Andreas Jaeger  <aj@suse.de>
61470         * manual/Makefile (subdir): Remove export of subdir.
61471         (all): Remove target.
61472         (.PHONY): Remove all from list.
61473         (mkinstalldirs): Remove.
61474         (.PHONY): Remove installdirs from list.
61475         ($(inst_infodir)/libc.info): Use make-target-directory.
61476         (installdirs): Remove.
61477         (subdir_%): Remove.
61478         (glibc-targets): Remove.
61479         (lib): Remove.
61480         (stubs): Remove.
61481         ($(objpfx)stubs ../po/manual.pot): Remove.
61482         ($(objpfx)stamp%): Remove.
61483         (make-target-directory): Remove.
61484         (subdir_install): Remove.
61485         (routines): Remove.
61486         (aux): Remove.
61487         (sources): Remove.
61488         (objects): Remove.
61489         (headers): Remove.
61491         [BZ #13750]
61492         * manual/.gitignore: Remove, it's not needed anymore.
61493         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61494         all files in it.
61495         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61496         directory.
61497         (texis): Renamed to $(objpfx)texis.
61498         (texis-path): New, contains path to generated files.
61499         (chapters.%): Use texis-path for complete path, add extra argument
61500         libc-texinfo.sh.
61501         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61502         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61503         (summary,texi, stamp-summary): Use complete path of
61504         files. Generate files in build dir.
61505         (dir-add.texi): Build in build dir.
61506         (libm-err.texi,stamp-libm-err): Likewise.
61507         (version.texi, stamp-version): Likewise.
61508         (.%c.texi): Likewise.
61509         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61510         (mostlyclean): Remove target.
61511         (realclean): Remove target.
61512         (generated): Add new variable with contents from mostlyclean and
61513         realclean, remove entries duplicated in common-mostlyclean, add
61514         stamp-libm-err and stamp-version.
61515         (generated-dirs): Add libc directory.
61516         ($(inst_infodir)/libc.info): Install files from build dir.
61518         * manual/install.texi (Configuring and compiling): Adjust since
61519         the info files are not part of the tar ball anymore.
61521 2012-05-14  Andreas Jaeger  <aj@suse.de>
61523         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61524         variable.
61526 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61528         [BZ #13717]
61529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61530         to 2.2.0 where earlier.
61531         * sysdeps/unix/sysv/linux/configure: Regenerated.
61532         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61533         Remove conditional code.
61534         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61535         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61536         Remove conditional code.
61537         [!__NR_lchown]: Likewise.
61538         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61539         [__NR_lchown]: Likewise.
61540         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61541         comment referencing __ASSUME_LCHOWN_SYSCALL.
61542         * sysdeps/unix/sysv/linux/i386/sigaction.c
61543         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61544         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61545         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61546         Remove conditional code.
61547         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61548         (__protocol_available): Remove #if 0 code.
61549         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61550         conditional code.
61551         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61552         * sysdeps/unix/sysv/linux/kernel-features.h
61553         (__ASSUME_GETCWD_SYSCALL): Don't define.
61554         (__ASSUME_REALTIME_SIGNALS): Likewise.
61555         (__ASSUME_PREAD_SYSCALL): Likewise.
61556         (__ASSUME_PWRITE_SYSCALL): Likewise.
61557         (__ASSUME_POLL_SYSCALL): Likewise.
61558         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61559         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61560         non-SPARC.
61561         (__ASSUME_SIOCGIFNAME): Don't define.
61562         (__ASSUME_MSG_NOSIGNAL): Likewise.
61563         (__ASSUME_SENDFILE): Define unconditionally.
61564         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61565         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61566         conditional code.
61567         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61568         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61569         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61570         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61571         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61572         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61573         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61575         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61578         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61581         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61584         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61585         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61587         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61588         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61590         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61591         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61593         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61594         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61596         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61597         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61598         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61599         Remove conditional code.
61600         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61601         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61602         Remove conditional code.
61603         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61604         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61605         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61606         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61607         Remove conditional code.
61608         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61609         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61610         Remove conditional code.
61611         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61612         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61613         Remove conditional code.
61614         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61615         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61616         Remove conditional code.
61617         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61618         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61619         Remove conditional code.
61620         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61621         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61622         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61623         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61624         * sysdeps/unix/sysv/linux/sigaction.c
61625         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61626         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61627         * sysdeps/unix/sysv/linux/sigpending.c
61628         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61629         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61630         * sysdeps/unix/sysv/linux/sigprocmask.c
61631         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61632         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61633         * sysdeps/unix/sysv/linux/sigsuspend.c
61634         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61635         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61636         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61637         (__libc_missing_rt_sigs): Remove.
61638         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61639         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61640         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61641         Remove conditional code.
61642         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61643         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61644         return 1.
61645         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61646         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61647         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61648         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61650 2012-05-14  Andreas Jaeger  <aj@suse.de>
61652         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61653         it's not used in glibc.
61654         (__coshm1): Likewise.
61655         (__acosh1p): Likewise.
61656         (__sgn): Likewise.
61658         * manual/string.texi (Copying and Concatenation): Add missing
61659         variable in concat example.
61660         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61662 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61664         [BZ #14103]
61665         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61666         __builtin_clzl with __builtin_clzll.
61668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61670         [BZ #14104]
61671         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61672         libc_freeres_ptr.
61674 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61676         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61677         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61678         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61679         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61681 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61683         * NEWS: Update ia64 info.
61685 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61687         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61688         used as bcopy.
61690 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61692         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61693         * sysdeps/unix/syscalls.list (dup3): Likewise.
61694         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61695         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61697 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61699         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61700         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61702 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61704         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61705         thread pointer.
61706         (TLS_IE): Use mov/add instead of movq/addq to load thread
61707         pointer.
61708         (TLS_GD_PREFIX): New.
61709         (TLS_GD): Use it.
61711 2012-05-11  David S. Miller  <davem@davemloft.net>
61713         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61714         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61715         (_FPU_SETCW): Likewise.
61717 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61719         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61720         is 32-byte aligned.
61722 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61724         [BZ #11837]
61725         * iconvdata/gb18030.c: Update tables.
61726         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61727         characters specially.
61728         (BODY for TO_LOOP): Add encoding of missing ranges.
61730 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61732         [BZ #13673]
61733         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61734         * sysdeps/mach/hurd/dup3.c: Likewise.
61735         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61736         * sysdeps/powerpc/memmove.c:: Likewise.
61738 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61741         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61743 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61745         * elf/elf.h (R_X86_64_RELATIVE64): New.
61746         (R_X86_64_NUM): Updated.
61747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61748         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61749         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61750         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61751         tst-quad1pie tst-quad2pie
61752         (modules-names): Add tst-quadmod1 tst-quadmod2.
61753         ($(objpfx)tst-quad1): New dependency.
61754         ($(objpfx)tst-quad2): Likewise.
61755         ($(objpfx)tst-quad1pie): Likewise.
61756         ($(objpfx)tst-quad2pie): Likewise.
61757         * sysdeps/x86_64/tst-quad1.c: New file.
61758         * sysdeps/x86_64/tst-quad1pie.c: New file.
61759         * sysdeps/x86_64/tst-quad2.c: Likewise.
61760         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61761         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61762         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61763         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61764         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61766 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61768         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61769         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61770         * streams/stropts.h (t_scalar_t): Define type.
61772         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61773         (_PATH_PRESERVE): Set to "/var/lib".
61774         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61776         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61777         instead of int.
61779         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61780         if __dir_mkfile succeeded.
61782         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61783         checking for _hurd_dtablesize.  Unlock it right after having
61784         finished _hurd_dtable allocation.
61786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61788         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61789         * sysdeps/mach/hurd/configure: Regenerated.
61790         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61791         special-casing to...
61792         * sysdeps/gnu/configure.in: ... this new file.
61793         * sysdeps/unix/sysv/linux/configure: Regenerated.
61794         * sysdeps/gnu/configure: New generated file.
61796         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61797         for Linux: use nsec instead of usec, as well as:
61798         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61799         members of type struct timespec.
61800         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61801         New macros.
61802         (struct stat64): Likewise.
61803         (_STATBUF_ST_NSEC): New macro.
61804         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61806         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61807         __strtoul_internal rather than strtoul.
61809 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61811         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61812         and reject them.
61814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61816         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61817         which preserves existing values.
61818         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61820 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61822         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61823         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61824         greater than FD_SETSIZE.
61826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61828         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61829         allocated, call __vm_protect to finish enabling the existing space, and
61830         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61831         allocate the remainder.
61833 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61835         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61836         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61838 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61840         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61841         sysdeps/mach/hurd/readlink.c.
61843         * posix/tst-sysconf.c (posix_options): Only use
61844         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61845         _POSIX_SYNCHRONIZED_IO when they are defined
61846         * sysdeps/mach/hurd/bits/posix_opt.h:
61847         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61848         (_XOPEN_REALTIME): Undefine macro.
61849         (_XOPEN_REALTIME_THREADS): Undefine macro.
61850         (_XOPEN_SHM): Undefine macro.
61851         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61852         macro to -1.
61853         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61854         macro to -1.
61855         (_POSIX_ASYNC_IO): Undefine macro.
61856         (_POSIX_PRIORITIZED_IO): Undefine macro.
61857         (_POSIX_SPIN_LOCKS): Define macro to -1.
61859         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61860         SA_NODEFER, SA_RESETHAND.
61861         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61862         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61863         F_DUPFD_CLOEXEC.
61865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61867         * elf/Makefile (pldd-modules): Define unconditionally.
61869 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61871         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61875         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61876         Return ENOENT when name is empty.
61877         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61881         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61883         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61887         Fix mlock in all cases except non-readable pages.
61888         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61889         instead of VM_PROT_ALL as parameter to __vm_wire function.
61891         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61892         (__mkdir): When path is `/', just fail with EEXIST.
61893         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61895 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61897         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61898         <sys/uio.h> (for writev).
61899         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61900         and <sys/param.h> (for MIN).
61902 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61904         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61905         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61906         if interrupted.
61908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61910         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61911         Depend on against $(link-rpcuserlibs).
61913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61915         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61916         (__libc_stack_end): Do not use attribute_relro.
61917         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61918         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61919         to libthread-provided value.
61920         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61921         attribute_relro.
61923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61925         [BZ #3748]
61926         * bits/libc-lock.h (__libc_once_get): New macro.
61927         * sysdeps/mach/bits/libc-lock.h: Likewise.
61928         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61929         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61930         instead of using implementation details.
61932         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61933         * libio/freopen.c: Likewise.
61934         * libio/freopen64.c: Likewise.
61935         * misc/syslog.c: Likewise.
61936         * nscd/connections.c: Likewise.
61937         * nscd/netgroupcache.c: Likewise.
61938         * sysdeps/posix/getcwd.c: Likewise.
61940 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61942         * math/w_ilogbf.c: Add #include <limits.h>.
61944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61946         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61947         path instead of returning without unlocking.
61949         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61950         immediate-write ioctls.
61951         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61953 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61955         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61956         __builtin_frame_address instead of making assumptions about the
61957         location of the return address relative to DATA.  Force early load of
61958         the return address.
61959         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61960         __builtin_frame_address.
61962         dup3 for GNU Hurd.
61963         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61964         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61965         implement dup3 and do some further code clean-ups.
61966         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61967         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61971         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61973         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61974         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61975         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61976         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61977         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61978         d->port.lock.
61980         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61981         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61982         when handler == SIG_ERR, not when handler != SIG_ERR.
61984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61986         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61987         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61988         definitions.
61990         accept4 for GNU Hurd.
61991         * include/sys/socket.h (__libc_accept4): New prototype.
61992         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61993         to implement __libc_accept4.
61994         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61995         __libc_accept4.
61996         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61998         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61999         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62000         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62001         signal-defines.sym.
62003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62005         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62007 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62009         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62010         assertion on O_CLOEXEC flag.
62011         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62012         * hurd/intern-fd.c: Likewise.
62013         * hurd/port2fd.c: Likewise.
62015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62017         [BZ #3906]
62018         * bits/in.h (IPV6_PKTINFO): Define new macro.
62019         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62021 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62023         [BZ #13954]
62024         [BZ #13955]
62025         [BZ #13956]
62026         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62027         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62028         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62029         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62031         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62032         * math/libm-test.inc (logb_test) : Additional logb tests.
62034 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62035             Andreas Jaeger  <aj@suse.de>
62037         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62038         * configure: Regenerated.
62039         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62040         * config.make.in (link-obsolete-rpc): New substituted variable.
62041         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62042         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62043         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62044         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62045         so that libc.a contains the symbols.
62046         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62047         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62048         * sunrpc/auth_none.c: Likewise.
62049         * sunrpc/auth_unix.c: Likewise.
62050         * sunrpc/authdes_prot.c: Likewise.
62051         * sunrpc/authuxprot.c: Likewise.
62052         * sunrpc/clnt_gen.c: Likewise.
62053         * sunrpc/clnt_perr.c: Likewise.
62054         * sunrpc/clnt_raw.c: Likewise.
62055         * sunrpc/clnt_simp.c: Likewise.
62056         * sunrpc/clnt_tcp.c: Likewise.
62057         * sunrpc/clnt_udp.c: Likewise.
62058         * sunrpc/clnt_unix.c: Likewise.
62059         * sunrpc/des_crypt.c: Likewise.
62060         * sunrpc/des_soft.c: Likewise.
62061         * sunrpc/get_myaddr.c: Likewise.
62062         * sunrpc/key_call.c: Likewise.
62063         * sunrpc/key_prot.c: Likewise.
62064         * sunrpc/netname.c: Likewise.
62065         * sunrpc/pm_getmaps.c: Likewise.
62066         * sunrpc/pm_getport.c: Likewise.
62067         * sunrpc/pmap_clnt.c: Likewise.
62068         * sunrpc/pmap_prot.c: Likewise.
62069         * sunrpc/pmap_prot2.c: Likewise.
62070         * sunrpc/pmap_rmt.c: Likewise.
62071         * sunrpc/publickey.c: Likewise.
62072         * sunrpc/rpc_cmsg.c: Likewise.
62073         * sunrpc/rpc_common.c: Likewise.
62074         * sunrpc/rpc_dtable.c: Likewise.
62075         * sunrpc/rpc_prot.c: Likewise.
62076         * sunrpc/rpc_thread.c: Likewise.
62077         * sunrpc/rtime.c: Likewise.
62078         * sunrpc/svc.c: Likewise.
62079         * sunrpc/svc_auth.c: Likewise.
62080         * sunrpc/svc_raw.c: Likewise.
62081         * sunrpc/svc_run.c: Likewise.
62082         * sunrpc/svc_tcp.c: Likewise.
62083         * sunrpc/svc_udp.c: Likewise.
62084         * sunrpc/svc_unix.c: Likewise.
62085         * sunrpc/svcauth_des.c: Likewise.
62086         * sunrpc/xcrypt.c: Likewise.
62087         * sunrpc/xdr.c: Likewise.
62088         * sunrpc/xdr_array.c: Likewise.
62089         * sunrpc/xdr_float.c: Likewise.
62090         * sunrpc/xdr_intXX_t.c: Likewise.
62091         * sunrpc/xdr_mem.c: Likewise.
62092         * sunrpc/xdr_rec.c: Likewise.
62093         * sunrpc/xdr_ref.c: Likewise.
62094         * sunrpc/xdr_sizeof.c: Likewise.
62095         * sunrpc/xdr_stdio.c: Likewise.
62097 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62099         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62100         change.  Update copyright years.
62102 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62104         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62106 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62107             Joseph Myers  <joseph@codesourcery.com>
62108             Paul Pluzhnikov  <ppluzhnikov@google.com>
62110         [BZ #14012]
62111         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62112         requiring rpcgen.
62113         [cross-compiling] (extra-libs): Likewise.
62114         [cross-compiling] (extra-libs-others): Likewise.
62115         [cross-compiling] (librpcsvc-routines): Likewise.
62116         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62117         [cross-compiling] (omit-deps): Likewise.
62118         (sunrpc-CPPFLAGS): New variable.
62119         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62120         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62121         (cross-rpcgen-objs): New variable.
62122         (extra-objs): Append $(cross-rpcgen-objs).
62123         ($(cross-rpcgen-objs)): New rule.
62124         ($(objpfx)cross-rpcgen): Likewise.
62125         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62126         comment.
62127         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62128         ($(objpfx)x%.stmp): Likewise.
62129         * sunrpc/proto.h [IS_IN_build] (_): Define.
62130         [IS_IN_build] (_libc_intl_domainname): Likewise.
62132 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62134         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62135         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62136         and R_X86_64_TPOFF64.
62138 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62140         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62141         sysdeps/unix/sysv/syscalls.list.
62142         (stime): Likewise.
62143         (utime): Likewise.
62144         * sysdeps/unix/sysv/syscalls.list: Remove file.
62146 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62148         [BZ #3440]
62149         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62150         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62151         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62152         (__LC_IDENTIFICATION): Make these macros useful in #if
62153         expressions, as required by C99.
62155 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62157         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62158         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62159         after this.
62161 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62163         * stdlib/longlong.h: Updated from GCC.
62165 2012-05-09  Andreas Jaeger  <aj@suse.de>
62167         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62168         default is first entry.
62169         (run_mode): Set type.
62170         (main): Remove informal message about syslog.
62171         (options): Fix typo.
62173         [BZ #14053]
62174         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62175         to asm.
62176         (lrint): Likewise.
62177         (llrintf): Likewise.
62178         (llrint): Likewise.
62179         (rint): Likewise.
62180         (rintf): Likewise.
62181         (nearbyint): Likewise.
62182         (nearbyintf): Likewise.
62184 2012-05-09  Andreas Jaeger  <aj@suse.de>
62185             Pedro Alves  <palves@redhat.com>
62187         * nscd/nscd.c (run_mode): Use enum.
62188         (main): Cleanup coding style issue.
62190 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62191             Andreas Jaeger  <aj@suse.de>
62193         * nscd/nscd.c (go_background): Replaced with...
62194         (run_mode): ... this.
62195         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62196         (options): Add -F --foreground.
62197         (main): Implement it.
62198         (parse_opt): Parse it.
62200 2012-05-09  Andreas Jaeger  <aj@suse.de>
62202         [BZ #14083]
62203         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62204         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62205         -Wconversion warning.
62206         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62207         Likewise.
62209 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62211         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62212         == 0.
62213         (LC_ALL): Use macro-int-constant.
62214         (LC_COLLATE): Likewise.
62215         (LC_CTYPE): Likewise.
62216         (LC_MESSAGES): Likewise.
62217         (LC_MONETARY): Likewise.
62218         (LC_NUMERIC): Likewise.
62219         (LC_TIME): Likewise.
62220         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62221         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62222         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62223         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62224         Specify type.
62225         [C99-based standards] (float_t): Expect type.
62226         [C99-based standards] (double_t): Expect type.
62227         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62228         type.
62229         [C99-based standards] (HUGE_VALL): Likewise.
62230         [C99-based standards] (INFINITY): Likewise.
62231         [C99-based standards] (NAN): Likewise.
62232         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62233         [C99-based standards] (FP_NAN): Likewise.
62234         [C99-based standards] (FP_NORMAL): Likewise.
62235         [C99-based standards] (FP_SUBNORMAL): Likewise.
62236         [C99-based standards] (FP_ZERO): Likewise.
62237         [C99-based standards] (FP_FAST_FMA): Use
62238         optional-macro-int-constant.  Specify type.  Require == 1.
62239         [C99-based standards] (FP_FAST_FMAF): Likewise.
62240         [C99-based standards] (FP_FAST_FMAL): Likewise.
62241         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62242         [C99-based standards] (FP_ILOGBNAN): Likewise.
62243         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62244         Specify type.
62245         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62246         [C99-based standards] (math_errhandling): Specify type.
62247         [ISO99 || ISO11] (signgam): Do not allow.
62248         [non-C99-based standards] (copysignf): Do not allow.
62249         [non-C99-based standards] (exp2f): Likewise.
62250         [non-C99-based standards] (log2f): Likewise.
62251         [non-C99-based standards] (modff): Allow.
62252         [non-C99-based standards] (erff): Do not allow.
62253         [non-C99-based standards] (erfcf): Likewise.
62254         [non-C99-based standards] (gammaf): Likewise.
62255         [non-C99-based standards] (hypotf): Likewise.
62256         [non-C99-based standards] (j0f): Likewise.
62257         [non-C99-based standards] (j1f): Likewise.
62258         [non-C99-based standards] (jnf): Likewise.
62259         [non-C99-based standards] (lgammaf): Likewise.
62260         [non-C99-based standards] (tgammaf): Likewise.
62261         [non-C99-based standards] (y0f): Likewise.
62262         [non-C99-based standards] (y1f): Likewise.
62263         [non-C99-based standards] (ynf): Likewise.
62264         [non-C99-based standards] (isnanf): Likewise.
62265         [non-C99-based standards] (acoshf): Likewise.
62266         [non-C99-based standards] (asinhf): Likewise.
62267         [non-C99-based standards] (atanhf): Likewise.
62268         [non-C99-based standards] (cbrtf): Likewise.
62269         [non-C99-based standards] (expm1f): Likewise.
62270         [non-C99-based standards] (ilogbf): Likewise.
62271         [non-C99-based standards] (log1pf): Likewise.
62272         [non-C99-based standards] (logbf): Likewise.
62273         [non-C99-based standards] (nextafterf): Likewise.
62274         [non-C99-based standards] (remainderf): Likewise.
62275         [non-C99-based standards] (rintf): Likewise.
62276         [non-C99-based standards] (scalbf): Likewise.
62277         [non-C99-based standards] (copysignl): Likewise.
62278         [non-C99-based standards] (exp2l): Likewise.
62279         [non-C99-based standards] (log2l): Likewise.
62280         [non-C99-based standards] (modfl): Allow.
62281         [non-C99-based standards] (erfl): Do not allow.
62282         [non-C99-based standards] (erfcl): Likewise.
62283         [non-C99-based standards] (gammal): Likewise.
62284         [non-C99-based standards] (hypotl): Likewise.
62285         [non-C99-based standards] (j0l): Likewise.
62286         [non-C99-based standards] (j1l): Likewise.
62287         [non-C99-based standards] (jnl): Likewise.
62288         [non-C99-based standards] (lgammal): Likewise.
62289         [non-C99-based standards] (tgammal): Likewise.
62290         [non-C99-based standards] (y0l): Likewise.
62291         [non-C99-based standards] (y1l): Likewise.
62292         [non-C99-based standards] (ynl): Likewise.
62293         [non-C99-based standards] (isnanl): Likewise.
62294         [non-C99-based standards] (acoshl): Likewise.
62295         [non-C99-based standards] (asinhl): Likewise.
62296         [non-C99-based standards] (atanhl): Likewise.
62297         [non-C99-based standards] (cbrtl): Likewise.
62298         [non-C99-based standards] (expm1l): Likewise.
62299         [non-C99-based standards] (ilogbl): Likewise.
62300         [non-C99-based standards] (log1pl): Likewise.
62301         [non-C99-based standards] (logbl): Likewise.
62302         [non-C99-based standards] (nextafterl): Likewise.
62303         [non-C99-based standards] (remainderl): Likewise.
62304         [non-C99-based standards] (rintl): Likewise.
62305         [non-C99-based standards] (scalbl): Likewise.
62306         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62307         [non-C99-based standards] (FP_*): Do not allow.
62308         [C99-based standards] (FP_*): Change to
62309         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62310         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62311         allow.
62312         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62313         (SIG_ERR): Likewise.
62314         [X/Open-based standards] (SIG_HOLD): Likewise.
62315         (SIG_IGN): Likewise.
62316         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62317         positive value.
62318         (SIGFPE): Likewise.
62319         (SIGILL): Likewise.
62320         (SIGINT): Likewise.
62321         (SIGSEGV): Likewise.
62322         (SIGTER): Likewise.
62323         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62324         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62325         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62326         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62327         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62328         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62329         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62330         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62331         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62332         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62333         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62334         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62335         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62336         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62337         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62338         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62339         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62340         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62341         [X/Open-based standards] (SIGTRAP): Likewise.
62342         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62343         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62344         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62345         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62346         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62347         allow.
62349 2012-05-08  Ian Wienand  <ianw@vmware.com>
62351         [BZ #14080]
62352         * time/tzset.c (__tzset_parse_tz): Update default rules for
62353         daylight time changes in the Energy Policy Act of 2005.
62355 2012-05-09  Andreas Jaeger  <aj@suse.de>
62357         [BZ #13983]
62358         * elf/ldconfig.c (parse_conf): Change string to make clear that
62359         ldconfig only issued a warning if ld.so.conf does not exist.
62361 2012-05-08  David S. Miller  <davem@davemloft.net>
62363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62364         movxtod instead of popping the value on the stack.
62366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62368 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62370         * config.h.in: Add HAVE_ARM_PCS_VFP.
62372 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62374         [BZ #13979]
62375         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62376         checking but the checks are disabled for any reason.
62378 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62380         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62381         and ELF64_R_TYPE with ELFW(R_TYPE).
62383 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62385         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62386         (ulimit): Likewise.
62388         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62389         (settimeofday): Likewise.
62391 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62393         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62394         a struct th_u2 inside the union, and move tu_block/tu_code into
62395         a new th_u3 union of tu_block/tu_code inside of that.  Move
62396         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62397         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62398         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62399         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62400         (th_stuff): Change to th_u1.tu_stuff.
62401         (th_data): Define.
62402         (th_msg): Change to th_u1.th_u2.tu_data.
62404 2012-05-07  David S. Miller  <davem@davemloft.net>
62406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62408         [BZ #14074]
62409         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62410         (SETUP_PIC_REG): Use it.
62411         (SETUP_PIC_REG_LEAF): Use it.
62413 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62415         [BZ #13885]
62416         [BZ #13923]
62417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62418         USE_AS_EXPM1L.
62419         (EXPL_FINITE): Likewise.
62420         (FLDLOG): Likewise.
62421         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62422         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62423         e_expl.S.
62424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62425         USE_AS_EXPM1L.
62426         (EXPL_FINITE): Likewise.
62427         (FLDLOG): Likewise.
62428         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62429         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62430         e_expl.S.
62431         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62432         test of -max_value argument for long double.
62433         * sysdeps/i386/fpu/libm-test-ulps: Update.
62434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62436 2012-05-06  David S. Miller  <davem@davemloft.net>
62438         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62439         quad soft-float symbols whose references which are compiler
62440         generated.
62441         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62443 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62445         [BZ #13884]
62446         [BZ #13914]
62447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62448         USE_AS_EXP10L.
62449         (EXPL_FINITE): Likewise.
62450         (FLDLOG): Likewise.
62451         (c0): Likewise.
62452         (c1): Likewise.
62453         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62454         Adjust comments for base varying.
62455         (__expl_finite): Change alias to EXPL_FINITE.
62456         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62457         e_expl.S.
62458         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62459         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62460         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62461         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62463         USE_AS_EXP10L.
62464         (EXPL_FINITE): Likewise.
62465         (FLDLOG): Likewise.
62466         (c0): Likewise.
62467         (c1): Likewise.
62468         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62469         Adjust comments for base varying.
62470         (__expl_finite): Change alias to EXPL_FINITE.
62471         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62472         tests for bugs.
62473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62475         [BZ #14064]
62476         * math/libm-test.inc (check_float_internal): Correct ulp
62477         calculation for subnormal expected results.
62479 2012-05-06  Andreas Jaeger  <aj@suse.de>
62481         * Makeconfig (+math-flags): New, set to -frounding-math.
62482         (+cflags): Add +math-flags so that all of glibc gets compiled with
62483         it.
62485         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62487 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62489         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62490         Disable one test.
62492         [BZ #13787]
62493         [BZ #13922]
62494         [BZ #14036]
62495         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62496         (__ieee754_expl): Allow for and saturate large arguments.
62497         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62498         (u_threshold): Likewise.
62499         (__exp): Call __ieee754_exp before checking for overflow and
62500         underflow.
62501         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62502         (u_threshold): Likewise.
62503         (__expf): Call __ieee754_expf before checking for overflow and
62504         underflow.
62505         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62506         (u_threshold): Likewise.
62507         (__expl): Call __ieee754_expl before checking for overflow and
62508         underflow.
62509         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62510         (__ieee754_expl): Allow for and saturate large arguments.
62511         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62512         missing overflow exception on overflow.
62513         (expm1_test): Do not allow missing overflow exception on overflow.
62515         * sysdeps/i386/fpu/e_expl.c: Move to ...
62516         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62517         rather than using inline asm.
62518         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62519         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62520         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62522         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62523         (nice): Likewise.
62524         (poll): Likewise.
62525         (signal): Likewise.
62526         (time): Likewise.
62527         (times): Likewise.
62529 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62531         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62532         sysdeps/unix/common/syscalls.list.
62533         (fchmod): Likewise.
62534         (fchown): Likewise.
62535         (ftruncate): Likewise.
62536         (getrusage): Likewise.
62537         (gettimeofday): Likewise.
62538         (setpgid): Likewise.
62539         (setregid): Likewise.
62540         (setreuid): Likewise.
62541         (sigaction): Likewise.
62542         (truncate): Likewise.
62543         (vhangup): Likewise.
62544         * sysdeps/unix/common/syscalls.list: Remove file.
62545         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62546         * sysdeps/unix/sysv/linux/Implies: Likewise.
62548 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62550         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62552         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62553         Moved to ...
62554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62555         Here.
62556         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62557         to ...
62558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62559         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62560         to ...
62561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62562         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62563         to ...
62564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62565         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62566         to ...
62567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62568         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62569         to ...
62570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62571         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62572         to ...
62573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62574         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62575         to ...
62576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62577         Here.
62578         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62579         to ...
62580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62581         Here.
62582         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62583         to ...
62584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62585         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62586         Moved to ...
62587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62588         Here.
62589         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62590         to ...
62591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62593 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62595         * sysdeps/unix/common/bits/dirent.h: Remove file.
62596         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62598         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62599         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62600         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62601         * sysdeps/unix/bsd/isatty.c: Likewise.
62602         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62603         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62604         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62606 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62608         [BZ #13563]
62609         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62610         long double comparison inaccuracies.
62611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62614 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62616         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62617         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62619 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62621         [BZ #14049]
62622         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62623         nonzero digits before rounding a hex value.
62624         * stdlib/tst-strtod.c (tests): Add another test.
62626 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62628         * sysdeps/s390/fpu/libm-test-ulps: Update.
62630 2012-05-03  Andreas Jaeger  <aj@suse.de>
62632         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62633         does not get optimized out.
62634         (malloc_opt_barrier): New.
62636 2012-05-03  Andreas Jaeger  <aj@suse.de>
62637             Roland McGrath  <roland@hack.frob.com>
62639         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62640         intermediate file deletion.
62641         (generated): Add .symlist files.
62643 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62645         [BZ #13775]
62646         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62647         Redirect under this condition.
62648         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62649         [__USE_GNU] (__dprintf_chk): Not under this condition.
62650         [__USE_GNU] (__vdprintf_chk): Likewise.
62651         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62652         under this condition.
62653         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62654         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62655         [__USE_XOPEN2K8] (vdprintf): Likewise.
62656         [__USE_GNU] (__dprintf_chk): Not under this condition.
62657         [__USE_GNU] (__vdprintf_chk): Likewise.
62658         [__USE_GNU] (dprintf): Likewise.
62659         [__USE_GNU] (vdprintf): Likewise.
62661 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62663         * elf/Makefile (common-generated): Set this instead of generated for
62664         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62665         $(all-built-dso)-derived lists.
62667 2012-05-03  Andreas Jaeger  <aj@suse.de>
62669         * sysdeps/i386/fpu/libm-test-ulps: Update.
62671         * FAQ: Removed.
62672         * FAQ.in: Likewise.
62673         * scripts/gen-FAQ.pl: Likewise.
62674         * manual/install.texi (Installation): Point to online location of
62675         FAQ.
62676         * Makefile (files-for-dist): Remove FAQ.
62677         (FAQ): Remove.
62679 2012-05-02  Allan McRae  <allan@archlinux.org>
62681         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62682         (LDFLAGS-reldepmod5.so): Likewise.
62683         (LDFLAGS-reldep6mod1.so): Likewise.
62684         (LDFLAGS-reldep6mod4.so): Likewise.
62685         (LDFLAGS-reldep8mod3.so): Likewise.
62686         (LDFLAGS-unload4mod1.so): Likewise.
62687         (LDFLAGS-unload4mod2.so): Likewise.
62688         (LDFLAGS-tst-initorder): Likewise.
62689         (LDFLAGS-tst-initordera2.so): Likewise.
62690         (LDFLAGS-tst-initordera3.so): Likewise.
62691         (LDFLAGS-tst-initordera4.so): Likewise.
62692         (LDFLAGS-tst-initorderb2.so): Likewise.
62693         (LDFLAGS-noload): Likewise.
62694         (LDFLAGS-next): Likewise.
62695         (LDFLAGS-order2mod1.so): Likewise.
62696         (LDFLAGS-order2mod2.so): Likewise.
62697         (LDFLAGS-tst-initorder2): Likewise.
62698         (LDFLAGS-tst-initorder2a.so): Likewise.
62699         (LDFLAGS-tst-initorder2b.so): Likewise.
62700         (LDFLAGS-tst-initorder2c.so): Likewise.
62701         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62703 2012-05-02  David S. Miller  <davem@davemloft.net>
62705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62707 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62709         [BZ #14055]
62710         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62712 2012-05-02  Andreas Jaeger  <aj@suse.de>
62714         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62715         since we manipulate rounding mode.
62716         (CPPFLAGS-test-idouble.c): Likewise.
62717         (CPPFLAGS-test-ifloat.c): Likewise.
62718         (CFLAGS-test-ldouble.c): Likewise.
62719         (CFLAGS-test-double.c): Likewise.
62720         (CFLAGS-test-float.c): Likewise.
62721         (CFLAGS-test-misc.c): Likewise.
62722         (CFLAGS-test-test-fenv.c): Likewise.
62724 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62726         [BZ #2550]
62727         [BZ #2570]
62728         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62729         comparisons to determine direction to adjust input.
62731 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62733         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62734         output to the target.
62736         * scripts/localplt.awk: New file.
62737         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62738         (check-localplt-CFLAGS): Variable removed.
62739         ($(all-built-dso:=.jmprel)): New static pattern rule.
62740         (generated): Add those targets.
62741         (localplt-built-dso): New variable.
62742         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62744         * elf/check-localplt.c: File removed.
62746         * scripts/check-execstack.awk: New file.
62747         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62748         (check-execstack-CFLAGS): Variable removed.
62749         ($(objpfx)check-execstack.h): Target removed.
62750         ($(objpfx)execstack-default): New target.
62751         (generated): Add that instead of check-execstack.h.
62752         ($(all-built-dso:=.phdr)): New static pattern rule.
62753         (generated): Add those targets.
62754         * elf/check-execstack.c: File removed.
62756         * scripts/check-textrel.awk: New file.
62757         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62758         (check-textrel-CFLAGS): Variable removed.
62759         (all-built-dso): Use := to define.o
62760         ($(all-built-dso:=.dyn)): New static pattern rule.
62761         (generated): Add those targets.
62762         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62763         * config.make.in (READELF): New substituted variable.
62764         * elf/check-textrel.c: File removed.
62766 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62768         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62769         allow.
62770         * conform/data/ctype.h-data [C99-based standards] (isblank):
62771         Expect function.
62772         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62773         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62775         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62776         Specify type.  Require positive value.
62777         (EILSEQ): Likewise.
62778         (ERANGE): Likewise.
62779         [ISO || POSIX] (EILSEQ): Do not expect.
62780         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62781         Specify type.  Require positive value.
62782         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62783         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62784         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62785         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62786         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62787         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62788         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62789         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62790         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62791         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62792         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62793         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62794         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62795         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62796         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62797         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62798         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62799         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62800         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62801         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62802         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62803         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62804         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62805         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62806         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62807         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62808         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62809         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62810         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62811         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62812         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62813         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62814         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62815         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62816         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62817         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62818         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62819         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62820         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62821         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62822         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62823         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62824         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62825         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62826         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62827         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62828         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62829         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62830         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62831         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62832         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62833         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62834         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62835         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62836         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62837         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62838         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62839         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62840         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62841         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62842         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62843         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62844         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62845         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62846         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62847         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62848         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62849         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62850         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62851         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62852         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62853         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62854         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62855         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62856         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62857         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62858         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62859         Require >= 2.
62860         (FLT_ROUNDS): Expect as macro, not constant.
62861         (FLT_MANT_DIG): Use macro-int-constant.
62862         (DBL_MANT_DIG): Likewise.
62863         (LDBL_MANT_DIG): Likewise.
62864         (FLT_DIG): Likewise.
62865         (DBL_DIG): Likewise.
62866         (LDBL_DIG): Likewise.
62867         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62868         (DBL_MIN_EXP): Likewise.
62869         (LDBL_MIN_EXP): Likewise.
62870         (FLT_MAX_EXP): Use macro-int-constant.
62871         (DBL_MAX_EXP): Likewise.
62872         (LDBL_MAX_EXP): Likewise.
62873         (FLT_MAX_10_EXP): Likewise.
62874         (DBL_MAX_10_EXP): Likewise.
62875         (LDBL_MAX_10_EXP): Likewise.
62876         (FLT_MAX): Use macro-constant.
62877         (DBL_MAX): Likewise.
62878         (LDBL_MAX): Likewise.
62879         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62880         (DBL_EPSILON): Likewise.
62881         (LDBL_EPSILON): Likewise.
62882         (FLT_MIN): Likewise.
62883         (DBL_MIN): Likewise.
62884         (LDBL_MIN): Likewise.
62885         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62886         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62887         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62888         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62889         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62890         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62891         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62892         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62893         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62894         [ISO11] (FLT_TRUE_MIN): Likewise.
62895         [ISO11] (LDBL_TRUE_MIN): Likewise.
62896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62897         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62898         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62899         (SCHAR_MAX): Likewise.
62900         (UCHAR_MAX): Likewise.
62901         (CHAR_MIN): Likewise.
62902         (CHAR_MAX): Likewise.
62903         (MB_LEN_MAX): Use macro-int-constant.
62904         (SHRT_MIN): Use macro-int-constant.  Specify type.
62905         (SHRT_MAX): Likewise.
62906         (USHRT_MAX): Likewise.
62907         (INT_MAX): Likewise.
62908         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62909         bound negative.
62910         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62911         bound with "U".
62912         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62913         bound with "L".
62914         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62915         bound negative.  Suffix upper bound with "L".
62916         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62917         bound with "UL".
62918         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62919         Specify type.
62920         [C99-based standards] (LLONG_MAX): Likewise.
62921         [C99-based standards] (ULLONG_MAX): Likewise.
62922         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62923         == 0.
62924         [ISO11] (max_align_t): Require type.
62925         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62927         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62928         from $CFLAGS, without defining away __attribute__ calls.
62929         (checknamespace): Use $CFLAGS_namespace.
62931         * conform/conformtest.pl (@keywords): Only include C99 keywords
62932         for standards based on C99 or C11.
62934         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62935         Disable tests.
62936         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62937         UNIX98]: Likewise.
62939         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62940         usability of symbols in #if.
62942         * conform/conformtest.pl: If macro or constant types start
62943         "promoted:", expect the symbol to be of the following type
62944         promoted by the integer promotions.
62946         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62947         in one place.  Also handle "macro-constant".
62949         * conform/conformtest.pl: Only accept expected macro values with
62950         "==".  Parse all "macro" lines in one place.
62951         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62953         * conform/conformtest.pl: Handle braced types on "constant" lines
62954         instead of handling "typed-constant".
62955         * conform/data/signal.h-data: Use "constant" instead of
62956         "typed-constant".
62958         * conform/conformtest.pl: Handle "optional-" at start of lines in
62959         one place rather than duplicating several cases.  Handle each
62960         format of "macro" line with initial "optional-".
62962         * conform/conformtest.pl: Only accept expected constant or
62963         optional-constant values with "==".  Parse all "constant" lines in
62964         one place.  Parse all "optional-constant" lines in one place.
62965         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62966         * conform/data/fmtmsg.h-data: Likewise.
62967         * conform/data/netinet/in.h-data: Likewise.
62968         * conform/data/tar.h-data: Likewise.
62969         * conform/data/limits.h-data: Use "==" form on "constant" and
62970         "optional-constant" lines.
62972         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62973         Use -std=c99 for XOPEN2K.
62974         (@knownproblems): Remove.
62975         (newtoken): Don't check %isknown.
62977         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62978         Do not expect macro.
62979         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62980         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62981         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62982         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62983         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62984         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62985         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62986         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62987         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62988         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62989         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62990         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62991         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62992         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62993         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62994         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62995         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62996         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62997         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62998         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62999         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63000         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63001         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63002         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63003         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63004         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63005         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63006         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63007         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63008         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63009         [XPG3] (acosh): Likewise.
63010         [XPG3] (asinh): Likewise.
63011         [XPG3] (atanh): Likewise.
63012         [XPG3] (cbrt): Likewise.
63013         [XPG3] (expm1): Likewise.
63014         [XPG3] (ilogb): Likewise.
63015         [XPG3] (log1p): Likewise.
63016         [XPG3] (logb): Likewise.
63017         [XPG3] (nextafter): Likewise.
63018         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63019         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63020         [XPG3] (remainder): Likewise.
63021         [XPG3] (rint): Likewise.
63022         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63023         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63024         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63025         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63026         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63027         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63028         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63029         [UNIX98 || XOPEN2K] (scalb): Expect.
63030         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63031         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63032         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63033         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63034         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63035         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63036         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63037         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63038         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63039         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63040         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63041         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63042         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63043         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63044         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63045         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63046         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63047         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63048         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63049         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63050         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63051         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63052         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63053         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63054         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63055         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63056         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63057         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63058         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63059         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63060         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63061         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63062         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63063         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63064         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63065         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63066         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63067         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63068         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63069         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63070         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63071         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63072         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63073         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63074         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63075         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63076         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63077         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63080         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63081         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63089         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63090         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63091         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63098         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63099         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63100         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63101         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63102         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63103         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63104         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63105         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63106         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63109         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63110         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63118         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63119         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63120         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63154         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63155         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63156         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63157         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63158         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63159         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63160         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63161         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63163         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63164         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63165         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63166         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63168         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63169         _XOPEN_SOURCE_EXTENDED for XPG4.
63171         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63173         * Makeconfig (localtime): Remove variable.
63174         (inst_localtime-file): Likewise.
63176 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63179         Update.
63180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63181         Update.
63182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63183         Update.
63184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63185         Update.
63186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63187         Update.
63188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63189         Update.
63190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63191         Update.
63192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63193         Update.
63194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63195         Update.
63197 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63199         [BZ #2550]
63200         [BZ #2570]
63201         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63202         comparisons to determine direction to adjust input.
63203         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63204         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63205         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63206         Likewise.
63207         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63208         Likewise.
63209         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63210         Likewise.
63211         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63212         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63213         Likewise.
63214         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63215         Likewise.
63216         * math/libm-test.inc (nexttoward_test): Add more tests.
63218 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63220         [BZ #14040]
63221         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63222         in version GLIBC_2.1, not GLIBC_2.0.
63223         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63224         Likewise.
63226 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63228         [BZ #13942]
63229         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63230         (1 - x) * (1 + x).
63231         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63232         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63233         * math/libm-test.inc (acos_test): Add more tests.
63234         (asin_test): Likewise.
63235         * sysdeps/i386/fpu/libm-test-ulps: Update.
63236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63238         [BZ #14034]
63239         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63240         of square root.
63241         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63242         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63243         * math/libm-test.inc (acos_test_tonearest): New function.
63244         (acos_test_towardzero): Likewise.
63245         (acos_test_downward): Likewise.
63246         (acos_test_upward): Likewise.
63247         (asin_test_tonearest): Likewise.
63248         (asin_test_towardzero): Likewise.
63249         (asin_test_downward): Likewise.
63250         (asin_test_upward): Likewise.
63251         (main): Call the new functions.
63252         * sysdeps/i386/fpu/libm-test-ulps: Update.
63253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63255         [BZ #13884]
63256         [BZ #13924]
63257         * math/e_exp10.c: Include <float.h>.
63258         (__ieee754_exp10): Handle underflow here rather than multiplying
63259         large negative argument by M_LN10.
63260         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63261         of __ieee754_expf.
63262         * math/e_exp10l.c: Include <float.h>.
63263         (__ieee754_exp10l): Handle underflow here rather than multiplying
63264         large negative argument by M_LN10l.
63265         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63266         spurious overflow exception on underflow.
63268 2012-04-29  Marek Polacek  <polacek@redhat.com>
63270         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63271         (__fortify_function): New macro.
63272         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63273         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63274         __extern_always_inline.
63275         * libio/bits/stdio2.h: Likewise.
63276         * libio/bits/stdio.h: Likewise.
63277         * string/string.h: Likewise.
63278         * string/bits/string3.h: Likewise.
63279         * include/stdio.h: Likewise.
63280         * stdlib/bits/stdlib.h: Likewise.
63281         * stdlib/stdlib.h: Likewise.
63282         * rt/bits/mqueue2.h: Likewise.
63283         * rt/mqueue.h: Likewise.
63284         * posix/bits/unistd.h: Likewise.
63285         * posix/unistd.h: Likewise.
63286         * io/bits/poll2.h: Likewise.
63287         * io/bits/fcntl2.h: Likewise.
63288         * io/fcntl.h: Likewise.
63289         * io/sys/poll.h: Likewise.
63290         * misc/bits/syslog.h: Likewise.
63291         * misc/bits/syslog-ldbl.h: Likewise.
63292         * misc/sys/syslog.h: Likewise.
63293         * socket/bits/socket2.h: Likewise.
63294         * socket/sys/socket.h: Likewise.
63295         * debug/tst-chk1.c: Likewise.
63296         * wcsmbs/bits/wchar2.h: Likewise.
63297         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63298         * wcsmbs/wchar.h: Likewise.
63300 2012-04-29  Andreas Jaeger  <aj@suse.de>
63302         * Makerules (tests): Remove enable-check-abi protection.
63303         (check-abi-warn): Remove.
63304         (check-abi-%): Remove check-abi-warn usage.
63306         * configure.in: Remove check-abi configure option.
63307         * configure: Regenerated.
63308         * config.make.in (enable-check-abi): Remove.
63310 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63312         [BZ #14033]
63313         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63314         double functions to double *_finite functions.
63316         [BZ #13941]
63317         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63318         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63319         LDBL_MIN_EXP.
63320         * stdio-common/Makefile (tests): Add tst-sprintf3.
63321         * stdio-common/tst-sprintf3.c: New file.
63323         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63324         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63326 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63328         * conform/conformtest.pl: Remove duplicate typed-constant
63329         handling.
63331 2012-04-28  David S. Miller  <davem@davemloft.net>
63333         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63334         (check-abi-%): Remove AWK script prerequisite and explicit
63335         abilist directory.
63336         (check-abi): Rewrite to just diff the symlist with the abilist.
63337         (config-tls, config-abi-config): Delete, no longer used.
63338         (update-abi-%): Remove AWK script and explicit abilist directory.
63339         (update-abi): Rewrite to simply compare and conditionally copy the
63340         symlist and the sysdep abilist file.  Remove update-abi-config
63341         checks.
63342         * abilist/ld.abilist: Remove.
63343         * abilist/libBrokenLocale.abilist: Remove.
63344         * abilist/libanl.abilist: Remove.
63345         * abilist/libcrypt.abilist: Remove.
63346         * abilist/libdl.abilist: Remove.
63347         * abilist/librt.abilist: Remove.
63348         * abilist/libthread_db.abilist: Remove.
63349         * abilist/libutil.abilist: Remove.
63350         * scripts/extract-abilist.awk: Remove.
63351         * scripts/merge-abilist.awk: Remove.
63352         * sysdeps/generic/libcidn.abilist: New file.
63353         * sysdeps/generic/libnss_compat.abilist: New file.
63354         * sysdeps/generic/libnss_db.abilist: New file.
63355         * sysdeps/generic/libnss_dns.abilist: New file.
63356         * sysdeps/generic/libnss_files.abilist: New file.
63357         * sysdeps/generic/libnss_hesiod.abilist: New file.
63358         * sysdeps/generic/libnss_nis.abilist: New file.
63359         * sysdeps/generic/libnss_nisplus.abilist: New file.
63360         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63361         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63362         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63363         file.
63364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63365         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63366         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63367         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63368         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63369         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63370         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63371         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63372         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63373         file.
63374         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63375         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63376         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63377         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63378         file.
63379         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63380         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63381         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63382         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63383         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63384         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63385         file.
63386         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63387         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63388         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63389         file.
63390         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63391         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63392         New file.
63393         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63394         New file.
63395         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63396         New file.
63397         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63398         New file.
63399         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63400         New file.
63401         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63402         New file.
63403         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63404         New file.
63405         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63406         New file.
63407         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63408         New file.
63409         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63410         New file.
63411         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63412         New file.
63413         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63414         New file.
63415         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63416         New file.
63417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63418         file.
63419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63420         New file.
63421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63422         New file.
63423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63424         file.
63425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63426         New file.
63427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63428         New file.
63429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63430         file.
63431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63432         New file.
63433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63434         New file.
63435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63436         New file.
63437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63438         New file.
63439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63440         New file.
63441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63442         New file.
63443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63445         file.
63446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63447         New file.
63448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63449         file.
63450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63451         file.
63452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63453         file.
63454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63455         file.
63456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63457         file.
63458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63459         New file.
63460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63461         file.
63462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63463         file.
63464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63465         New file.
63466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63467         file.
63468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63470         file.
63471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63472         New file.
63473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63474         file.
63475         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63476         file.
63477         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63478         file.
63479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63480         file.
63481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63482         file.
63483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63484         New file.
63485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63486         file.
63487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63488         file.
63489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63490         New file.
63491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63492         file.
63493         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63494         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63495         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63496         file.
63497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63498         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63499         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63500         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63501         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63502         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63503         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63504         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63505         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63506         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63509         file.
63510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63511         New file.
63512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63513         file.
63514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63515         file.
63516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63517         file.
63518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63519         file.
63520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63521         file.
63522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63523         New file.
63524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63525         New file.
63526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63527         file.
63528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63529         New file.
63530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63531         file.
63532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63534         file.
63535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63536         New file.
63537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63538         file.
63539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63540         file.
63541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63542         file.
63543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63544         file.
63545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63546         file.
63547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63548         New file.
63549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63550         New file.
63551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63552         file.
63553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63554         New file.
63555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63556         file.
63558 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63560         * conform/conformtest.pl: Fix typo in handling typed-constant from
63561         allow-header.
63563 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63565         * README: Cut down references to pre-2.6 Linux kernels and
63566         Linuxthreads.  Update lists of configurations in libc and ports
63567         and sort alphabetically.  Say "or newer" with Linux kernel version
63568         requirements.
63570         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63572 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63574         [BZ #887]
63575         * math/libm-test.inc (logb_test_downward): New test to expose
63576         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63577         rounding mode.
63579 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63581         [BZ #14027]
63582         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63583         to be done.
63584         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63585         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63587 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63589         * sysdeps/unix/i386/brk.S: Remove file.
63590         * sysdeps/unix/i386/dl-brk.S: Likewise.
63591         * sysdeps/unix/i386/pipe.S: Likewise.
63592         * sysdeps/unix/i386/sigreturn.S: Likewise.
63593         * sysdeps/unix/i386/syscall.S: Likewise.
63594         * sysdeps/unix/i386/vfork.S: Likewise.
63595         * sysdeps/unix/i386/wait.S: Likewise.
63597         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63598         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63600         * configure.in (arm*-none*): Do not allow without
63601         --enable-hacker-mode.
63602         (netbsd*): Remove case setting base_os.
63603         (386bsd*): Likewise.
63604         (freebsd*): Likewise.
63605         (bsdi*): Likewise.
63606         (osf*): Likewise.
63607         (sunos*): Likewise.
63608         (ultrix*): Likewise.
63609         (newsos*): Likewise.
63610         (dynix*): Likewise.
63611         (*bsd*): Likewise.
63612         (sysv*): Likewise.
63613         (isc*): Likewise.
63614         (esix*): Likewise.
63615         (sco*): Likewise.
63616         (minix*): Likewise.
63617         (irix4*): Likewise.
63618         (irix6*): Likewise.
63619         (solaris[2-9]*): Likewise.
63620         (none): Likewise.
63621         * configure: Regenerated.
63623 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63625         [BZ #11521]
63626         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63627         overflow or cancellation in calculating denominator.
63628         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63629         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63630         down expression to avoid unexpected rounding in newer GCCs.
63631         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63633 2012-04-26  David S. Miller  <davem@davemloft.net>
63635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63636         long-double compat symbols.
63637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63651 2012-04-25  David S. Miller  <davem@davemloft.net>
63653         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63654         HWCAP_* values only after the memory barriers have been defined.
63655         (atomic_full_barrier): Define.
63656         (atomic_read_barrier): Define.
63657         (atomic_write_barrier): Define.
63659 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63661         * shlib-versions: Add libgcc_s version information.
63662         * sysdeps/generic/libgcc_s.h: Remove.
63663         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63664         libgcc_s.h.
63665         * sysdeps/gnu/unwind-resume.c: Likewise.
63666         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63668 2012-04-25  David S. Miller  <davem@davemloft.net>
63670         * sysdeps/unix/sparc/brk.S: Delete.
63671         * sysdeps/unix/sparc/dl-brk.S: Delete.
63672         * sysdeps/unix/sparc/pipe.S: Delete.
63673         * sysdeps/unix/sparc/sysdep.S: Delete.
63674         * sysdeps/unix/sparc/sysdep.h: Delete.
63675         * sysdeps/unix/sparc/vfork.S: Delete.
63676         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63677         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63678         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63679         (ret_ERRVAL, r0, r1, MOVE): Define.
63680         (JUMPTARGET): Remove.
63681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63682         sysdeps/unix/sparc/sysdep.h
63683         (ENTRY, END): Remove.
63684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63686 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63688         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63689         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63690         -DIS_IN_build.
63692         * timezone/README: Update upstream location and email address for
63693         tzcode and tzdata.
63694         * timezone/zdump.c: Update from tzcode 2012b.
63695         * timezone/zic.c: Likewise.
63697         * configure.in (libc_cv_as_needed): Remove test.
63698         * configure: Regenerated.
63699         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63700         conditional definition.
63701         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63702         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63703         * config.make.in (have-as-needed): Remove variable.
63705 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63706             Paul Pluzhnikov  <ppluzhnikov@google.com>
63708         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63709         strings correctly.
63711 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63713         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63714         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63715         * sysdeps/sh/strlen.S: Likewise.
63717 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63719         * sysdeps/unix/fork.S: Remove file.
63720         * sysdeps/unix/i386/fork.S: Likewise.
63721         * sysdeps/unix/sparc/fork.S: Likewise.
63723         * sysdeps/unix/system.c: Remove file.
63724         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63726         * sysdeps/unix/getegid.S: Remove file.
63727         * sysdeps/unix/geteuid.S: Likewise.
63729 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63731         * scripts/check-localplt.awk: New file.
63732         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63733         of diff.
63734         * scripts/data/localplt-generic.data: Add a comment.
63736         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63737         NODE when __dir_mkfile failed.
63738         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63739         Reported by Ludovic Courtès <ludo@gnu.org>.
63741 2012-04-24  Andreas Jaeger  <aj@suse.de>
63743         * Makerules (common-clean): Also remove gen-as-const-headers
63744         files.
63746 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63748         * Makerules (native-compile): Do not change working directory for
63749         build.  Use $(OUTPUT_OPTION) in command.
63750         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63752 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63754         [BZ #13886]
63755         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63756         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63757         * math/libm-test.inc (floor_test): Add more tests.
63758         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63760 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63762         * sysdeps/unix/getdents.c: Remove file.
63763         * sysdeps/unix/sysv/getdents.c: Likewise.
63764         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63766         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63767         sysdeps/unix/mman/syscalls.list.
63768         (mmap): Likewise.
63769         (mprotect): Likewise.
63770         (msync): Likewise.
63771         (munmap): Likewise.
63772         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63773         * sysdeps/unix/mman/syscalls.list: Remove.
63774         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63776         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63777         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63778         * configure: Regenerated.
63779         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63780         $(libgcc_s_suffix).
63781         * config.make.in (libgcc_s_suffix): Remove variable.
63783 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63785         * sysdeps/unix/sysv/gethostname.c: Move to ...
63786         * sysdeps/posix/gethostname.c: ... here.
63788         * sysdeps/unix/execve.S: Remove file.
63790         * sysdeps/unix/_exit.S: Remove file.
63792 2012-04-23  Andreas Jaeger  <aj@suse.de>
63794         [BZ #13739]
63795         * manual/Makefile: Remove make dist support, there's no
63796         need for a stand-alone documentation tar ball.
63797         (TEXI2DVI): Define always, it's not in Makeconfig.
63798         (dist): Removed.
63799         (tar-it): Removed.
63800         (edition): Removed.
63801         (glibc-doc-$(edition).tar): Removed
63802         (%.Z): Removed.
63803         (%.gz): Removed.
63804         (%.uu): Removed.
63805         (ETAGS): Remove, it's in Makeconfig.
63806         (move-if-change): Remove, it's in Makeconfig.
63808 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63810         [BZ #13970]
63811         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63812         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63813         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63814         (strtod_l, strtof_l, strtold_l): Remove __wur.
63815         It is not necessarily an error to ignore strtol's return value.
63816         One can reliably look at the stored endptr to decide whether
63817         the number had valid syntax.
63819 2012-04-21  Andreas Jaeger  <aj@suse.de>
63821         [BZ #13739]
63822         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63824 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63826         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63827         * sysdeps/unix/sysv/Versions: Remove file.
63829 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63831         [BZ #13927]
63832         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63834 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63836         [BZ #7064]
63837         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63838         version from __vm86.
63840 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63842         * sysdeps/unix/common/lxstat.c: Remove file.
63843         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63845         * sysdeps/unix/sysv/Makefile: Remove file.
63847         * sysdeps/unix/sysv/direct.h: Remove file.
63849         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63850         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63851         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63852         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63853         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63854         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63855         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63857         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63859         * sysdeps/unix/xmknod.c: Remove file.
63860         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63862         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63864         * sysdeps/unix/sysv/i386/time.S: Remove file.
63866         * sysdeps/unix/fxstat.c: Remove file.
63867         * sysdeps/unix/xstat.c: Likewise.
63868         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63870         * sysdeps/unix/sysv/sigaction.c: Remove file.
63872         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63873         (sysdep_headers): Remove variable.
63874         [termio.h not in sysdep_headers] (generated): Likewise.
63875         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63876         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63877         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63878         * sysdeps/unix/sysv/tcflow.c: Likewise.
63879         * sysdeps/unix/sysv/tcflush.c: Likewise.
63880         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63881         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63882         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63883         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63884         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63886         * sysdeps/unix/siglist.c: Remove file.
63888         * sysdeps/unix/getppid.S: Remove file.
63890         * sysdeps/unix/mkdir.c: Remove file.
63891         * sysdeps/unix/rmdir.c: Likewise.
63893 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63895         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63896         ERR_MAX value.
63897         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63898         errlist-compat value.
63900 2012-04-18  David S. Miller  <davem@davemloft.net>
63902         * sysdeps/generic/memcopy.h (reg_char): Delete.
63903         * debug/strcat_chk.c: Use char, not reg_char.
63904         * debug/strcpy_chk.c: Likewise.
63905         * debug/strncat_chk.c: Likewise.
63906         * debug/strncpy_chk.c: Likewise.
63907         * string/memchr.c: Likewise.
63908         * string/memrchr.c: Likewise.
63909         * string/rawmemchr.c: Likewise.
63910         * string/strcat.c: Likewise.
63911         * string/strchr.c: Likewise.
63912         * string/strchrnul.c: Likewise.
63913         * string/strcmp.c: Likewise.
63914         * string/strcpy.c: Likewise.
63915         * string/strncat.c: Likewise.
63916         * string/strncmp.c: Likewise.
63917         * string/strncpy.c: Likewise.
63919 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63921         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63922         __builtin_memcopy is called when src and dest ranges are known to not
63923         overlap.
63925 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63927         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63928         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63929         fwd_align_merge macro call.
63930         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63931         bwd_align_merge macro call.
63932         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63934 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63936         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63937         bwd_align_merge macros.
63938         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63939         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63940         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63942 2012-04-18  David S. Miller  <davem@davemloft.net>
63944         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63946 2012-04-18  Andreas Jaeger  <aj@suse.de>
63948         [BZ# 6794]
63949         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63950         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63951         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63953         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63954         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63955         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63957         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63958         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63959         Adjust for changed ldbl-128 files.
63961         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63962         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63963         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63965 2012-04-17  David S. Miller  <davem@davemloft.net>
63967         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63969 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63971         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63972         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63973         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63974         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63975         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63976         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63978 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63980         [BZ #6794]
63981         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63982         * math/libm-test.inc: Add ilogb errno and exception tests.
63983         * math/w_ilogb.c: New file: ilogb wrapper.
63984         * math/w_ilogbf.c: New file: ilogbf wrapper.
63985         * math/w_ilogbl.c: New file: ilogbl wrapper.
63986         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63987         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63988         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63989         exception being thrown with 0.0 as argument.
63990         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63991         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63992         exception being thrown with 0.0 as argument.
63993         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63994         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63995         exception being thrown with 0.0 as argument.
63996         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63997         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63998         exception being thrown with 0.0 as argument.
63999         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64000         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64001         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64002         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64003         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64004         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64005         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64006         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64007         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64009 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64011         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64012         with altivec.
64014 2012-04-16  Marek Polacek  <polacek@redhat.com>
64016         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64018 2012-04-16  Marek Polacek  <polacek@redhat.com>
64020         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64021         operands of fdivp instruction.
64023 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64025         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64026         * elf/tst-auditmod3b.c: Likewise.
64027         * elf/tst-auditmod4b.c: Likewise.
64028         * elf/tst-auditmod5b.c: Likewise.
64029         * elf/tst-auditmod6b.c: Likewise.
64030         * elf/tst-auditmod6c.c: Likewise.
64031         * elf/tst-auditmod7b.c: Likewise.
64032         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64033         * sysdeps/x86_64/preconfigure.in: Likewise.
64034         * sysdeps/x86_64/preconfigure: Regenerated.
64036 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64038         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64039         __ILP32__.
64041 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64043         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64044         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64046 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64048         [BZ #13973]
64049         * locale/iso-639.def: Fix gl language name. Spotted by
64050         Yaron Shahrabani.
64052 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64054         [BZ #2074]
64055         * libio/libio.h (__io_write_fn): Update comment.
64057 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64059         [BZ #2074]
64060         * stdio.texi (Hook Functions): The user provided writer function
64061         is not allowed to return -1.
64063 2012-04-11  David S. Miller  <davem@davemloft.net>
64065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64067 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64069         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64070         Add a leading slash to rtkaio.
64072 2012-04-11  Jim Meyering  <meyering@redhat.com>
64074         [BZ #11959]
64075         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64076         It is not necessarily an error to ignore fwrite's return
64077         value.  One can reliably use ferror to test for errors after
64078         the fact.
64080 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64082         * bits/types.h (__snseconds_t): New type.
64083         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64085         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64086         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64087         (__SNSECONDS_T_TYPE): Likewise.
64088         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64089         (__SNSECONDS_T_TYPE): Likewise.
64090         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64091         (__SNSECONDS_T_TYPE): Likewise.
64093 2012-04-10  Andreas Jaeger  <aj@suse.de>
64095         [BZ #2636]
64096         * manual/time.texi (Processor Time): Return type of times is
64097         elapsed real time since an arbitrary point in the past.
64098         (CPU Time): Move CLK_TCK from here...
64099         (Processor Time): ...to here.  Correct description.
64100         * manual/conf.texi (Constants for Sysconf): Correct description of
64101         _SC_CLK_TCK.
64103 2012-04-10  David S. Miller  <davem@davemloft.net>
64105         [BZ #13967]
64106         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64107         where the is a gap between DT_REL(A) and DT_JMPREL.
64109 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64111         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64112         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64113         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64115 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64117         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64118         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64119         (dl_main): Handle --inhibit-cache.
64120         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64121         _dl_inhibit_cache.
64122         * elf/dl-load.c (_dl_map_object): Use it.
64123         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64125 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64127         [BZ #13872]
64128         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64129         (__ieee754_powl): Saturate large exponents rather than testing for
64130         overflow of y*log2(x).
64131         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64132         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64133         exceptions.
64135         [BZ #11521]
64136         * math/s_ctan.c: Include <float.h>.
64137         (__ctan): Avoid internal overflow or cancellation in calculating
64138         denominator.
64139         * math/s_ctanf.c: Likewise.
64140         * math/s_ctanl.c: Likewise.
64141         * math/s_ctanh.c: Likewise.
64142         * math/s_ctanhf.c: Likewise.
64143         * math/s_ctanhl.c: Likewise.
64144         * math/libm-test.inc (ctan_test): Add more tests.
64145         (ctanh_test): Likewise.
64146         * sysdeps/i386/fpu/libm-test-ulps: Update.
64147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64149 2012-04-09  Andreas Jaeger  <aj@suse.de>
64151         [BZ #6894]
64152         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64153         is an optional BSD extension.
64155         [BZ #10254]
64156         * manual/stdio.texi (Opening Streams): Document additional fopen
64157         parameters.
64159 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64161         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64162         %eax without telling the compiler.
64164 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64166         [BZ # 13963]
64167         * manual/install.texi: Use sourceware.org.
64169 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64171         [BZ #13873]
64172         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64173         (__ieee754_pow): Generate overflow and underflow using huge*huge
64174         and tiny*tiny rather than just returning constant infinity or zero
64175         for large exponents.
64176         * math/libm-test.inc (pow_test): Require overflow exceptions for
64177         applicable cases of large exponents.
64179         [BZ #706]
64180         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64181         (__ieee754_pow): Use iterative multiplication algorithm only for
64182         integer exponents with absolute value below 1024.  Check for odd
64183         integer exponents when using algorithm for real exponents.
64184         * math/libm-test.inc (pow_test): Add more tests.
64185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64187 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64189         [BZ #13705]
64190         * math/libm-test.inc (exp_test): Do not allow overflow exception
64191         on underflow test.
64193 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64195         [BZ #13705]
64196         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64197         instead of __kernel_standard_f.
64199 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64201         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64202         * sysdeps/x86_64/memset_chk.S: Likewise.
64204 2012-04-08  Andreas Jaeger  <aj@suse.de>
64206         [BZ #10153]
64207         * manual/startup.texi (Environment Access): Describe return value
64208         for putenv and setenv.
64210         [BZ #6895]
64211         * manual/filesys.texi (Directory Entries): Add description for
64212         DT_LNK.
64214         [BZ #6890]
64215         * manual/filesys.texi (Directory Entries): Clarify that it's file
64216         system not operating system in the description of DT_UNKNOWN.
64218         [BZ #6578]
64219         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64221 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64223         [BZ #6649]
64224         * manual/llio.texi (Opening and Closing Files): Add cross
64225         reference to explain mode argument.
64227 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64229         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64230         * sysdeps/x86_64/memset_chk.S: Likewise.
64232 2012-04-07  David S. Miller  <davem@davemloft.net>
64234         * elf/elf.h (R_SPARC_WDISP10): Define.
64235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64236         R_SPARC_SIZE32.
64237         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64238         R_SPARC_SIZE64 and R_SPARC_H34.
64240 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64242         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64243         conditions and remove no longer applicable assertion.
64245 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64247         * bits/byteswap.h: Include <features.h>.
64248         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64249         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64251 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64253         * bits/byteswap.h (__bswap_16): Removed.
64254         Include <bits/byteswap-16.h> to get __bswap_16.
64255         * sysdeps/i386/bits/byteswap.h: Likewise.
64256         * sysdeps/s390/bits/byteswap.h: Likewise.
64257         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64258         * bits/byteswap-16.h: New file.
64259         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64260         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64261         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64262         * string/Makefile (headers): Add bits/byteswap-16.h.
64264 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64266         [BZ #13895]
64267         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64268         extra indirection.
64269         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64270         * nss/tst-nss-static.c: New.
64272 2012-04-06  Robert Millan  <rmh@gnu.org>
64274         [BZ #6486]
64275         * manual/llio.texi (File Position Primitive): lseek
64276         refers to WHENCE when it really means OFFSET.
64278 2012-04-06  Andreas Jaeger  <aj@suse.de>
64280         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64281         strncmp declarations.
64283         * abilist/libc.abilist: Add __poll and __ppoll.
64285 2012-04-05  David S. Miller  <davem@davemloft.net>
64287         * scripts/check-local-headers.sh: Accept a host triplet in the
64288         path matched by the exclude regexp.
64290         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64291         definition.
64292         * sysdeps/powerpc/powerpc32/dl-machine.h
64293         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64294         * sysdeps/s390/s390-32/dl-machine.h
64295         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64296         * sysdeps/sparc/sparc32/dl-machine.h
64297         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64298         * sysdeps/sparc/sparc64/dl-machine.h
64299         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64301         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64302         lazy binding.
64303         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64304         undefined symbol errors.
64306         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64307         DT_NEEDED entries.
64309 2012-04-05  Michael Matz  <matz@suse.de>
64311         [BZ #13592]
64312         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64314 2012-04-05  Andreas Jaeger  <aj@suse.de>
64316         [BZ #13908]
64317         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64318         comment.
64320 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64322         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64323         which ROUND is no valid rounding mode.
64325 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64327         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64328         read again.
64329         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64331 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64333         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64334         an exception using FPU order intentionally.
64336 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64338         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64339         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64340         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64341         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64343 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64345         [BZ #12340]
64346         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64347         EINVAL when BUFLEN is too smal.
64349 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64351         [BZ #13553]
64352         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64353         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64355 2012-04-03  Andreas Jaeger  <aj@suse.de>
64357         [BZ #13938]
64358         * manual/setjmp.texi (System V contexts): Fix sentence.
64360         [BZ #13926]
64361         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64362         New macro for this case.
64363         [!__GNUC__] (__bswap_64): New inline function for this case.
64364         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64365         * bits/byteswap.h: Likewise.
64366         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64367         ull, guard with __GLIBC_HAVE_LONG_LONG.
64369         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64370         __GLIBC_HAVE_LONG_LONG.
64372         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64373         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64375 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64377         [BZ #13691]
64378         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64379         inptr and inend, rather than using last_ch.
64381 2012-04-02  David S. Miller  <davem@davemloft.net>
64383         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64384         * stdio-common/printf-parse.h (read_int): Change return type to
64385         'int', return -1 on INT_MAX overflow.
64386         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64387         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64388         overflows INT_MAX.  Check for overflow of in-format-string precision
64389         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64390         SIZE_MAX not INT_MAX for integer overflow test.
64391         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64392         skip the construct in the format string but do not record anything.
64393         * stdio-common/bug22.c: Adjust to test both width/prevision
64394         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64395         explicitly for proper errno values.
64397 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64399         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64400         CHAR_MAX.
64401         * string/test-strcmp.c [! WIDE]: Likewise.
64402         * time/tst-mktime2.c: Likewise for INT_MAX.
64403         * string/test-string.h: #include <sys/param.h> for MIN.
64405         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64406         * sysdeps/i386/init-first.c (init): Likewise.
64407         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64408         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64409         * sysdeps/sh/init-first.c (init): Likewise.
64411 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64413         * po/ru.po: Update from translation team.
64414         * po/vi.po: Likewise.
64416 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64418         * resolv/nss_dns/dns-host.c: Merge copyright years.
64420 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64422         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64423         Optimize memcpy with prefetch if
64424         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64425         src, dst pointers have unequal 16 byte alignments.
64427 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64429         [BZ #13928]
64430         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64431         from a CNAME entry and return the minimum ttl for the query.
64432         (gaih_getanswer_slice): Likewise.
64434 2012-03-30  Jeff Law  <law@redhat.com>
64436         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64437         due to long keys.
64438         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64439         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64441         * resolv/nss_dns/dns-host.c: Update copyright year.
64443 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64445         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64446         requests to save a system call.  Fix check that all bytes are sent.
64448         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64449         comments for sendmmsg.
64451 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64453         [BZ #13691]
64454         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64455         with only 1 character between 0x0041 and 0x01b0.
64456         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64457         * wcsmbs/tst-mbsnrtowcs.c: New file.
64459 2012-03-29  David S. Miller  <davem@davemloft.net>
64461         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64462         small copies by hand.
64464 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64466         [BZ #13761]
64467         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64468         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64469         group memberships.
64471 2012-03-28  David S. Miller  <davem@davemloft.net>
64473         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64474         that branches into memcpy.
64475         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64476         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64477         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64478         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64479         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64480         bits.
64481         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64482         implementation too.
64483         * sysdeps/sparc/mempcpy.S: New file.
64485         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64486         the IFUNC routine in the libc case.
64487         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64489         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64490         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64491         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64492         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64493         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64494         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64495         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64496         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64498         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64499         loop to 256 bytes instead of 64 bytes and fix test signedness.
64501         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64502         * sysdeps/sparc/sparc32/Makefile: rather than here...
64503         * sysdeps/sparc/sparc64/Makefile: and here.
64505 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64507         * malloc/mallocbug.c: Avoid warnings about unused variables.
64509 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64511         [BZ #13760]
64512         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64513         in the right place. Discard and retry query if response is
64514         larger than input buffer size.
64516 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64518         [BZ #369]
64519         [BZ #2678]
64520         [BZ #3866]
64521         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64522         x for large integer exponent.
64523         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64524         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64525         sign of result as needed afterwards.
64526         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64527         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64528         result for underflowing pow the same as for overflow.
64529         (__kernel_standard_l): Handle powl overflow and underflow here
64530         rather than calling __kernel_standard.
64531         * math/libm-test.inc (pow_test): Add more tests.
64533         [BZ #3868]
64534         [BZ #13879]
64535         [BZ #13910]
64536         [BZ #13911]
64537         [BZ #13912]
64538         [BZ #13913]
64539         [BZ #13915]
64540         [BZ #13916]
64541         [BZ #13917]
64542         [BZ #13918]
64543         [BZ #13919]
64544         [BZ #13920]
64545         [BZ #13921]
64546         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64547         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64548         (__kernel_standard_l): New function.
64549         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64550         __kernel_standard.
64551         * math/w_acosl.c (__acosl): Likewise.
64552         * math/w_asinl.c (__asinl): Likewise.
64553         * math/w_atan2l.c (__atan2l): Likewise.
64554         * math/w_atanhl.c (__atanhl): Likewise.
64555         * math/w_coshl.c (__coshl): Likewise.
64556         * math/w_exp10l.c (__exp10l): Likewise.
64557         * math/w_exp2l.c (__exp2l): Likewise.
64558         * math/w_fmodl.c (__fmodl): Likewise.
64559         * math/w_hypotl.c (__hypotl): Likewise.
64560         * math/w_j0l.c (__j0l, __y0l): Likewise.
64561         * math/w_j1l.c (__j1l, __y1l): Likewise.
64562         * math/w_jnl.c (__jnl, __ynl): Likewise.
64563         * math/w_lgammal.c (__lgammal): Likewise.
64564         * math/w_log10l.c (__log10l): Likewise.
64565         * math/w_log2l.c (__log2l): Likewise.
64566         * math/w_logl.c (__logl): Likewise.
64567         * math/w_powl.c (__powl): Likewise.
64568         * math/w_remainderl.c (__remainderl): Likewise.
64569         * math/w_scalbl.c (sysv_scalbl): Likewise.
64570         * math/w_sinhl.c (__sinhl): Likewise.
64571         * math/w_sqrtl.c (__sqrtl): Likewise.
64572         * math/w_tgammal.c (__tgammal): Likewise.
64573         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64574         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64575         * math/libm-test.inc (acos_test): Add more tests.
64576         (acosh_test): Likewise.
64577         (asin_test): Likewise.
64578         (atanh_test): Likewise.
64579         (exp_test): Likewise.
64580         (exp10_test): Likewise.
64581         (exp2_test): Likewise.
64582         (expm1_test): Likewise.
64583         (lgamma_test): Likewise.
64584         (log_test): Likewise.
64585         (log10_test): Likewise.
64586         (log1p_test): Likewise.
64587         (log2_test): Likewise.
64588         (pow_test): Do not allow some spurious overflow exceptions.
64589         (sqrt_test): Add more tests.
64590         (tgamma_test): Likewise.
64591         (y0_test): Likewise.
64592         (y1_test): Likewise.
64593         (yn_test): Likewise.
64595 2012-03-27  Anton Blanchard  <anton@samba.org>
64597         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64598         MAP_HUGETLB.
64599         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64600         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64601         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64603 2012-03-27  David S. Miller  <davem@davemloft.net>
64605         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64607         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64608         have-as-vis3 check.
64610 2012-03-27  Andreas Jaeger  <aj@suse.de>
64612         * sysdeps/x86_64/elf/configure.in: Moved to ...
64613         * sysdeps/x86_64/configure.in: ... here.
64614         * sysdeps/x86_64/elf/start.S: Moved to ...
64615         * sysdeps/x86_64/start.S: ... here.
64616         * sysdeps/x86_64/elf/configure: Delete.
64618         * sysdeps/x86_64/configure.in: Merge contents from
64619         sysdeps/i386/configure.in (without i686 check).
64621         * sysdeps/i386/elf/Versions: Merge into ...
64622         * sysdeps/i386/Versions: ... this.
64623         * sysdeps/i386/elf/Versions: Delete file.
64624         * sysdeps/i386/elf/start.S: Moved to ...
64625         * sysdeps/i386/start.S: ...here.
64626         * sysdeps/i386/elf/configure.in: Merge into...
64627         * sysdeps/i386/configure.in: ...here.
64628         * sysdeps/i386/elf/configure.in: Delete file.
64629         * sysdeps/i386/elf/configure: Delete file.
64631         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64632         * debug/backtracesyms.c: ... here.
64633         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64634         * debug/backtracesymsfd.c: ... here.
64635         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64636         * sysdeps/generic/ifunc-sel.h: ... here.
64638         * sysdeps/unix/i386/start.c: Delete file.
64639         * sysdeps/unix/sparc/start.c: Delete file.
64640         * sysdeps/unix/start.c: Delete file.
64642         * sysdeps/sh/elf/configure.in: Moved to ...
64643         * sysdeps/sh/configure.in: ... here.
64644         * sysdeps/sh/elf/start.S: Moved to ...
64645         * sysdeps/sh/start.S: ... here.
64646         * sysdeps/sh/elf/configure: Delete file.
64648         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64649         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64650         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64651         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64652         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64653         * sysdeps/powerpc/powerpc64/start.S: here.
64654         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64655         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64656         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64657         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64658         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64660         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64661         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64662         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64663         * sysdeps/powerpc/powerpc32/start.S: ... here.
64664         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64665         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64666         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64668         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64669         * sysdeps/powerpc/ifunc-sel.h: ... here.
64670         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64671         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64673         * sysdeps/sparc/elf/configure.in: Moved to ...
64674         * sysdeps/sparc/configure.in: ... here.
64675         * sysdeps/sparc/elf/configure: Delete file.
64676         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64677         * sysdeps/sparc/sparc32/start.S: ... here.
64678         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64679         * sysdeps/sparc/sparc64/start.S: ... here.
64680         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64681         * sysdeps/sparc/sparc32/Makefile: ... this.
64682         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64683         * sysdeps/sparc/sparc64/Makefile: ... this.
64685         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64686         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64687         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64688         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64689         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64690         * sysdeps/s390/s390-32/setjmp.S: ... here.
64691         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64692         * sysdeps/s390/s390-32/configure.in: ... here.
64693         * sysdeps/s390/s390-32/elf/configure: Delete file.
64694         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64695         * sysdeps/s390/s390-32/start.S: ... here.
64697         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64698         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64699         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64700         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64701         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64702         * sysdeps/s390/s390-64/setjmp.S: ... here.
64703         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64704         * sysdeps/s390/s390-64/configure.in: ... here
64705         * sysdeps/s390/s390-64/elf/configure: Delete file.
64706         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64707         * sysdeps/s390/s390-64/start.S: ... here.
64708         * sysdeps/s390/s390-64/elf/configure: Delete.
64710         * configure.in: Remove support for elf directories in sysdeps.
64712         * configure: Regenerated.
64713         * sysdeps/i386/configure: Regenerated.
64714         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64715         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64716         * sysdeps/s390/s390-32/configure: Regenerated.
64717         * sysdeps/s390/s390-64/configure: Regenerated.
64718         * sysdeps/sh/configure: Regenerated.
64719         * sysdeps/sparc/configure: Regenerated.
64720         * sysdeps/x86_64/configure: Regenerated.
64722 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64727         denormal result into account.
64729 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64731         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64732         Reported by Allan McRae <allan@archlinux.org>.
64734 2012-03-23  Jeff Law  <law@redhat.com>
64736         * nss/getnssent.c (__nss_getent): Fix typo.
64738 2012-03-23  David S. Miller  <davem@davemloft.net>
64740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64742 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64744         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64745         to pad to uint64_t for each field.
64746         (dl_tls_index): Replace unsigned long with uint64_t.
64748 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64749         Paul Pluzhnikov  <ppluzhnikov@google.com>
64751         [BZ #6528]
64752         * grp/Makefile (otherlibs): Don't set it.
64753         * inet/Makefile (otherlibs): Likewise.
64754         * login/Makefile (otherlibs): Likewise.
64755         * nscd/Makefile (otherlibs): Likewise.
64756         * posix/Makefile (otherlibs): Likewise.
64757         * pwd/Makefile (otherlibs): Likewise.
64758         * rt/Makefile (otherlibs): Likewise.
64759         * sunrpc/Makefile (otherlibs): Likewise.
64760         * nss/Makefile (otherlibs): Likewise.
64761         Add libnss_files to routines and static-only-routines.
64762         ($(objpfx)getent): Remove rule.
64763         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64764         static-only-routines.
64766 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64768         [BZ #13892]
64769         * math/s_cexp.c: Include <float.h>.
64770         (__cexp): Handle exp result overflowing not necessarily
64771         overflowing both real and imaginary parts of result.
64772         * math/s_cexpf.c: Likewise.
64773         * math/s_cexpl.c: Likewise.
64774         * math/libm-test.inc (cexp_test): Add more tests.
64775         * sysdeps/i386/fpu/libm-test-ulps: Update.
64776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64778 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64780         * include/link.h (ELFW): New macro.
64781         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64782         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64784 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64786         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64787         with uint64_t.
64789 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64791         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64792         declaration.
64793         (struct La_x32_retval): Likewise.
64795 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64797         * sysdeps/x86_64/preconfigure.in: New file.
64798         * sysdeps/x86_64/preconfigure: New generated file.
64800 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64802         [BZ #13824]
64803         * math/e_exp2l.c: Include <float.h>.
64804         (__ieee754_exp2l): Handle overflow and underflow cases
64805         separately.  Only pass fractional part of argument to
64806         __ieee754_expl.
64807         * math/libm-test.inc (exp2_test): Add more tests.
64809         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64810         negating x to take absolute value.
64811         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64812         Likewise.
64813         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64814         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64815         Likewise.
64816         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64817         computing low part if x was negated.
64818         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64820 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64822         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64823         la_x32_gnu_pltexit.
64824         (pltexit): Cast int_retval to ptrdiff_t.
64825         * elf/tst-auditmod3b.c: Likewise.
64826         * elf/tst-auditmod4b.c: Likewise.
64827         * elf/tst-auditmod5b.c: Likewise.
64828         * elf/tst-auditmod6b.c: Likewise.
64829         * elf/tst-auditmod6c.c: Likewise.
64830         * elf/tst-auditmod7b.c: Likewise.
64832         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64833         and x32_gnu_pltexit.
64835         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64836         __ELF_NATIVE_CLASS.
64837         (La_x32_regs): New macro.
64838         (La_x32_retval): Likewise.
64839         (la_x32_gnu_pltenter): New function prototype.
64840         (la_x32_gnu_pltexit): Likewise.
64842 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64844         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64845         exponent.
64847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64849         * configure.in (libc_cv_cc_nofma): Check for option to disable
64850         generation of FMA instructions.
64851         * configure: Regenerate.
64852         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64853         * sysdeps/ieee754/dbl-64/Makefile: New file.
64854         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64855         Remove brandred-fma4.
64856         (CFLAGS-brandred-fma4.c): Remove.
64857         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64858         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64859         define.
64860         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64861         define.
64863 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64865         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64866         LLONG_MAX != LONG_MAX.
64867         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64868         (_fitoa_word): Likewise.
64869         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64870         LLONG_MAX != LONG_MAX.
64871         * stdio-common/_itowa.h: Include <_itoa.h>.
64872         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64873         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64874         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64875         only if not defined.
64876         (_ITOA_WORD_TYPE): Likewise.
64877         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64878         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64880 2012-03-21  David S. Miller  <davem@davemloft.net>
64882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64884 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64886         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64887         of x86_64 when setting libc_cv_slibdir, libdir and
64888         libc_cv_localedir.
64889         * sysdeps/unix/sysv/linux/configure: Regenerated.
64891 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64893         * manual/lang.texi (Old Varargs): Remove section.
64894         (How Variadic): Update menu.
64895         (va_start): Do not mention varargs.h.
64897 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64898             Joseph Myers  <joseph@codesourcery.com>
64900         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64901         link test.
64902         * configure: Regenerated.
64904 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64906         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64907         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64908         conformtest.pl
64910 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64912         * NOTES: Remove.
64913         * Makefile (files-for-dist): Remove NOTES.
64914         (NOTES): Remove rule.
64915         * README: Don't refer to NOTES.
64916         * manual/creature.texi: Don't include macros.texi.
64917         * manual/intro.texi (creature.texi): Remove comment referring to
64918         NOTES.
64920         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64921         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64922         * configure: Regenerated.
64923         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64924         LIBC_TRY_CC_OPTION.
64925         (libc_cv_as_i686): Likewise.
64926         (libc_cv_cc_avx): Likewise.
64927         (libc_cv_cc_sse2avx): Likewise.
64928         (libc_cv_cc_fma4): Likewise.
64929         (libc_cv_cc_novzeroupper): Likewise.
64930         * sysdeps/i386/configure: Regenerated.
64932         [BZ #13883]
64933         * sysdeps/i386/fpu/s_cexp.S: Remove.
64934         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64935         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64936         * math/libm-test.inc (cexp_test): Add more tests.
64937         * sysdeps/i386/fpu/libm-test-ulps: Update.
64938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64940 2012-03-21  Allan McRae  <allan@archlinux.org>
64942         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64944 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64946         [BZ #13871]
64947         * math/w_exp2.c: Do not include <float.h>.
64948         (o_threshold, u_threshold): Remove.
64949         (__exp2): Calculate result before checking finiteness and calling
64950         __kernel_standard.
64951         * math/w_exp2f.c: Likewise.
64952         * math/w_exp2l.c: Likewise.
64953         * math/libm-test.inc (exp2_test): Require overflow exception for
64954         1e6 input.
64956         [BZ #3866]
64957         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64958         range of signed 64-bit integers before using fistpll.  Remove
64959         checks for whether integers fit in mantissa bits.
64960         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64961         the range of signed 32-bit integers before using fistpl.  Remove
64962         checks for whether integers fit in mantissa bits.
64963         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64964         (__ieee754_powl): Test for y outside the range of signed 64-bit
64965         integers before using fistpll.  Reduce 64-bit values to 63-bit
64966         ones as needed.
64967         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64968         divide-by-zero is raised for zero to large negative powers.
64969         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64970         (__ieee754_powl): Test for y outside the range of signed 64-bit
64971         integers before using fistpll.  Reduce 64-bit values to 63-bit
64972         ones as needed.
64973         * math/libm-test.inc (pow_test): Add more tests.
64975 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64977         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64978         <stdio-common/_itoa.h>.
64979         * debug/segfault.c: Likewise.
64980         * elf/dl-cache.c: Likewise.
64981         * elf/dl-minimal.c: Likewise.
64982         * elf/dl-misc.c: Likewise.
64983         * elf/dl-sysdep.c: Likewise.
64984         * elf/dl-version.c: Likewise.
64985         * elf/rtld.c: Likewise.
64986         * hurd/hurdsock.c: Likewise.
64987         * hurd/lookup-retry.c: Likewise.
64988         * malloc/malloc.c: Likewise.
64989         * malloc/mtrace.c: Likewise.
64990         * nscd/nscd_getgr_r.c: Likewise.
64991         * nscd/nscd_getpw_r.c: Likewise.
64992         * nscd/nscd_getserv_r.c: Likewise.
64993         * posix/getopt_init.c: Likewise.
64994         * posix/wordexp.c: Likewise.
64995         * stdio-common/_itoa.c: Likewise.
64996         * stdio-common/printf_fphex.c: Likewise.
64997         * stdio-common/vfprintf.c: Likewise.
64998         * string/_strerror.c: Likewise.
64999         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65000         * sysdeps/i386/i686/hp-timing.h: Likewise.
65001         * sysdeps/mach/_strerror.c: Likewise.
65002         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65003         * sysdeps/mach/hurd/sethostid.c: Likewise.
65004         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65005         * sysdeps/mach/xpg-strerror.c: Likewise.
65006         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65007         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65008         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65009         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65010         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65011         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65012         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65013         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65014         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65015         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65016         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65017         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65018         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65019         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65020         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65021         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65022         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65023         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65024         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65025         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65026         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65028         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65030         * stdio-common/_itoa.h: Moved to ...
65031         * sysdeps/generic/_itoa.h: Here.
65033         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65035         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65036         instead of "_itoa.h" and "_itowa.h".
65037         * stdio-common/vfprintf.: Likewise.
65039 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65041         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65042         <bits/wordsize.h>.
65043         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65044         (__signbit): Likwise.
65045         (llrintf): Likwise.
65046         (llrint): Likwise.
65048 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65050         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65051         __WORDSIZE != 64.
65053 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65055         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65056         OVERFLOW_EXCEPTION_OK.
65057         * math/libm-test.inc ("Philosophy"): Update comment about
65058         exception testing.
65059         (OVERFLOW_EXCEPTION): Define.
65060         (OVERFLOW_EXCEPTION_OK): Likewise.
65061         (INVALID_EXCEPTION_OK): Renumber.
65062         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65063         (IGNORE_ZERO_INF_SIGN): Likewise.
65064         (test_exceptions): Handle FE_OVERFLOW.
65065         (exp10_test): Expect overflow exceptions.
65066         (exp2_test): Likewise.
65067         (expm1_test): Likewise.
65068         (nextafter_test): Likewise.
65069         (pow_test): Likewise.
65070         (scalbn_test): Likewise.
65071         (scalbln_test): Likewise.
65073 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65075         * sysdeps/x86_64/bits/atomic.h
65076         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65077         64bit integer.
65078         (atomic_exchange_acq): Likewise.
65079         (__arch_exchange_and_add_body): Likewise.
65080         (__arch_add_body): Likewise.
65081         (atomic_add_negative): Likewise.
65082         (atomic_add_zero): Likewise.
65084 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65086         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65087         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65091         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65092         Check __x86_64__ instead of __WORDSIZE.
65094 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65096         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65098 2012-03-19  David S. Miller  <davem@davemloft.net>
65100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65102         * sysdeps/sparc/fpu/fenv_private.h: New file.
65103         * sysdeps/sparc/fpu/math_private.h: Use it.
65104         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65105         Remove.
65106         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65107         (libc_feholdexcept_setroundl): Remove.
65108         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65109         Remove.
65110         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65111         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65113 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65115         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65116         int64_t instead of long int.
65117         (INSERT_WORDS64): Likwise.
65119 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65121         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65122         _Unwind_GetCFA return to _Unwind_Ptr first.
65124 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65126         [BZ #13629]
65127         * math/s_clog.c: Include <float.h>.
65128         (__clog): Scale large or subnormal inputs.
65129         * math/s_clogf.c: Likewise.
65130         * math/s_clogl.c: Likewise.
65131         * math/s_clog10.c: Include <float.h>.
65132         (M_LOG10_2): Define.
65133         (__clog10): Scale large or subnormal inputs.
65134         * math/s_clog10f.c: Likewise.
65135         * math/s_clog10l.c: Likewise.
65136         * math/libm-test.inc (clog_test): Add more tests.
65137         (clog10_test): Likewise.
65138         * sysdeps/i386/fpu/libm-test-ulps: Update.
65139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65141         [BZ #11451]
65142         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65143         x and y.
65144         * math/libm-test.inc (atan2_test): Add another test.
65146         * Makerules (common-objdir-compile): Remove.
65147         * sysdeps/unix/Makefile (config-generated): Do not add
65148         $(unix-generated) to variable.
65149         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65150         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65151         Remove rule.
65152         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65153         Likewise.
65154         [generic bits/local_lim.h] (before-compile): Do not append to
65155         variable.
65156         [generic bits/local_lim.h] (common-generated): Likewise.
65157         [generic sys/param.h] (before-compile): Do not append to variable.
65158         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65159         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65160         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65161         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65162         include.
65163         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65164         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65165         [generic sys/param.h] ($(addprefix
65166         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65167         [generic sys/param.h] (common-generated): Do not append to
65168         variable.
65169         [generic sys/param.h] (sysdep_headers): Likewise.
65170         [generic bits/errno.h] (before-compile): Do not append to
65171         variable.
65172         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65173         rule.
65174         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65175         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65176         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65177         [generic bits/errno.h] (common-generated): Do not append to
65178         variable.
65179         [generic bits/ioctls.h] (before-compile): Do not append to
65180         variable.
65181         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65182         rule.
65183         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65184         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65185         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65186         rule.
65187         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65188         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65189         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65190         [generic bits/ioctls.h] (common-generated): Do not append to
65191         variable.
65192         [generic sys/syscall.h] (syscall.h): Remove variable.
65193         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65194         rule.
65195         [generic sys/syscall.h] (before-compile): Do not append to
65196         variable.
65197         [generic sys/syscall.h] (common-generated): Likewise.
65198         * sysdeps/unix/errnos-tmpl.c: Remove file.
65199         * sysdeps/unix/errnos.awk: Likewise.
65200         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65201         * sysdeps/unix/ioctls.awk: Likewise.
65202         * sysdeps/unix/mk-local_lim.c: Likewise.
65203         * sysdeps/unix/snarf-ioctls: Likewise.
65205 2012-03-19  Richard Henderson  <rth@twiddle.net>
65207         * sysdeps/i386/fpu/fenv_private.h: New file.
65208         * sysdeps/i386/fpu/math_private.h: Use it.
65209         (math_opt_barrier, math_force_eval): Remove.
65210         (libc_feholdexcept_setround_53bit): Remove.
65211         (libc_feupdateenv_53bit): Remove.
65212         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65213         (math_opt_barrier, math_force_eval): Remove.
65214         (libc_feholdexcept): Remove.
65215         (libc_feholdexcept_setround): Remove.
65216         (libc_fetestexcept, libc_fesetenv): Remove.
65217         (libc_feupdateenv_test): Remove.
65218         (libc_feupdateenv, libc_feholdsetround): Remove.
65219         (libc_feresetround): Remove.
65221         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65222         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65224         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65225         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65226         (libc_feupdateenv_testl): New.
65227         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65228         (libc_feupdateenv_testf): New.
65229         (libc_feupdateenv): Use libc_feupdateenv_test.
65230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65231         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65233         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65234         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65235         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65236         (libc_feresetround_noex): New.
65237         (libc_feresetround_noexf): New.
65238         (libc_feresetround_noexl): New.
65239         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65240         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65241         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65242         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65243         SET_RESTORE_ROUND.
65244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65246         (__cos): Likewise.
65247         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65248         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65249         SET_RESTORE_ROUND_NOEX.
65250         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65251         SET_RESTORE_ROUND_NOEXF.
65252         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65253         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65254         (libc_feholdsetroundf): New.
65255         (libc_feresetround, libc_feresetroundf): New.
65257         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65258         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65259         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65261         * sysdeps/generic/math_private.h: Include <fenv.h>.
65262         (default_libc_feholdexcept): New.
65263         (default_libc_feholdexcept_setround): New.
65264         (default_libc_fesetenv, default_libc_feupdateenv): New.
65265         (libc_feholdexcept): Only define if undefined.
65266         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65267         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65268         (libc_feholdexcept_setroundl): Likewise.
65269         (libc_feholdexcept_setround_53bit): Likewise.
65270         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65271         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65272         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65273         (libc_feupdateenv_53bit): Likewise.
65274         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65275         (libc_feholdexcept): Convert from macro to inline function.
65276         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65277         (libc_fesetenv, libc_feupdateenv): Likewise.
65279         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65280         not previously defined.
65281         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65282         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65283         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65284         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65285         * sysdeps/ieee754/flt-32/math_private.h: New file.
65286         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65287         math_private.h below SET_FLOAT_WORD.
65288         (__isnan, __isinf_ns, __finite): Remove.
65289         (__isnanf, __isinf_nsf, __finitef): Remove.
65291 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65295 2012-03-17  David S. Miller  <davem@davemloft.net>
65297         [BZ #6471]
65298         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65299         for 2.16.
65301 2012-03-16  David S. Miller  <davem@davemloft.net>
65303         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65304         warnings.
65306         [BZ #6471]
65307         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65308         properly.
65309         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65310         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65311         sysdep_routines when subdir is sysvipc.
65312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65313         __getshmlba helper.
65315         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65317 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65319         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65320         [__LP64__].
65322 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65324         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65325         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65326         (__lround): Renamed to ...
65327         (__llround): This.  Replace long int with long long int.
65328         Define lround functions as aliases of llround functions.
65329         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65331 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65333         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65334         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65335         adresses to uintptr_t.  Replace "long int" and "unsigned long
65336         int" with "greg_t" on va_arg.
65338 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65340         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65341         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65343         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65344         Move e_machine check before EI_CLASS check.  Handle x32
65345         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65346         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65347         SKIP_EM_IA_64 and include
65348         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65350         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65351         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65352         (add_system_dir): New macro.
65354         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65355         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65357 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65359         [BZ #2551]
65360         [BZ #2552]
65361         [BZ #2553]
65362         [BZ #2554]
65363         [BZ #2562]
65364         [BZ #2563]
65365         [BZ #2565]
65366         [BZ #2566]
65367         [BZ #2576]
65368         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65369         (y0): Likewise.
65370         * math/w_j0f.c (j0f): Likewise.
65371         (y0f): Likewise.
65372         * math/w_j0l.c (__j0l): Likewise.
65373         (__y0l): Likewise.
65374         * math/w_j1.c (j1): Likewise.
65375         (y1): Likewise.
65376         * math/w_j1f.c (j1f): Likewise.
65377         (y1f): Likewise.
65378         * math/w_j1l.c (__j1l): Likewise.
65379         (__y1l): Likewise.
65380         * math/w_jn.c (jn): Likewise.
65381         (yn): Likewise.
65382         * math/w_jnf.c (jnf): Likewise.
65383         (ynf): Likewise.
65384         * math/w_jnl.c (__jnl): Likewise.
65385         (__ynl): Likewise.
65386         * math/libm-test.inc (j0_test): Add more tests.
65387         (j1_test): Likewise.
65388         (jn_test): Likewise.  Add trailing semicolon to existing test.
65389         (y0_test): Likewise.
65390         (y1_test): Likewise.
65391         * sysdeps/i386/fpu/libm-test-ulps: Update.
65392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65394         [BZ #13851]
65395         [BZ #13854]
65396         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65397         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65398         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65399         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65400         (__tanl): Set errno for infinite argument.
65401         * sysdeps/i386/fpu/mptan.c: Remove.
65402         * sysdeps/i386/fpu/s_tan.S: Likewise.
65403         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65404         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65405         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65406         * math/libm-test.inc (tan_test): Add more tests and enable more
65407         tests for double and long double.
65408         * sysdeps/i386/fpu/libm-test-ulps: Update.
65409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65411 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65413         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65414         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65416 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65418         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65419         * configure.in: Use it for both main tree and add-ons.
65420         * configure: Regenerated.
65422 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65424         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65426 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65428         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65429         in comment.
65431         [BZ #13851]
65432         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65433         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65434         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65435         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65436         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65437         infinite argument.
65438         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65439         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65440         != 0 for prec == 2.
65441         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65442         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65443         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65444         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65445         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65446         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65447         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65448         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65449         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65450         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65451         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65452         * math/libm-test.inc (cos_test): Add more tests and enable more
65453         tests for long double.
65454         (sin_test): Likewise.
65455         (sincos_test): Likewise.
65456         * sysdeps/i386/fpu/libm-test-ulps: Update.
65457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65459 2012-03-16  David S. Miller  <davem@davemloft.net>
65461         * sysdeps/sparc/fpu/math_private.h: New file.
65463 2012-03-15  David S. Miller  <davem@davemloft.net>
65465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65466         file.
65467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65469         file.
65470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65471         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65472         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65473         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65474         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65475         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65476         sysdep routines.
65477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65479         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65480         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65482         * sysdeps/sparc/sparc-ifunc.h: New file.
65483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65484         sparc-ifunc.h
65485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65487         Likewise.
65488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65489         Likewise.
65490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65494         Likewise.
65495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65500         Likewise.
65501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65502         Likewise.
65503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65509         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65510         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65513         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65520         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65523         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65525         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65526         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65528 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65530         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65531         scaling.
65532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65534 2012-03-15  Andreas Jaeger  <aj@suse.de>
65536         [BZ #13852]
65537         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65538         ieee754/flt-32 implementation for sin, cos and sincos.
65539         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65540         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65541         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65542         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65543         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65544         ieee754/flt-32 implementation for tan.
65546         * math/libm-test.inc (cos_test): Enable some large input tests for
65547         float as well
65548         (sin_test): Likewise.
65549         (sincos_test): Likewise.
65550         (tan_test): Add tests for large input.
65552         * sysdeps/i386/fpu/libm-test-ulps: Update.
65554 2012-03-15  Andreas Jaeger  <aj@suse.de>
65556         [BZ #13658]
65557         * math/libm-test.inc (cos_test): Add more test cases.
65558         (sin_test): Likewise.
65559         (sincos_test): Likewise.
65561 2012-03-15  Andreas Jaeger  <aj@suse.de>
65563         [BZ #13837]
65564         * math/libm-test.inc (cos_test): Add a test case for large input
65565         value.
65566         (sin_test): Likewise.
65567         (sincos_test): Likewise.
65569 2012-03-15  Andreas Jaeger  <aj@suse.de>
65570             Joseph Myers  <joseph@codesourcery.com>
65572         [BZ #13658]
65573         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65574         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65575         * sysdeps/i386/fpu/branred.c: Likewise.
65576         * sysdeps/i386/fpu/dosincos.c: Likewise.
65577         * sysdeps/i386/fpu/mpa.c: Likewise.
65578         * sysdeps/i386/fpu/s_cos.S: Likewise.
65579         * sysdeps/i386/fpu/s_sin.S: Likewise.
65580         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65581         * sysdeps/i386/fpu/sincos32.c: Likewise.
65583         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65584         Define.
65585         (libc_feupdateenv_53bit): Define.
65586         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65587         Define.
65588         (libc_feupdateenv_53bit): Define.
65590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65591         53 bit (without extend i386 double precision).
65593         * math/libm-test.inc (sincos_test): Add tests for large input.
65594         (sin): Likewise.
65595         (cos): Likewise.
65597         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65599 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65603 2012-03-15  David S. Miller  <davem@davemloft.net>
65605         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65606         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65607         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65608         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65615         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65616         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65617         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65618         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65619         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65621         file.
65622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65624         file.
65625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65627         file.
65628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65630         file.
65631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65633         fmin/fmax sysdep routines.
65634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65636 2012-03-14  David S. Miller  <davem@davemloft.net>
65638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65643         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65644         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65645         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65646         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65653         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65654         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65655         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65656         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65657         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65658         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65659         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65660         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65661         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65662         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65663         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65664         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65665         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65666         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65667         routines.
65668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65669         file.
65670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65672         file.
65673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65675         file.
65676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65678         file.
65679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65681         file.
65682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65684         file.
65685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65686         file.
65687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65688         file.
65689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65690         file.
65691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65692         New file.
65693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65694         file.
65695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65696         file.
65697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65699         file.
65700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65702         file.
65703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65705         file.
65706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65708         VIS3 routines.
65710         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65711         New file.
65713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65715         * sysdeps/sparc/configure.in: New file.
65716         * sysdeps/sparc/configure: Generate.
65717         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65718         * configure: Regenerate.
65719         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65720         * config.make.in (have-as-vis3): New.
65721         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65722         available use -Av9d instead of -Av9a.
65723         * sysdeps/sparc/sparc64/Makefile: Likewise.
65724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65726         New file.
65727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65728         file.
65729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65730         New file.
65731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65732         file.
65733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65734         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65735         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65736         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65737         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65739         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65740         fzeros/fnegs to load 0x80000000 into a float register instead of
65741         using the stack.
65742         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65744 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65747         bits/syscall.h.
65748         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65749         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65750         ($(inst_includedir)/bits/syscall.h): Remove rule.
65751         ($(objpfx)bits/syscall.d): Include instead of
65752         $(objpfx)syscall-list.d.
65753         (generated): Change syscall-list.h and syscall-list.d to
65754         bits/syscall.h and bits/syscall.d.
65756 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65758         [BZ #13846]
65759         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65761 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65763         [BZ #13841]
65764         * math/s_csqrt.c: Include <float.h>.
65765         (__csqrt): Scale large or subnormal inputs.
65766         * math/s_csqrtf.c: Likewise.
65767         * math/s_csqrtl.c: Likewise.
65768         * math/libm-test.inc (csqrt_test): Add more tests.
65769         * sysdeps/i386/fpu/libm-test-ulps: Update.
65770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65772         [BZ #13840]
65773         * math/libm-test.inc (hypot_test): Add more tests.
65775 2012-03-13  David S. Miller  <davem@davemloft.net>
65777         [BZ #13840]
65778         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65779         double-precision for the calculation instead of scaling.
65781 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65783         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65784         manipulate bits before adding and subtracting TWO52[sx].
65785         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65786         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65787         Likewise.
65788         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65790 2012-03-13  David S. Miller  <davem@davemloft.net>
65792         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65793         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65794         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65795         rtld-global-offsets.h
65796         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65798         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65799         large parameters.
65801         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65803         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65804         'err' in the ifdef scope in which it is actually used.
65806         * nss/nss_db/db-init.c: Include string.h
65808 2012-03-12  David S. Miller  <davem@davemloft.net>
65810         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65811         masking out of the most significant byte of random value used.
65812         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65813         Fix coding style in previous change.
65815         * sysdeps/unix/sysv/linux/kernel-features.h
65816         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65817         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65818         expression.
65819         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65820         later.
65822 2012-03-11  David S. Miller  <davem@davemloft.net>
65824         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65825         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65826         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65827         for 'resultvar' otherwise things get truncated on 64-bit.
65829         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65830         Fix masking out of the most significant byte of random value used.
65832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65834 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65838 2012-03-09  David S. Miller  <davem@davemloft.net>
65840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65841         variables with appropriate CPP guards.
65842         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65843         from the frame pointer, not the stack pointer.  Correct layout
65844         comments.  Fix test on resulting framesize and the management of
65845         the outregs buffer for pltexit.  Preserve floating point return
65846         values across _dl_call_pltexit call.
65847         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65848         framesize and the management of the outregs buffer for pltexit.
65849         Preserve floating point return values across _dl_call_pltexit
65850         call.
65851         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65852         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65853         (la_sparc64_gnu_pltexit): New functions.
65854         (print_exit): Fix format string for return register value.
65856 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65858         * sunrpc/Makefile (others): Add rpcgen.
65859         ($(objpfx)rpcgen): Remove special build rule and dependency on
65860         libc.
65861         * sunrpc/rpcgen.c: New file.
65863 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65865         [BZ #13673]
65866         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65867         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65868         * sysdeps/i386/crti.S: Likewise.
65869         * sysdeps/i386/crtn.S: Likewise.
65870         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65871         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65872         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65873         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65874         * sysdeps/sh/crti.S: Likewise.
65875         * sysdeps/sh/crtn.S: Likewise.
65876         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65878         [BZ #13673]
65879         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65880         with URL.
65881         * locale/programs/locfile-kw.gperf: Likewise.
65882         * locale/programs/charmap-kw.h: Regenerated.
65883         * locale/programs/locfile-kw.h: Likewise.
65885         [BZ #13673]
65886         * intl/plural.y: Replace FSF snail mail address with URL.
65887         * intl/plural.c: Regenerated.
65889 2012-03-09  Richard Henderson  <rth@twiddle.net>
65891         * include/math_private.h: Remove file.
65892         * math/math_private.h: Move file ...
65893         * sysdeps/generic/math_private.h: ... here.
65895         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65896         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65897         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65899         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65900         and <math_private.h>.
65901         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65902         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65903         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65904         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65905         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65906         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65907         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65909         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65910         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65911         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65912         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65913         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65914         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65915         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65916         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65917         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65918         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65919         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65920         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65921         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65922         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65923         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65925         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65926         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65927         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65928         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65929         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65930         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65931         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65933         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65934         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65935         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65936         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65937         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65938         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65939         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65941         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65942         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65943         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65944         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65945         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65946         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65947         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65948         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65949         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65956         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65957         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65958         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65959         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65960         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65961         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65962         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65964         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65965         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65967         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65968         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65969         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65970         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65971         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65974         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65975         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65976         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65977         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65979         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65980         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65981         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65982         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65983         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65984         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65985         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65987         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65988         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65989         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65990         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65991         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65992         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65993         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65994         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65995         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65996         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65997         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65998         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65999         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66001         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66002         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66003         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66004         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66005         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66006         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66007         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66008         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66009         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66010         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66011         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66012         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66013         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66014         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66015         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66016         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66017         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66018         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66019         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66020         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66021         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66022         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66023         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66024         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66025         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66026         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66027         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66028         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66029         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66030         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66031         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66032         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66033         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66034         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66035         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66036         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66037         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66038         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66039         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66040         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66042         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66043         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66044         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66045         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66046         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66047         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66048         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66049         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66050         * sysdeps/ieee754/k_standard.c: Likewise.
66051         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66052         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66053         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66054         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66055         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66056         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66057         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66058         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66059         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66060         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66061         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66062         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66063         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66064         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66065         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66066         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66067         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66068         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66069         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66070         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66071         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66072         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66073         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66074         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66075         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66076         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66077         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66078         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66079         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66080         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66081         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66082         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66083         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66084         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66085         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66086         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66087         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66088         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66089         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66092         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66093         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66094         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66095         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66096         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66097         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66098         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66099         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66100         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66101         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66102         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66103         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66104         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66105         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66106         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66107         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66108         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66109         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66110         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66131         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66132         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66134         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66138         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66139         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66166         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66168         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66170         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66171         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66173         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66178         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66180         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66183         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66188         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66199         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66200         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66202         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66206         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66207         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66211         * sysdeps/ieee754/s_lib_version.c: Likewise.
66212         * sysdeps/ieee754/s_matherr.c: Likewise.
66213         * sysdeps/ieee754/s_signgam.c: Likewise.
66214         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66215         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66216         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66217         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66218         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66219         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66220         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66221         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66222         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66223         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66224         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66225         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66226         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66227         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66228         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66229         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66230         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66231         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66233         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66234         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66236 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66238         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66239         * sunrpc/rpc_main.c: Likewise.
66240         * sunrpc/rpc_svcout.c: Likewise.
66242 2012-03-09  David S. Miller  <davem@davemloft.net>
66244         * include/math_private.h: New file.
66246 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66248         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66249         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66250         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66251         from <bits/socket_type.h>.
66252         (enum __socket_type): Don't define here.
66253         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66255         bits/socket_type.h.
66257         [BZ #13566]
66258         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66259         checking __USE_GNU.
66261         * Makerules ($(inst_includedir)/%.h): New rule.
66262         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66263         (install-others): Remove variable setting.
66264         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66266 2012-03-08  Richard Henderson  <rth@twiddle.net>
66268         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66269         from macro to inline function; merge with the
66270         !__LIBC_INTERNAL_MATH_INLINES version.
66271         (__ieee754_sqrtf): Likewise.
66273         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66274         to inline function.
66275         (__rintf, __floor, __floorf): Likewise.
66277         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66278         macro to inline function.
66279         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66281         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66282         not <math/math_private.h>.
66284 2012-03-08  David S. Miller  <davem@davemloft.net>
66286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66287         copyright year.
66288         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66290 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66292         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66293         normalization.
66294         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66295         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66297 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66299         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66300         be defined individually, they must be defined as a block.  Define
66301         S for printing a string instead of hidint the different by using a
66302         macro for adding the 'l'.
66303         * stdio-common/tst-fphex-wide.c: Adjust.
66305 2012-03-07  Marek Polacek  <polacek@redhat.com>
66307         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66309 2012-03-08  Marek Polacek  <polacek@redhat.com>
66311         [BZ #13806]
66312         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66313         * stdio-common/tst-fphex.c: Define a few macros to make the
66314         test reusable.  Use them.
66315         * stdio-common/tst-fphex-wide.c: New file.
66317 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66319         [BZ #6911]
66320         * manual/macros.texi (gnusystems): New macro.
66321         (nongnusystems): Likewise.
66322         (gnulinuxhurdsystems): Likewise.
66323         (gnuhurdsystems): Likewise..
66324         (gnulinuxsystems): Likewise.
66325         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66326         variants of the GNU system, not "GNU system".
66327         * manual/conf.texi: Likewise.
66328         * manual/errno.texi: Likewise.  Update example of errno macro
66329         expansion.
66330         * manual/filesys.texi: Likewise.
66331         (getumask): Document as specific to GNU/Hurd.
66332         * manual/install.texi: Likewise.  Reword some references to
66333         GNU/Linux.
66334         * manual/intro.texi: Likewise.
66335         * manual/io.texi: Likewise.
66336         (File Name Portability): Detail which constraints are inapplicable
66337         to all GNU systems and which are only inapplicable to GNU/Hurd.
66338         * manual/job.texi: Likewise.
66339         * manual/llio.texi: Likewise.
66340         (O_NOCTTY): Document as present on GNU/Linux.
66341         * manual/maint.texi: Likewise.
66342         * manual/memory.texi: Likewise.
66343         * manual/pattern.texi: Likewise.
66344         * manual/pipe.texi: Likewise.
66345         * manual/process.texi: Likewise.
66346         * manual/resource.texi: Likewise.
66347         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66348         child on GNU/Hurd.
66349         * manual/setjmp.texi: Likewise.
66350         * manual/signal.texi: Likewise.
66351         * manual/startup.texi: Likewise.
66352         * manual/stdio.texi: Likewise.
66353         * manual/terminal.texi: Likewise.
66354         (ONLCR): Document as POSIX.
66355         (OXTABS): Document availability on GNU/Linux as XTABS.
66356         (ONOEOT): Document availability separately from other bits.
66357         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66358         * manual/time.texi: Likewise.
66359         * manual/users.texi: Likewise.
66360         * INSTALL: Regenerated.
66361         * sysdeps/gnu/errlist.c: Regenerated.
66363         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66364         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66365         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66366         puts.
66367         * configure: Regenerated.
66369 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66371         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66372         default includes instead of AC_HEADER_CHECK.
66373         * sysdeps/i386/configure: Regenerated.
66375         [BZ #10716]
66376         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66377         * math/s_cacoshf.c (__cacoshf): Likewise.
66378         * math/s_cacoshl.c (__cacoshl): Likewise.
66379         * math/s_casinh.c (__casinh): Set signs of result from argument.
66380         * math/s_casinhf.c (__casinhf): Likewise.
66381         * math/s_casinhl.c (__casinhl): Likewise.
66382         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66383         (casinh_test): Add more tests.
66384         * sysdeps/i386/fpu/libm-test-ulps: Update.
66385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66387 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66389         * po/zh_TW.po: Update from translation team.
66391         * login/Makefile (distribute): Remove variable.
66392         * catgets/Makefile: Likewise.
66393         * mach/Makefile: Likewise.
66394         * malloc/Makefile: Likewise.
66395         * misc/Makefile: Likewise.
66396         * iconv/Makefile: Likewise.
66397         * nscd/Makefile: Likewise.
66398         * hurd/Makefile: Likewise.
66399         * manual/Makefile: Likewise.
66400         * locale/Makefile: Likewise.
66401         * intl/Makefile: Likewise.
66402         * conform/Makefile: Likewise.
66403         * nss/Makefile: Likewise.
66404         * time/Makefile: Likewise.
66405         * soft-fp/Makefile: Likewise.
66406         * dirent/Makefile: Likewise.
66407         * gmon/Makefile: Likewise.
66408         * po/Makefile: Likewise.
66409         * rt/Makefile: Likewise.
66410         * socket/Makefile: Likewise.
66411         * math/Makefile: Likewise.
66412         * signal/Makefile: Likewise.
66413         * debug/Makefile: Likewise.
66414         * elf/Makefile: Likewise.
66415         * timezone/Makefile: Likewise.
66416         * stdlib/Makefile: Likewise.
66417         * iconvdata/Makefile: Likewise.
66418         * sunrpc/Makefile: Likewise.
66419         * io/Makefile: Likewise.
66420         * argp/Makefile: Likewise.
66421         * inet/Makefile: Likewise.
66422         * hesiod/Makefile: Likewise.
66423         * grp/Makefile: Likewise.
66424         * csu/Makefile: Likewise.
66425         * wctype/Makefile: Likewise.
66426         * crypt/Makefile: Likewise.
66427         * libio/Makefile: Likewise.
66428         * string/Makefile: Likewise.
66429         * nis/Makefile: Likewise.
66430         * resolv/Makefile: Likewise.
66431         * stdio-common/Makefile: Likewise.
66432         * wcsmbs/Makefile: Likewise.
66433         * dlfcn/Makefile: Likewise.
66434         * posix/Makefile: Likewise.
66436         [BZ #6959]
66437         * timezone/Makefile: Don't install timezone files, just the programs
66438         and scripts.
66440 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66442         * nss/databases.def: Add missing gshadow entry.
66444         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66446 2012-03-06  Marek Polacek  <polacek@redhat.com>
66448         [BZ #13726]
66449         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66450         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66451         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66452         * stdio-common/tst-long-dbl-fphex.c: New file.
66454 2012-03-06  David S. Miller  <davem@davemloft.net>
66456         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66457         (set_obp_int): New function.
66458         (get_obp_int): New function.
66459         (__get_clockfreq_via_dev_openprom): Likewise.
66460         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66461         Avoid unused variable warnings on 'val' and use builtin_expect.
66462         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66463         __builtin_expect.
66464         (INLINE_CLONE_SYSCALL): Likewise.
66466 2012-03-05  David S. Miller  <davem@davemloft.net>
66468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66470 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66474         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66475         only for |x| >= 40.
66476         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66478 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66480         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66481         Replace gettimeofday with __vdso_gettimeofday.
66483         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66484         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66485         __vdso_clock_gettime and __vdso_getcpu.
66487         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66488         time with __vdso_time.
66490 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66492         * manual/lang.texi (size_t): Note types to which size_t may be
66493         equivalent with the GNU C Library, but do not describe when
66494         differences between them are significant.
66496 2012-03-05  Andreas Jaeger  <aj@suse.de>
66498         * sysdeps/i386/fpu/libm-test-ulps: Update.
66500 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66502         [BZ #3976]
66503         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66504         (__ieee754_pow): Save and restore rounding mode and use
66505         round-to-nearest for main computations.
66506         * math/libm-test.inc (pow_test_tonearest): New function.
66507         (pow_test_towardzero): Likewise.
66508         (pow_test_downward): Likewise.
66509         (pow_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         [BZ #3976]
66515         * math/libm-test.inc (cosh_test_tonearest): New function.
66516         (cosh_test_towardzero): Likewise.
66517         (cosh_test_downward): Likewise.
66518         (cosh_test_upward): Likewise.
66519         (sinh_test_tonearest): Likewise.
66520         (sinh_test_towardzero): Likewise.
66521         (sinh_test_downward): Likewise.
66522         (sinh_test_upward): Likewise.
66523         (main): Call the new functions.
66524         * sysdeps/i386/fpu/libm-test-ulps: Update.
66525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66527 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66529         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66530         default stack guard is set in last bytes.
66531         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66533 2012-03-05  Kees Cook  <keescook@chromium.org>
66535         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66537         [BZ #13656]
66538         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66539         possibly allocate from heap instead of stack.
66540         * stdio-common/bug-vfprintf-nargs.c: New file.
66541         * stdio-common/Makefile (tests): Add nargs overflow test.
66543 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66547 2012-03-03  Marek Polacek  <polacek@redhat.com>
66549         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66550         * math/math_private.h: Likewise.
66551         * stdlib/tst-strtod.c: Likewise.
66552         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66553         * sysdeps/x86_64/bits/atomic.h: Likewise.
66555 2012-03-02  David S. Miller  <davem@davemloft.net>
66557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66561         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66562         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66563         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66564         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66566 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66568         [BZ #13792]
66569         * manual/examples/README: New file, says the example source files
66570         can be used under GPL>=2.
66571         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66572         line containing just "*/".
66573         * manual/examples/add.c: Add copyright header (GPL>=2).
66574         * manual/examples/argp-ex1.c: Likewise.
66575         * manual/examples/argp-ex2.c: Likewise.
66576         * manual/examples/argp-ex3.c: Likewise.
66577         * manual/examples/argp-ex4.c: Likewise.
66578         * manual/examples/atexit.c: Likewise.
66579         * manual/examples/db.c: Likewise.
66580         * manual/examples/dir.c: Likewise.
66581         * manual/examples/dir2.c: Likewise.
66582         * manual/examples/execinfo.c: Likewise.
66583         * manual/examples/filecli.c: Likewise.
66584         * manual/examples/filesrv.c: Likewise.
66585         * manual/examples/fmtmsgexpl.c: Likewise.
66586         * manual/examples/genpass.c: Likewise.
66587         * manual/examples/inetcli.c: Likewise.
66588         * manual/examples/inetsrv.c: Likewise.
66589         * manual/examples/isockad.c: Likewise.
66590         * manual/examples/longopt.c: Likewise.
66591         * manual/examples/memopen.c: Likewise.
66592         * manual/examples/memstrm.c: Likewise.
66593         * manual/examples/mkfsock.c: Likewise.
66594         * manual/examples/mkisock.c: Likewise.
66595         * manual/examples/mygetpass.c: Likewise.
66596         * manual/examples/pipe.c: Likewise.
66597         * manual/examples/popen.c: Likewise.
66598         * manual/examples/rprintf.c: Likewise.
66599         * manual/examples/search.c: Likewise.
66600         * manual/examples/select.c: Likewise.
66601         * manual/examples/setjmp.c: Likewise.
66602         * manual/examples/sigh1.c: Likewise.
66603         * manual/examples/sigusr.c: Likewise.
66604         * manual/examples/stpcpy.c: Likewise.
66605         * manual/examples/strdupa.c: Likewise.
66606         * manual/examples/strftim.c: Likewise.
66607         * manual/examples/strncat.c: Likewise.
66608         * manual/examples/subopt.c: Likewise.
66609         * manual/examples/swapcontext.c: Likewise.
66610         * manual/examples/termios.c: Likewise.
66611         * manual/examples/testopt.c: Likewise.
66612         * manual/examples/testpass.c: Likewise.
66613         * manual/examples/timeval_subtract.c: Likewise.
66615         [BZ #13792]
66616         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66617         function to ...
66618         * manual/timeval_subtract.c.texi: ... here, new file.
66620 2012-03-02  David S. Miller  <davem@davemloft.net>
66622         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66624 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66626         [BZ #3976]
66627         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66628         (__sin): Save and restore rounding mode and use round-to-nearest
66629         for all computations.
66630         (__cos): Save and restore rounding mode and use round-to-nearest
66631         for all computations.
66632         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66633         <fenv.h>.
66634         (tan): Save and restore rounding mode and use round-to-nearest for
66635         all computations.
66636         * math/libm-test.inc (cos_test_tonearest): New function.
66637         (cos_test_towardzero): Likewise.
66638         (cos_test_downward): Likewise.
66639         (cos_test_upward): Likewise.
66640         (sin_test_tonearest): Likewise.
66641         (sin_test_towardzero): Likewise.
66642         (sin_test_downward): Likewise.
66643         (sin_test_upward): Likewise.
66644         (tan_test_tonearest): Likewise.
66645         (tan_test_towardzero): Likewise.
66646         (tan_test_downward): Likewise.
66647         (tan_test_upward): Likewise.
66648         (main): Call the new functions.
66649         * sysdeps/i386/fpu/libm-test-ulps: Update.
66650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66652         [BZ #10135]
66653         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66654         small n, then large n, before computing and testing k+n.
66655         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66656         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66657         Likewise.
66658         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66659         Likewise.
66660         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66661         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66665         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66666         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66667         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66668         * math/libm-test.inc (scalbn_test): Add more tests.
66669         (scalbln_test): Likewise.
66671         * manual/filesys.texi (mode_t): Describe constraints on size and
66672         signedness, not exact equivalence to a particular type.
66673         (ino_t): Likewise.
66674         (ino64_t): Likewise.
66675         (dev_t): Likewise.
66676         (nlink_t): Likewise.
66677         (blkcnt_t): Likewise.
66678         (blkcnt64_t): Likewise.
66679         * manual/llio.texi (off_t): Likewise.
66681         [BZ #3976]
66682         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66683         (__ieee754_exp): Save and restore rounding mode and use
66684         round-to-nearest for all computations.
66685         * math/libm-test.inc (exp_test_tonearest): New function.
66686         (exp_test_towardzero): Likewise.
66687         (exp_test_downward): Likewise.
66688         (exp_test_upward): Likewise.
66689         (main): Call the new functions.
66690         * sysdeps/i386/fpu/libm-test-ulps: Update.
66691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66693 2012-03-01  Chris Demetriou  <cgd@google.com>
66695         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66696         have predictable order.
66698 2012-03-01  David S. Miller  <davem@davemloft.net>
66700         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66702         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66703         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66704         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66705         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66707         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66708         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66709         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66711         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66712         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66713         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66714         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66715         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66719         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66720         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66721         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66723         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66724         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66725         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66726         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66727         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66728         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66729         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66730         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66731         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66732         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66733         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66734         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66736         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66737         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66739         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66740         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66741         * sysdeps/sparc/elf/configure: Regenerated.
66743 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66745         * configure.in (AS, LD): Require binutils 2.20 or later.
66746         * configure: Regenerated.
66747         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66748         as required minimum version.
66749         * INSTALL: Regenerated.
66751         [BZ #2541]
66752         [BZ #4108]
66753         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66754         before squaring exponent.
66755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66756         bottom long double and 27 bits of top long double before squaring
66757         exponent.
66758         * math/libm-test.inc (erfc_test): Add more tests.
66759         * sysdeps/i386/fpu/libm-test-ulps: Update.
66760         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66763 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66765         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66766         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66767         containing bit-fields.
66768         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66769         * soft-fp/single.h (_FP_UNION_S): Likewise.
66770         * soft-fp/double.h (_FP_UNION_D): Likewise.
66772 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66774         [BZ #13786]
66775         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66776         not include ../strcmp.S.
66777         [USE_AS_STRNCASECMP_L]: Likewise.
66778         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66779         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66780         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66781         (__strncasecmp_l_ia32): Define as alias to
66782         __strncasecmp_l_nonascii.
66784         [BZ #5794]
66785         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66786         * sysdeps/i386/fpu/libm-test-ulps: Update.
66787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66789         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66792 2012-02-29  Jeff Law  <law@redhat.com>
66794         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66795         out of bounds read.
66797 2012-02-29  Marek Polacek  <polacek@redhat.com>
66799         [BZ #13706]
66800         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66801         * elf/Makefile: Add rules to run tst-unused-dep.out.
66803 2012-02-28  David S. Miller  <davem@davemloft.net>
66805         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66806         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66807         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66809         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66810         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66812 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66814         * math/libm-test.inc (llround_test): Move one test from
66815         lround_test.  Use TEST_f_L in moved test.
66816         (lround_test): Move misplaced test to llround_test.  Add testcase
66817         from bug 2561.
66819 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66821         * sysdeps/x86_64/fpu/e_expf.S: New file.
66822         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66824 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66826         [BZ #13637]
66827         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66828         of remain_len that may cause incomplete multi-byte character and
66829         false match.
66830         * posix/bug-regex33.c: New file.
66831         * posix/Makefile (tests): Add bug-regex33.
66833 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66835         * manual/macros.texi: New file.
66836         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66837         * manual/libc.texinfo: Include macros.texi.
66838         * manual/creatute.texi: Likewise.
66839         * manual/install.texi: Likewise.
66840         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66841         @glibcadj{} in references to the GNU C Library.
66842         * manual/charset.texi: Likewise.
66843         * manual/conf.texi: Likewise.
66844         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66845         when not using those macros.
66846         * manual/creature.texi: Likewise.
66847         * manual/crypt.texi: Likewise.
66848         * manual/errno.texi: Likewise.
66849         * manual/filesys.texi: Likewise.
66850         * manual/header.texi: Likewise.
66851         * manual/install.texi: Likewise.
66852         * manual/intro.texi: Likewise.
66853         * manual/io.texi: Likewise.
66854         * manual/job.texi: Likewise.
66855         * manual/lang.texi: Likewise.
66856         * manual/libc.texiinfo: Likewise.
66857         * manual/llio.texi: Likewise.
66858         * manual/locale.texi: Likewise.
66859         * manual/maint.texi: Likewise.
66860         * manual/math.texi: Likewise.
66861         * manual/memory.texi: Likewise.
66862         * manual/message.texi: Likewise.
66863         * manual/nss.texi: Likewise.
66864         * manual/pattern.texi: Likewise.
66865         * manual/process.texi: Likewise.
66866         * manual/resource.texi: Likewise.
66867         * manual/search.texi: Likewise.
66868         * manual/setjmp.texi: Likewise.
66869         * manual/signal.texi: Likewise.
66870         * manual/socket.texi: Likewise.
66871         * manual/startup.texi: Likewise.
66872         * manual/stdio.texi: Likewise.
66873         * manual/string.texi: Likewise.
66874         * manual/sysinfo.texi: Likewise.
66875         * manual/syslog.texi: Likewise.
66876         * manual/terminal.texi: Likewise.
66877         * manual/time.texi: Likewise.
66878         * manual/users.texi: Likewise.
66879         * INSTALL: Regenerated.
66880         * NOTES: Regenerated.
66881         * sysdeps/gnu/errlist.c: Regenerated.
66883 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66885         * include/dirent.h: Include <dirstream.h> before
66886         <dirent/dirent.h>.
66888 2012-02-28  David S. Miller  <davem@davemloft.net>
66890         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66891         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66892         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66893         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66895 2012-02-27  David S. Miller  <davem@davemloft.net>
66897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66899         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66900         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66903         frame pointer instead of stack pointer relative arg slot.
66904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66905         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66906         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66908 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66910         [BZ #3992]
66911         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66913 2012-02-27  David S. Miller  <davem@davemloft.net>
66915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66919         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66920         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66921         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66922         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66924 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66926         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66927         later.  Allow versions 5-9.
66928         * configure: Regenerated.
66929         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66930         required minimum version and 4.6 as recommended version.  Do not
66931         mention bugs in GCC 2.7 and 2.8.
66932         * INSTALL: Regenerated.
66934 2012-02-27  David S. Miller  <davem@davemloft.net>
66936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66940         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66941         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66942         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66943         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66945         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66946         manipulate bits before adding and subtracting TWO112[sx].
66947         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66949 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66951         [BZ #13775]
66952         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66953         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66954         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66955         being in POSIX, because they are in 1003.1-2008.
66957         * rt/tst-aio.c: Include <fcntl.h>.
66958         * rt/tst-aio7.c: Likewise.
66959         * rt/tst-aio64.c: Likewise.
66961         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66963 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66965         * manual/install.texi (--with-headers): Describe headers as
66966         interface headers, not private headers.
66967         (Specific advice for GNU/Linux systems): Describe use of headers
66968         from "make headers_install", not private headers from older
66969         kernels.
66970         * INSTALL: Regenerated.
66971         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66972         Change to 2.6.19.
66973         * sysdeps/unix/sysv/linux/configure: Regenerated.
66975         * manual/llio.texi (fclean): Remove documentation.
66977         * manual/Makefile (libc-texi-generated): New variable.  Include
66978         version.texi.
66979         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66980         $(libc-texi-generated), not duplicated list of files.
66981         (version.texi, stamp-version): New rules.
66982         (realclean): Remove $(libc-texi-generated), not individual files
66983         from that list.  Do not remove dir-add.texinfo.
66984         * manual/libc.texinfo: Comment out uses of edition numbers and
66985         references to printed manual.  Remove last-updated dates.
66986         (EDITION): Comment out.
66987         (ISBN): Likewise.
66988         (VERSION, UPDATED): Remove.
66989         (version.texi): Include.
66991 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66993         * sysdeps/posix/spawni.c: Include <signal.h>.
66994         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66995         * sysdeps/pthread/aio_fsync.c: Likewise.
66997 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66999         * conform/Makefile (tests): Run only when not cross-compiling and
67000         when fast-check is not defined.
67002         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67003         * conform/data/limits.h-data: Fixes for POSIX2008.
67004         * conform/run-conformtest.sh: Run all tests.
67005         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67006         headers.
67007         * include/bits/dlfcn.h: Likewise.
67008         * include/langinfo.h: Likewise.
67009         * include/monetary.h: Likewise.
67010         * include/sys/poll.h: Likewise.
67012         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67013         for __USE_GNU.
67014         * posix/spawn.h: Define __need_sigset_t.
67015         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67016         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67017         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67018         to get sigevent_t only.
67019         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67020         only for __USE_GNU.
67021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67022         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67023         process_vm_writev only for __USE_GNU.
67024         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67026         * conform/Makefile: For now ignore errors from run-conformtest.
67027         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67028         POSIX to avoid namespace pollution.  Don't prepend headers.
67029         * conform/data/aio.h-data: Fixes for POSIX testing.
67030         * conform/data/fcntl.h-data: Likewise.
67031         * conform/data/glob.h-data: Likewise.
67032         * conform/data/grp.h-data: Likewise.
67033         * conform/data/pthread.h-data: Likewise.
67034         * conform/data/pwd.h-data: Likewise.
67035         * conform/data/signal.h-data: Likewise.
67036         * conform/data/spawn.h-data: Likewise.
67037         * conform/data/stdio.h-data: Likewise.
67038         * conform/data/stdlib.h-data: Likewise.
67039         * conform/data/stropts.h-data: Likewise.
67040         * conform/data/sys/mman.h-data: Likewise.
67041         * conform/data/sys/stat.h-data: Likewise.
67042         * conform/data/sys/types.h-data: Likewise.
67043         * conform/data/sys/wait.h-data: Likewise.
67044         * conform/data/time.h-data: Likewise.
67045         * conform/data/unistd.h-data: Likewise.
67046         * conform/data/utime.h-data: Likewise.
67048         * io/sys/stat.h: fchmod was always in POSIX.
67049         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67050         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67051         * rt/aio.h: Define __need_timespec before including <time.h>.
67052         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67053         struct.  Add forward declaration of pthread_attr_t and use it in
67054         sigevent.
67055         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67057         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67058         always remove CLK_TCK definition.
67060 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67062         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67064 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67066         * conform/run-conformtest.sh: New file.
67067         * conform/Makefile: Run run-conformtest for tests.
67068         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67069         support.
67071         * conform/data/uchar.h-data: New file.
67072         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67073         * conform/data/arpa/inet.h-data: Likewise.
67074         * conform/data/assert.h-data: Likewise.
67075         * conform/data/complex.h-data: Likewise.
67076         * conform/data/cpio.h-data: Likewise.
67077         * conform/data/ctype.h-data: Likewise.
67078         * conform/data/dirent.h-data: Likewise.
67079         * conform/data/dlfcn.h-data: Likewise.
67080         * conform/data/errno.h-data: Likewise.
67081         * conform/data/fcntl.h-data: Likewise.
67082         * conform/data/float.h-data: Likewise.
67083         * conform/data/fmtmsg.h-data: Likewise.
67084         * conform/data/fnmatch.h-data: Likewise.
67085         * conform/data/ftw.h-data: Likewise.
67086         * conform/data/glob.h-data: Likewise.
67087         * conform/data/grp.h-data: Likewise.
67088         * conform/data/iconv.h-data: Likewise.
67089         * conform/data/inttypes.h-data: Likewise.
67090         * conform/data/langinfo.h-data: Likewise.
67091         * conform/data/libgen.h-data: Likewise.
67092         * conform/data/limits.h-data: Likewise.
67093         * conform/data/locale.h-data: Likewise.
67094         * conform/data/math.h-data: Likewise.
67095         * conform/data/monetary.h-data: Likewise.
67096         * conform/data/mqueue.h-data: Likewise.
67097         * conform/data/ndbm.h-data: Likewise.
67098         * conform/data/net/if.h-data: Likewise.
67099         * conform/data/netdb.h-data: Likewise.
67100         * conform/data/netinet/in.h-data: Likewise.
67101         * conform/data/nl_types.h-data: Likewise.
67102         * conform/data/poll.h-data: Likewise.
67103         * conform/data/pthread.h-data: Likewise.
67104         * conform/data/pwd.h-data: Likewise.
67105         * conform/data/regex.h-data: Likewise.
67106         * conform/data/sched.h-data: Likewise.
67107         * conform/data/search.h-data: Likewise.
67108         * conform/data/semaphore.h-data: Likewise.
67109         * conform/data/setjmp.h-data: Likewise.
67110         * conform/data/signal.h-data: Likewise.
67111         * conform/data/spawn.h-data: Likewise.
67112         * conform/data/stdarg.h-data: Likewise.
67113         * conform/data/stdio.h-data: Likewise.
67114         * conform/data/stdlib.h-data: Likewise.
67115         * conform/data/string.h-data: Likewise.
67116         * conform/data/strings.h-data: Likewise.
67117         * conform/data/stropts.h-data: Likewise.
67118         * conform/data/sys/ipc.h-data: Likewise.
67119         * conform/data/sys/mman.h-data: Likewise.
67120         * conform/data/sys/msg.h-data: Likewise.
67121         * conform/data/sys/resource.h-data: Likewise.
67122         * conform/data/sys/select.h-data: Likewise.
67123         * conform/data/sys/sem.h-data: Likewise.
67124         * conform/data/sys/shm.h-data: Likewise.
67125         * conform/data/sys/socket.h-data: Likewise.
67126         * conform/data/sys/stat.h-data: Likewise.
67127         * conform/data/sys/statvfs.h-data: Likewise.
67128         * conform/data/sys/time.h-data: Likewise.
67129         * conform/data/sys/timeb.h-data: Likewise.
67130         * conform/data/sys/times.h-data: Likewise.
67131         * conform/data/sys/types.h-data: Likewise.
67132         * conform/data/sys/uio.h-data: Likewise.
67133         * conform/data/sys/un.h-data: Likewise.
67134         * conform/data/sys/utsname.h-data: Likewise.
67135         * conform/data/sys/wait.h-data: Likewise.
67136         * conform/data/syslog.h-data: Likewise.
67137         * conform/data/tar.h-data: Likewise.
67138         * conform/data/termios.h-data: Likewise.
67139         * conform/data/utime.h-data: Likewise.
67140         * conform/data/utmpx.h-data: Likewise.
67141         * conform/data/varargs.h-data: Likewise.
67142         * conform/data/wchar.h-data: Likewise.
67143         * conform/data/wctype.h-data: Likewise.
67144         * conform/data/wordexp.h-data: Likewise.
67146         * include/stropts.h: New file.
67147         * include/uchar.h: New file.
67148         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67149         * include/assert.h: Likewise.
67150         * include/ctype.h: Likewise.
67151         * include/dirent.h: Likewise.
67152         * include/dlfcn.h: Likewise.
67153         * include/fcntl.h: Likewise.
67154         * include/fnmatch.h: Likewise.
67155         * include/glob.h: Likewise.
67156         * include/grp.h: Likewise.
67157         * include/libio.h: Likewise.
67158         * include/locale.h: Likewise.
67159         * include/math.h: Likewise.
67160         * include/net/if.h: Likewise.
67161         * include/netdb.h: Likewise.
67162         * include/netinet/in.h: Likewise.
67163         * include/pthread.h: Likewise.
67164         * include/pwd.h: Likewise.
67165         * include/regex.h: Likewise.
67166         * include/sched.h: Likewise.
67167         * include/search.h: Likewise.
67168         * include/setjmp.h: Likewise.
67169         * include/signal.h: Likewise.
67170         * include/stdio.h: Likewise.
67171         * include/stdlib.h: Likewise.
67172         * include/string.h: Likewise.
67173         * include/sys/cdefs.h: Likewise.
67174         * include/sys/mman.h: Likewise.
67175         * include/sys/msg.h: Likewise.
67176         * include/sys/resource.h: Likewise.
67177         * include/sys/select.h: Likewise.
67178         * include/sys/socket.h: Likewise.
67179         * include/sys/stat.h: Likewise.
67180         * include/sys/statvfs.h: Likewise.
67181         * include/sys/time.h: Likewise.
67182         * include/sys/times.h: Likewise.
67183         * include/sys/uio.h: Likewise.
67184         * include/sys/utsname.h: Likewise.
67185         * include/sys/wait.h: Likewise.
67186         * include/termios.h: Likewise.
67187         * include/time.h: Likewise.
67188         * include/ulimit.h: Likewise.
67189         * include/unistd.h: Likewise.
67190         * include/utime.h: Likewise.
67191         * include/wchar.h: Likewise.
67192         * include/wctype.h: Likewise.
67193         * include/wordexp.h: Likewise.
67195         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67197         * time/time.h: TIME_UTC must be a macro.
67198         Make timespec_get available for ISO C11 only as well.
67200 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67202         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67203         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67205 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67207         * configure.in: Use -o not -a in test for unsupported multi-arch.
67209 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67211         * manual/texinfo.tex: Update to version 2012-01-19.16.
67213 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67215         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67217 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67219         [BZ #13738]
67220         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67221         * manual/fdl-1.3.texi: New file.
67222         * manual/fdl-1.1.texi: File removed.
67224         [BZ #13738]
67225         * manual/libc.texinfo (FDL_VERSION): New @set.
67226         Use it for mention of FDL in cover text.
67227         (Documentation License): Use it in @include file name.
67229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67230             Roland McGrath  <roland@hack.frob.com>
67232         [BZ #5461]
67233         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67234         (not LONG_LONG_MAX and LONG_LONG_MIN.
67235         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67236         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67237         name.
67238         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67240 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67242         [BZ #2547]
67243         [BZ #11365]
67244         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67245         manipulate bits before adding and subtracting TWO23[sx].
67246         * math/libm-test.inc (nearbyint_test): Add more tests.
67248 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67250         [BZ #2548]
67251         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67252         bits before adding and subtracting TWO23[sx].
67253         * math/libm-test.inc (rint_test): Add more tests.
67254         (rint_test_tonearest): Likewise.
67255         (rint_test_towardzero): Likewise.
67256         (rint_test_downward): Likewise.
67257         (rint_test_upward: Likewise.
67259 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67261         [BZ #10110]
67262         * include/stdc-predef.h: New file.  Extracted from features.h.
67263         * include/features.h: Include stdc-predef.h.
67264         * Makefile (headers): Add stdc-predef.h.
67265         * CONFORMANCE (Compiler limitations): Update.
67267 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67269         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67271 2012-02-21  David S. Miller  <davem@davemloft.net>
67273         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67274         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67276 2012-02-20  David S. Miller  <davem@davemloft.net>
67278         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67279         using a normal save/restore sequence, rather than allocating a
67280         dummy stack frame just to store a frame pointer and restore.
67281         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67283 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67285         * manual/install.texi: Fix stray word in line-wrapped comment.
67287 2012-02-20  David S. Miller  <davem@davemloft.net>
67289         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67290         both binutils and gcc support GOTDATA.
67292         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67293         "rd %pc" in the PIC register setup sequences.
67295         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67296         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67297         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67298         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67299         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67300         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67301         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67302         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67303         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67304         (SYSCALL_ERROR_HANDLER): Likewise.
67305         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67306         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67308         (SYSCALL_ERROR_HANDLER): Likewise.
67310         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67311         (HAVE_GCC_GOTDATA): New.
67312         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67313         relocation support in both binutils and gcc.
67314         * sysdeps/sparc/elf/configure: Regenerate.
67316         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67317         * sysdeps/sparc/sparc32/elf/configure: Delete.
67318         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67319         * sysdeps/sparc/sparc64/elf/configure: Delete.
67320         * sysdeps/sparc/elf/configure.in: New file.
67321         * sysdeps/sparc/elf/configure: Generate.
67323         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67324         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67325         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67326         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67327         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67329 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67331         * manual/install.texi: Do not mention specific glibc version
67332         numbers.
67333         * manual/libc.texinfo (VERSION, UPDATED): Update.
67334         (@copying): Use @copyright{} and range of years.
67336 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67338         [BZ #13695]
67339         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67340         [crti.S not in sysdirs] (generated): Do not append.
67341         [crti.S not in sysdirs] (omit-deps): Likewise.
67342         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67343         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67344         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67345         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67346         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67347         Likewise.
67348         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67349         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67350         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67351         * csu/defs.awk: Remove file.
67352         * sysdeps/generic/initfini.c: Likewise.
67353         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67354         variable.
67355         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67356         Likewise.
67358 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67360         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67361         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67362         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67363         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67364         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67365         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67366         <bits/epoll.h>.
67367         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67368         (__EPOLL_PACKED): Define to empty if not defined by
67369         <bits/epoll.h>.
67370         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67372         bits/epoll.h.
67374 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67376         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67377         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67378         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67379         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67380         <bits/timerfd.h>.
67381         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67383         bits/timerfd.h.
67385 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67387         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67388         in C locale.
67389         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67390         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67391         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67394 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67396         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67399 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67401         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67402         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67403         defined.
67404         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67405         Likewise.
67406         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67407         entry for 2.16.
67409 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67411         * math/w_acos.c: Use non-signaling floating-point comparisons.
67412         * math/w_acosf.c: Likewise.
67413         * math/w_acosh.c: Likewise.
67414         * math/w_acoshf.c: Likewise.
67415         * math/w_acoshl.c: Likewise.
67416         * math/w_acosl.c: Likewise.
67417         * math/w_asin.c: Likewise.
67418         * math/w_asinf.c: Likewise.
67419         * math/w_asinl.c: Likewise.
67420         * math/w_atanh.c: Likewise.
67421         * math/w_atanhf.c: Likewise.
67422         * math/w_atanhl.c: Likewise.
67423         * math/w_exp2.c: Likewise.
67424         * math/w_exp2f.c: Likewise.
67425         * math/w_exp2l.c: Likewise.
67426         * math/w_j0.c: Likewise.
67427         * math/w_j0f.c: Likewise.
67428         * math/w_j0l.c: Likewise.
67429         * math/w_j1.c: Likewise.
67430         * math/w_j1f.c: Likewise.
67431         * math/w_j1l.c: Likewise.
67432         * math/w_jn.c: Likewise.
67433         * math/w_jnf.c: Likewise.
67434         * math/w_log.c: Likewise.
67435         * math/w_log10.c: Likewise.
67436         * math/w_log10f.c: Likewise.
67437         * math/w_log10l.c: Likewise.
67438         * math/w_log2.c: Likewise.
67439         * math/w_log2f.c: Likewise.
67440         * math/w_log2l.c: Likewise.
67441         * math/w_logf.c: Likewise.
67442         * math/w_logl.c: Likewise.
67443         * math/w_sqrt.c: Likewise.
67444         * math/w_sqrtf.c: Likewise.
67445         * math/w_sqrtl.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67447         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67448         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67449         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67450         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67452 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67454         [BZ #9739]
67455         * manual/string.texi (strnlen): Use correct parameter name in
67456         equivalent expression.
67458 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67460         [BZ #11174]
67461         * manual/users.texi (seteuid): Consistently use neweuid for
67462         argument name.
67464 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67466         [BZ #13704]
67467         * manual/nss.texi (Services in the NSS configuration): Correct
67468         list of services in example configuration file.
67470 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67472         [BZ #11322]
67473         * manual/arith.texi: Remove statements about negative zero
67474         behaving identically to zero.
67476 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67478         [BZ #5993]
67479         * manual/install.texi: Do not document upgrading from libc5.
67481 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67483         [BZ #4596]
67484         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67486 2012-02-18  David S. Miller  <davem@davemloft.net>
67488         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67489         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67490         %o7 across the call.
67491         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67492         instead.
67493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67494         SETUP_PIC_REG_LEAF.
67495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67496         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67497         * sysdeps/sparc/crtn.S: Likewise.
67499 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67501         * aout/Makefile: Remove.
67503 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67505         [BZ #13058]
67506         * manual/examples/argp-ex1.c (main): Format definition in GNU
67507         style.
67508         * manual/examples/argp-ex2.c (main): Likewise.
67509         * manual/examples/argp-ex3.c (main): Likewise.
67510         * manual/examples/argp-ex4.c (main): Likewise.
67511         * manual/examples/longopt.c (main): Use new-style prototype
67512         definition.
67513         * manual/examples/strncat.c (main): Specify return type and use
67514         (void) for arguments.
67515         * manual/examples/subopt.c (main): Use char **argv argument.
67517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67519         [BZ #5077]
67520         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67521         rounding modes.
67523 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67525         [BZ #6907]
67526         * manual/string.texi (strchr): Change when strchrnul is
67527         recommended.
67529 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67531         [BZ #174]
67532         * manual/locale.texi (setlocale): Document LOCPATH.
67534 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67536         [BZ #10210]
67537         * manual/process.texi (execle): Move @dots{} before last argument.
67539 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67541         [BZ #12047]
67542         * manual/charset.texi (Generic Charset Conversion): Fix typo
67543         (LC_TYPE -> LC_CTYPE).
67545 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67547         [BZ #5805]
67548         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67549         (scalbnf): Likewise.
67550         (scalbnl): Likewise.
67551         (scalbln): Likewise.
67552         (scalblnf): Likewise.
67553         (scalblnl): Likewise.
67554         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67555         (vwarnx): Likewise.
67556         (verr): Likewise.
67557         (verrx): Likewise.
67558         * manual/filesys.texi (telldir): Use braces around return type.
67559         * manual/llio.texi (mmap): Add space after comma.
67560         (mmap64): Likewise.
67561         * manual/math.texi (jn): Use @var{} on parameter names.
67562         (jnf): Likewise.
67563         (jnl): Likewise.
67564         (yn): Likewise.
67565         (ynf): Likewise.
67566         (ynl): Likewise.
67567         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67568         line.
67569         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67570         "...".
67571         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67572         (sched_get_priority_max): Likewise.
67573         * manual/signal.texi (sigvec): Add space after comma.
67574         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67575         names.
67576         (if_indextoname): Likewise.
67577         (if_freenameindex): Likewise.
67578         (sendto): Use ',' instead of '.' in prototype.
67579         * manual/startup.texi (syscall): Use @dots{} instead of literal
67580         "...".
67581         * manual/stdio.texi (__fpending): Separate initial words of
67582         paragraph from @deftypefun line.
67583         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67584         "...".
67585         (vsyslog): Use @var{} on parameter names.
67586         * manual/terminal.texi (stty): Use @var{} on parameter names.
67587         * manual/users.texi (getutmp): Use @var{} on parameter names.
67588         (getutmpx): Likewise.
67590 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67592         [BZ #6884]
67593         * manual/stdio.texi (fopen): Fix typos in description of
67594         ",ccs=STRING".
67596 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67598         [BZ #4026]
67599         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67600         get clock_id definition.
67602 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67604         [BZ #4822]
67605         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67606         (madvise): Cast every argument to void on its own.
67608 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67610         [BZ #9902]
67611         * manual/startup.texi (Exit Status): Fix typo.
67613 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67615         [BZ #10140]
67616         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67617         * manual/examples/argp-ex2.c: Likewise.
67618         * manual/examples/argp-ex3.c: Likewise.
67620 2012-02-16  Richard Henderson  <rth@redhat.com>
67622         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67623         * sysdeps/s390/s390-32/initfini.c: Remove.
67624         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67625         * sysdeps/s390/s390-64/initfini.c: Remove.
67627 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67629         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67630         compiler output for sysdeps/generic/initfini.c.
67631         * sysdeps/sh/elf/initfini.c: Remove file.
67633 2012-02-16  David S. Miller  <davem@davemloft.net>
67635         [BZ #11494]
67636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67638         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67639         * sysdeps/sparc/crti.S: New file.
67640         * sysdeps/sparc/crtn.S: New file.
67641         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67642         * sysdeps/sparc/sparc64/Makefile: Likewise.
67644 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67646         [BZ #3335]
67647         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67649 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67651         [BZ #4822]
67652         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67654         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67655         (write, read, close): Likewise.
67656         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67658 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67660         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67661         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67662         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67663         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67664         <bits/signalfd.h>.
67665         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67667         bits/signalfd.h.
67669 2012-02-14  Marek Polacek  <polacek@redhat.com>
67671         * sysdeps/x86_64/crti.S: New file.
67672         * sysdeps/x86_64/crtn.S: New file.
67673         * sysdeps/x86_64/elf/initfini.c: Remove file.
67675 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67677         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67678         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67679         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67680         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67681         <bits/inotify.h>.
67682         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67683         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67684         bits/inotify.h.
67686 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67688         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67689         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67690         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67691         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67692         <bits/eventfd.h>.
67693         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67695         bits/eventfd.h.
67697 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67699         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67700         __feraiseexcept instead of feraiseexcept.
67702         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67703         nanosleep invocations.
67704         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67705         strings, and add error checking for a nanosleep invocations.
67707 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67709         Replace FSF snail mail address with URLs, as per GNU coding standards.
67710         Most of the snail mail addresses were wrong anyway, and omitting
67711         them makes the source code easier to maintain.  Almost all of the
67712         changes are to license notices and to locale LC_IDENTIFICATION
67713         addresses, except for this one:
67714         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67715         not its snail mail address.
67717 2012-02-09  Richard Henderson  <rth@twiddle.net>
67719         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67720         of kernel-features.h.
67722         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67724 2012-02-08  Marek Polacek  <polacek@redhat.com>
67726         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67727         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67728         * sysdeps/gnu/_G_config.h: Likewise.
67729         * sysdeps/generic/_G_config.h: Likewise.
67731 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67733         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67734         tests.
67735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67737         * sysdeps/powerpc/powerpc32/crti.S: New file.
67738         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67739         * sysdeps/powerpc/powerpc64/crti.S: New file.
67740         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67742         * Makeconfig (have-initfini): Don't set.
67743         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67744         * configure.in (nopic_initfini): Don't substitute.
67745         * config.h.in (HAVE_INITFINI): Don't #undef.
67746         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67747         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67749 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67751         Support crti.S and crtn.S provided directly by architectures.
67752         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67753         [crti.S in sysdirs] (omit-deps): Likewise.
67754         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67755         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67756         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67757         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67758         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67759         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67760         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67761         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67762         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67763         compiler output for sysdeps/generic/initfini.c.
67764         * sysdeps/i386/elf/Makefile: Remove file.
67765         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67767 2012-02-07  Marek Polacek  <polacek@redhat.com>
67769         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67770         * sysdeps/gnu/_G_config.h: Likewise.
67771         * sysdeps/mach/hurd/_G_config.h: Likewise.
67773 2012-02-07  Marek Polacek  <polacek@redhat.com>
67775         * math/Makefile (tests): Add tst-CMPLX2.
67776         * math/tst-CMPLX2.c: New file.
67778 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67780         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67782         * math/libm-test.inc (jn_test): Add missing L suffix.
67784 2012-02-06  Marek Polacek  <polacek@redhat.com>
67786         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67787         * sysdeps/i386/fpu/e_powf.S: Likewise.
67788         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67789         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67790         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67791         * sysdeps/i386/fpu/e_pow.S: Likewise.
67792         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67793         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67794         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67795         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67796         * sysdeps/i386/fpu/e_log2.S: Likewise.
67797         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67798         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67799         * sysdeps/i386/fpu/e_powl.S: Likewise.
67800         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67801         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67802         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67803         * sysdeps/i386/fpu/e_logl.S: Likewise.
67804         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67805         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67806         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67807         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67808         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67809         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67810         * sysdeps/i386/fpu/e_log.S: Likewise.
67811         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67812         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67813         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67814         * sysdeps/i386/fpu/e_logf.S: Likewise.
67815         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67816         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67817         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67818         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67819         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67820         * sysdeps/i386/fpu/e_log10.S: Likewise.
67821         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67822         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67823         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67824         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67825         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67826         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67827         * sysdeps/i386/asm-syntax.h: Likewise.
67828         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67829         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67830         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67831         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67832         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67833         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67834         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67835         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67836         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67837         * sysdeps/powerpc/sysdep.h: Likewise.
67838         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67839         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67841 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67843         [BZ #411]
67844         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67846 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67848         * sysdeps/i386/sysdep.h: Include <features.h>.
67849         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67850         version.
67852 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67854         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67855         Define.
67856         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67857         LOAD_PIC_REG_STR.
67859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67861         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67862         (SETUP_PIC_REG): Use GET_PC_THUNK.
67863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67864         macro.
67866 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67868         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67869         for non-PIC compilation.
67870         (SETUP_PIC_REG): Add .p2align directive.
67871         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67872         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67873         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67874         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67875         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67877         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67878         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67879         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67880         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67881         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67882         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67883         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67884         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67885         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67886         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67887         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67888         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67889         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67890         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67891         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67892         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67893         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67894         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67897         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67899         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67900         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67901         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67902         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67903         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67904         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67905         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67906         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67907         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67908         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67909         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67910         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67911         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67913 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67915         * math/tst-CMPLX.c: Include <stdio.h>.
67917 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67919         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67920         float.
67921         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67922         * sysdeps/sparc/bits/mathdef.h: Likewise.
67924 2012-01-31  Marek Polacek  <polacek@redhat.com>
67926         * libio/libio.h: Don't define _PARAMS.
67927         * locale/programs/config.h: Don't define PARAMS.
67928         * stdlib/strtol_l.c: Likewise.
67929         (__strtol_l): Remove PARAMS from the prototype.
67931 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67933         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67934         names.  Just use the correct names.  Remove unnecessary wrapper
67935         functions.
67936         * malloc/arena.c: Likewise.
67937         * malloc/hooks.c: Likewise.
67939         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67940         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67941         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67943 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67945         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67946         into tail calls.
67947         (update_get_addr): New function.
67948         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67949         GET_ADDR_MODULE parameter.
67951 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67953         * crypt/cert.c: Remove __STDC__ conditionals.
67954         * crypt/crypt-entry.c: Likewise.
67955         * crypt/crypt_util.c: Likewise.
67956         * libio/filedoalloc.c: Likewise.
67957         * libio/fileops.c: Likewise.
67958         * libio/genops.c: Likewise.
67959         * libio/iofclose.c: Likewise.
67960         * libio/iofdopen.c: Likewise.
67961         * libio/iofopen.c: Likewise.
67962         * libio/iofopen64.c: Likewise.
67963         * libio/iogetdelim.c: Likewise.
67964         * libio/iopopen.c: Likewise.
67965         * libio/obprintf.c: Likewise.
67966         * libio/oldfileops.c: Likewise.
67967         * libio/oldiofclose.c: Likewise.
67968         * libio/oldiofdopen.c: Likewise.
67969         * libio/oldiofopen.c: Likewise.
67970         * libio/oldiopopen.c: Likewise.
67971         * libio/wfiledoalloc.c: Likewise.
67972         * libio/wgenops.c: Likewise.
67973         * locale/programs/xmalloc.c: Likewise.
67974         * misc/syslog.c: Likewise.
67975         * stdio-common/xbug.c: Likewise.
67976         * string/memchr.c: Likewise.
67977         * string/memcmp.c: Likewise.
67978         * string/memrchr.c: Likewise.
67979         * string/rawmemchr.c: Likewise.
67980         * sysdeps/posix/getcwd.c: Likewise.
67981         * time/strftime_l.c: Likewise.
67983 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67985         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67986         * config.make.in (config-cflags-sse2avx): Define.
67987         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67988         Fix typo.
67990 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67992         * scripts/config.guess: Update from upstream config git repository.
67993         * scripts/config.sub: Likewise.
67995 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67997         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67998         (EM_NUM): Update.
67999         (R_TILEPRO_*, R_TILEGX_*): New macros.
68001         * scripts/firstversions.awk: Fix bug in version range handling.
68003         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68005         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68007         * include/sys/epoll.h: New file.
68008         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68009         libc_hidden_def.
68011 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68013         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68014         Avoid unnecessary __WORDSIZE == 64 test.
68015         (fmaxf): Use VEX format if possible.
68016         (fmax): Likewise.
68017         (fminf): Likewise.
68018         (fmin): Likewise.
68020         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68021         * math/math_private.h: Remove libc_fegetround* and
68022         libc_fesetround*.
68023         * sysdeps/i386/configure.in: Check for -msse2avx.
68024         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68025         also if SSE2AVX is defined.
68026         Remove libc_fegetround* and libc_fesetround*.
68027         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68028         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68029         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68030         of HAS_YMM_USABLE.
68031         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68032         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68033         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68034         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68035         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68037         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68039 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68041         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68042         size is not set.
68043         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68045 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68047         [BZ #13618]
68048         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68049         relocation.
68050         * Makeconfig (libm): Define.
68051         * elf/Makefile: Add rules to build and run tst-relsort1.
68052         * elf/tst-relsort1.c: New file.
68053         * elf/tst-relsort1mod1.c: New file.
68054         * elf/tst-relsort1mod2.c: New file.
68056 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68058         * math/s_ldexp.c: Remove __STDC__ conditionals.
68059         * math/s_ldexpf.c: Likewise.
68060         * math/s_ldexpl.c: Likewise.
68061         * math/s_nextafter.c: Likewise.
68062         * math/s_nexttowardf.c: Likewise.
68063         * math/s_significand.c: Likewise.
68064         * math/s_significandf.c: Likewise.
68065         * math/s_significandl.c: Likewise.
68066         * math/w_jnl.c: Likewise.
68067         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68068         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68069         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68070         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68071         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68073         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68074         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68075         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68076         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68077         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68078         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68079         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68080         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68081         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68082         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68083         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68084         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68085         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68086         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68087         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68088         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68089         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68091         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68092         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68093         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68094         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68095         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68096         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68097         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68098         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68099         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68100         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68101         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68102         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68103         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68104         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68105         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68106         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68107         * sysdeps/ieee754/k_standard.c: Likewise.
68108         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68109         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68110         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68111         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68112         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68113         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68114         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68115         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68116         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68117         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68118         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68119         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68120         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68121         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68122         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68123         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68124         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68125         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68126         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68127         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68128         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68129         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68130         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68131         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68132         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68133         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68134         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68135         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68137         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68138         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68139         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68140         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68141         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68142         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68143         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68144         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68145         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68146         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68147         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68148         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68150         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68151         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68152         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68153         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68154         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68155         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68156         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68157         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68158         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68161         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68162         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68163         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68164         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68165         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68166         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68167         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68168         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68169         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68170         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68172         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68174         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68175         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68176         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68177         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68178         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68179         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68180         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68181         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68182         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68183         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68186         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68187         * sysdeps/ieee754/s_matherr.c: Likewise.
68188         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68189         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68190         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68191         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68193 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68195         * crypt/md5.h: Remove __STDC__ conditionals.
68196         * libio/libioP.h: Likewise.
68197         * locale/programs/config.h: Likewise.
68198         * sysdeps/generic/sysdep.h: Likewise.
68199         * sysdeps/i386/asm-syntax.h: Likewise.
68200         * sysdeps/s390/asm-syntax.h: Likewise.
68201         * sysdeps/unix/sysdep.h: Likewise.
68202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68205 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68207         * libio/libio.h: Remove __STDC__ conditionals.
68208         * malloc/obstack.h: Likewise.
68209         * math/complex.h: Likewise.
68210         * math/math.h: Likewise.
68211         * sysdeps/generic/_G_config.h: Likewise.
68212         * sysdeps/gnu/_G_config.h: Likewise.
68213         * sysdeps/mach/hurd/_G_config.h: Likewise.
68214         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68215         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68216         * sysdeps/sparc/bits/mathdef.h: Likewise.
68218 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68220         [BZ #13583]
68221         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68222         Clean up HAS_* macros.
68223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68224         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68225         possible.
68226         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68227         HAS_AVX.
68228         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68229         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68230         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68231         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68232         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68234 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68236         * elf/tst-unique3.cc (gets): Remove declaration.
68237         * elf/tst-unique3lib.cc (gets): Likewise.
68238         * elf/tst-unique3lib2.cc (gets): Likewise.
68239         * elf/tst-unique4.cc (gets): Likewise.
68241 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68243         * include/stdio.h: Add C++ protection.  Add gets declarations and
68244         definitions.
68245         * debug/tst-chk1.c: Don't declare gets here.
68246         * stdio-common/tst-gets.c: Likewise.
68248 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68250         * posix/glob: Remove directory.
68252 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68254         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68256 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68258         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68259         of the non-standard EPFNOSUPPORT.
68261 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68263         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68264         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68265         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68267 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68269         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68271 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68273         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68274         transient errors.
68275         * nscd/grpcache.c (cache_addgr): Likewise.
68276         * nscd/hstcache.c (cache_addhst): Likewise.
68277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68278         * nscd/pwdcache.c (cache_addpw): Likewise.
68279         * nscd/servicescache.c (cache_addserv): Likewise.
68281 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68283         * malloc/malloc.c: Various cleanups.
68284         * malloc/hooks.c: Likewise.
68286         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68287         * stdlib/bug-fmtmsg1.c: New file.
68289         * stdlib/fmtmsg.c (init): Add missing unlock.
68290         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68292 2012-01-12  Marek Polacek  <polacek@redhat.com>
68294         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68295         and _GNU_SOURCE.
68297 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68299         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68300         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68301         macro to ensure uniqueness of label name.
68302         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68303         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68305 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68307         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68309         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68310         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68311         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68314 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68316         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68318         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68319         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68320         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68322         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68324         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68325         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68326         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68327         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68329         * math/bits/math-finite.h: Add ldexp support.
68331 2012-01-10  Marek Polacek  <polacek@redhat.com>
68333         * locale/programs/localedef.h (show_archive_content): Add noreturn
68334         attribute.
68336 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68338         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68340 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68342         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68344         * io/Makefile (headers): Add bits/poll2.h.
68346 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68349         typo #include statement.
68351 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68353         * include/sys/cdefs.h: Define __attribute_alloc_size.
68354         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68355         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68356         * elf/pldd.c: Likewise.
68357         * iconv/iconv_charmap.c: Likewise.
68358         * iconv/iconvconfig.c: Likewise.
68359         * iconv/strtab.c: Likewise.
68360         * locale/programs/locale.c: Likewise.
68361         * locale/programs/localedef.h: Likewise.
68362         * locale/programs/simple-hash.c: Likewise.
68363         * nscd/nscd.h: Likewise.
68364         * nss/makedb.c: Likewise.
68365         * sysdeps/generic/ldconfig.h: Likewise.
68366         * locale/programs/localedef.c: Remove xmalloc prototype.
68367         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68369 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68371         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68372         appropriate.
68374 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68376         * math/Makefile (tests): Add tst-CMPLX.
68377         * math/tst-CMPLX.c: New file.
68379         * math/complex.h (CMPLXL): Fix typo.
68381         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68382         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68383         GLIBC_2.16.
68384         * debug/tst-chk1.c: Add poll and ppoll tests.
68385         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68386         * include/sys/poll.h: Add hidden proto for ppoll.
68387         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68388         * sysdeps/mach/hurd/ppoll.c: Likewise.
68389         * io/ppoll.c: Likewise.
68390         * debug/poll_chk.c: New file.
68391         * debug/ppoll_chk.c: New file.
68392         * include/bits/poll2.h: New file.
68393         * io/bits/poll2.h: New file.
68395         [BZ #1350]
68396         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68398         * configure.in: static is always set to yes.  Remove.
68399         * config.make.in: Don't set build-static.
68400         * Makeconfig: Remove use of build-static.
68401         * dlfcn/Makefile: Likewise.
68402         * elf/Makefile: Likewise.
68403         * math/Makefile: Likewise.
68404         * misc/Makefile: Likewise.
68405         * nptl/Makefile: Likewise.
68406         * sysdeps/mach/hurd/Makefile: Likewise.
68408         * configure.in: PWD_P is not used anymore.
68409         * config.make.in: Remove PWD_P entry.
68411         * configure.in: Remove last remnants of RANLIB.
68412         No need to check for signed size_t anymore.
68413         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68414         and IA-64.
68415         Remove __builtin_expect test because we require at least gcc 3.4.
68416         * aclocal.m4: Likewise.
68418         * wcsmbs/mbrtoc16.c: Implement using towc function.
68419         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68420         * wcsmbs/wcsmbsload.c: Likewise.
68421         * iconv/gconv_simple.c: Likewise.
68422         * iconv/gconv_int.h: Likewise.
68423         * iconv/gconv_builtin.h: Likewise.
68424         * iconv/iconv_prog.c: Remove CHAR16 handling.
68426         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68428         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68430         * configure.in: Remove --with-elf and --enable-bounded options.
68431         Dont set base_machine for ia64.  More non-ELF conditions removed.
68432         Remove testing and setting of leading underscore information.
68433         * config.make.in (build-bounded): Set to no.
68434         * config.h.in: Remove NO_UNDERSCORES entry.
68435         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68436         them.
68437         * csu/start.c: Remove !NO_UNDERSCORE code.
68438         * locale/localeinfo.h: Likewise.
68439         * sysdeps/generic/machine-gmon.h: Likewise.
68440         * sysdeps/generic/sysdep.h: Likewise.
68441         * sysdeps/i386/sysdep.h: Likewise.
68442         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68443         * sysdeps/mach/sysdep.h: Likewise.
68444         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68445         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68446         * sysdeps/sh/sysdep.h: Likewise.
68447         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68448         * sysdeps/unix/i386/sysdep.S: Likewise.
68449         * sysdeps/unix/sparc/start.c: Likewise.
68450         * sysdeps/unix/sparc/sysdep.S: Likewise.
68451         * sysdeps/unix/sparc/sysdep.h: Likewise.
68452         * sysdeps/unix/start.c: Likewise.
68453         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68454         * sysdeps/x86_64/sysdep.h: Likewise.
68456 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68458         [BZ #13553]
68459         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68460         for non-gcc.
68461         * argp/argp-fmtstream.h: Use const instead __const.
68462         * argp/argp.h: Likewise.
68463         * assert/assert.h: Likewise.
68464         * bits/fenv.h: Likewise.
68465         * bits/sched.h: Likewise.
68466         * bits/sigset.h: Likewise.
68467         * bits/sigthread.h: Likewise.
68468         * catgets/nl_types.h: Likewise.
68469         * conform/data/pthread.h-data: Likewise.
68470         * crypt/crypt-private.h: Likewise.
68471         * crypt/crypt.h: Likewise.
68472         * crypt/crypt_util.c: Likewise.
68473         * ctype/ctype.h: Likewise.
68474         * debug/execinfo.h: Likewise.
68475         * debug/mbsnrtowcs_chk.c: Likewise.
68476         * debug/mbsrtowcs_chk.c: Likewise.
68477         * debug/wcsnrtombs_chk.c: Likewise.
68478         * debug/wcsrtombs_chk.c: Likewise.
68479         * debug/wcstombs_chk.c: Likewise.
68480         * dirent/dirent.h: Likewise.
68481         * dlfcn/dlfcn.h: Likewise.
68482         * elf/neededtest4.c: Likewise.
68483         * grp/grp.h: Likewise.
68484         * gshadow/gshadow.h: Likewise.
68485         * iconv/gconv.h: Likewise.
68486         * iconv/gconv_int.h: Likewise.
68487         * iconv/gconv_simple.c: Likewise.
68488         * iconv/iconv.h: Likewise.
68489         * iconv/loop.c: Likewise.
68490         * iconv/skeleton.c: Likewise.
68491         * include/aio.h: Likewise.
68492         * include/aliases.h: Likewise.
68493         * include/argz.h: Likewise.
68494         * include/arpa/inet.h: Likewise.
68495         * include/assert.h: Likewise.
68496         * include/dirent.h: Likewise.
68497         * include/dlfcn.h: Likewise.
68498         * include/execinfo.h: Likewise.
68499         * include/fcntl.h: Likewise.
68500         * include/fenv.h: Likewise.
68501         * include/glob.h: Likewise.
68502         * include/grp.h: Likewise.
68503         * include/libintl.h: Likewise.
68504         * include/mntent.h: Likewise.
68505         * include/netdb.h: Likewise.
68506         * include/pwd.h: Likewise.
68507         * include/rpc/netdb.h: Likewise.
68508         * include/sched.h: Likewise.
68509         * include/search.h: Likewise.
68510         * include/shadow.h: Likewise.
68511         * include/signal.h: Likewise.
68512         * include/stdio.h: Likewise.
68513         * include/stdlib.h: Likewise.
68514         * include/string.h: Likewise.
68515         * include/sys/socket.h: Likewise.
68516         * include/sys/stat.h: Likewise.
68517         * include/sys/statfs.h: Likewise.
68518         * include/sys/statvfs.h: Likewise.
68519         * include/sys/syslog.h: Likewise.
68520         * include/sys/time.h: Likewise.
68521         * include/sys/uio.h: Likewise.
68522         * include/time.h: Likewise.
68523         * include/unistd.h: Likewise.
68524         * include/utmp.h: Likewise.
68525         * include/wchar.h: Likewise.
68526         * include/wctype.h: Likewise.
68527         * inet/aliases.h: Likewise.
68528         * inet/arpa/inet.h: Likewise.
68529         * inet/netinet/ether.h: Likewise.
68530         * inet/netinet/in.h: Likewise.
68531         * intl/libintl.h: Likewise.
68532         * io/bits/fcntl2.h: Likewise.
68533         * io/fcntl.h: Likewise.
68534         * io/ftw.h: Likewise.
68535         * io/sys/poll.h: Likewise.
68536         * io/sys/stat.h: Likewise.
68537         * io/sys/statfs.h: Likewise.
68538         * io/sys/statvfs.h: Likewise.
68539         * io/utime.h: Likewise.
68540         * libio/bits/stdio.h: Likewise.
68541         * libio/bits/stdio2.h: Likewise.
68542         * libio/libio.h: Likewise.
68543         * libio/libioP.h: Likewise.
68544         * libio/stdio.h: Likewise.
68545         * locale/lc-ctype.c: Likewise.
68546         * locale/locale.h: Likewise.
68547         * login/utmp.h: Likewise.
68548         * malloc/arena.c: Likewise.
68549         * malloc/malloc.c: Likewise.
68550         * malloc/malloc.h: Likewise.
68551         * malloc/mcheck.c: Likewise.
68552         * malloc/mtrace.c: Likewise.
68553         * math/bits/mathcalls.h: Likewise.
68554         * math/fenv.h: Likewise.
68555         * math/math_private.h: Likewise.
68556         * misc/bits/error.h: Likewise.
68557         * misc/bits/syslog.h: Likewise.
68558         * misc/err.h: Likewise.
68559         * misc/error.h: Likewise.
68560         * misc/fstab.h: Likewise.
68561         * misc/mntent.h: Likewise.
68562         * misc/regexp.h: Likewise.
68563         * misc/search.h: Likewise.
68564         * misc/sgtty.h: Likewise.
68565         * misc/sys/mman.h: Likewise.
68566         * misc/sys/syslog.h: Likewise.
68567         * misc/sys/uio.h: Likewise.
68568         * misc/sys/xattr.h: Likewise.
68569         * misc/ttyent.h: Likewise.
68570         * nis/rpcsvc/ypclnt.h: Likewise.
68571         * nss/nss.h: Likewise.
68572         * posix/bits/unistd.h: Likewise.
68573         * posix/fnmatch.h: Likewise.
68574         * posix/glob.h: Likewise.
68575         * posix/sched.h: Likewise.
68576         * posix/spawn.h: Likewise.
68577         * posix/sys/wait.h: Likewise.
68578         * posix/unistd.h: Likewise.
68579         * posix/wordexp.h: Likewise.
68580         * pwd/pwd.h: Likewise.
68581         * resolv/netdb.h: Likewise.
68582         * resource/sys/resource.h: Likewise.
68583         * rt/aio.h: Likewise.
68584         * rt/bits/mqueue2.h: Likewise.
68585         * rt/mqueue.h: Likewise.
68586         * shadow/shadow.h: Likewise.
68587         * signal/signal.h: Likewise.
68588         * socket/send.c: Likewise.
68589         * socket/sendto.c: Likewise.
68590         * socket/sys/socket.h: Likewise.
68591         * stdio-common/printf.h: Likewise.
68592         * stdlib/bits/stdlib.h: Likewise.
68593         * stdlib/fmtmsg.h: Likewise.
68594         * stdlib/monetary.h: Likewise.
68595         * stdlib/stdlib.h: Likewise.
68596         * stdlib/ucontext.h: Likewise.
68597         * streams/stropts.h: Likewise.
68598         * string/argz.h: Likewise.
68599         * string/bits/string2.h: Likewise.
68600         * string/string.h: Likewise.
68601         * string/strings.h: Likewise.
68602         * sunrpc/rpc/auth.h: Likewise.
68603         * sunrpc/rpc/auth_des.h: Likewise.
68604         * sunrpc/rpc/clnt.h: Likewise.
68605         * sunrpc/rpc/netdb.h: Likewise.
68606         * sunrpc/rpc/pmap_clnt.h: Likewise.
68607         * sunrpc/rpc/xdr.h: Likewise.
68608         * sysdeps/generic/inttypes.h: Likewise.
68609         * sysdeps/generic/net/if.h: Likewise.
68610         * sysdeps/generic/sys/swap.h: Likewise.
68611         * sysdeps/gnu/net/if.h: Likewise.
68612         * sysdeps/gnu/utmpx.h: Likewise.
68613         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68614         * sysdeps/i386/i486/bits/string.h: Likewise.
68615         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68616         * sysdeps/s390/bits/string.h: Likewise.
68617         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68618         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68619         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68620         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68621         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68622         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68623         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68624         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68625         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68626         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68627         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68628         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68629         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68630         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68631         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68632         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68633         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68634         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68635         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68636         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68637         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68638         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68639         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68640         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68641         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68642         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68643         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68644         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68645         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68646         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68647         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68648         * sysvipc/sys/ipc.h: Likewise.
68649         * sysvipc/sys/msg.h: Likewise.
68650         * sysvipc/sys/sem.h: Likewise.
68651         * sysvipc/sys/shm.h: Likewise.
68652         * termios/termios.h: Likewise.
68653         * time/sys/time.h: Likewise.
68654         * time/time.h: Likewise.
68655         * wcsmbs/bits/wchar2.h: Likewise.
68656         * wcsmbs/uchar.h: Likewise.
68657         * wcsmbs/wchar.h: Likewise.
68658         * wctype/wctype.h: Likewise.
68660         [BZ #13551]
68661         * Makeconfig: Remove all but ELF support including AIX support.
68662         * Makerules: Likewise.
68663         * config.h.in: Likewise.
68664         * config.make.in: Likewise.
68665         * configure: Likewise.
68666         * configure.in: Likewise.
68667         * csu/Makefile: Likewise.
68668         * csu/version.c: Likewise.
68669         * debug/Makefile: Likewise.
68670         * dlfcn/Makefile: Likewise.
68671         * elf/Makefile: Likewise.
68672         * extra-lib.mk: Likewise.
68673         * iconv/Makefile: Likewise.
68674         * include/libc-symbols.h: Likewise.
68675         * include/shlib-compat.h: Likewise.
68676         * resolv/Makefile: Likewise.
68677         * resolv/res_libc.c: Likewise.
68678         * rt/Makefile: Likewise.
68679         * sysdeps/i386/asm-syntax.h: Likewise.
68680         * sysdeps/i386/sysdep.h: Likewise.
68681         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68682         * sysdeps/mach/sysdep.h: Likewise.
68683         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68684         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68685         * sysdeps/s390/asm-syntax.h: Likewise.
68686         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68687         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68688         * sysdeps/sh/sysdep.h: Likewise.
68689         * sysdeps/unix/sparc/sysdep.h: Likewise.
68690         * sysdeps/wordsize-32/divdi3.c: Likewise.
68691         * sysdeps/x86_64/sysdep.h: Likewise.
68693         * argp/Versions: Remove _argp_unlock_xxx.
68695         [BZ #13559]
68696         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68697         * abilist/libBrokenLocale.abilist: Likewise.
68698         * abilist/libanl.abilist: Likewise.
68699         * abilist/libc.abilist: Likewise.
68700         * abilist/libcrypt.abilist: Likewise.
68701         * abilist/libdl.abilist: Likewise.
68702         * abilist/libm.abilist: Likewise.
68703         * abilist/libnsl.abilist: Likewise.
68704         * abilist/libpthread.abilist: Likewise.
68705         * abilist/libresolv.abilist: Likewise.
68706         * abilist/librt.abilist: Likewise.
68707         * abilist/libthread_db.abilist: Likewise.
68708         * abilist/libutil.abilist: Likewise.
68709         * abilist/libnss_db.abilist: New file.
68711         * scripts/abilist.awk: Add support for indirect functions.
68713         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68715         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68717         * shlib-versions: Remove entries for ports architectures.
68719         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68720         files in ports.
68721         * elf/stackguard-macros.h: Remove support for IA-64.
68722         * elf/tst-auditmod1.c: Likewise.
68723         * sysdeps/generic/ldsodefs.h: Likewise.
68725         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68726         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68727         configure files.
68729         [BZ #13552]
68730         * configure.in: Remove --enable-omitfp support.
68731         * FAQ.in: Adjust.
68732         * config.make.in: Likewise.
68733         * Makeconfig: Likewise.
68734         * manual/install.texi: Likewise.
68736         In case anyone cares, the IA-64 architecture could move to ports.
68737         * sysdeps/ia64/*: Removed.
68738         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68739         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68741         [BZ #13555]
68742         * configure.in: Remove entries for unsupported architectures.
68744         [BZ #13533]
68745         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68746         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68747         routines.
68748         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68749         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68750         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68751         fall back to using wcrtomb.
68752         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68753         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68754         renaming.
68755         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68756         * wcsmbs/tst-c16c32-1.c: New file.
68758         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68759         local variable.
68761         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68763         * elf/tst-unique3.cc: Add explicit declaration of gets.
68764         * elf/tst-unique3lib.cc: Likewise.
68765         * elf/tst-unique3lib2.cc: Likewise.
68766         * elf/tst-unique4.cc: Likewise.
68768         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68770 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68772         [BZ #13566]
68773         * assert/assert.h (static_assert): Don't define for C++.
68774         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68775         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68777 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68779         * iconv/loop.c (single loop): Fix assertion in storing of
68780         remaining bytes.
68782         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68784 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68786         * posix/getconf.c: Update copyright year.
68787         * nss/getent.c: Likewise.
68788         * nss/makedb.c: Likewise.
68789         * iconv/iconvconfig.c: Likewise.
68790         * iconv/iconv_prog.c: Likewise.
68791         * elf/ldconfig.c: Likewise.
68792         * elf/pldd.c: Likewise.
68793         * elf/sotruss.ksh: Likewise.
68794         * catgets/gencat.c: Likewise.
68795         * csu/version.c: Likewise.
68796         * elf/ldd.bash.in: Likewise.
68797         * elf/sprof.c (print_version): Likewise.
68798         * locale/programs/locale.c: Likewise.
68799         * locale/programs/localedef.c: Likewise.
68800         * login/programs/pt_chown.c: Likewise.
68801         * nscd/nscd.c (print_version): Likewise.
68802         * debug/xtrace.sh: Likewise.
68803         * malloc/memusage.sh: Likewise.
68804         * malloc/mtrace.pl: Likewise.
68805         * debug/catchsegv.sh: Likewise.
68807 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68809         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68810         pure attribute.
68812 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68814         [BZ #13533]
68815         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68816         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68817         transformations.
68818         * iconv/gconv_int.h: Likewise.
68819         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68820         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68821         from libc for GLIBC_2.16.
68822         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68823         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68824         * wcsmbs/uchar.h: Really define mbstate_t.
68825         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68826         * wcsmbs/c16rtomb.c: New file.
68827         * wcsmbs/mbrtoc16.c: New file.
68828         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68829         for C/POSIX locale.
68830         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68831         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68833         * wcsmbs/wchar.h: Add missing __restrict.
68835 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68837         [BZ #13532]
68838         * time/Makefile (routines): Add timespec_get.
68839         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68840         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68841         timespec for ISO C11.
68842         * time/timespec_get.c: New file.
68843         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68844         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68846         [BZ #13531]
68847         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68848         * stdlib/stdlib.h: Declare aligned_alloc.
68849         * Versions.def: Add GLIBC_2.16 for libc.
68850         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68852         [BZ 13527]
68853         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68854         ISO C11.
68856         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68857         code.
68859         [BZ #13528]
68860         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68862         [BZ #13529]
68863         * assert/assert.h (static_assert): Define.
68865         * version.h: Update for 2.16 development version.
68867         [BZ #13526]
68868         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68869         _ISOC11_SOURCE.
68871         * version.h (RELEASE): Bump for 2.15 release.
68872         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68874         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68875         Patch by Marek Polacek <mpolacek@redhat.com>.
68877         * bits/byteswap.h: Protect long long constants with __extension__.
68878         * sysdeps/i386/bits/byteswap.h: Likewise.
68879         * sysdeps/ia64/bits/byteswap.h: Likewise.
68880         * sysdeps/s390/bits/byteswap.h: Likewise.
68881         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68883 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68885         [BZ #13540]
68886         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68887         destination buffer.
68888         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68890 2011-12-23  Marek Polacek  <polacek@redhat.com>
68892         * elf/dl-addr.c (determine_info): Add inline keyword.
68893         * elf/tst-auditmod4b.c (check_avx): Likewise.
68894         * elf/tst-auditmod6b.c (check_avx): Likewise.
68895         * elf/tst-auditmod6c.c (check_avx): Likewise.
68896         * elf/tst-auditmod7b.c (check_avx): Likewise.
68898 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68900         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68901         !__SSE_MATH__.
68903 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68905         [BZ #13540]
68906         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68907         processing for last bytes.
68909 2011-08-06  Bruno Haible  <bruno@clisp.org>
68911         [BZ #13061]
68912         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68913         U+0385, not to U+1FEE.
68915         [BZ #13062]
68916         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68917         entry for U+00A5 U+0301.
68919 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68921         [BZ #13166]
68922         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68923         buffer for the output is too small.
68925         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68926         optimization.
68928         [BZ #13185]
68929         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68930         SSE flags if possible.
68932 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68934         [BZ #13540]
68935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68936         processing for last bytes.
68938 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68940         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68941         (syscall-list-default-options, syscall-list-default-condition)
68942         (syscall-list-includes): Define.
68943         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68944         list of ABIs and options and #if conditions for each ABI.  Do not
68945         handle common syscalls between ABIs specially.
68946         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68947         Remove.
68948         (syscall-list-variants, syscall-list-32bit-options)
68949         (syscall-list-32bit-condition, syscall-list-64bit-options)
68950         (syscall-list-64bit-condition): Define.
68951         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68952         (syscall-list-variants, syscall-list-32bit-options)
68953         (syscall-list-32bit-condition, syscall-list-64bit-options)
68954         (syscall-list-64bit-condition): Define.
68955         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68956         Remove.
68957         (syscall-list-variants, syscall-list-32bit-options)
68958         (syscall-list-32bit-condition, syscall-list-64bit-options)
68959         (syscall-list-64bit-condition): Define.
68960         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68961         Remove.
68962         (syscall-list-variants, syscall-list-32bit-options)
68963         (syscall-list-32bit-condition, syscall-list-64bit-options)
68964         (syscall-list-64bit-condition): Define.
68966 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68968         * locale/iso-639.def: Add brx entry.
68970         [BZ #13328]
68971         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68972         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68974         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68975         __feraiseexcept_renamed.
68977 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68979         [BZ #13538]
68980         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68981         EPOLLET with unsigned values.
68982         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68983         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68985         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68986         to large cancellation.
68987         * math/s_cacoshf.c: Likewise.
68988         * math/s_cacoshl.c: Likewise.
68990 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68992         [BZ #13305]
68993         [BZ #12786]
68994         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68995         * math/s_cacoshf.c: Likewise.
68996         * math/s_cacoshl.c: Likewise.
68998 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69000         [BZ #13439]
69001         * iconv/gconv.h: Define __GCONV_SWAP.
69002         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69003         * iconvdata/utf-16.c: Likewise.
69004         * iconvdata/utf-32.c: Likewise.
69006 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69008         [BZ #13524]
69009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69010         numerator after shifting it by one limb.
69012 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69014         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69015         under [__USE_EXTERN_INLINES].
69017 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69019         [BZ #13446]
69020         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69022 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69024         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69025         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69026         optimized code.
69027         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69028         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69029         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69030         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69031         for strncasecmp/strncasecmp_l compilation.
69032         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69033         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69035 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69037         [BZ #13484]
69038         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69039         of __asm__.
69041 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69043         [BZ #13506]
69044         * time/tzfile.c (__tzfile_read): Check values from file header.
69046 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69048         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69049         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69050         * powerpc/powerpc32/dl-start.S: Likewise.
69051         * powerpc/powerpc32/elf/start.S: Likewise.
69052         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69053         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69054         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69055         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69056         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69057         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69058         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69059         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69060         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69061         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69062         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69063         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69064         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69065         * powerpc/powerpc32/memset.S: Likewise.
69066         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69067         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69068         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69069         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69070         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69071         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69072         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69073         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69074         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69075         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69076         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69077         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69078         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69080 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69082         * math/libm-test.inc: Added more nearbyint tests.
69083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69084         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69086         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69088 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69090         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69091         FD_CLOEXEC.
69093 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69095         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69096         Add wcscpy-ssse3 wcscpy-c.
69097         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69098         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69099         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69100         * sysdeps/x86_64/wcschr.S: New file.
69101         * sysdeps/x86_64/wcsrchr.S: New file.
69102         * string/test-strcmp.c: Remove checking of wcscmp function for
69103         wrong alignments.
69104         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69105         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69106         wcsrchr-sse2 wcsrchr-c.
69107         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69108         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69109         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69110         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69111         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69112         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69113         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69114         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69115         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69116         * wcsmbc/wcschr.c (WCSCHR): New macro.
69118 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69120         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69121         * wcsmbs/test-wcsrchr.c: New file.
69122         * string/test-strrchr.c: Add wcsrchr support.
69123         (WIDE): New macro.
69124         * wcsmbs/test-wcscpy.c: New file.
69125         * string/test-strcpy.c: Add wcscpy support.
69126         (WIDE): New macro.
69128 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69130         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69131         the inner loop.
69133 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69135         [BZ #13472]
69136         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69138 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69140         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69141         Minor optimizations.
69143         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69144         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69145         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69147 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69149         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69150         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69151         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69152         for gcc to avoid warnings.
69153         * inet/Makefile (tests): Add tst-checks.
69154         * inet/tst-checks.c: New file.
69156         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69157         warning.
69159         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69160         __wmemcmp_sse2.
69162         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69163         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69165         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69167 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69169         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69170         problem.
69172         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69174 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69176         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69177         conditional on GCC version.
69178         (__arch_compare_and_exchange_val_8_acq)
69179         (__arch_compare_and_exchange_val_16_acq)
69180         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69181         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69182         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69184 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69186         * sysdeps/sh/backtrace.c: New file.
69188 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69190         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69191         parenthesis.
69193 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69195         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69196         falling back to utime.
69198 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69200         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69201         expectations for float.
69203 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69205         * locale/weight.h (findidx): Add parameter len.
69206         * locale/weightwc.h (findidx): Likewise.
69207         * posix/fnmatch_loop.c (FCT): Adjust caller.
69208         * posix/regcomp.c (build_equiv_class): Likewise.
69209         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69210         * posix/regexec.c (check_node_accept_bytes): Likewise.
69211         * string/strcoll_l.c (STRCOLL): Likewise.
69212         * string/strxfrm_l.c (STRXFRM): Likewise.
69214 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69216         * Makefile.in: Remove CVSOPT handling.
69217         * configure.in: Remove use of AC_REVISION.
69218         * iconvdata/Makefile (distribute): No need to filter out CVS.
69219         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69220         handling.
69222 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69224         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69225         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69226         [USE_AS_STRNCASECMP_L]: Likewise.
69227         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69228         NO_TLS_DIRECT_SEG_REFS.
69229         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69230         Fix argument offsets for non-PIC.
69231         [USE_AS_STRNCASECMP_L]: Likewise.
69232         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69233         NO_TLS_DIRECT_SEG_REFS.
69235 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69237         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69238         O_CLOEXEC.
69239         * locale/loadlocale.c (_nl_load_locale): Likewise.
69241 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69243         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69244         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69245         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69246         (SYSCALL_GETTIME): Set errno on error.
69248         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69249         count references to noai6ai_cached.
69251 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69253         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69255         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69256         FD_CLOEXEC for /proc/self/maps.
69258         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69259         FD_CLOEXEC for /proc/meminfo.
69261         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69262         gai.conf.
69264         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69265         FD_CLOEXEC for given file.
69267         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69269         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69270         FD_CLOEXEC for /etc/hosts.
69271         (_gethtent): Likewise.
69273         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69275         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69276         cancellation and set FD_CLOEXEC for /etc/netgroup.
69278         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69279         reading /etc/publickey.
69281         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69282         allow cancellation when reading /etc/group.
69284         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69285         cancellation.
69286         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69288         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69289         when using data file.
69291         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69293         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69294         (write_nis_obj): Use "c" and "e" in fopen.
69296         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69298         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69300         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69302         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69304         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69305         locale.alias.
69307         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69309         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69311         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69313         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69314         file parsing and set FD_CLOEXEC.
69316 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69318         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69320 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69322         * malloc/arena.c (arena_get2): Don't call reused_arena when
69323         _int_new_arena failed.
69325 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69327         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69328         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69329         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69330         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69331         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69332         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69333         to compile strcasecmp and strncasecmp.
69334         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69335         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69337         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69339 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69341         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69342         locale-defines.sym to gen-as-const-headers.
69343         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69344         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69345         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69346         to compile strcasecmp and strncasecmp.
69347         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69348         strcasecmp_l and strncasecmp_l.
69349         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69350         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69351         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69352         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69353         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69354         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69355         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69356         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69357         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69358         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69359         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69361 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69363         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69364         result of SYSDEP_GETTIME_CPU to retval.
69365         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69366         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69368         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69369         variable.
69371         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69372         mantissa words.
69373         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69375         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69376         from unused variable.
69378         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69379         DWARF definitions.
69380         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69381         for assembling.
69383         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69384         over namespaces.
69386         * sunrpc/rpc_prot.c (rejected): Fix case value.
69388         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69389         unsigned long long int to avoid warnings in shift.
69391         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69392         of use of trans.
69393         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69394         variable tmp.
69396         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69397         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69398         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69400         * nis/nis_table.c (nis_list): Use variable of correct type for
69401         result of __follow_path call.
69403 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69405         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69406         of math functions ceil, trunc, floor, round, and sqrt, when
69407         avaliable on the platform.
69408         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69409         name clash.
69410         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69411         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69412         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69414 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69416         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69417         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69419 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69421         * include/unistd.h: Fix __readlink return type.
69422         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69424 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69426         * stdlib/ucontext.h: Undo last change for makecontext.
69428 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69430         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69432         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69433         * setjmp/setjmp.h: Mark functions as non-leaf.
69434         * setjmp/bits/setjmp2.h: Likewise.
69435         * stdlib/ucontext.h: Likewise.
69437 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69439         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69440         (reused_arena): Don't check arena limit.
69441         (arena_get2): Atomically check arena limit.
69443 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69445         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69446         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69448         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69449         instructions.
69451 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69453         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69454         handler when locking.
69456         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69457         Fix size of allocated buffer.
69459 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69461         [BZ #10103]
69462         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69463         declarations for long double functions.
69464         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69466         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69468 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69470         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69471         installed.
69473         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69474         is disabled.
69476 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69478         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69480 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69482         * include/alloca.h (stackinfo_alloca_round): Define.
69483         (extend_alloca): Use it.
69484         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69485         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69486         here.
69488         * scripts/check-local-headers.sh: Ignore libaudit.h.
69490         * nscd/Makefile (extra-objs): Make recursively expanded.
69492 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69494         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69495         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69497         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69498         * posix/tst-rfc3484-2.c: Likewise.
69499         * posix/tst-rfc3484-3.c: Likewise.
69501         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69502         process_vm_writev.
69503         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69504         process_vm_writev.
69505         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69506         process_vm_writev from libc using GLIBC_2.15 version.
69508         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69510 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69512         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69513         stack usage.
69515 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69517         [BZ #13367]
69518         * nss/getent.c (initgroups_keys): Show error message in case no group
69519         names are given.
69521         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69522         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69523         __bump_nl_timestamp.
69524         * nscd/connections (nscd_init): When host database is served open
69525         netlink socket and request notification about configuration changes.
69526         (main_loop_poll): Track netlink file descriptor and bump timestamp
69527         in case data becomes available.
69528         (main_loop_epoll): Likewise.
69529         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69530         (database_pers_head): Add extra_data fileds.
69531         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69532         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69533         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69534         Adjust caller.
69535         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69536         in6ai data, call __free_in6ai.
69537         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69538         Add -DHAVE_NETLINK.
69539         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69540         interface information.  Reuse previous data if netlink timestamp
69541         is not changed.
69542         (__bump_nl_timestamp): New function.
69543         (__free_in6ai): New function.
69545 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69547         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69548         close_not_cancel_no_status here.
69549         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69551 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69553         [BZ #13276]
69554         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69555         return value.
69557         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69558         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69559         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69561 2011-07-03  Andreas Jaeger  <aj@suse.de>
69563         [BZ #10709]
69564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69565         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69566         * math/libm-test.inc (sin_test): Add test case.
69568 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69570         [BZ #13337]
69571         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69572         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69574         * elf/chroot_canon.c (chroot_canon): Cleanups.
69576         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69578         [BZ #13335]
69579         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69580         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69582         * string/test-strchr.c: Make usable for strchrnul testing.
69583         * string/test-strchrnul.c: New file.
69584         * string/Makefile (strop-tests): Add strchrnul.
69586         * po/it.po: Update from translation team.
69587         * po/es.po: Likewise.
69589 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69591         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69592         the three constants needed as parameters.  Drop the others.
69593         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69594         __m128i_strloadu_tolower.
69595         Create and initialize variable zero and use it in all the places
69596         where _mm_setzero_si128 was used.
69598         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69599         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69600         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69601         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69602         anymore.
69603         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69604         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69605         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69606         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69607         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69608         __mpranred, __mptan.
69609         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69610         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69611         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69612         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69613         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69614         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69615         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69616         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69617         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69619 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69621         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69622         redefine if SHARED.
69623         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69626         wide char related routines to wcsmbs subdir.
69628 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69630         [BZ #13344]
69631         * misc/sys/cdefs.h (__THROWNL): Define.
69632         * posix/unistd.h: Use __THREADNL instead of __THREAD
69633         for memory synchronization functions.
69635 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69637         [BZ #13349]
69638         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69639         doesn't exist.
69640         * manual/stdio.texi (Obstack Streams): Node removed.
69642 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69644         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69645         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69646         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69648         * math/math_private.h (math_force_eval): Allow non-addressable
69649         arguments.
69650         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69652 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69654         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69655         file is not needed.
69657         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69658         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69659         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69660         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69661         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69662         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69663         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69664         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69665         Add AVX variants.
69666         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69667         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69668         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69669         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69670         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69671         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69672         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69673         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69674         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69675         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69676         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69677         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69678         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69679         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69680         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69681         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69682         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69683         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69684         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69686         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69687         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69689         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69690         place.  Use VEX encoding when compiling for AVX.
69692 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69694         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69695         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69697         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69699 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69701         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69702         useless if() expression.
69703         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69704         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69705         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69707         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69708         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69709         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69710         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69711         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69713         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69714         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69715         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69716         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69717         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69718         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69719         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69720         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69721         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69723         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69725 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69727         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69728         condition.
69729         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69731 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69733         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69734         .text section.  Avoid duplicate constants.
69735         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69736         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69737         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69738         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69743         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69744         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69745         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69746         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69747         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69748         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69749         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69750         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69751         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69752         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69753         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69754         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69755         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69756         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69757         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69758         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69759         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69760         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69761         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69762         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69763         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69764         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69765         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69766         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69767         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69768         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69769         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69770         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69771         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69772         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69773         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69774         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69775         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69776         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69777         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69778         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69779         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69781 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69783         * sysdeps/x86_64/dla.h: Move to ...
69784         * sysdeps/x86_64/fpu/dla.h: ...here.
69785         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69786         situations.  Use __builtin_fma only for gcc 4.6 and up.
69788         * config.make.in: Add have-mfma4 entry.
69789         * configure.in: Substitute libc_cv_cc_fma4.
69790         * math/Makefile (dbl-only-routines): Add sincostab.
69791         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69792         Use __sincostab not sincos.
69793         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69794         name is a macro.
69795         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69796         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69797         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69799         using __copysign.
69800         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69801         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69802         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69803         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69804         and __inv.
69805         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69806         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69807         __copysign.
69808         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69809         define aliases when function name is a macro.
69810         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69811         sysdeps/ieee754/dbl-64/sincos.tbl.
69812         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69813         fma4-enabled routines.
69814         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69815         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69816         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69817         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69818         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69819         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69821         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69822         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69823         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69824         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69825         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69826         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69827         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69828         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69829         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69830         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69831         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69832         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69833         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69834         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69835         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69836         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69837         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69838         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69839         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69840         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69841         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69842         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69843         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69845         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69846         rename.
69847         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69856 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69858         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69860 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69864         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69865         prediction.
69866         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69868         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69869         Remove unused variable magic_bits.
69870         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69872         * string/strnlen.c: Define and use STRNLEN macro.
69873         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69874         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69876         * wcsmbs/wcslen.c: Define and use WCSLEN.
69877         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69878         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69879         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69880         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69881         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69882         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69883         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69885 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69888         strnlen-sse2-no-bsf.
69889         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69890         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69891         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69892         Add strnlen support.
69893         (USE_AS_STRNLEN): New macro.
69894         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69895         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69896         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69897         * sysdeps/x86_64/wcslen.S: New file.
69899 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69902         XMM-moves are used for copying on small sizes.
69904 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69906         * wcsmbs/Makefile (strop-tests): Add wcschr.
69907         * wcsmbs/test-wcschr.c: New file.
69908         * string/test-strchr.c: Update.
69909         Add wcschr support.
69910         (WIDE): New macro.
69912 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69914         * wcsmbs/Makefile (strop-tests): Add wcslen.
69915         * wcsmbs/test-wcslen.c: New file.
69916         * string/test-strlen.c: Update.
69917         Add wcslen support.
69918         (WIDE): New macro.
69920 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69922         * po/it.po: Update from translation team.
69924 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69926         * sysdeps/x86_64/wcscmp.S: Update.
69927         Fix wrong comparison semantics.
69928         wcscmp shall use signed comparison not unsigned.
69929         Don't use substraction to avoid overflow bug.
69930         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69931         * wcsmbc/wcscmp.c: Likewise.
69932         * string/test-strcmp.c: Likewise.
69933         Add new tests to check cases with negative values.
69935 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69937         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69938         * sysdeps/x86_64/dla.h: ...here.  New file.
69939         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69941         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69944         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69945         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69946         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69949 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69951         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69952         __ynl_finite aliases.
69954 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69958         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69959         define DLA_FMA.
69960         [DLA_FMA] (EMULV): Use DLA_FMA.
69961         [DLA_FMA] (MUL12): Use EMULV.
69962         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69963         that are not needed.
69964         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69965         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69969         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69970         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69972 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69974         * math/s_nan.c: Undef __nan.
69975         * math/s_nanf.c: Undef __nanf.
69976         * math/s_nanl.c: Undef __nanl.
69977         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69978         "math_private.h".
69980 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69982         * math/s_catan.c: Add branch predictions.
69983         * math/s_catanf.c: Likewise.
69984         * math/s_catanh.c: Likewise.
69985         * math/s_catanhf.c: Likewise.
69986         * math/s_catanhl.c: Likewise.
69987         * math/s_catanl.c: Likewise.
69988         * math/s_cexp.c: Likewise.
69989         * math/s_cexpf.c: Likewise.
69990         * math/s_cexpl.c: Likewise.
69991         * math/s_clog.c: Likewise.
69992         * math/s_clog10.c: Likewise.
69993         * math/s_clog10f.c: Likewise.
69994         * math/s_clog10l.c: Likewise.
69995         * math/s_clogf.c: Likewise.
69996         * math/s_clogl.c: Likewise.
69997         * math/s_csqrt.c: Likewise.
69998         * math/s_csqrtf.c: Likewise.
69999         * math/s_csqrtl.c: Likewise.
70000         * math/s_ctanf.c: Likewise.
70001         * math/s_ctanh.c: Likewise.
70002         * math/s_ctanhf.c: Likewise.
70003         * math/s_ctanhl.c: Likewise.
70004         * math/s_ctanl.c: Likewise.
70006         * math/math_private.h: Define __nan, __nanf, __nanl.
70007         * math/s_cacosh.c: Include <math_private.h>.
70008         * math/s_cacoshl.c: Likewise.
70009         * math/s_casinh.c: Likewise.
70010         * math/s_casinhf.c: Likewise.
70011         * math/s_casinhl.c: Likewise.
70012         * math/s_ccos.c: Rely entire on ccosh.
70013         * math/s_ccosf.c: Rely entire on ccoshf.
70014         * math/s_ccosl.c: Rely entirely on ccoshl.
70015         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70016         Remove tests for FE_INVALID.
70017         * math/s_ccoshf.c: Likewise.
70018         * math/s_ccoshl.c: Likewise.
70019         * math/s_csin.c: Likewise.
70020         * math/s_csinf.c: Likewise.
70021         * math/s_csinh.c Likewise.
70022         * math/s_csinhf.c: Likewise.
70023         * math/s_csinhl.c: Likewise.
70024         * math/s_csinl.c: Likewise.
70025         * math/s_ctan.c: Likewise.
70026         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70027         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70028         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70030 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70033         compilation problems.
70035         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70036         __builtin_expect.
70038 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70040         * sysdeps/i386/configure.in: Test for -mfma4 option.
70041         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70042         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70043         COMMON_CPUID_INDEX_80000001.
70044         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70045         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70046         use it if FMA3 is not supported.
70047         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70049         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70050         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70052 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70054         [BZ #12892]
70055         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70056         it would create a cycle with a link time dependency.
70058 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70060         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70061         instruction.
70062         * string/Makefile (strop-tests): Add rawmemchr.
70063         * string/test-rawmemchr.c: New file.
70065         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70066         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70067         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70068         when compiling str{,n}casecmp and when AVX is available.  Hook up
70069         new optimized code in initializers.
70071 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70073         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70074         __feraiseexcept instead of feraiseexcept.
70076 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70078         * math/math_private.h: Define defaults for libc_fetestexcept and
70079         libc_feupdateenv.
70080         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70081         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70082         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70083         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70084         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70085         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70086         libc_fetestexcept and libc_feupdateenv.
70088         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70089         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70090         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70091         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70092         libc_feholdexcept_setround.
70094         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70095         Add s_nearbyint-c and s_nearbyintf-c.
70096         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70097         nearbyintf inlines.
70098         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70099         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70100         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70101         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70103         * math/math_private.h: Define defaults for libc_fegetround,
70104         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70105         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70106         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70107         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70108         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70109         standard functions.
70110         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70111         Remove comments and hacks for old compiler versions.
70112         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70113         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70114         libc_feholdexceptl.
70116 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70118         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70119         (__feraiseexcept_renamed): Add __NTH.
70120         (feraiseexcept): Add __NTH.  Rename local variables to fix
70121         namespace violations.
70123 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70125         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70127         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70129         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70130         recently added interfaces.
70131         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70133         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70134         about macro parameter expansion.
70136         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70137         __NO_MATH_INLINES is defined.  Cleanups.
70139         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70140         and __floorf is target has SSE4.1.
70141         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70142         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70143         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70144         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70146         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70147         name.
70148         (floorf): Likewise.
70150         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70152 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70154         * misc/sys/cdefs.h: Fix last change.
70156         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70157         database lookup.
70159 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70161         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70163         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70164         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70165         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70166         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70167         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70168         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70169         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70170         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70171         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70172         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70173         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70174         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70175         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70176         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70177         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70178         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70179         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70180         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70181         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70182         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70183         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70184         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70186         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70187         ceil, ceilf, floor, floorf.
70189         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70190         Perform IRELATIVE relocations last.
70192         * elf/do-rel.h: Add another parameter nrelative, replacing the
70193         local variable with the same name.  Change name of the function
70194         to end in Rel or Rela (uppercase).
70195         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70196         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70197         elf_dynamic_do_##reloc function.
70199 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70201         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70202         is sufficient, at least on modern CPUs.
70204         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70206         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70207         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70209         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70210         __expl_finite.
70211         * math/bits/math-finite.h: Add entries for exp.
70212         * math/e_expl.c: Add __*_finite alias.
70213         * sysdeps/i386/fpu/e_exp.S: Likewise.
70214         * sysdeps/i386/fpu/e_expf.S: Likewise.
70215         * sysdeps/i386/fpu/e_expl.c: Likewise.
70216         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70217         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70218         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70220         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70221         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70222         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70224         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70225         is sufficient, at least on modern CPUs.
70227         * ctype/ctype-info.c (__ctype_init): Define.
70228         * include/ctype.h (__ctype_init): Declare.
70229         (__ctype_b_loc): The variable is always initialized.
70230         (__ctype_toupper_loc): Likewise.
70231         (__ctype_tolower_loc): Likewise.
70232         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70233         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70235 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70237         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70239         * configure.in: Also look in $cxxmachine/include for C++ system
70240         headers.
70242 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70244         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70245         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70246         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70247         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70248         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70249         (USE_AS_WMEMCMP): New macro.
70250         Fixing indents.
70251         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70252         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70253         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70254         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70256         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70257         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70258         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70259         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70260         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70262         (USE_AS_WMEMCMP): New macro.
70263         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70264         * sysdeps/string/test-memcmp.c: Update.
70265         Fix simple_wmemcmp.
70266         Add new tests.
70267         * wcsmbs/wmemcmp.c: Update.
70268         (WMEMCMP): New macro.
70269         Fix overflow bug.
70271 2011-10-12  Andreas Jaeger  <aj@suse.de>
70273         [BZ #13268]
70274         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70276 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70278         * libio/iofwide.c (do_length): Avoid warning.
70280         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70282 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70284         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70286         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70287         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70288         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70289         * sysdeps/i386/i686/fpu/e_log.S: New file.
70290         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70291         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70293         * ctype/ctype.h: Add support for inlined isXXX functions when
70294         compiling C++ code.
70296 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70298         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70300         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70302 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70304         [BZ #13291]
70305         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70307 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70309         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70310         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70311         feraiseexcept.
70313         * sysdeps/x86_64/memrchr.S: Check for zero size.
70315         * string/stratcliff.c: Add memrchr tests.
70317 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70319         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70320         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70321         rawmemchr-sse2 rawmemchr-sse2-bsf.
70322         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70323         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70324         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70325         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70326         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70327         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70328         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70329         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70330         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70331         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70332         * string/memrchr.c (MEMRCHR): New macro.
70334 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70336         Add integration with gcc's -ffinite-math-only and optimize wrapper
70337         functions in libm.
70338         * Versions.def: Define GLIBC_2.15 version for libm.
70339         * math/Makefile (headers): Add bits/math-finite.h.
70340         * math/bits/math-finite.h: New file.
70341         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70342         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70343         * math/e_acoshl.c: Add __*_finite alias.
70344         * math/e_acosl.c: Likewise.
70345         * math/e_asinl.c: Likewise.
70346         * math/e_atan2l.c: Likewise.
70347         * math/e_atanhl.c: Likewise.
70348         * math/e_coshl.c: Likewise.
70349         * math/e_exp10.c: Likewise.
70350         * math/e_exp10f.c: Likewise.
70351         * math/e_exp10l.c: Likewise.
70352         * math/e_exp2l.c: Likewise.
70353         * math/e_fmodl.c: Likewise.
70354         * math/e_gammal_r.c: Likewise.
70355         * math/e_hypotl.c: Likewise.
70356         * math/e_j0l.c: Likewise.
70357         * math/e_j1l.c: Likewise.
70358         * math/e_jnl.c: Likewise.
70359         * math/e_lgammal_r.c: Likewise.
70360         * math/e_log10l.c: Likewise.
70361         * math/e_log2l.c: Likewise.
70362         * math/e_logl.c: Likewise.
70363         * math/e_powl.c: Likewise.
70364         * math/e_sinhl.c: Likewise.
70365         * math/e_sqrtl.c: Likewise.
70366         * math/e_scalb.c: Completely rewritten and optimized.
70367         * math/e_scalbf.c: Likewise.
70368         * math/e_scalbl.c: Likewise.
70369         * math/w_acos.c: Likewise.
70370         * math/w_acosf.c: Likewise.
70371         * math/w_acosl.c: Likewise.
70372         * math/w_acosh.c: Likewise.
70373         * math/w_acoshf.c: Likewise.
70374         * math/w_acoshl.c: Likewise.
70375         * math/w_asin.c: Likewise.
70376         * math/w_asinf.c: Likewise.
70377         * math/w_asinl.c: Likewise.
70378         * math/w_atan2.c: Likewise.
70379         * math/w_atan2f.c: Likewise.
70380         * math/w_atan2l.c: Likewise.
70381         * math/w_atanh.c: Likewise.
70382         * math/w_atanhf.c: Likewise.
70383         * math/w_atanhl.c: Likewise.
70384         * math/w_exp10.c: Likewise.
70385         * math/w_exp10f.c: Likewise.
70386         * math/w_exp10l.c: Likewise.
70387         * math/w_fmod.c: Likewise.
70388         * math/w_fmodf.c: Likewise.
70389         * math/w_fmodl.c: Likewise.
70390         * math/w_j0.c: Likewise.
70391         * math/w_j0f.c: Likewise.
70392         * math/w_j0l.c: Likewise.
70393         * math/w_j1.c: Likewise.
70394         * math/w_j1f.c: Likewise.
70395         * math/w_j1l.c: Likewise.
70396         * math/w_jn.c: Likewise.
70397         * math/w_jnf.c: Likewise.
70398         * math/w_log.c: Likewise.
70399         * math/w_logf.c: Likewise.
70400         * math/w_logl.c: Likewise.
70401         * math/w_log10.c: Likewise.
70402         * math/w_log10f.c: Likewise.
70403         * math/w_log10l.c: Likewise.
70404         * math/w_log2.c: Likewise.
70405         * math/w_log2f.c: Likewise.
70406         * math/w_log2l.c: Likewise.
70407         * math/w_pow.c: Likewise.
70408         * math/w_powf.c: Likewise.
70409         * math/w_powl.c: Likewise.
70410         * math/w_remainder.c: Likewise.
70411         * math/w_remainderf.c: Likewise.
70412         * math/w_remainderl.c: Likewise.
70413         * math/w_scalb.c: Likewise.
70414         * math/w_scalbf.c: Likewise.
70415         * math/w_scalbl.c: Likewise.
70416         * math/w_sqrt.c: Likewise.
70417         * math/w_sqrtf.c: Likewise.
70418         * math/w_sqrtl.c: Likewise.
70419         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70420         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70421         used.
70422         * math/math_private.h: Declare __kernel_standard_f.
70423         * math/w_cosh.c: Remove cruft and optimize a bit.
70424         * math/w_coshf.c: Likewise.
70425         * math/w_coshl.c: Likewise.
70426         * math/w_exp2.c: Likewise.
70427         * math/w_exp2f.c: Likewise.
70428         * math/w_exp2l.c: Likewise.
70429         * math/w_hypot.c: Likewise.
70430         * math/w_hypotf.c: Likewise.
70431         * math/w_hypotl.c: Likewise.
70432         * math/w_lgamma.c: Likewise.
70433         * math/w_lgamma_r.c: Likewise.
70434         * math/w_lgammaf.c: Likewise.
70435         * math/w_lgammaf_r.c: Likewise.
70436         * math/w_lgammal.c: Likewise.
70437         * math/w_lgammal_r.c: Likewise.
70438         * math/w_sinh.c: Likewise.
70439         * math/w_sinhf.c: Likewise.
70440         * math/w_sinhl.c: Likewise.
70441         * math/w_tgamma.c: Likewise.
70442         * math/w_tgammaf.c: Likewise.
70443         * math/w_tgammal.c: Likewise.
70444         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70445         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70446         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70447         Minor optimizations.  Pretty printing.  Remove cruft.
70448         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70449         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70450         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70451         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70452         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70453         * sysdeps/i386/fpu/e_asin.S: Likewise.
70454         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70455         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70456         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70457         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70458         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70459         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70460         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70461         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70462         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70463         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70464         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70465         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70466         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70467         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70468         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70469         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70470         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70471         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70472         * sysdeps/i386/fpu/e_log.S: Likewise.
70473         * sysdeps/i386/fpu/e_log10.S: Likewise.
70474         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70475         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70476         * sysdeps/i386/fpu/e_log2.S: Likewise.
70477         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70478         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70479         * sysdeps/i386/fpu/e_logf.S: Likewise.
70480         * sysdeps/i386/fpu/e_logl.S: Likewise.
70481         * sysdeps/i386/fpu/e_pow.S: Likewise.
70482         * sysdeps/i386/fpu/e_powf.S: Likewise.
70483         * sysdeps/i386/fpu/e_powl.S: Likewise.
70484         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70485         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70486         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70487         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70488         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70489         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70490         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70491         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70492         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70507         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70509         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70510         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70511         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70512         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70513         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70514         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70515         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70516         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70517         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70518         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70519         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70520         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70522         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70523         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70524         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70525         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70527         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70528         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70529         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70530         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70531         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70532         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70533         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70534         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70535         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70536         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70537         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70538         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70539         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70572         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70573         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70576         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70578         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70579         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70581         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70584         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70585         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70586         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70587         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70588         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70589         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70590         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70591         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70592         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70593         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70594         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70595         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70596         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70597         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70598         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70599         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70600         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70601         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70602         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70603         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70604         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70605         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70606         (__isnanf): Likewise.
70607         (__isinf_ns): Likewise.
70608         (__isinf_nsf): Likewise.
70609         (__finite): Likewise.
70610         (__finitef): Likewise.
70611         (__ieee754_sqrt): Define as macro.
70612         (__ieee754_sqrtf): Define as macro.
70613         (__ieee754_sqrtl): Define as macro.
70614         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70615         inlined copy.
70616         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70617         __FINITE_MATH_ONLY__ consistent.
70618         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70620 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70622         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70623         of rawmemchr.
70625         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70627 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70629         * po/ja.po: Update from translation team.
70631 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70633         * locale/programs/locarchive.c (prepare_address_space): New function.
70634         (create_archive, enlarge_archive, open_archive): Use it.
70636         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70637         inside [SHARED], where it is used.
70639         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70641         * nss/getent.c (netgroup_keys): Remove unused variable.
70642         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70644 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70646         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70647         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70648         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70649         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70650         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70651         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70652         * math/Makefile (libm-calls): Add s_isinf_ns.
70653         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70654         * math/multc3.c: Likewise.
70655         * math/s_casin.c: Likewise.
70656         * math/s_casinf.c: Likewise.
70657         * math/s_casinl.c: Likewise.
70658         * math/s_ccos.c: Likewise.
70659         * math/s_ccosf.c: Likewise.
70660         * math/s_ccosl.c: Likewise.
70661         * math/s_ctan.c: Likewise.
70662         * math/s_ctanf.c: Likewise.
70663         * math/s_ctanh.c: Likewise.
70664         * math/s_ctanhf.c: Likewise.
70665         * math/s_ctanhl.c: Likewise.
70666         * math/s_ctanl.c: Likewise.
70667         * math/w_fmod.c: Likewise.
70668         * math/w_fmodf.c: Likewise.
70669         * math/w_fmodl.c: Likewise.
70670         * math/w_remainder.c: Likewise.
70671         * math/w_remainderf.c: Likewise.
70672         * math/w_remainderl.c: Likewise.
70673         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70674         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70675         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70677         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70678         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70679         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70680         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70682         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70683         of the number.
70684         * stdio-common/printf_fphex.c: Likewise.
70685         * stdio-common/printf_size.c: Likewise.
70687         * math/e_exp10.c: Include math_private.h using <...> not "...".
70688         * math/e_exp10f.c: Likewise.
70689         * math/e_exp10l.c: Likewise.
70690         * math/e_exp2l.c: Likewise.
70691         * math/e_j0l.c: Likewise.
70692         * math/e_j1l.c: Likewise.
70693         * math/e_jnl.c: Likewise.
70694         * math/e_lgammal_r.c: Likewise.
70695         * math/e_rem_pio2l.c: Likewise.
70696         * math/e_scalb.c: Likewise.
70697         * math/e_scalbf.c: Likewise.
70698         * math/e_scalbl.c: Likewise.
70699         * math/k_cosl.c: Likewise.
70700         * math/k_sinl.c: Likewise.
70701         * math/k_tanl.c: Likewise.
70702         * math/s_cacoshf.c: Likewise.
70703         * math/s_catan.c: Likewise.
70704         * math/s_catanf.c: Likewise.
70705         * math/s_catanh.c: Likewise.
70706         * math/s_catanhf.c: Likewise.
70707         * math/s_catanhl.c: Likewise.
70708         * math/s_catanl.c: Likewise.
70709         * math/s_ccosh.c: Likewise.
70710         * math/s_ccoshf.c: Likewise.
70711         * math/s_ccoshl.c: Likewise.
70712         * math/s_cexp.c: Likewise.
70713         * math/s_cexpf.c: Likewise.
70714         * math/s_cexpl.c: Likewise.
70715         * math/s_clog.c: Likewise.
70716         * math/s_clog10.c: Likewise.
70717         * math/s_clog10f.c: Likewise.
70718         * math/s_clog10l.c: Likewise.
70719         * math/s_clogf.c: Likewise.
70720         * math/s_clogl.c: Likewise.
70721         * math/s_csin.c: Likewise.
70722         * math/s_csinf.c: Likewise.
70723         * math/s_csinh.c: Likewise.
70724         * math/s_csinhf.c: Likewise.
70725         * math/s_csinhl.c: Likewise.
70726         * math/s_csinl.c: Likewise.
70727         * math/s_csqrt.c: Likewise.
70728         * math/s_csqrtf.c: Likewise.
70729         * math/s_csqrtl.c: Likewise.
70730         * math/s_ctan.c: Likewise.
70731         * math/s_ctanf.c: Likewise.
70732         * math/s_ctanh.c: Likewise.
70733         * math/s_ctanhf.c: Likewise.
70734         * math/s_ctanhl.c: Likewise.
70735         * math/s_ctanl.c: Likewise.
70736         * math/s_ldexp.c: Likewise.
70737         * math/s_ldexpf.c: Likewise.
70738         * math/s_ldexpl.c: Likewise.
70739         * math/s_significand.c: Likewise.
70740         * math/s_significandf.c: Likewise.
70741         * math/s_significandl.c: Likewise.
70742         * math/w_acos.c: Likewise.
70743         * math/w_acosf.c: Likewise.
70744         * math/w_acosh.c: Likewise.
70745         * math/w_acoshf.c: Likewise.
70746         * math/w_acoshl.c: Likewise.
70747         * math/w_acosl.c: Likewise.
70748         * math/w_asin.c: Likewise.
70749         * math/w_asinf.c: Likewise.
70750         * math/w_asinl.c: Likewise.
70751         * math/w_atan2.c: Likewise.
70752         * math/w_atan2f.c: Likewise.
70753         * math/w_atan2l.c: Likewise.
70754         * math/w_atanh.c: Likewise.
70755         * math/w_atanhf.c: Likewise.
70756         * math/w_atanhl.c: Likewise.
70757         * math/w_cosh.c: Likewise.
70758         * math/w_coshf.c: Likewise.
70759         * math/w_coshl.c: Likewise.
70760         * math/w_dremf.c: Likewise.
70761         * math/w_exp10.c: Likewise.
70762         * math/w_exp10f.c: Likewise.
70763         * math/w_exp10l.c: Likewise.
70764         * math/w_exp2.c: Likewise.
70765         * math/w_exp2f.c: Likewise.
70766         * math/w_fmod.c: Likewise.
70767         * math/w_fmodf.c: Likewise.
70768         * math/w_fmodl.c: Likewise.
70769         * math/w_hypot.c: Likewise.
70770         * math/w_hypotf.c: Likewise.
70771         * math/w_hypotl.c: Likewise.
70772         * math/w_j0.c: Likewise.
70773         * math/w_j0f.c: Likewise.
70774         * math/w_j0l.c: Likewise.
70775         * math/w_j1.c: Likewise.
70776         * math/w_j1f.c: Likewise.
70777         * math/w_j1l.c: Likewise.
70778         * math/w_jn.c: Likewise.
70779         * math/w_jnf.c: Likewise.
70780         * math/w_jnl.c: Likewise.
70781         * math/w_lgamma.c: Likewise.
70782         * math/w_lgamma_r.c: Likewise.
70783         * math/w_lgammaf.c: Likewise.
70784         * math/w_lgammaf_r.c: Likewise.
70785         * math/w_lgammal.c: Likewise.
70786         * math/w_lgammal_r.c: Likewise.
70787         * math/w_log.c: Likewise.
70788         * math/w_log10.c: Likewise.
70789         * math/w_log10f.c: Likewise.
70790         * math/w_log10l.c: Likewise.
70791         * math/w_log2.c: Likewise.
70792         * math/w_log2f.c: Likewise.
70793         * math/w_log2l.c: Likewise.
70794         * math/w_logf.c: Likewise.
70795         * math/w_logl.c: Likewise.
70796         * math/w_pow.c: Likewise.
70797         * math/w_powf.c: Likewise.
70798         * math/w_powl.c: Likewise.
70799         * math/w_remainder.c: Likewise.
70800         * math/w_remainderf.c: Likewise.
70801         * math/w_remainderl.c: Likewise.
70802         * math/w_scalb.c: Likewise.
70803         * math/w_scalbf.c: Likewise.
70804         * math/w_scalbl.c: Likewise.
70805         * math/w_sinh.c: Likewise.
70806         * math/w_sinhf.c: Likewise.
70807         * math/w_sinhl.c: Likewise.
70808         * math/w_sqrt.c: Likewise.
70809         * math/w_sqrtf.c: Likewise.
70810         * math/w_sqrtl.c: Likewise.
70811         * math/w_tgamma.c: Likewise.
70812         * math/w_tgammaf.c: Likewise.
70813         * math/w_tgammal.c: Likewise.
70815         * po/ja.po: Update from translation team.
70817 2011-09-29  Andreas Jaeger  <aj@suse.de>
70819         [BZ #13179]
70820         * sunrpc/netname.c (netname2host): Fix logic.
70822         [BZ #6779]
70823         [BZ #6783]
70824         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70825         correctly.
70826         * math/w_remainder.c (__remainder): Likewise.
70827         * math/w_remainderf.c (__remainderf): Likewise.
70828         * math/libm-test.inc (remainder_test): Add test cases.
70830 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70832         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70833         sdiv_qrnnd.
70835 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70837         * string/test-memcmp.c: Avoid unncessary #defines.
70838         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70840 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70842         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70843         Use new sse2 version for core i3 - i7 as it's faster
70844         than sse42 version.
70845         (bit_Prefer_PMINUB_for_stringop): New.
70846         * sysdeps/x86_64/rawmemchr.S: Update.
70847         Replace with faster SSE2 version.
70848         * sysdeps/x86_64/memrchr.S: New file.
70849         * sysdeps/x86_64/memchr.S: Update.
70850         Replace with faster SSE2 version.
70852 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70854         * elf/dl-load.c (lose): Add cast to avoid warning.
70856 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70858         * po/ca.po: Update from translation team.
70860         * inet/getnetgrent_r.c: Hook up nscd.
70861         * nscd/Makefile (routines): Add nscd_netgroup.
70862         (nscd-modules): Add netgroupcache.
70863         (CFLAGS-netgroupcache.c): Define.
70864         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70865         (cache_search): Add const to second parameter.
70866         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70867         INNETGR.
70868         (dbs): Add netgrdb entry.
70869         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70870         (verify_persistent_db): Handle netgrdb.
70871         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70872         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70873         GETFDNETGR.
70874         (netgroup_response_header): Define.
70875         (innetgroup_response_header): Define.
70876         (datahead): Add netgroup_response_header and innetgroup_response_header
70877         elements.
70878         * nscd/nscd.conf: Add entries for netgroup cache.
70879         * nscd/nscd.h (dbtype): Add netgrdb.
70880         (_PATH_NSCD_NETGROUP_DB): Define.
70881         (netgroup_iov_disabled): Declare.
70882         (xmalloc, xcalloc, xrealloc): Move declarations here.
70883         (cache_search): Adjust prototype.
70884         Add netgroup-related prototypes.
70885         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70886         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70887         (__nscd_innetgr): Declare.
70888         * nscd/selinux.c (perms): Use access_vector_t as element type and
70889         add netgroup-related initializers.
70890         * nscd/netgroupcache.c: New file.
70891         * nscd/nscd_netgroup.c: New file.
70892         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70893         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70894         For four parameters use innetgr.
70895         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70896         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70897         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70898         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70900         * nscd/connections.c (register_traced_file): Don't register file
70901         for disabled databases.
70903 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70905         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70907         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70908         from tree and freeing node.
70910 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70912         * nss/nsswitch.c (__nss_database_lookup): Handle
70913         nss_parse_service_list out of memory case.
70915 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70917         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70918         out of memory case.
70920 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70922         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70923         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70924         pass it down.
70925         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70926         elf_machine_rela, elf_machine_lazy_rel.
70927         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70928         (ELF_DYNAMIC_DO_REL): Likewise.
70929         (ELF_DYNAMIC_DO_RELA): Likewise.
70930         (ELF_DYNAMIC_RELOCATE): Likewise.
70931         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70932         to ELF_DYNAMIC_DO_REL.
70933         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70934         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70935         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70936         elf_machine_rela.
70937         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70938         skip_ifunc, don't call ifunc function if non-zero.
70939         (elf_machine_rela): Likewise.
70940         (elf_machine_lazy_rel): Likewise.
70941         (elf_machine_lazy_rela): Likewise.
70942         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70943         (elf_machine_lazy_rel): Likewise.
70944         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70945         Likewise.
70946         (elf_machine_lazy_rel): Likewise.
70947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70948         Likewise.
70949         (elf_machine_lazy_rel): Likewise.
70950         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70951         (elf_machine_lazy_rel): Likewise.
70952         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70953         (elf_machine_lazy_rel): Likewise.
70954         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70955         (elf_machine_lazy_rel): Likewise.
70956         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70957         (elf_machine_lazy_rel): Likewise.
70958         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70959         (elf_machine_lazy_rel): Likewise.
70960         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70961         (elf_machine_lazy_rel): Likewise.
70963 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70965         * nss/nss_files/files-init.c (_nss_files_init): Use static
70966         initialization for all the *_traced_file variables.
70968 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70970         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70972 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70974         [BZ #13226]
70975         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70977 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70979         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70980         Reread the line before reparsing it.
70982 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70984         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70986 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70987             Maxim Kuvyrkov  <maxim@codesourcery.com>
70988             Joseph Myers  <joseph@codesourcery.com>
70990         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70991         if needed for __stack_chk_guard.
70993 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70995         * sysdeps/posix/spawni.c (script_execute): Always define it.
70996         It will be optimized away if unused.
70997         (maybe_script_execute): New function.
70998         (__spawni): Call it.
71000         * Makerules: Don't include tls.make.
71001         (config-tls): Always set to thread.
71002         * tls.make.c: File removed.
71004 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71006         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71007         * config.make.in (CPPFLAGS-config): New substituted variable.
71009 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71011         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71013         [BZ #13192]
71014         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71015         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71017 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71019         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71020         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71021         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71022         (CALL_FAIL): Likewise.
71023         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71024         (CALL_FAIL): Macro removed.
71025         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71027 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71029         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71030         for __FINITE_MATH_ONLY__ == 1.
71032 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71034         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71035         __ieee754_sqrt instead of sqrt.
71036         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71037         __ieee754_sqrtf instead of sqrtf.
71038         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71039         __floorf instead of floorf.
71040         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71041         __floorf, __truncf instead of floorf, truncf.
71043 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71045         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71047         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71048         __extern_always_inline.
71049         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71050         32-bit.
71052 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71054         * elf/rtld.c (dl_main): Also relocate in dependency order when
71055         doing symbol dependency testing.
71057 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71059         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71060         Always define `refsym'.
71062 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71064         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71065         (__FD_ELT): Renamed from __FDELT.
71066         * misc/bits/select2.h (__FD_ELT): Likewise.
71067         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71068         __FD_MASK instead of __FDELT, __FDMASK.
71069         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71070         Likewise.
71071         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71072         Likewise.
71074         * elf/Makefile (gen-ldd): Fix pattern.
71076         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71077         (init_tls): Likewise.
71079 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71081         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71083 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71085         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71086         `struct cmsghdr *' instead of `void *'.
71087         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71088         Likewise.
71090 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71092         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71093         if non-absolute.
71094         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71095         ldd_rewrite_script.
71097 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71099         * configure.in: Remove --with-tls option.
71100         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71101         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71102         out in case it is missing.
71103         * sysdeps/ia64/elf/configure.in: Likewise.
71104         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71105         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71106         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71107         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71108         * sysdeps/sh/elf/configure.in: Likewise.
71109         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71110         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71111         * sysdeps/x86_64/elf/configure.in: Likewise.
71112         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71113         * sysdeps/mach/hurd/tls.h: Likewise.
71115         [BZ #13067]
71116         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71118         [BZ #13090]
71119         * configure.in: Fix use of AC_INIT.
71121         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71123 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71125         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71126         __set_errno.
71127         * malloc/hooks.c: Likewise.
71129         [BZ #11929]
71130         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71131         variables statically.
71132         (narenas): Initialize.
71133         (list_lock): Initialize.
71134         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71135         initializtion of main_arena and list_lock.  Small cleanups.
71136         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71137         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71138         Add initializers to main_arena and mp_.
71139         (malloc_state): Remove pagesize member.  Change all users to use
71140         GLRO(dl_pagesize).
71142         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71143         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71144         is always initialized.
71146         * malloc/malloc.c: Removed unused configurations and dead code.
71147         * malloc/arena.c: Likewise.
71148         * malloc/hooks.c: Likewise.
71149         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71151         * include/tls.h: Removed.  USE___THREAD must always be defined.
71152         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71153         * elf/dl-libc.c: Likewise.
71154         * elf/dl-tsd.c: Likewise.
71155         * include/errno.h: Likewise.
71156         * include/netdb.h: Likewise.
71157         * include/resolv.h: Likewise.
71158         * inet/herrno-loc.c: Likewise.
71159         * inet/herrno.c: Likewise.
71160         * malloc/arena.c: Likewise.
71161         * malloc/hooks.c: Likewise.
71162         * malloc/malloc.c: Likewise.
71163         * resolv/res-state.c: Likewise.
71164         * resolv/res_libc.c: Likewise.
71165         * sysdeps/i386/dl-machine.h: Likewise.
71166         * sysdeps/ia64/dl-machine.h: Likewise.
71167         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71168         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71169         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71170         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71171         * sysdeps/sh/dl-machine.h: Likewise.
71172         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71173         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71174         * sysdeps/unix/i386/sysdep.S: Likewise.
71175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71176         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71178         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71181         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71182         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71183         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71185         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71186         * sysdeps/x86_64/dl-machine.h: Likewise.
71187         * tls.make.c: Likewise.
71189         * configure.in: Remove --with-__thread option.  Make tests for
71190         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71191         tls_model attribute fail if no support is available.  Remove
71192         USE_IN_LIBIO.
71193         * Makeconfig: Adjust for dropped configure option.  All features are
71194         now mandatory.
71195         * Makerules: Likewise.
71196         * Versions.def: Likewise.
71197         * argp/argp-fmtstream.c: Likewise.
71198         * argp/argp-fmtstream.h: Likewise.
71199         * argp/argp-help.c: Likewise.
71200         * assert/assert.c: Likewise.
71201         * config.h.in: Likewise.
71202         * config.make.in: Likewise.
71203         * configure: Likewise.
71204         * configure.in: Likewise.
71205         * csu/Versions: Likewise.
71206         * csu/init.c: Likewise.
71207         * elf/tst-audit2.c: Likewise.
71208         * elf/tst-tls10.c: Likewise.
71209         * elf/tst-tls10.h: Likewise.
71210         * elf/tst-tls11.c: Likewise.
71211         * elf/tst-tls12.c: Likewise.
71212         * elf/tst-tls14.c: Likewise.
71213         * elf/tst-tlsmod11.c: Likewise.
71214         * elf/tst-tlsmod12.c: Likewise.
71215         * elf/tst-tlsmod13.c: Likewise.
71216         * elf/tst-tlsmod13a.c: Likewise.
71217         * elf/tst-tlsmod14a.c: Likewise.
71218         * elf/tst-tlsmod15b.c: Likewise.
71219         * elf/tst-tlsmod16a.c: Likewise.
71220         * elf/tst-tlsmod16b.c: Likewise.
71221         * elf/tst-tlsmod7.c: Likewise.
71222         * elf/tst-tlsmod8.c: Likewise.
71223         * elf/tst-tlsmod9.c: Likewise.
71224         * gmon/gmon.c: Likewise.
71225         * grp/fgetgrent_r.c: Likewise.
71226         * grp/putgrent.c: Likewise.
71227         * hurd/fopenport.c: Likewise.
71228         * include/libc-symbols.h: Likewise.
71229         * include/tls.h: Likewise.
71230         * intl/gettextP.h: Likewise.
71231         * intl/loadinfo.h: Likewise.
71232         * locale/global-locale.c: Likewise.
71233         * locale/localeinfo.h: Likewise.
71234         * mach/devstream.c: Likewise.
71235         * malloc/arena.c: Likewise.
71236         * malloc/set-freeres.c: Likewise.
71237         * misc/err.c: Likewise.
71238         * misc/getttyent.c: Likewise.
71239         * misc/mntent_r.c: Likewise.
71240         * posix/getopt.c: Likewise.
71241         * posix/wordexp.c: Likewise.
71242         * pwd/fgetpwent_r.c: Likewise.
71243         * resolv/Versions: Likewise.
71244         * resolv/res_hconf.c: Likewise.
71245         * shadow/fgetspent_r.c: Likewise.
71246         * shadow/putspent.c: Likewise.
71247         * stdio-common/printf_fphex.c: Likewise.
71248         * stdio-common/tmpfile.c: Likewise.
71249         * stdlib/abort.c: Likewise.
71250         * stdlib/fmtmsg.c: Likewise.
71251         * sunrpc/auth_unix.c: Likewise.
71252         * sunrpc/clnt_perr.c: Likewise.
71253         * sunrpc/clnt_tcp.c: Likewise.
71254         * sunrpc/clnt_udp.c: Likewise.
71255         * sunrpc/clnt_unix.c: Likewise.
71256         * sunrpc/openchild.c: Likewise.
71257         * sunrpc/svc_simple.c: Likewise.
71258         * sunrpc/svc_tcp.c: Likewise.
71259         * sunrpc/svc_udp.c: Likewise.
71260         * sunrpc/svc_unix.c: Likewise.
71261         * sunrpc/xdr.c: Likewise.
71262         * sunrpc/xdr_array.c: Likewise.
71263         * sunrpc/xdr_rec.c: Likewise.
71264         * sunrpc/xdr_ref.c: Likewise.
71265         * sunrpc/xdr_stdio.c: Likewise.
71267 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71269         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71271 2011-07-03  Andreas Jaeger  <aj@suse.de>
71273         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71274         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71275         regenerate with gen-libm-tests.pl.
71277 2010-05-12  Petr Baudis  <pasky@suse.cz>
71279         [BZ #11589]
71280         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71281         around j0() zero points by switching to j1().
71282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71283         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71287 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71289         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71290         instead of 0.
71291         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71292         instead of 0.
71293         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71294         Patch in part by Pavel Roskin <proski@gnu.org>.
71296         [BZ #13138]
71297         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71298         realloc.
71299         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71300         Free memory block if necessary.
71302         [BZ #12847]
71303         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71304         be NULL.  Don't lock in this case.
71306 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71308         * elf/elf.h (ELFOSABI_GNU): New macro.
71309         (ELFOSABI_LINUX): Define to that.
71311 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71313         * string/strncat.c (strncat): Undef the symbol in case it has been
71314         defined in bits/string.h.
71316 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71318         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71320         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71321         link map.
71323 2011-08-17  Andreas Jaeger  <aj@suse.de>
71325         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71327 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71328             Ian Lance Taylor  <iant@google.com>
71330         * math/libm-test.inc (lround_test): New testcase.
71331         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71333 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71335         * Makefile: Remove support for automatic cvs check-ins.
71336         * Makerules: Likewise.
71337         * config.make.in: Likewise.
71338         * configure.in: Likewise.
71339         * intl/Makefile: Likewise.
71340         * locale/Makefile: Likewise.
71341         * po/Makefile: Likewise.
71342         * posix/Makefile: Likewise.
71343         * sysdeps/gnu/Makefile: Likewise.
71344         * sysdeps/mach/hurd/Makefile: Likewise.
71345         * sysdeps/sparc/sparc32/Makefile: Likewise.
71347         [BZ #13118]
71348         * posix/Makefile (bug-regex32-ENV): Define.
71349         Patch by John Stanley <jpsinthemix@verizon.net>.
71351         * misc/Makefile (headers): Add bits/select2.h.
71352         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71353         * misc/bits/select2.h: New file.
71354         * include/bits/select2.h: New file.
71355         * debug/Makefile (routines): Add fdelt_chk.
71356         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71357         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71358         FD_ISSET.
71359         * debug/fdelt_chk.c: New file.
71361         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71362         * wcsmbs/test-wmemcmp.c: Likewise.
71363         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71364         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71366 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71368         * string/Makefile (strop-tests): Add memcmp.
71369         * string/test-wmemcmp.c: New file.
71370         * string/test-memcmp.c: Add wmemcmp support.
71372 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71374         [BZ #13153]
71375         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71376         2011-07-19 change.
71378         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71379         garbage value in a __mach_port_mod_refs call in the cases of the
71380         task-self and thread-self ports.
71382 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71384         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71386 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71388         * elf/dl-load.c (lose): Check for non-null L.
71390 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71392         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71394         * elf/dl-libc.c (dlerror_run): Pass back error code from
71395         dl_catch_error.
71397         [BZ #13123]
71398         * elf/dl-load.c (lose): Free l_origin if it is valid.
71400         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71401         names.
71402         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71403         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71404         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71405         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71406         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71407         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71409 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71411         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71412         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71413         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71414         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71415         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71416         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71417         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71418         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71419         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71420         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71422 2011-08-15  Alan Modra  <amodra@gmail.com>
71424         [BZ #13092]
71425         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71426         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71427         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71428         ppc_mcount to static-only-routines.
71429         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71430         __mcount_internal.
71431         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71432         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71434 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71436         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71437         for finite and infinity parameters.
71439 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71441         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71442         and add nop instructions for throughput optimization.
71443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71445 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71447         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71448         aligned copy for power7 with vector-scalar instructions.
71449         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71451 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71453         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71454         AVX check.
71456 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71458         [BZ #13144]
71459         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71460         last change.
71462 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71464         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71465         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71466         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71467         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71468         clock_gettime.
71470 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71472         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71473         Forgot to demangle the pointer.
71475         * sysdeps/i386/sysdep.h: Define atom_text_section.
71476         * sysdeps/x86_64/sysdep.h: Likewise.
71477         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71478         section with atom_text_section.
71479         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71480         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71481         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71483         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71485         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71486         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71487         already be defined.  Change to take two parameters and don't assign
71488         result to variable.  Adjust all users.
71489         Define INTERNAL_GETTIME if not already defined.
71490         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71491         call.
71492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71493         HAVE_CLOCK_GETTIME_VSYSCALL.
71494         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71496         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71497         gettimeofday vsyscall, just use time.
71499 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71502         <errno.h>.
71504 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71506         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71507         syscall on x86-64.
71508         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71509         syscall.
71510         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71511         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71512         syscall if possible.
71514 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71516         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71517         e_ident.  Don't pass to find_mapsXX.
71518         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71520 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71523         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71524         * sysdeps/x86_64/multiarch/strchr.S: Update.
71525         Check bit_slow_BSF bit.
71526         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71527         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71528         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71530 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71532         [BZ #13134]
71533         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71534         before glibc 2.15.
71535         (tryshell): Define.
71536         (__spawni): Change last parameter to be flag.  Test
71537         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71538         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71539         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71540         * posix/spawni.c: Likewise.
71541         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71542         * posix/spawnp.c: Likewise.  Change normal version to use
71543         SPAWN_XFLAGS_USE_PATH.
71544         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71545         SPAWN_XFLAGS_TRY_SHELL.
71547         [BZ #13150]
71548         * posix/glob.h: Remove gcc 1.x support.
71550         [BZ #13068]
71551         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71553 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71556         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71557         strrchr-sse2-bsf
71558         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71559         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71560         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71561         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71562         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71563         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71565 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71567         * sysdeps/x86_64/wcscmp.S: New file.
71569         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71570         wcscmp-c wcscmp-sse2
71571         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71572         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71573         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71574         * wcsmbs/wcscmp.c: Allow renaming.
71576 2011-09-05  David S. Miller  <davem@davemloft.net>
71578         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71579         stack slot, rather than the struct return pointer slot.
71580         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71581         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71583         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71585 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71587         * po/ja.po: Update from translation team.
71589         [BZ #13144]
71590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71591         kernel in 64-bit binaries.
71593 2011-09-01  David S. Miller  <davem@davemloft.net>
71595         * elf/elf.h (HWCAP_SPARC_*): Move to..
71596         * sysdeps/sparc/sysdep.h: this new file and add new values.
71597         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71598         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71599         _DL_HWCAP_COUNT to 24.
71600         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71601         entries.
71602         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71603         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71604         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71606         instead of magic constants.
71607         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71609 2011-08-31  David S. Miller  <davem@davemloft.net>
71611         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71612         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71613         Reimplement to do errno handling inline.
71614         (SYSCALL_ERROR_HANDLER): New macro.
71615         (__SYSCALL_STRING): Do not do errno handling in asm.
71616         (__CLONE_SYSCALL_STRING): Delete.
71617         (__INTERNAL_SYSCALL_STRING): Delete.
71618         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71619         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71620         (PSEUDO): Reimplement to do errno handling inline.
71621         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71622         (SYSCALL_ERROR_HANDLER): New macro.
71623         (__SYSCALL_STRING): Do not do errno handling in asm.
71624         (__CLONE_SYSCALL_STRING): Delete.
71625         (__INTERNAL_SYSCALL_STRING): Delete.
71626         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71627         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71628         i386.
71629         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71630         (inline_syscall*): Add 'err' argument.
71631         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71632         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71633         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71634         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71636         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71637         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71639 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71641         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71643 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71645         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71646         directive.
71648 2011-08-24  David S. Miller  <davem@davemloft.net>
71650         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71652 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71654         * elf/Makefile: Add rules to build and run unload8 test.
71655         * elf/unload8.c: New file.
71656         * elf/unload8mod1.c: New file.
71657         * elf/unload8mod1x.c: New file.
71658         * elf/unload8mod2.c: New file.
71659         * elf/unload8mod3.c: New file.
71661         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71662         it wasn't used.
71664 2011-08-23  David S. Miller  <davem@davemloft.net>
71666         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71667         subtract stack bias.
71668         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71669         %sp not %fp in calculations.
71670         (_JMPBUF_UNWINDS_ADJ): Likewise.
71672         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71673         (aio_suspend): Call it to force an exception region around the
71674         AIO_MISC_WAIT() invocation.
71676 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71678         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71679         backslash.
71681 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71683         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71684         protection macro.
71685         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71686         and <dl-machine.h>.
71687         (Elf64_FuncDesc): Remove.
71689 2011-08-22  David S. Miller  <davem@davemloft.net>
71691         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71692         sigaltstack check, add missing cfi directives.
71693         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71694         missing cfi directives, and sigaltstack handling.
71696 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71698         [BZ #11724]
71699         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71700         object is seen twice.
71701         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71703         * elf/Makefile (distribute): Add tst-initorder2.c.
71704         (tests): Add tst-initorder2.
71705         (modules-names): Add tst-initorder2a tst-initorder2b
71706         tst-initorder2c tst-initorder2d.  Add rules to build them.
71707         ($(objpfx)tst-initorder2.out): New rule.
71708         * elf/tst-initorder2.c: New file.
71709         * elf/tst-initorder2.exp: New file.
71711 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71713         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71715         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71716         dependencies back to end of function.
71718         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71719         $(elfobjdir)/ld.so.
71721 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71723         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71724         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71725         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71726         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71727         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71728         of __vdso_gettimeofday.
71729         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71730         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71731         attribute_hidden.
71732         (_libc_vdso_platform_setup): Remove initialization of
71733         __vdso_gettimeofday and __vdso_time.
71735 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71737         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71738         and fgetc_unlocked.
71739         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71740         getc_unlocked.
71742         * elf/dl-open.c (add_to_global): Report additions to the global scope
71743         for LD_DEBUG=scopes.
71744         (dl_open_worker): Also print scope of newly loaded dependencies.
71745         (_dl_show_scope): Indicate if there is no scope.
71747         [BZ #13114]
71748         * stdio-common/Makefile (tests): Add bug24.
71749         * stdio-common/bug24.c: New file.
71751 2011-08-19  Andreas Jaeger  <aj@suse.de>
71753         [BZ #13114]
71754         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71755         non-existant file when using close-on-exec mode.
71757 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71759         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71760         the very first instruction.
71762         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71763         the CFI state in the end.
71764         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71765         inclusion of dl-trampoline.h.
71766         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71768 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71770         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71771         expectations for long double.
71773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71774         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71776 2011-08-14  David S. Miller  <davem@davemloft.net>
71778         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71779         artificual limit depends upon the system page size.
71781 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71783         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71784         * resolv/Makefile: Define CFLAGS-libresolv.
71786 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71788         * nss/makedb.c (compute_tables): Make variables used in nested
71789         function static.
71791 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71793         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71794         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71795         if buffer was too small.
71797         * elf/pldd.c (main): Attach to all threads in the process.
71798         Rewrite /proc handling to use *at functions.
71800 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71802         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71803         specifies first scope to show.
71804         (dl_open_worker): Update callers.  Move printing scope of new
71805         object to before the relocation.
71806         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71807         * sysdeps/generic/ldsodefs.h: Update declaration.
71809         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71810         string for the scope number.
71812 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71814         * nscd/servicescache.c (cache_addserv): Make sure written is always
71815         initialized.
71817 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71819         * sysdeps/i386/i486/bits/atomic.h
71820         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71821         statement expression, so as to suppress "set but not used" warning.
71822         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71824         * string/strncat.c (STRNCAT): Use prototype definition.
71826         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71827         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71828         -Iprograms here.
71829         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71830         (localedef-modules): Add localedef.
71831         (locale-modules): Add locale.
71833         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71834         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71835         to avoid a warning.
71837 2011-08-14  David S. Miller  <davem@davemloft.net>
71839         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71840         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71842 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71844         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71845         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71846         * elf/rtld.c (dl_main): Set l_name of vDSO.
71847         Call _dl_show_scope when DL_DEBUG_SCOPES.
71848         (process_dl_debug): Recognize scopes flag and also set it for all.
71849         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71850         Declare _dl_show_scope.
71852         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71853         (do_dlopen): Pass caller_dlopen to dl_open.
71854         (__libc_dlopen_mode): Initialize caller_dlopen.
71856         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71857         of libc.  Make tolower call locale-independent.  Optimize a bit by
71858         using isdigit instead of isalnum.
71859         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71861 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71863         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71864         was a dependency or dynamically loaded.
71866 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71868         * intl/l10nflist.c: Allow architecture-specific pop function.
71869         * sysdeps/x86_64/l10nflist.c: New file.
71871         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71872         classification.
71874 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71876         * include/dirent.h: Add libc_hidden_proto for scandirat and
71877         scandirat64.  Don't declare __scandirat64.
71878         * dirent/scandirat.c: Add libc_hidden_def.
71879         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71880         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71882 2011-08-10  David S. Miller  <davem@davemloft.net>
71884         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71885         enum.
71886         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71887         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71888         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71890 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71892         * Versions.def [libc]: Add GLIBC_2.15.
71893         * dirent/Makefile (routines): Add scandirat and scandirat64.
71894         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71895         GLIBC_2.15.
71896         * dirent/dirent.h: Declare scandirat and scandirat64.
71897         * dirent/scandirat.c: New file.
71898         * dirent/scandirat64.c: New file.
71899         * sysdeps/wordsize-64/scandirat.c: New file.
71900         * sysdeps/wordsize-64/scandirat64.c: New file.
71901         * dirent/opendir.c: Define opendirat.
71902         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71903         using scandirat.
71904         * dirent/scandir64.c: Adjust for scandir.c change.
71905         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71906         __scandirat64, and __scandir_cancel_handler.
71907         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71908         additional parameter and use openat instead of open (outside of ld.so).
71909         Add new __opendir as wrapper around __opendirat.
71910         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71911         here without requiring old scandirat implementation.
71913 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71915         * dirent/scandir.c (cancel_handler): Renamed to
71916         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71917         defined.  Adjust users.
71918         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71919         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71921 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71923         * string/test-string.h (IMPL): Use __STRING to expand name and then
71924         stringify it.
71926         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71927         of cleanups.
71929 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71931         * string/Makefile: Update.
71932         (strop-tests): Append strncat.
71933         * string/test-wcscmp.c: New file.
71934         New comprehensive test for wcscmp.
71935         * string/test-strcmp.c: Update.
71936         (WIDE): New define.
71938 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71940         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71941         line.
71943 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71946         encoding to ACE if AI_IDN.
71948 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71950         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71951         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71953 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71955         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71956         Fix overflow bug in strncat.
71957         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71959         * string/test-strncat.c: Update.
71960         Add new tests for checking overflow bugs.
71962 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71964         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71965         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71966         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71967         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71968         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71969         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71970         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71971         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71972         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71975         (USE_AS_STRCAT): Define.
71976         Add strcat and strncat support.
71977         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71979 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71981         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71982         __n bigger than INT_MAX+1.
71983         (__strncmp_g): Likewise.
71985 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71987         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71988         * libio/stido.h: Likewise.
71990         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71991         (AF_NFC): Define.
71992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71993         (AF_NFC): Define.
71995         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71996         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71997         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71998         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72001         [BZ #13021]
72002         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72003         installed.
72005         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72006         typo.
72007         (_dl_x86_64_save_sse): Likewise.
72009 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72012         OSXSAVE.
72013         (_dl_x86_64_save_sse): Likewise.
72015         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72017         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72019 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72022         change.
72023         (_dl_x86_64_save_sse): Use correct AVX check.
72025 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72027         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72028         bug in strncpy/strncat.
72029         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72031 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72033         * string/tester.c (test_strcat): Add tests for different alignments
72034         of source and destination.
72035         (test_strncat): Likewise.
72037 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72039         [BZ #12852]
72040         * posix/glob.c (glob): Check passed in values before using them in
72041         expressions to avoid some overflows.
72042         (glob_in_dir): Likewise.
72044         [BZ #13007]
72045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72046         check for AVX enablement so that we don't crash with old kernels and
72047         new hardware.
72048         * elf/tst-audit4.c: Add same checks here.
72049         * elf/tst-audit6.c: Likewise.
72051         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72053 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72055         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72057 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72059         * po/cs.po: Update from translation team.
72060         * po/bg.po: Likewise.
72062 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72064         * misc/sys/cdefs.h: Add support for const attribute.
72065         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72066         to gnu_dev_{major,minor,makedev} functions.
72068 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72070         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72072 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72074         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72075         strlen results.
72077 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72080         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72081         register in order to avoid conflicts with the soft frame pointer
72082         being held in r11 when necessary.
72083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72084         (INTERNAL_VSYSCALL_NCS): Likewise.
72086 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72088         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72089         * elf/dl-fini.c (_dl_fini): Adjust caller.
72090         * elf/dl-close.c (_dl_close_worker): Likewise.
72091         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72093 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72095         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72096         "aux_cache->nlibs < 0".
72098         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72099         in the reload-count case.
72101 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72104         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72105         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72106         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72107         * sysdeps/x86_64/multiarch/strcat.S: New file.
72108         * sysdeps/x86_64/multiarch/strncat.S: New file.
72109         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72110         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72111         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72112         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72113         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72114         (USE_AS_STRCAT): Define.
72115         Add strcat and strncat support.
72116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72117         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72118         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72119         * string/strncat.c: Update.
72120         (USE_AS_STRNCAT): Define.
72121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72122         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72123         and i7.
72124         * sysdeps/x86_64/multiarch/init-arch.h
72125         (bit_Prefer_PMINUB_for_stringop): New.
72126         (index_Prefer_PMINUB_for_stringop): Likewise.
72127         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72128         bit_Prefer_PMINUB_for_stringop.
72130 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72132         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72133         buffer64.
72134         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72135         of casting of buffer.
72136         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72137         buffer32 and buffer64.
72138         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72139         writes instead of casting of buffer.
72140         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72141         buffer32.
72142         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72143         casting of buffer.
72145 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72147         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72149 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72151         * nscd/nscd.c (termination_handler): Don't do anything for a database
72152         if it has not yet been initialized.
72154 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72156         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72158 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72160         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72162 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72164         * po/nl.po: Update from translation team.
72165         * po/sv.po: Likewise.
72167 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72169         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72170         now disallowed by GCC.
72172         * configure.in (use-default-link): Default to yes if a test -shared
72173         link meets our qualifications.
72174         * configure: Regenerated.
72176         * config.make.in (output-format): New variable.
72177         * configure.in: Check for ld --print-output-format support.
72178         * configure: Regenerated.
72179         * Makerules ($(common-objpfx)format.lds)
72180         [$(output-format) != unknown]: Just use $(output-format),
72181         instead of the linker-script munging.
72183 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72185         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72186         of $(common-objpfx)shlib.lds.
72187         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72189         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72190         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72192         * configure.in (-z relro check): Adjust test code to add a large
72193         writable data section after it.
72194         * configure: Regenerated.
72196 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72198         * configure.in (-z relro check): Fix test code to make the variable
72199         truly const.
72200         * configure: Regenerated.
72202 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72204         * nscd/nscd.h (struct traced_file): Define.
72205         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72206         elements.  Add traced_files.
72207         (inotify_fd): Declare.
72208         (register_traced_file): Declare.
72209         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72210         (inotify_fd): Export.
72211         (resolv_conf_descr): Remove.
72212         (nscd_init): Move inotify descriptor creation to main.
72213         Don't register files for notification here.
72214         (register_traced_file): New function.
72215         (invalidate_cache): Don't use reset_res to determine whether to call
72216         res_init, go through the list of registered files.
72217         (main_loop_poll): The inotify descriptors are now stored in the
72218         structures for the traced files.
72219         (main_loop_epoll): Likewise.
72220         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72221         to __nss_disable_nscd.
72222         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72223         for a database anymore.  Check the records for all the registered
72224         files instead.
72225         * nss/Makefile (libnss_files-routines): Add files-init.
72226         (libnss_db-routines): Add db-init.
72227         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72228         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72229         * nss/nss_db/db-init.c: New file.
72230         * nss/nss_files/files-init.c: New file.
72231         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72232         __nss_lookup_function.
72233         (__nss_lookup_function): Call nss_load_library.
72234         (nss_load_all_libraries): New function.
72235         (__nss_disable_nscd): Take parameter with callback function for files
72236         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72237         used for the cached services.
72238         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72239         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72240         options for features to all the files in nscd.
72242         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72244 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72246         * csu/elf-init.c (__libc_csu_init): Comment typo.
72248 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72250         * po/pl.po: Update from translation team.
72251         * po/ja.po: Likewise.
72252         * po/ru.po: Likewise.
72253         * po/ko.po: Likewise.
72254         * po/fr.po: Likewise.
72256 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72258         * configure.in (.ctors/.dtors header and trailer check):
72259         Use an empirical test on a built program.
72260         * configure: Regenerated.
72262         * configure.in (-z relro check): Use an empirical test on a built DSO.
72263         Detect, but do not require, on ia64.
72264         * configure: Regenerated.
72266         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72267         Update tests that use readelf to use $READELF instead.
72268         * configure: Regenerated.
72270 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72272         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72273         if the result is not used.
72275 2011-07-05  Andreas Jaeger  <aj@suse.de>
72277         [BZ#9696]
72278         * stdlib/tst-strtod.c: Add testcase.
72280 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72282         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72283         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72284         The latter has a higher limit.  Take additional parameter to pass to
72285         the new function.
72286         (__pathconf): Pass file to __statfs_link_max.
72287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72288         __statfs_link_max.
72289         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72290         __statfs_link_max.
72292         [BZ #12868]
72293         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72294         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72295         Handle Lustre.
72296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72297         (__statfs_filesize_max): Likewise.
72298         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72300 2011-07-05  Andreas Jaeger  <aj@suse.de>
72302         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72304 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72306         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72307         `status' variable.
72308         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72309         Likewise.
72311 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72313         * Makefile (strop-tests): Add strncat.
72314         * string/test-strncat.c: New file.
72316 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72318         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72320 2011-06-21  Andreas Jaeger  <aj@suse.de>
72322         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72323         Copy rule from iconvdata/Makefile.
72325 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72327         [BZ #12922]
72328         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72329         but no long options are defined, just return 'W'.
72331 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72333         [BZ #9696]
72334         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72336 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72338         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72339         netgroups to read.
72340         (innetgr): Likewise.
72342 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72344         * config.make.in (install_root): Default to $(DESTDIR).
72346 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72348         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72350 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72352         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72354         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72355         containing directory rather than embedding absolute directory names.
72357         * scripts/check-local-headers.sh: Rewritten using awk.
72358         Match by word, not by line.  Print error messages for matches.
72359         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72361         * Makerules [shlib-lds-flags empty]:
72362         ($(common-objpfx)libc_pic.opts): New target.
72363         ($(common-objpfx)libc_pic.os.clean): New target.
72364         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72366         * config.make.in (OBJCOPY): New variable.
72367         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72368         * configure: Regenerated.
72370         * config.make.in (use-default-link): New variable.
72371         * configure.in (use_default_link): Grok --with-default-link to set it.
72372         * configure: Regenerated.
72373         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72374         (shlib-lds, shlib-lds-flags): Define to empty.
72376         * Makerules (shlib-lds): New variable.
72377         (shlib-lds-flags): New variable.
72378         (build-shlib, build-moduile, build-module-asneeded): Use it.
72379         ($(common-objpfx)libc.so): Use $(shlib-lds).
72380         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72381         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72383         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72384         DT_FLAGS/DT_FLAGS_1 with zero flags.
72386         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72387         linker script munging.
72389 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72391         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72392         as 128-bit value.
72393         * crypt/sha512.c (sha512_process_block): Perform total addition using
72394         128-bit if possible.
72395         (__sha512_finish_ctx): Likewise.
72396         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72397         as 64-bit value.
72398         * crypt/sha256.c (SWAP64): Define.
72399         (sha256_process_block): Perform total addition using 64-bit if
72400         possible.
72401         (__sha256_finish_ctx): Likewise.
72403 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72405         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72406         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72407         * nscd/hstcache.c (cache_addhst): Likewise.
72408         * nscd/grpcache.c (cache_addgr): Likewise.
72409         * nscd/aicache.c (addhstaiX): Likewise.
72410         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72412 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72414         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72415         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72416         * nscd/hstcache.c (cache_addhst): Likewise.
72417         * nscd/grpcache.c (cache_addgr): Likewise.
72418         * nscd/aicache.c (addhstaiX): Likewise.
72420 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72422         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72423         domain only when needed.
72425 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72428         is always restored.
72430 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72432         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72433         are re-adding the entry.
72434         * nscd/servicescache.c (cache_addserv): Likewise.
72436 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72438         * sysdeps/generic/dl-irel.h: fix protection against multiple
72439         inclusions.
72440         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72442 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72444         [BZ #12935]
72445         * malloc/memusage.sh: Fix quoting in message.
72446         * debug/xtrace.sh: Likewise.
72448         * configure.in: Remove support for --experimental-malloc option, make
72449         it the default.
72450         * config.make.in: Likewise.
72451         * malloc/Makefile: Likewise.
72453 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72455         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72456         two-byte characters.
72458 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72460         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72461         AC_CACHE_CHECK invocation.
72462         * configure: Regenerated.
72464         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72466 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72468         [BZ #12350]
72469         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72470         bit from old_res_options.
72472         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72474         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72475         value type for setfct.
72477 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72480         __gettimeofday instead of gettimeofday.
72482 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72484         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72486 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72488         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72491         info.
72493 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72496         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72497         strcpy-sse2-unaligned strncpy-sse2-unaligned
72498         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72499         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72500         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72501         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72502         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72503         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72504         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72505         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72506         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72507         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72508         (STRCPY): Support SSE2 and SSSE3 versions.
72510 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72512         [BZ #12874]
72513         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72514         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72515         kernels which artificially limit size of requests.
72517 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72519         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72520         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72521         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72522         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72523         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72524         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72525         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72526         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72527         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72528         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72529         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72530         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72531         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72532         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72533         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72535         Enable unaligned load optimization for Intel Core i3, i5 and i7
72536         processors.
72537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72538         Define.
72539         (index_Fast_Unaligned_Load): Define.
72540         (HAS_FAST_UNALIGNED_LOAD): Define.
72542 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72544         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72546 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72548         [BZ #12907]
72549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72550         until it is clear that the information is realy needed.
72551         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72553 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72557 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72560         /sys/devices/system/cpu/online if it is usable.
72562         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72563         reading the information from the /proc filesystem to once a second.
72565 2011-06-21  Andreas Jaeger  <aj@suse.de>
72567         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72568         NULL after inclusion of kernel headers.
72570 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72572         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72573         calls to internal_setent.
72575         [BZ #12885]
72576         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72577         addresses using gethostbyname4_r ignore IPv4 addresses.
72579         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72580         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72582         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72584 2011-06-20  David S. Miller  <davem@davemloft.net>
72586         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72587         inclusions.
72588         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72590         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72591         (elf_irel): Use it.
72592         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72593         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72594         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72595         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72596         * sysdeps/x86_64/dl-irel.h: Likewise.
72598         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72599         * elf/dl-sym.c: Likewise.
72601 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72603         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72604         need to dereference resplen2.
72606 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72608         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72610 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72612         * Makeconfig: Define vardbdir and inst_vardbdir.
72613         * nss/Makefile: Add rules to install db-Makefile.
72615         * nss/nss_db/db-XXX.c: Cleanup.
72617         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72618         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72619         GLIBC_PRIVATE.
72620         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72621         * nss/makedb.c: Implement -g option to specify that value strings
72622         are generated and should not be added to table iterated over for
72623         get*ent calls.
72624         * nss/nss_db/db-initgroups.c: New file.
72626         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72627         interface.
72629         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72630         (internal_getgrouplist): Adjust to name change.
72631         Update use_initgroups_entry if this is not the first call.
72632         * nss/databases.def: Add initgroups entry.
72634         * nss/makedb.c (compute_tables): Check result of multiple hash table
72635         sizes to minimize maximum chain length.
72637 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72639         * Versions.def: Add entry for libnss_db.
72640         * shlib-versions: Likewise.
72641         * nss/Makefile: Add rules to build libnss_db.
72642         * nss/Versions: Add libnss_db information.  Organize libnss_files
72643         entries better.
72644         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72645         makedb progra.  Some minor improvements to generate smaller files.
72646         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72647         here from...
72648         * nss/makedb.c: ...here.
72649         Improve database format to be smaller and require less memory at
72650         runtime.
72651         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72652         db anymore.
72653         * nss/nss_db/db-netgrp.c: Likewise.
72654         * nss/nss_db/db-open.c: Likewise.
72655         * nss/nss_files/flies-XXX.x: Adjust comments.
72656         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72657         * nss/nss_files/files-grp.c: Likewise.
72658         * nss/nss_files/files-hosts.c: Likewise.
72659         * nss/nss_files/files-network.c: Likewise.
72660         * nss/nss_files/files-proto.c: Likewise.
72661         * nss/nss_files/files-pwd.c: Likewise.
72662         * nss/nss_files/files-rpc.c: Likewise.
72663         * nss/nss_files/files-service.c: Likewise.
72664         * nss/nss_files/files-sgrp.c: Likewise.
72665         * nss/nss_files/files-spwd.c: Likewise.
72666         * nss/nss_db/db-alias.c: Removed.
72667         * nss/nss_db/dummy-db.h: Removed.
72669 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72671         * nss/makedb.c: Rewritten to not use database library.
72672         * nss/Makefile: Update to build new makedb program.
72674 2011-06-14  Andreas Jaeger  <aj@suse.de>
72676         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72677         memset declaration.
72679 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72682         tmpbuf.
72684 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72686         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72687         * elf/Makefile ($(objpfx)ld.so): Likewise.
72689         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72690         Don't list ld.so twice in dependencies.
72692         * posix/bug-regex31.c: Include <stdlib.h>.
72694         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72696         * nis/nss_compat/compat-spwd.c
72697         (getspent_next_nss_netgr): Remove unused variable.
72698         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72700         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72701         nonmembers" output to use the right array.
72703         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72705         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72707         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72708         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72709         * catgets/gencat.c (read_input_file): Likewise.
72710         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72712         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72713         variable definition inside #if's controlling its use.
72715         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72717         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72719         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72721         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72722         unreachable code.
72724         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72726         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72727         * configure: Regenerated.
72729         * Makerules: Revert last change.
72730         * elf/Makefile: Likewise.
72732 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72734         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72735         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72736         (reloc-link): Likewise.
72738 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72740         * elf/Makefile: Add rules to build pldd.
72741         * elf/pldd.c: New file.
72742         * elf/pldd-xx.c: New file.
72744 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72746         * version.h: Update for 2.15 development version.
72748 2011-06-07  David S. Miller  <davem@davemloft.net>
72750         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72751         ifuncs.
72752         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72753         elf_machine_lazy_rel): Likewise.
72754         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72755         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72756         elf_machine_lazy_rel): Likewise.
72757         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72758         dl_hwcap via passed in argument.
72759         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72760         Likewise.
72762 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72764         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72766 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72768         [BZ #12849]
72769         * manual/fdl-1.1.texi: New file, verbatim from:
72770         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72771         * manual/lgpl-2.1.texi: New file, verbatim from:
72772         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72773         * manual/Makefile (licenses): New variable, list those new file names.
72774         (texis): Use it.
72775         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72777         * manual/fdl.texi: File removed.
72778         * manual/lesser.texi: File removed.
72779         * manual/libc.texinfo (Copying, Documentation License):
72780         Use new @include file names, put @appendix directive before @include.
72782 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72784         [BZ #12841]
72785         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72786         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72787         (mq_open): Add __NTH.
72789 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72792         Assume Intel Core i3/i5/i7 processor if AVX is available.
72794 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72797         typo.
72799 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72801         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72802         memory.  Use alloca_account.  Fix memory leak when retrying.
72804 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72806         * version.h (RELEASE): Bump for 2.14 release.
72807         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72809         * config.make.in (RANLIB): Remove entry.
72811 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72813         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72814         (libc.pot): Work around missing support for .ksh extension in xgettext.
72816         [BZ #12684]
72817         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72818         if both request failed.
72819         (send_dg): In case of server errors clear resplen or *resplen2.
72821         [BZ #12454]
72822         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72823         when there are multiple maps.
72824         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72825         (_dl_fini): Remove test here.
72827         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72829 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72831         [BZ #12350]
72832         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72833         bit from old_res_options.
72834         (gaih_inet): Likewise.
72836         [BZ #11099]
72837         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72838         as signed.
72840         * resolv/res_init.c (res_setoptions): Make the code more compact.
72842         [BZ #11558]
72843         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72844         set RES_USEVC.
72846         [BZ #11634]
72847         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72849         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72851         [BZ #11781]
72852         * malloc/malloc.h: Declare malloc hook variables as volatile.
72854         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72855         in last patch.
72857         [BZ #11799]
72858         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72859         raise in the comment.
72860         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72861         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72862         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72864 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72866         [BZ #12811]
72867         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72868         grow the buffers more if it already has to be sufficient.
72869         (build_wcs_upper_buffer): Likewise.
72870         * posix/regexec.c (check_matching): Likewise.
72871         (clean_state_log_if_needed): Likewise.
72872         (extend_buffers): Don't enlarge buffers beyond size of the input
72873         buffer.
72874         Patches mostly by Emil Wojak <emil@wojak.eu>.
72875         * posix/bug-regex32.c: New file.
72876         * posix/Makefile (tests): Add bug-regex32.
72878         * locale/findlocale.c (_nl_find_locale): Return right away if
72879         _nl_explode_name failed.
72880         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72882         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72884         * debug/xtrace.sh: Unify messages.
72885         * malloc/memusage.sh: Likewise.
72887         [BZ #12813]
72888         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72889         time symbol from vDSO.  Substitute with vsyscall if not available.
72890         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72891         __vdso_time.
72893         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72894         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72895         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72896         Add sendmmsg and internal_sendmmsg.
72897         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72898         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72899         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72901         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72902         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72905 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72907         [BZ #12813]
72908         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72909         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72910         available.
72911         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72912         __vdso_getcpu.
72914         [BZ #12814]
72915         * iconvdata/Makefile (tests): Add bug-iconv9.
72916         * iconvdata/bug-iconv9.c: New file.
72918 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72920         [BZ #12814]
72921         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72923 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72925         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72926         (struct user_regs_struct): Change intcs field back to cs.
72928 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72930         * po/ja.po: Update from translation team.
72932 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72934         [BZ #12795]
72935         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72936         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72938 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72940         * stdlib/longlong.h: Update from GCC.
72942 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72944         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72945         parameter name.
72946         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72947         Add parameter name.
72948         (__sysconf): Pass it down.
72950 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72952         [BZ #12671]
72953         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72954         some situations.
72955         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72956         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72957         add in in __libc_use_alloca calls.  Adjust callers.
72958         (glob): Use malloc in some situations.
72960         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72961         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72962         pltexit.
72964 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72966         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72967         and CLOCK_BOOTTIME_ALARM.
72969         [BZ #12782]
72970         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72971         is returned.
72973         * string/_strerror.c (__strerror_r): Print negative errors as signed
72974         numbers.
72976         [BZ #12777]
72977         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72978         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72979         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72981         * configure.in: Fix typo in redirection and correct removal of test
72982         files in two cases.
72984         [BZ #12788]
72985         * locale/setlocale.c (new_composite_name): Fix test to check for
72986         identical name of all categories.
72988         [BZ #12792]
72989         * libio/filedoalloc.c (local_isatty): New function.
72990         (_IO_file_doallocate): Use local_isatty.
72991         * stdio-common/perror.c (perror): In case a new stream is used
72992         forward the stream error.
72993         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72994         error flag.
72996 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72998         [BZ #11884]
72999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73000         alloca.
73001         * include/alloca.h (extend_alloca_account): Define.
73003         [BZ #11857]
73004         * posix/regex.h: Fix comments with documentation of user-accessible
73005         fields after compilation and describe correct free'ing of pattern
73006         after re_compile_pattern.
73007         Patch by Reuben Thomas <rrt@sc3d.org>.
73009 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73011         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73012         and -mno-altivec to prevent the compiler from using Altivec and/or
73013         VSX instructions when the corresponding registers are not available.
73015 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73017         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73019 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73021         * libio/freopen.c (freopen): Use __dup2, not dup2.
73022         * libio/freopen64.c (freopen64): Likewise.
73024 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73026         [BZ #12775]
73027         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73028         * math/Makefile (tests): Add test-powl.
73029         (CFLAGS-test-powl.c): Define.
73030         * math/test-powl.c: New file.
73032 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73034         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73036 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73038         [BZ #11837]
73039         * iconvdata/gb18030.c: Update to GB18020-2005.
73041 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73043         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73044         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73045         Patch by Aharon Robbins <arnold@skeeve.com>.
73047         [BZ #11892]
73048         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73049         on the stack.
73051         [BZ #11895]
73052         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73053         through underflows.
73055         [BZ #12766]
73056         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73057         point to strings before performing equality test for error_one_per_line
73058         mode.
73060         [BZ #11697]
73061         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73063         [BZ #11820]
73064         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73065         (struct user_fpregs_struct): Avoid __uint*_t types.
73067         [BZ #6420]
73068         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73069         symbol info.  Use it instead of calling _dl_addr locally.
73070         (lock_and_info): New function.
73071         (tr_freehook): Call lock_and_info and pass symbol info as additional
73072         parameter to tr_where.
73073         (tr_mallochook): Likewise.
73074         (tr_reallochook): Likewise.
73075         (tr_memalignhook): Likewise.
73077         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73078         used and couldn't be at all thread-safe.
73080 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73082         * libio/freopen.c (freopen): Don't close old file descriptor
73083         before the new one is opened.  Instead dup the new file descriptor
73084         to the old one after the new stream is created.
73085         * libio/freopen64.c (freopen64): Likewise.
73086         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73087         * libio/fileops.c (_IO_new_file_close_it): Handle new
73088         _IO_FLAGS2_NOCLOSE flag.
73089         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73090         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73091         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73092         _IO_FLAGS2_NOCLOSE flag.
73093         * include/unistd.h: Add hidden_proto for dup3.
73094         Define __have_dup3.
73095         * io/dup3.c: Define hidden symbol.
73096         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73098         [BZ #7101]
73099         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73100         when an incomplete long option is used.
73101         * posix/tst-getopt_long1.c: New file.
73102         * posix/Makefile (tests): Add tst-getopt_long1.
73104         [BZ #10138]
73105         * scripts/config.guess: Update from autoconf-2.68.
73106         * scripts/config.sub: Likewise.
73108         [BZ #10157]
73109         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73110         tests into ...
73111         (has_cpuclock): ...this.  New function.
73112         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73113         macro here based on has_cpuclock code.
73115         [BZ #10149]
73116         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73117         First byte (not low byte) is now always NUL.
73118         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73121         Use non-cancelable interfaces.
73123         [BZ #9809]
73124         * locale/iso-639.def: Add entry for Sorani.
73126         [BZ #11901]
73127         * include/stdlib.h: Move include protection to the right place.
73128         Define abort_msg_s.  Declare __abort_msg with it.
73129         * stdlib/abort.c (__abort_msg): Adjust type.
73130         * assert/assert.c (__assert_fail_base): New function.  Majority
73131         of code from __assert_fail.  Allocate memory for __abort_msg with
73132         mmap.
73133         (__assert_fail): Now call __assert_fail_base.
73134         * assert/assert-perr.c: Remove bulk of implementation.  Use
73135         __assert_fail_base.
73136         * include/assert.hL Declare __assert_fail_base.
73137         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73138         mmap.
73139         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73141 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73143         [BZ #11952]
73144         [BZ #12453]
73145         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73146         until all modules are registered in the DTV.
73147         * elf/Makefile: Add rules to build and run tst-tls19.
73148         * elf/tst-tls19.c: New file.
73149         * elf/tst-tls19mod1.c: New file.
73150         * elf/tst-tls19mod2.c: New file.
73151         * elf/tst-tls19mod3.c: New file.
73152         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73154         [BZ #12083]
73155         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73156         correctly.
73158         [BZ #12601]
73159         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73160         two-byte sequence errors.
73161         * iconvdata/Makefile (tests): Add bug-iconv8.
73162         * iconvdata/bug-iconv8.c: New file.
73164         [BZ #12626]
73165         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73166         buf2 definition.
73168         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73170         [BZ #12432]
73171         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73172         (dummy_getcfa): New function.
73173         (init): Get _Unwind_GetCFA address, use dummy if not found.
73174         (backtrace_helper): In recursion check, also check whether CFA changes.
73175         (__backtrace): Completely initialize arg.
73177         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73178         storing incomplete byte sequence in state object.  Avoid testing for
73179         guaranteed too small input if we know there is enough data available.
73181 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73183         * Makeconfig (+link-pie): Indent.
73184         * Rules (binaries-pie): Define if $(have-fpie) and
73185         $(build-shared).
73186         (binaries-shared): Also filter out $(binaries-pie).
73187         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73188         * nscd/Makefile (others-pie): Add nscd.
73189         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73190         ($(objpfx)nscd): Remove command override.
73191         * login/Makefile (others-pie): Add pt_chown.
73192         ($(objpfx)pt_chown): Remove command override.
73193         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73194         remove command overrides.
73196 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73198         * libio/tst_putwc.c: Fix error messages.
73200         [BZ #12724]
73201         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73202         currently writing and seek to current position when not.
73203         * libio/Makefile (tests): Add bug-fclose1.
73204         * libio/bug-fclose1.c: New file.
73206 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73208         [BZ #12511]
73209         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73210         don't set DF_1_NODELETE here.
73211         (do_lookup_x): When entering new entry test for copy relocation
73212         and if necessary set DF_1_NODELETE flag.
73213         * elf/tst-unique4.cc: New file.
73214         * elf/tst-unique4.h: New file.
73215         * elf/tst-unique4lib.cc: New file.
73216         * elf/Makefile: Add rules to build and run tst-unique4.
73217         Patch by Piotr Bury <pbury@goahead.com>.
73219 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73221         [BZ #12052]
73222         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73224         [BZ #12625]
73225         * misc/mntent_r.c (addmntent): Flush the stream after the output
73227         [BZ #12393]
73228         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73229         (is_trusted_path_normalize): Skip initial colon.  Append slash
73230         to empty buffer.  Duplicate is_trusted_path code but allow
73231         constructed patch to be prefix.
73232         (is_dst): Allow $ORIGIN followed by /.
73233         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73234         Correct testing of result of is_trusted_path_normalize
73235         (decompose_rpath): Fix warning.
73237 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73239         [BZ #11257]
73240         * grp/initgroups.c (internal_getgrouplist): When we found the service
73241         list through the initgroups entry in nsswitch.conf do not always
73242         continue on a successful lookup.  Don't always use the
73243         __nss_group_database value if it is set.
73244         * nss/nsswitch.conf (initgroups): Change action for successful db
73245         lookup to continue for compatibility.
73247 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73249         [BZ #11532]
73250         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73251         and CP774 modules.
73252         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73253         and CP774 modules.
73254         * iconvdata/tst-tables.sh: Likewise.
73255         * iconvdata/cp770.c: New file.
73256         * iconvdata/cp771.c: New file.
73257         * iconvdata/cp772.c: New file.
73258         * iconvdata/cp773.c: New file.
73259         * iconvdata/cp774.c: New file.
73260         * iconvdata/testdata/CP770: New file.
73261         * iconvdata/testdata/CP770..UTF8: New file.
73262         * iconvdata/testdata/CP771: New file.
73263         * iconvdata/testdata/CP771..UTF8: New file.
73264         * iconvdata/testdata/CP772: New file.
73265         * iconvdata/testdata/CP772..UTF8: New file.
73266         * iconvdata/testdata/CP773: New file.
73267         * iconvdata/testdata/CP773..UTF8: New file.
73268         * iconvdata/testdata/CP774: New file.
73269         * iconvdata/testdata/CP774..UTF8: New file.
73271         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73272         END CHARMAP line.
73273         * iconvdata/gen-8bit-gap.sh: Likewise.
73274         * iconvdata/gen-8bit.sh: Likewise.
73276         * locale/iso-639.def: Add ary entry.
73278         [BZ #11258]
73279         * locale/C-translit.h.in: Add U20A1 transliteration.
73281         [BZ #12178]
73282         * locale/iso-639.def: Add wae entry.
73283         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73285         [BZ #12545]
73286         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73287         for n.
73289         [BZ #12711]
73290         * locale/C-translit.h.in: Add entry for U20B9.
73291         Patch by pravin.d.s@gmail.com.
73293 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73295         [BZ #12713]
73296         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73297         ENAMETOOLONG use generic getcwd.
73298         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73299         in rtld.  Use *stat64.
73300         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73301         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73302         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73303         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73304         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73305         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73306         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73307         __fstatat64 macros.
73308         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73309         * dirent/rewinddir.c: Add libc_hidden_def.
73310         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73311         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73313         * include/dirent.h (__alloc_dir): Add flags parameter.
73314         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73315         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73316         __alloc_dir.
73317         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73318         from fdopendir if O_CLOEXEC is already set.
73320 2011-03-15  Alan Modra  <amodra@gmail.com>
73322         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73323         l_tls_firstbyte_offset non-zero.  Save padding offset in
73324         l_tls_firstbyte_offset for later use.
73325         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73326         freeing static tls block.
73328 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73330         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73331         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73332         being defined by the kernel headers.
73334 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73336         [BZ #12734]
73337         * resolv/resolv.h: Define RES_NOTLDQUERY.
73338         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73339         no-tld-query and set RES_NOTLDQUERY.
73340         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73341         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73342         modern BIND to search name as TLD unless forbidden.
73344 2011-05-07  Petr Baudis  <pasky@suse.cz>
73345             Ulrich Drepper  <drepper@gmail.com>
73347         [BZ #12393]
73348         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73349         (is_trusted_path): ...to here.
73350         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73351         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73352         using is_trusted_path_normalize() in setuid scripts.
73354 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73356         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73357         __BEGIN/__END_DECLS.
73359 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73361         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73362         NSS_STATUS_NOTFOUND if no record was found.
73364 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73366         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73367         (headers-not-in-tirpc): Remove rpc/netdb.h
73368         * resolv/netdb.h: Revert last change.
73370 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73372         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73373         circular dependency between libgcc.a and libc.a.
73375 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73377         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73378         * nis/Makefile: Don't install rpcsvc/*.
73379         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73380         instead of <rpc/types.h>.
73381         (MAXHOSTNAMELEN): Define.
73383 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73385         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73387 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73389         [BZ #12714]
73390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73391         gethostbyname4_r when IPv6 results are possible.
73393 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73395         [BZ #12723]
73396         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73397         _PC_PIPE_BUF handling.
73399 2011-04-30  Bruno Haible  <bruno@clisp.org>
73401         [BZ #12717]
73402         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73403         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73404         to 'int'.
73405         * inet/getnameinfo.c (getnameinfo): Likewise.
73407 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73409         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73410         to groups setting in database lookup.
73411         * nss/nsswitch.conf: Add initgroups entry.
73413 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73415         [BZ #12685]
73416         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73417         mode string.
73418         Patch by Eric Blake <eblake@redhat.com>.
73420 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73422         * sunrpc/Makefile (need-export-routines): Add svc_run.
73423         (routines): Remove svc_run.
73424         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73425         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73426         * sunrpc/svc_run.c (svc_run): Likewise.
73427         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73429 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73431         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73432         problem in reallocation in last patch.
73434 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73436         * sunrpc/Makefile: Move inclusion of Rules.
73438 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73440         * nss/nss_files/files-initgroups.c: New file.
73441         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73442         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73443         _nss_files_initgroups_dyn.
73445 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73447         * elf/elf.h (R_ARM_IRELATIVE): Define.
73449 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73451         * po/ru.po: Update from translation team.
73453 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73455         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73456         dependencies.
73458 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73460         [BZ #12653]
73461         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73462         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73463         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73464         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73467 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73469         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73470         differing bytes.
73471         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73472         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73473         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73475 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73477         [BZ #12420]
73478         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73479         storing it.
73480         * stdlib/bug-getcontext.c: New file.
73481         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73483 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73485         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73486         instructions into .machine "z9-109".
73487         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73488         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73490 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73492         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73493         between environment variables and auxiliary vector.
73495 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73497         * Makefile: Add rules to build linkobj/libc.so.
73498         * include/libc-symbols.h: Define libc_hidden_nolink.
73499         * include/rpc/auth.h: Mark functions which are to be hidden.
73500         * include/rpc/auth_des.h: Likewise.
73501         * include/rpc/auth_unix.h: Likewise.
73502         * include/rpc/clnt.h: Likewise.
73503         * include/rpc/des_crypt.h: Likewise.
73504         * include/rpc/key_prot.h: Likewise.
73505         * include/rpc/pmap_clnt.h: Likewise.
73506         * include/rpc/pmap_prot.h: Likewise.
73507         * include/rpc/pmap_rmt.h: Likewise.
73508         * include/rpc/rpc_msg.h: Likewise.
73509         * include/rpc/svc.h: Likewise.
73510         * include/rpc/svc_auth.h: Likewise.
73511         * include/rpc/xdr.h: Likewise.
73512         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73513         * nss/Makefile: Likewise.
73514         * sunrpc/Makefile: Don't install headers.  Build library with normal
73515         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73516         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73517         for the compat linking library.  Remove use of INTDEF/INTUSE.
73518         * sunrpc/auth_none.c: Likewise.
73519         * sunrpc/auth_unix.c: Likewise.
73520         * sunrpc/authdes_prot.c: Likewise.
73521         * sunrpc/authuxprot.c: Likewise.
73522         * sunrpc/clnt_gen.c: Likewise.
73523         * sunrpc/clnt_perr.c: Likewise.
73524         * sunrpc/clnt_raw.c: Likewise.
73525         * sunrpc/clnt_simp.c: Likewise.
73526         * sunrpc/clnt_tcp.c: Likewise.
73527         * sunrpc/clnt_udp.c: Likewise.
73528         * sunrpc/clnt_unix.c: Likewise.
73529         * sunrpc/des_crypt.c: Likewise.
73530         * sunrpc/des_soft.c: Likewise.
73531         * sunrpc/get_myaddr.c: Likewise.
73532         * sunrpc/key_call.c: Likewise.
73533         * sunrpc/key_prot.c: Likewise.
73534         * sunrpc/netname.c: Likewise.
73535         * sunrpc/pm_getmaps.c: Likewise.
73536         * sunrpc/pm_getport.c: Likewise.
73537         * sunrpc/pmap_clnt.c: Likewise.
73538         * sunrpc/pmap_prot.c: Likewise.
73539         * sunrpc/pmap_prot2.c: Likewise.
73540         * sunrpc/pmap_rmt.c: Likewise.
73541         * sunrpc/publickey.c: Likewise.
73542         * sunrpc/rpc_cmsg.c: Likewise.
73543         * sunrpc/rpc_common.c: Likewise.
73544         * sunrpc/rpc_dtable.c: Likewise.
73545         * sunrpc/rpc_prot.c: Likewise.
73546         * sunrpc/rpc_thread.c: Likewise.
73547         * sunrpc/rtime.c: Likewise.
73548         * sunrpc/svc.c: Likewise.
73549         * sunrpc/svc_auth.c: Likewise.
73550         * sunrpc/svc_authux.c: Likewise.
73551         * sunrpc/svc_raw.c: Likewise.
73552         * sunrpc/svc_run.c: Likewise.
73553         * sunrpc/svc_simple.c: Likewise.
73554         * sunrpc/svc_tcp.c: Likewise.
73555         * sunrpc/svc_udp.c: Likewise.
73556         * sunrpc/svc_unix.c: Likewise.
73557         * sunrpc/svcauth_des.c: Likewise.
73558         * sunrpc/xcrypt.c: Likewise.
73559         * sunrpc/xdr.c: Likewise.
73560         * sunrpc/xdr_array.c: Likewise.
73561         * sunrpc/xdr_float.c: Likewise.
73562         * sunrpc/xdr_intXX_t.c: Likewise.
73563         * sunrpc/xdr_mem.c: Likewise.
73564         * sunrpc/xdr_rec.c: Likewise.
73565         * sunrpc/xdr_ref.c: Likewise.
73566         * sunrpc/xdr_sizeof.c: Likewise.
73567         * sunrpc/xdr_stdio.c: Likewise.
73569 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73571         [BZ #12650]
73572         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73573         * sysdeps/ia64/dl-tls.h: Likewise.
73574         * sysdeps/powerpc/dl-tls.h: Likewise.
73575         * sysdeps/s390/dl-tls.h: Likewise.
73576         * sysdeps/sh/dl-tls.h: Likewise.
73577         * sysdeps/sparc/dl-tls.h: Likewise.
73578         * sysdeps/x86_64/dl-tls.h: Likewise.
73579         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73581 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73583         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73584         rpath element also skip the following colon.
73585         (expand_dynamic_string_token): Add is_path parameter and pass
73586         down to DL_DST_REQUIRED and _dl_dst_substitute.
73587         (decompose_rpath): Call expand_dynamic_string_token with
73588         non-zero is_path.  Ignore empty rpaths.
73589         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73590         with zero is_path.
73592 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73595         Make cancelable.
73597 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73599         [BZ #12655]
73600         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73601         Patch by Filipe David Manana <fdmanana@apache.org>.
73603 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73605         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73606         Maintain aligned stack.
73607         (CHECK_RSP): Remove unused macro.
73609 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73611         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73612         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73614 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73616         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73618         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73620 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73622         [BZ #12518]
73623         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73624         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73625         * sysdeps/x86_64/memmove.c: New file.
73626         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73627         (memcpy): Renamed to ...
73628         (__new_memcpy): This.
73629         (memcpy): Provide GLIBC_2_14 memcpy.
73630         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73631         (memcpy): Provide GLIBC_2_2_5 memcpy.
73633 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73635         [BZ #12631]
73636         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73638 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73640         * misc/syncfs.c: New file.
73641         * misc/Makefile (routines): Add syncfs.
73642         * posix/unistd.h: Declare syncfs.
73643         * sysdeps/unix/syscalls.list: Add syncfs.
73645 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73647         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73648         open_by_handle_at.
73649         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73650         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73652         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73654         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73655         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73657 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73659         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73660         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73661         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73663         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73665         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73667         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73668         sync_file_range.c with -fexceptions.
73669         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73670         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73671         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73672         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73673         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73674         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73675         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73676         sync_file_range as cancellation point
73677         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73678         now a wrapper around __call_sync_file_range with cancellation handling.
73679         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73680         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73681         function name to __call_sync_file_range.
73682         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73683         Add call_sync_file_range.
73685 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73688         bits/timex.h.
73690 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73692         * iconv/iconv.h: Fix typo in comment.
73693         * io/fcntl.h: Likewise.
73694         * libio/stdio.h: Likewise.
73695         * posix/spawn.h: Likewise.
73696         * posix/unistd.h: Likewise.
73697         * stdlib/stdlib.h: Likewise.
73698         * time/time.h: Likewise.
73699         * wcsmbs/wchar.h: Likewise.
73701         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73702         open_by_handle): Add.
73703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73704         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73705         Augment a few comments.
73706         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73707         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73708         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73709         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73711         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73712         open_by_handle.
73714         * io/fcntl.h (AT_EMPTY_PATH): Define.
73716 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73718         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73719         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73720         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73721         to...
73722         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73723         * Versions.def: Add GLIBC_2.14.
73724         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73725         Export.
73727 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73729         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73730         round counter.
73731         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73733 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73735         [BZ #12597]
73736         * string/test-strncmp.c (do_page_test): New function.
73737         (check2): Likewise.
73738         (test_main): Call check2.
73739         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73741 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73743         [BZ #12587]
73744         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73745         Handle cache information in CPU leaf 4.
73746         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73748 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73750         [BZ #12583]
73751         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73752         character representation.
73753         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73755 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73757         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73758         END(__isnan) to END(__isnanf) to match function entry point/label
73759         EALIGN(__isnanf,...).
73761 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73763         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73765 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73767         [BZ #12510]
73768         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73769         copy from the symbol referenced in the relocation to initialize the
73770         used variable.
73771         Patch by Piotr Bury <pbury@goahead.com>.
73772         * elf/Makefile: Add rules to build and tst-unique3.
73773         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73774         * elf/tst-unique3.cc: New file.
73775         * elf/tst-unique3.h: New file.
73776         * elf/tst-unique3lib.cc: New file.
73777         * elf/tst-unique3lib2.cc: New file.
73779         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73781 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73783         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73784         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73785         to _start.
73787 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73789         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73790         to-be-loaded object along a path to loader is ld.so.
73792 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73793             Ulrich Drepper  <drepper@gmail.com>
73795         * sysdeps/x86_64/memset.S: After aligning destination, code
73796         branches to different locations depending on the value of
73797         misalignment, when multiarch is enabled. Fix this.
73799 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73801         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73802         Set _x86_64_preferred_memory_instruction for AMD processsors.
73803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73804         Set bit_Prefer_SSE_for_memop for AMD processors.
73806 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73808         * libio/fmemopen.c (fmemopen): Optimize a bit.
73810 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73812         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73814 2011-03-03  Roland McGrath  <roland@redhat.com>
73816         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73818 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73820         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73821         __bzero_ultra1 instead of __memset_ultra1.
73823 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73824             Ulrich Drepper  <drepper@gmail.com>
73826         [BZ #12509]
73827         * include/link.h (struct link_map): Add l_orig_initfini.
73828         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73829         returning unsuccessfully.
73830         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73831         close of a file loaded at startup, restore the original l_initfini
73832         list.
73833         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73834         list, store the pointer.
73835         * elf/Makefile ($(objpfx)noload-mem): New rule.
73836         (noload-ENV): Define.
73837         (tests): Add $(objpfx)noload-mem.
73838         * elf/noload.c: Include <memcheck.h>.
73839         (main): Call mtrace.  Close all opened handles.
73841 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73843         [BZ #12454]
73844         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73845         dependencies are missing.
73847 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73849         Fix __if_freereq crash: Unlike the generic version which uses free,
73850         Hurd needs munmap.
73851         * sysdeps/mach/hurd/ifreq.h: New file.
73853 2011-01-27  Petr Baudis  <pasky@suse.cz>
73854             Ulrich Drepper  <drepper@gmail.com>
73856         [BZ 12445]#
73857         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73858         to extend_alloca().
73859         * stdio-common/bug23.c: New file.
73860         * stdio-common/Makefile (tests): Add bug23.
73862 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73863             Ulrich Drepper  <drepper@gmail.com>
73865         [BZ #12489]
73866         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73867         before performing relro protection.  At old place add assertion
73868         to make sure nothing changed.
73870 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73871             Glauber de Oliveira Costa  <glommer@gmail.com>
73873         * elf/elf.h: Add new ARM TLS relocs.
73875 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73878         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73879         cast from r3.
73880         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73881         'tests' variable.
73882         * sysdeps/wordsize-64/tst-writev.c: New file.
73884 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73886         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73887         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73888         insns in _dl_start to prevent a TOC reference before relocs are
73889         resolved.
73891 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73893         [BZ #12469]
73894         * Makeconfig: Remove RANLIB definition.
73895         * Makerules: Don't use RANLIB.
73896         * aclocal.m4: Remove ranlib test.
73897         * configure.in: No need to check for ranlib.
73898         * elf/rtld-Rules: Don't use RANLIB.
73900 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73902         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73903         protection macro.
73904         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73905         inclusion protection macro.
73907         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73908         SIGRTMIN and SIGRTMAX and print information in that case only when
73909         SIGRTMIN is defined.
73911 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73913         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73914         arginfo fn returning -1.
73916         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73917         and thousands string is zero terminated.
73919 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73922         sysdeps/unix/sysv/linux/bits/socket.h.
73924 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73926         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73927         (__CPU_COUNT): Remove old macros.
73928         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73929         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73930         (__CPU_ALLOC, __CPU_FREE): Add macros.
73931         (__sched_cpualloc, __sched_cpufree): Add declarations.
73933 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73935         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73936         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73937         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73938         (readdhstai): Return value of addhstaiX call.
73939         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73940         (addgrbyX): Return value returned by cache_addgr.
73941         (readdgrbyname): Return value returned by addgrbyX.
73942         (readdgrbygid): Likewise.
73943         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73944         (addpwbyX): Return value returned by cache_addpw.
73945         (readdpwbyname): Return value returned by addhstbyX.
73946         (readdpwbyuid): Likewise.
73947         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73948         (addservbyX): Return value returned by cache_addserv.
73949         (readdservbyname): Return value returned by addservbyX:
73950         (readdservbyport): Likewise.
73951         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73952         (addhstbyX): Return value returned by cache_addhst.
73953         (readdhstbyname): Return value returned by addhstbyX.
73954         (readdhstbyaddr): Likewise.
73955         (readdhstbynamev6): Likewise.
73956         (readdhstbyaddrv6): Likewise.
73957         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73958         (readdinitgroups): Return value returned by addinitgroupsX.
73959         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73960         (prune_cache): Keep track of timeout value of re-added entries.
73961         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73962         * nscd/nscd.h: Adjust prototypes of readd* functions.
73964 2011-02-04  Roland McGrath  <roland@redhat.com>
73966         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73967         (nis_stats): Likewise.
73968         * nis/nis_modify.c (nis_modify): Likewise.
73969         * nis/nis_remove.c (nis_remove): Likewise.
73970         * nis/nis_add.c (nis_add): Likewise.
73972         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73974         * posix/fnmatch_loop.c: Add some consts.
73976         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73978 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73980         [BZ #12460]
73981         * config.make.in (config-cflags-novzeroupper): Define.
73982         * configure.in: Substitute libc_cv_cc_novzeroupper.
73983         * elf/Makefile (AVX-CFLAGS): Define.
73984         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73985         (CFLAGS-tst-auditmod4a.c): Likewise.
73986         (CFLAGS-tst-auditmod4b.c): Likewise.
73987         (CFLAGS-tst-auditmod6b.c): Likewise.
73988         (CFLAGS-tst-auditmod6c.c): Likewise.
73989         (CFLAGS-tst-auditmod7b.c): Likewise.
73990         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73992 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73994         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73995         function to the callback.
73996         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73998 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74000         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74001         of errno.
74003 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74005         [BZ #11724]
74006         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74007         of constructors.
74008         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74009         of destructors.
74010         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74012         [BZ #11724]
74013         * elf/Makefile: Add rules to build and run new test.
74014         * elf/tst-initorder.c: New file.
74015         * elf/tst-initorder.exp: New file.
74016         * elf/tst-initordera1.c: New file.
74017         * elf/tst-initordera2.c: New file.
74018         * elf/tst-initordera3.c: New file.
74019         * elf/tst-initordera4.c: New file.
74020         * elf/tst-initorderb1.c: New file.
74021         * elf/tst-initorderb2.c: New file.
74022         * elf/tst-order-a1.c: New file.
74023         * elf/tst-order-a2.c: New file.
74024         * elf/tst-order-a3.c: New file.
74025         * elf/tst-order-a4.c: New file.
74026         * elf/tst-order-b1.c: New file.
74027         * elf/tst-order-b2.c: New file.
74028         * elf/tst-order-main.c: New file.
74029         New test case by George Gensure <werkt0@gmail.com>.
74031 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74034         decoding ACE if AI_CANONIDN.
74036 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74038         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74040 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74042         * version.h (RELEASE): Bump for 2.13 release.
74043         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74045         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74047         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74048         MADV_NOHUGEPAGE.
74049         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74050         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74051         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74052         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74053         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74054         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74056         * posix/getconf.c: Update copyright year.
74057         * catgets/gencat.c: Likewise.
74058         * csu/version.c: Likewise.
74059         * debug/catchsegv.sh: Likewise.
74060         * debug/xtrace.sh: Likewise.
74061         * elf/ldconfig.c: Likewise.
74062         * elf/ldd.bash.in: Likewise.
74063         * elf/sprof.c (print_version): Likewise.
74064         * iconv/iconv_prog.c: Likewise.
74065         * iconv/iconvconfig.c: Likewise.
74066         * locale/programs/locale.c: Likewise.
74067         * locale/programs/localedef.c: Likewise.
74068         * malloc/memusage.sh: Likewise.
74069         * malloc/mtrace.pl: Likewise.
74070         * nscd/nscd.c (print_version): Likewise.
74071         * nss/getent.c: Likewise.
74073         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74074         PF_CAIF, and PF_ALG.
74075         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74077 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74079         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74080         (modules-names): Use them.
74081         (ifunc-test-modules, ifunc-pie-tests): Define.
74082         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74083         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74084         (test-extras): Likewise.
74085         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74086         $(compile-command.c).
74087         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74088         (all-built-dso): Define.
74089         (check-textrel.out, check-execstack.out): Depend on it.
74091         * configure.in: Don't override --enable-multi-arch.
74093 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74095         [BZ #6812]
74096         * nscd/hstcache.c (tryagain): Define.
74097         (cache_addhst): Return tryagain not notfound for temporary errors.
74098         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74099         failed.
74101 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74103         [BZ #10563]
74104         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74105         to make the syscall.
74106         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74108         [BZ #12378]
74109         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74110         and fall back to matching as normal character if the string ends before
74111         the matching ']' is found.  This is what POSIX requires.
74112         * posix/testfnm.c: Adjust test result.
74113         * posix/globtest.sh: Adjust test result.  Add new test.
74114         * posix/tst-fnmatch.input: Likewise.
74115         * posix/tst-fnmatch2.c: Add new test.
74117 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74119         * elf/Makefile (check-execstack): Revert last change.  Depend on
74120         check-execstack.h.
74121         (check-execstack.h): New target.
74122         (generated): Add check-execstack.h.
74123         * elf/check-execstack.c: Include "check-execstack.h".
74124         (main): Revert last change.
74125         (handle_file): Return zero if GNU_STACK is absent and
74126         DEFAULT_STACK_PERMS doesn't include PF_X.
74128 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74130         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74131         in child fails because the descriptor is already closed.
74132         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74133         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74134         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74136         [BZ #12397]
74137         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74138         syscall.
74140         [BZ #10484]
74141         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74142         temporary buffer used to handle multi lookups locally.
74143         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74145 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74147         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74148         loader is ld.so.
74150 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74152         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74153         alignment for SSE2.
74155 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74157         [BZ #12394]
74158         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74159         characters.  When rounding increased number of integer digits recompute
74160         number of groups.
74161         * stdio-common/tst-grouping.c: New file.
74162         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74164 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74166         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74167         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74169         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74170         void.
74171         * bits/select.h: Likewise.
74173 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74175         * po/ja.po: Update from translation team.
74177 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74179         [BZ #11155]
74180         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74181         implementation just like for lxstat, fxstatat, et al.
74183 2010-12-27  Jim Meyering  <meyering@redhat.com>
74185         [BZ #12348]
74186         * posix/regexec.c (build_trtable): Return failure indication upon
74187         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74189 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74191         [BZ #12201]
74192         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74193         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74194         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74195         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74197         [BZ #12207]
74198         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74200         [BZ #12204]
74201         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74202         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74204 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74206         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74207         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74208         script has SORT_BY_INIT_PRIORITY.
74209         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74210         NO_CTORS_DTORS_SECTIONS is defined.
74211         * elf/soinit.c: Likewise.
74212         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74213         NO_CTORS_DTORS_SECTIONS is defined.
74214         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74215         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74216         * sysdeps/sh/init-first.c: Likewise.
74217         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74219 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74221         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74222         always use the slow path.
74224 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74226         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74227         similar rule which adds the sysdep directories to the header search in
74228         order to pick up the correct platform stackinfo.h.
74229         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74230         perform test if it is, otherwise return successfully without testing.
74231         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74232         DEFAULT_STACK_PERMS define in stackinfo.h.
74233         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74234         defined in stackinfo.h.
74235         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74236         DEFAULT_STACK_PERMS defined in stackinfo.h.
74237         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74238         * sysdeps/ia64/stackinfo.h: Likewise.
74239         * sysdeps/s390/stackinfo.h: Likewise.
74240         * sysdeps/sh/stackinfo.h: Likewise.
74241         * sysdeps/sparc/stackinfo.h: Likewise.
74242         * sysdeps/x86_64/stackinfo.h: Likewise.
74243         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74244         PF_X for powerpc64.  Retain PF_X for powerpc32.
74246 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74248         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74249         accurately.
74250         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74251         GETDENTS_64BIT_ALIGNED.
74253 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74255         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74257 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74259         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74260         _GNU_SOURCE.
74262         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74263         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74264         Remove __restrict.
74265         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74266         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74268 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74270         [BZ #11655]
74271         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74272         are initialized.
74274 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74276         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74278 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74280         * po/it.po: Update from translation team.
74282 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74285         unused codes.
74287 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74289         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74291 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74293         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74294         specially.
74295         (gaih_getanswer_slice): Likewise.
74297 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74301 2010-05-31  Petr Baudis  <pasky@suse.cz>
74303         [BZ #11149]
74304         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74305         silently even in the chroot mode.
74307 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74309         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74310         last patch a bit.  Pretty printing
74312 2010-05-31  Petr Baudis <pasky@suse.cz>
74314         [BZ #10085]
74315         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74316         initialization of skip_initgroups_dyn.
74318 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74320         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74321         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74323 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74325         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74327 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74329         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74330         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74331         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74332         ($(objpfx)tst-fnmatch-mem): New rule.
74333         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74334         * posix/tst-fnmatch.c (main): Call mtrace.
74336 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74339         Support Intel processor model 6 and model 0x2c.
74341 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74343         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74344           signed comparison.
74346 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74348         [BZ #12205]
74349         * string/test-strncasecmp.c (check_result): New function.
74350         (do_one_test): Use it.
74351         (check1): New function.
74352         (test_main): Use it.
74353         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74354         Support strcasecmp and strncasecmp.
74356 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74358         [BZ #12194]
74359         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74360         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74362 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74364         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74365         IFUNC support.
74366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74367         memset-x86-64.
74368         * sysdeps/x86_64/multiarch/bzero.S: New file.
74369         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74370         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74371         * sysdeps/x86_64/multiarch/memset.S: New file.
74372         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74374         Set bit_Prefer_SSE_for_memop for Intel processors.
74375         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74376         Define.
74377         (index_Prefer_SSE_for_memop): Define.
74378         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74380 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74382         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74383         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74385 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74387         [BZ #12191]
74388         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74389         (__x86_64_raw_data_cache_size_half): Likewise.
74390         (__x86_64_raw_shared_cache_size): Likewise.
74391         (__x86_64_raw_shared_cache_size_half): Likewise.
74393         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74394         (__x86_64_raw_data_cache_size_half): Likewise.
74395         (__x86_64_raw_shared_cache_size): Likewise.
74396         (__x86_64_raw_shared_cache_size_half): Likewise.
74397         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74398         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74399         and __x86_64_raw_shared_cache_size_half.  Round
74400         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74401         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74402         to multiple of 256 bytes.
74404 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74406         [BZ #12167]
74407         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74408         of inacessible symlinks.  Verify result of symlink before returning it.
74409         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74410         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74412 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74414         * math/math.h (isinf): Fix typo in comment.
74416 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74418         * po/da.po: Update from translation team.
74420 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74422         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74423         is added to the list.
74425 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74426             Ulrich Drepper  <drepper@gmail.com>
74428         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74429         the global list here.  Move code to...
74430         (_dl_add_to_namespace_list): ...here.  New function.
74431         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74432         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74433         * elf/dl-load.c (lose): Don't remove the element from the list.
74434         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74435         (_dl_map_object): Likewise.
74437 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74439         [BZ #12159]
74440         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74441         into all bytes of SSE register.
74442         Patch by Richard Li <richardpku@gmail.com>.
74444 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74446         [BZ #12140]
74447         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74448         perturbing.
74450 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74452         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74453         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74454         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74455         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74457         submachine.
74458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74460 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74462         * include/dlfcn.h (__RTLD_SECURE): Define.
74463         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74464         mode & __RTLD_SECURE instead.
74465         (open_path): Rename preloaded parameter to secure.
74466         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74467         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74468         * elf/dl-deps.c (openaux): Likewise.
74469         * elf/rtld.c (struct map_args): Remove is_preloaded.
74470         (map_doit): Don't use it.
74471         (dl_main): Likewise.
74472         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74473         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74475 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74477         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74478         (sysd-rules-targets): Remove duplicates.
74479         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74480         rtld-%.$o dependency.
74482 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74484         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74485         _dl_map_object do it.
74487 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74489         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74490         fast fma builtins, define the macros in the C99 standard.
74491         (FP_FAST_FMAF): Likewise.
74492         (FP_FAST_FMAL): Likewise.
74493         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74495         * bits/mathdef.h: Update copyright year.
74496         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74498 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74500         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74501         builtins, define the macros in the C99 standard.
74502         (FP_FAST_FMAF): Likewise.
74503         (FP_FAST_FMAL): Likewise.
74504         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74505         multiply/add.
74506         (FP_FAST_FMAF): Likewise.
74508 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74510         [BZ #3268]
74511         * math/libm-test.inc (fma_test): Some new testcases.
74512         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74513         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74514         y and infinite z.  Do multiplication by C already in long double.
74515         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74517         y and infinite z.  Do bitwise or of inexact bit into u.d.
74518         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74519         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74520         * sysdeps/i386/fpu/s_fma.S: Removed.
74521         * sysdeps/i386/fpu/s_fmal.S: Removed.
74523 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74525         [BZ #3268]
74526         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74527         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74528         computation is not scheduled after fetestexcept.  Fix value
74529         of minimum denormal long double.
74531 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74533         [BZ #3268]
74534         * math/libm-test.inc (fma_test): Add some more tests.
74535         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74536         correctly.
74538 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74540         * scripts/data/localplt-s390-linux-gnu.data: New file.
74541         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74543 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74545         [BZ #3268]
74546         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74547         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74548         instead of dbl-64.
74549         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74550         inlines.
74551         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74553         if one of x and y is very large and the other is subnormal.
74554         * sysdeps/s390/fpu/s_fmaf.c: New file.
74555         * sysdeps/s390/fpu/s_fma.c: New file.
74556         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74557         * sysdeps/powerpc/fpu/s_fma.S: New file.
74558         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74559         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74560         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74562 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74564         [BZ #3268]
74565         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74566         fma tests.
74567         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74568         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74569         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74570         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74571         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74572         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74573         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74575 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74577         [BZ #12078]
74578         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74579         * posix/bug-regex31.input: Add test case.
74581 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74583         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74584         * posix/bug-regex31.input: New file.
74586         [BZ #12078]
74587         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74588         (parse_sub_exp): Fix last change, use postorder.
74590         * posix/bug-regex31.c: New file.
74591         * posix/Makefile: Add rules to build and run bug-regex31.
74593         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74595         [BZ #12078]
74596         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74598         [BZ #12108]
74599         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74600         to have entries in sys_siglist.
74602         [BZ #12093]
74603         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74604         be NULL.
74606 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74608         [BZ #3268]
74609         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74610         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74611         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74612         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74613         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74614         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74615         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74616         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74617         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74618         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74619         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74620         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74621         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74622         * math/ftestexcept.c (fetestexcept): Likewise.
74623         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74624         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74625         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74626         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74627         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74628         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74629         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74631 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74633         [BZ #12107]
74634         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74635         newline.
74637 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74639         * string/bug-strstr1.c: New file.
74640         * string/Makefile: Add rules to build and run bug-strstr1.
74642 2010-10-05  Eric Blake  <eblake@redhat.com>
74644         [BZ #12092]
74645         * string/str-two-way.h (two_way_long_needle): Always clear memory
74646         when skipping input due to the shift table.
74648 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74650         [BZ #12005]
74651         * malloc/mcheck.c: Handle large requests.
74653         [BZ #12077]
74654         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74655         for strncmp and strncasecmp.
74656         * string/stratcliff.c: Add tests for strcmp and strncmp.
74657         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74659 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74661         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74662         __set_fpscr.
74664 2010-09-30  Andreas Jaeger  <aj@suse.de>
74666         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74667         (CGROUP_SUPER_MAGIC): Define.
74668         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74669         Handle btrfs and cgroup file systems.
74670         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74671         Likewise.
74673 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74675         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74676         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74678 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74680         [BZ #12067]
74681         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74682         trying to locate the ELF header.
74684 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74686         [BZ #11611]
74687         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74688         Mask out sign-bit copies when constructing f_fsid.
74690 2010-09-24  Petr Baudis <pasky@suse.cz>
74692         * debug/stack_chk_fail_local.c: Add missing licence exception.
74693         * debug/warning-nop.c: Likewise.
74695 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74697         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74698         implementing getdents64 using getdents syscall, set d_type if
74699         __ASSUME_GETDENTS32_D_TYPE.
74701 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74703         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74704         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74706 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74708         [BZ #12037]
74709         * posix/unistd.h: Undo change of feature selection for ftruncate from
74710         2010-01-11.
74712 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74714         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74715         detection.
74717 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74719         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74720         fanotify_mark.
74721         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74723 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74725         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74726         variables after CHECK_SP call.
74727         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74729 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74730             Ulrich Drepper  <drepper@redhat.com>
74732         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74733         re-relocationg ld.so.
74734         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74735         _dl_init_paths call.
74736         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74737         here anymore.
74739 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74741         * resolv/res_init.c (__res_vinit): Count the default server we added.
74743 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74744             Ulrich Drepper  <drepper@redhat.com>
74746         [BZ #11968]
74747         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74748         (____longjmp_chk): Use %ebx for saving value across system call.
74749         Add unwind info.
74751 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74753         * manual/Makefile: Don't mix pattern rules with normal rules.
74755 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74757         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74758         operation.
74759         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74760         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74761         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74762         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74763         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74764         Likewise.
74766 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74768         [BZ #11979]
74769         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74770         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74772 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74774         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74775         * sysdeps/x86_64/addmul_1.S: Likewise.
74776         * sysdeps/x86_64/lshift.S: Likewise.
74777         * sysdeps/x86_64/mul_1.S: Likewise.
74778         * sysdeps/x86_64/rshift.S: Likewise.
74779         * sysdeps/x86_64/sub_n.S: Likewise.
74780         * sysdeps/x86_64/submul_1.S: Likewise.
74782 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74784         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74785         Define __sched_param instead of SCHED_* and sched_param when
74786         <bits/sched.h> is included with __need_schedparam defined.
74787         * bits/sched.h [__need_schedparam]
74788         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74789         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74790         (__defined_schedparam): Define to 1.
74791         (__sched_param): New structure, identical to sched_param.
74792         (__need_schedparam): Undefine.
74794 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74796         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74797         (epoll_create1): Declare.
74799         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74801 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74803         [BZ #7066]
74804         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74805         shifting retval into place.
74807 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74809         * nis/rpcsvc/nis.h: Update copyright notice.
74810         * nis/rpcsvc/nis.x: Likewise.
74811         * nis/rpcsvc/nis_callback.h: Likewise.
74812         * nis/rpcsvc/nis_callback.x: Likewise.
74813         * nis/rpcsvc/nis_object.x: Likewise.
74814         * nis/rpcsvc/nis_tags.h: Likewise.
74815         * nis/rpcsvc/yp.h: Likewise.
74816         * nis/rpcsvc/yp.x: Likewise.
74817         * nis/rpcsvc/ypupd.h: Likewise.
74818         * nis/yp_xdr.c: Likewise.
74819         * nis/ypupdate_xdr.c: Likewise.
74821         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74822         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74823         (pmap_getport): Use __libc_rpc_getport.
74824         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74825         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74826         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74828 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74831         fanotify_mark.
74833 2010-08-27  Roland McGrath  <roland@redhat.com>
74835         * sysdeps/i386/i686/multiarch/Makefile
74836         (CFLAGS-varshift.c): New variable.
74838 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74840         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74841         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74843         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74845         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74847 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74849         * sysdeps/x86_64/strlen.S: Unroll the loop.
74850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74851         strlen-sse2 strlen-sse2-bsf.
74852         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74853         __strlen_no_bsf if bit_Slow_BSF is set.
74854         (__strlen_sse42): Removed.
74855         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74856         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74858 2010-08-25  Roland McGrath  <roland@redhat.com>
74860         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74861         * sysdeps/x86_64/multiarch/varshift.c: New file.
74862         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74863         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74864         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74865         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74867 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74869         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74870         strlen-sse2 strlen-sse2-bsf.
74871         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74872         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74873         (__strlen_sse2): Removed.
74874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74877         bit_Slow_BSF for Atom.
74878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74879         (index_Slow_BSF): Define.
74880         (HAS_SLOW_BSF): Define.
74882 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74884         [BZ #10851]
74885         * resolv/res_init.c (__res_vinit): When no server address at all
74886         is given default to loopback.
74888 2010-08-24  Roland McGrath  <roland@redhat.com>
74890         * configure.in: Remove config-name.h generation.
74891         * configure: Regenerated.
74892         * config-name.in: File removed.
74893         * scripts/config-uname.sh: New file.
74894         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74895         ($(objdir)config-name.h): New target.
74897         * sunrpc/rpc_parse.h: Avoid nested comment.
74899 2010-08-24  Richard Henderson  <rth@redhat.com>
74900             Ulrich Drepper  <drepper@redhat.com>
74901             H.J. Lu  <hongjiu.lu@intel.com>
74903         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74905         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74906         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74907         _mm_alignr_epi8 with _mm_loadu_si128.
74908         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74909         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74910         (__m128i_shift_right): Removed.
74911         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74912         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74913         * sysdeps/x86_64/multiarch/varshift.h: New file.
74914         * sysdeps/x86_64/multiarch/varshift.S: New file.
74916 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74918         * configure.in: Move assembler checks to before sysdep dir checking.
74920 2010-08-20  Petr Baudis  <pasky@suse.cz>
74922         * LICENSES: Sync the sunrpc license.
74924 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74926         * sunrpc/auth_des.c: Update copyright notice once again.
74927         * sunrpc/auth_none.c: Likewise.
74928         * sunrpc/auth_unix.c: Likewise.
74929         * sunrpc/authdes_prot.c: Likewise.
74930         * sunrpc/authuxprot.c: Likewise.
74931         * sunrpc/bindrsvprt.c: Likewise.
74932         * sunrpc/clnt_gen.c: Likewise.
74933         * sunrpc/clnt_perr.c: Likewise.
74934         * sunrpc/clnt_raw.c: Likewise.
74935         * sunrpc/clnt_simp.c: Likewise.
74936         * sunrpc/clnt_tcp.c: Likewise.
74937         * sunrpc/clnt_udp.c: Likewise.
74938         * sunrpc/clnt_unix.c: Likewise.
74939         * sunrpc/des_crypt.c: Likewise.
74940         * sunrpc/des_soft.c: Likewise.
74941         * sunrpc/get_myaddr.c: Likewise.
74942         * sunrpc/getrpcport.c: Likewise.
74943         * sunrpc/key_call.c: Likewise.
74944         * sunrpc/key_prot.c: Likewise.
74945         * sunrpc/openchild.c: Likewise.
74946         * sunrpc/pm_getmaps.c: Likewise.
74947         * sunrpc/pm_getport.c: Likewise.
74948         * sunrpc/pmap_clnt.c: Likewise.
74949         * sunrpc/pmap_prot.c: Likewise.
74950         * sunrpc/pmap_prot2.c: Likewise.
74951         * sunrpc/pmap_rmt.c: Likewise.
74952         * sunrpc/rpc/auth.h: Likewise.
74953         * sunrpc/rpc/auth_unix.h: Likewise.
74954         * sunrpc/rpc/clnt.h: Likewise.
74955         * sunrpc/rpc/des_crypt.h: Likewise.
74956         * sunrpc/rpc/key_prot.h: Likewise.
74957         * sunrpc/rpc/netdb.h: Likewise.
74958         * sunrpc/rpc/pmap_clnt.h: Likewise.
74959         * sunrpc/rpc/pmap_prot.h: Likewise.
74960         * sunrpc/rpc/pmap_rmt.h: Likewise.
74961         * sunrpc/rpc/rpc.h: Likewise.
74962         * sunrpc/rpc/rpc_des.h: Likewise.
74963         * sunrpc/rpc/rpc_msg.h: Likewise.
74964         * sunrpc/rpc/svc.h: Likewise.
74965         * sunrpc/rpc/svc_auth.h: Likewise.
74966         * sunrpc/rpc/types.h: Likewise.
74967         * sunrpc/rpc/xdr.h: Likewise.
74968         * sunrpc/rpc_clntout.c: Likewise.
74969         * sunrpc/rpc_cmsg.c: Likewise.
74970         * sunrpc/rpc_common.c: Likewise.
74971         * sunrpc/rpc_cout.c: Likewise.
74972         * sunrpc/rpc_dtable.c: Likewise.
74973         * sunrpc/rpc_hout.c: Likewise.
74974         * sunrpc/rpc_main.c: Likewise.
74975         * sunrpc/rpc_parse.c: Likewise.
74976         * sunrpc/rpc_parse.h: Likewise.
74977         * sunrpc/rpc_prot.c: Likewise.
74978         * sunrpc/rpc_sample.c: Likewise.
74979         * sunrpc/rpc_scan.c: Likewise.
74980         * sunrpc/rpc_scan.h: Likewise.
74981         * sunrpc/rpc_svcout.c: Likewise.
74982         * sunrpc/rpc_tblout.c: Likewise.
74983         * sunrpc/rpc_util.c: Likewise.
74984         * sunrpc/rpc_util.h: Likewise.
74985         * sunrpc/rpcinfo.c: Likewise.
74986         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74987         * sunrpc/rpcsvc/key_prot.x: Likewise.
74988         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74989         * sunrpc/rpcsvc/mount.x: Likewise.
74990         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74991         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74992         * sunrpc/rpcsvc/rex.x: Likewise.
74993         * sunrpc/rpcsvc/rstat.x: Likewise.
74994         * sunrpc/rpcsvc/rusers.x: Likewise.
74995         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74996         * sunrpc/rpcsvc/spray.x: Likewise.
74997         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74998         * sunrpc/rtime.c: Likewise.
74999         * sunrpc/svc.c: Likewise.
75000         * sunrpc/svc_auth.c: Likewise.
75001         * sunrpc/svc_authux.c: Likewise.
75002         * sunrpc/svc_raw.c: Likewise.
75003         * sunrpc/svc_run.c: Likewise.
75004         * sunrpc/svc_simple.c: Likewise.
75005         * sunrpc/svc_tcp.c: Likewise.
75006         * sunrpc/svc_udp.c: Likewise.
75007         * sunrpc/svc_unix.c: Likewise.
75008         * sunrpc/svcauth_des.c: Likewise.
75009         * sunrpc/xcrypt.c: Likewise.
75010         * sunrpc/xdr.c: Likewise.
75011         * sunrpc/xdr_array.c: Likewise.
75012         * sunrpc/xdr_float.c: Likewise.
75013         * sunrpc/xdr_mem.c: Likewise.
75014         * sunrpc/xdr_rec.c: Likewise.
75015         * sunrpc/xdr_ref.c: Likewise.
75016         * sunrpc/xdr_sizeof.c: Likewise.
75017         * sunrpc/xdr_stdio.c: Likewise.
75019         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75020         handling.
75022 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75024         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75026 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75028         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75029         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75030         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75031         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75032         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75033         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75034         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75035         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75036         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75037         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75038         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75039         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75040         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75041         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75043 2010-07-26  Anton Blanchard  <anton@samba.org>
75045         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75046         * malloc/arena.c (heap_trim): Likewise.
75048 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75050         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75051         here.  Not...
75052         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75053         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75055 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75057         * sysdeps/i386/elf/Makefile: New file.
75059 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75061         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75062         from fanotify_init.
75063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75064         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75066 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75068         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75069         of strncasecmp_l.
75070         * sysdeps/multiarch/strcmp.S: Likewise.
75072 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75074         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75075         strncase_l-nonascii.
75076         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75077         Add strncase_l-ssse3.
75078         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75079         * sysdeps/x86_64/strcmp.S: Likewise.
75080         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75081         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75082         * sysdeps/x86_64/strncase.S: New file.
75083         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75084         * sysdeps/x86_64/strncase_l.S: New file.
75085         * string/Makefile (strop-tests): Add strncasecmp.
75086         * string/test-strncasecmp.c: New file.
75088         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75089         warning.
75091         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75092         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75094 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75096         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75098 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75100         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75101         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75102         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75104 2010-05-01  Alan Modra  <amodra@gmail.com>
75106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75107         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75108         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75109         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75110         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75111         tidying.  Don't tail-call __sigjmp_save for static lib.
75112         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75113         save location.
75114         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75115         (CALL_MCOUNT): Add eh info, and nop after bl.
75116         (TAIL_CALL_SYSCALL_ERROR): New macro.
75117         (PSEUDO_RET): Use it.
75118         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75119         Correct save location of integer regs and cr.
75120         (_dl_profile_resolve): Correct cr save location.  Delete nops
75121         after bl when SHARED.  Reduce cfi size a little by better
75122         placement of cfi directives.
75123         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75124         make a stack frame.  Instead use parm save area as a temp.
75125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75126         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75128         Don't make a stack frame for parent, use parm save area.
75129         Increase child stack frame to 112 bytes.  Don't save unused reg,
75130         and adjust reg usage.  Set up cfi on error recovery and
75131         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75133         (__makecontext): Add dummy nop after jump to exit.
75134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75135         Use correct parm save area and cr save, reduce stack frame.
75136         Correct cfi for possible PSEUDO_RET frame setup.
75137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75138         Branch to local label emitted by PSEUDO_RET rather than
75139         __syscall_error.
75141 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75143         [BZ #11904]
75144         * locale/programs/locale.c (print_assignment): New function.
75145         (show_locale_vars): Use it.
75147 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75149         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75150         field.
75151         (struct statfs64): Likewise.
75152         (_STATFS_F_FLAGS): Define.
75153         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75155         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75156         (ST_VALID): Define locally.
75157         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75158         __statvfs_getflags, use the provided value.
75159         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75160         __ASSUME_STATFS_F_FLAGS.
75162         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75164         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75165         Add sys/fanotify.h.
75166         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75167         fanotify_mask for GLIBC_2.13.
75168         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75169         fanotify_init and fanotify_mark.
75170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75171         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75173         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75174         Add prlimit.
75175         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75176         prlimit64 for GLIBC_2.13.
75177         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75178         prlimit64.
75179         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75180         syscall.
75181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75183         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75186         add prlimit alias.
75187         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75189         [BZ #11903]
75190         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75191         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75193         * nss/Makefile: Add rules to build and run tst-nss-test1.
75194         * shlib-versions: Add entry for libnss_test1.
75195         * nss/nss_test1.c: New file.
75196         * nss/tst-nss-test1.c: New file.
75198         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75199         (__nss_configure_lookup): Set appropriate entry in
75200         __nss_configure_lookup to true.
75201         * nss/nsswitch.h: Define enum with indeces of databases in
75202         databases and __nss_database_custom arrays.  Declare
75203         __nss_database_custom.
75204         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75205         to avoid using nscd when custom rules are installed.
75206         * nss/getXXbyYY_r.c: Likewise.
75207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75209         * nss/nss_files/files-parse.c: Whitespace fixes.
75211 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75213         [BZ #11883]
75214         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75215         * posix/fnmatch_loop.c: Likewise.
75217 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75219         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75220         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75221         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75222         * Versions.def [GLIBC_2.13]: Add.
75224 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75226         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75227         Also fail if tpwd after pwuid call is NULL.
75229 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75231         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75232         when converting to ms.
75234 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75236         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75237         EOPNOTSUPP errors with ENOTTY.
75238         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75239         EOPNOTSUPP errors with ENOTTY.
75241 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75243         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75244         Add strcasecmp_l-ssse3.
75245         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75246         strcasecmp.
75247         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75248         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75249         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75251 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75253         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75255         * string/Makefile (strop-tests): Add strcasecmp.
75256         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75257         strcasecmp_l-nonascii.
75258         (gen-as-const-headers): Add locale-defines.sym.
75259         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75260         * sysdeps/x86_64/strcasecmp.S: New file.
75261         * sysdeps/x86_64/strcasecmp_l.S: New file.
75262         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75263         * sysdeps/x86_64/locale-defines.sym: New file.
75264         * string/test-strcasecmp.c: New file.
75266         * string/test-strcasestr.c: Test both ends of the range of characters.
75267         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75269 2010-07-29  Roland McGrath  <roland@redhat.com>
75271         [BZ #11856]
75272         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75274 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75276         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75277         for ld.so.
75279 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75281         * manual/memory.texi (Malloc Tunable Parameters): Document
75282         M_PERTURB.
75284 2010-07-26  Roland McGrath  <roland@redhat.com>
75286         [BZ #11840]
75287         * configure.in (-fgnu89-inline check): Set and substitute
75288         gnu89_inline, not libc_cv_gnu89_inline.
75289         * configure: Regenerated.
75290         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75292 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75294         * string/test-strnlen.c: New file.
75295         * string/Makefile (strop-tests): Add strnlen.
75296         * string/tester.c (test_strnlen): Add a few more test cases.
75297         * string/tst-strlen.c: Better error reporting.
75299         * sysdeps/x86_64/strnlen.S: New file.
75301 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75303         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75304         lower-latency instructions.
75306 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75308         * string/test-strcasestr.c: New file.
75309         * string/test-strstr.c: New file.
75310         * string/Makefile (strop-tests): Add strstr and strcasestr.
75311         * string/str-two-way.h: Don't undefine MAX.
75312         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75314 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75317         strcasestr-nonascii.
75318         (CFLAGS-strcasestr-nonascii.c): Define.
75319         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75320         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75321         Remove unused attribute.
75323 2010-07-20  Roland McGrath  <roland@redhat.com>
75325         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75326         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75327         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75328         like LD_HWCAP_MASK can disable hwcaps.
75330 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75332         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75334 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75336         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75337         call in strcasestr.
75338         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75339         __strcasestr_sse42_nonascii.
75340         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75341         strcasestr-nonascii.c.
75342         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75344 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75346         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75347         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75348         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75349         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75351 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75353         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75354         fcntl.
75356 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75358         [BZ #11577]
75359         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75360         dl_signal_cerror.
75362 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75364         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75365         _PC_PIPE_BUF using F_GETPIPE_SZ.
75367 2010-07-05  Roland McGrath  <roland@redhat.com>
75369         * manual/arith.texi (Rounding Functions): Fix rint description
75370         implicit in round description.
75372 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75374         * elf/Makefile: Fix linking for a few tests to make recent linker
75375         happy.
75377 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75379         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75380         $(common-objpfx)libc_nonshared.a.
75382 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75384         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75385         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75386         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75387         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75388         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75389         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75390         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75391         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75406         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75407         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75408         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75409         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75410         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75411         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75412         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75413         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75414         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75415         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75416         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75417         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75433 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75435         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75436         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75437         * string/memmove.c (memmove): Renamed to ...
75438         (MEMMOVE): ...this.  Default to memmove.
75439         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75440         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75441         (END_CHK): Define.
75442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75443         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75444         mempcpy-ssse3-back memmove-ssse3-back.
75445         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75446         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75447         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75448         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75449         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75450         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75451         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75452         * sysdeps/x86_64/multiarch/memmove.c: New file.
75453         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75454         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75455         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75456         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75457         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75458         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75459         Define.
75460         (index_Fast_Copy_Backward): Define.
75461         (HAS_ARCH_FEATURE): Define.
75462         (HAS_FAST_REP_STRING): Define.
75463         (HAS_FAST_COPY_BACKWARD): Define.
75465 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75467         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75468         Restore proper fallback handling.
75470 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75472         [BZ #11701]
75473         * posix/group_member.c (__group_member): Correct checking loop.
75475         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75476         OOM in getpwuid_r correctly.  Return error number when the caller
75477         should return, otherwise -1.
75478         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75479         call returning > 0 value.
75480         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75482 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75484         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75485         libc_nonshared.a from targets in modules-names.
75487 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75489         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75490         requires it.
75492 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75494         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75495         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75496         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75497         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75499 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75501         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75503 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75505         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75506         and F_GETPIPE_SZ.
75507         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75508         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75510         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75511         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75512         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75514 2010-06-14  Roland McGrath  <roland@redhat.com>
75516         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75518 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75520         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75521         __REDIRECT followed by __THROW.
75522         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75523         * posix/getopt.h (getopt): Likewise.
75525 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75527         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75528         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75529         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75530         in AT_FLAGS.
75531         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75532         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75534 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75536         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75538 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75540         [BZ #11640]
75541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75542         Properly check family and model.
75544 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75546         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75548 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75550         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75552 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75554         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75555         symbol reference.
75557 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75559         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75560         symbol reference.
75562 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75564         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75565         and internal_recvmmsg.
75566         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75567         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75568         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75569         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75571         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75572         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75573         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75575 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75577         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75579 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75581         POWER7 optimizations.
75582         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75583         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75585 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75587         * version.h: Update for 2.13 development version.
75589 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75591         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75592         exceptions.  Return 0.
75594 2010-05-07  Roland McGrath  <roland@redhat.com>
75596         * elf/ldconfig.c (main): Add a const.
75598 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75600         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75601         (args_options): Add no-idn option.
75602         (ahosts_keys_int): Add idn_flags to ai_flags.
75603         (parse_option): Handle 'i' option to clear idn_flags.
75605         * malloc/malloc.c (_int_free): Possible race in the most recently
75606         added check.  Only act on the data if no current modification
75607         happened.
75609 See ChangeLog.17 for earlier changes.